CN110113566A - A kind of method and apparatus that video flowing is transferred - Google Patents

A kind of method and apparatus that video flowing is transferred Download PDF

Info

Publication number
CN110113566A
CN110113566A CN201910245134.2A CN201910245134A CN110113566A CN 110113566 A CN110113566 A CN 110113566A CN 201910245134 A CN201910245134 A CN 201910245134A CN 110113566 A CN110113566 A CN 110113566A
Authority
CN
China
Prior art keywords
monitoring
target video
scheduling platform
level
target
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
CN201910245134.2A
Other languages
Chinese (zh)
Other versions
CN110113566B (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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910245134.2A priority Critical patent/CN110113566B/en
Publication of CN110113566A publication Critical patent/CN110113566A/en
Application granted granted Critical
Publication of CN110113566B publication Critical patent/CN110113566B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/222Secondary servers, e.g. proxy server, cable television Head-end
    • 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/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]
    • 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

Abstract

The embodiment of the present application provides a kind of method that video flowing is transferred, and the method is applied to view networking, and the view networking includes provincial monitoring and scheduling platform, multiple city-level monitoring and scheduling platforms and multiple monitoring and scheduling platforms at county level;Provincial monitoring and scheduling platform obtains target device mark according to the monitor video selection operation received, and identifies corresponding target video device request target video stream to target device;When not receiving target video stream within the preset time, inquiry is identified with the presence or absence of the target device in multiple city-level databases;If it exists, then the provincial monitoring and scheduling platform passes through the first city-level monitoring and scheduling platform acquisition target video stream;If it does not exist, then the provincial monitoring and scheduling platform passes through the first monitoring and scheduling platform acquisition target video stream at county level.So that can transfer video flowing when transferring video flowing failure on provincial monitoring and scheduling platform from city-level monitoring and scheduling platform or monitoring and scheduling platform at county level automatically, improve user experience.

Description

A kind of method and apparatus that video flowing is transferred
Technical field
This application involves view networking technology fields, more particularly to a kind of method and apparatus that video flowing is transferred.
Background technique
It is a real-time exchange platform depending on networking, is the more advanced form of internet, the potential huge view on network Frequency flow uses two advantages of asynchronous and packet switch of Ethernet depending on networking, and eliminates Ethernet under the premise of complete compatible and lacks It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet, also, user data is in the whole network model It is not required to any format conversion in enclosing, can be realized the whole network HD video real-time Transmission that current internet cannot achieve.
Therefore, push numerous Internet applications to HD video depending on networking, unitize, high definition is face-to-face.It finally will be real This life circle without distance, realizes that the distance of person to person in global range is the distance of a screen;On the other hand, have depending on networking Flexible, the simple and low price of packet switch, is provided simultaneously with the quality and safety assurance of circuit switching, on communication history for the first time Realize the seamless connection of the whole network switched virtual circuit and data format.
It is to integrate monitoring device, the monitoring system of a variety of heterologous isomeries to carry out unification depending on networking monitoring dispatching platform Management and scheduling.It can use this and realize to the scheduling of video flowing and check depending on networking monitoring dispatching platform, but in reality In, when by monitoring all the way depending on the load of networking monitoring dispatching platform, the problem of video flowing fails often is transferred, so that with Family experience is poor.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present application and overcomes the above problem or at least partly in order to provide one kind The method and a kind of corresponding device that video flowing is transferred that a kind of video flowing to solve the above problems is transferred.
To solve the above-mentioned problems, this application discloses a kind of method that video flowing is transferred, the method is applied to view connection Net, the view networking include provincial monitoring and scheduling platform, multiple city-level monitoring and scheduling platforms and multiple monitoring and scheduling platforms at county level, Each city-level monitoring and scheduling platform is connected with city-level database, and each monitoring and scheduling platform at county level is connected with data at county level Library, which comprises
The provincial monitoring and scheduling platform obtains the monitor video selection according to the monitor video selection operation received The target device mark being directed to is operated, and identifies corresponding target video device request target video stream to the target device;
When the provincial monitoring and scheduling platform does not receive the target video stream within the preset time, multiple described Inquiry is identified with the presence or absence of the target device in city-level database;
If it exists, then the provincial monitoring and scheduling platform is set by the first city-level monitoring and scheduling platform to the target video It is standby to request the target video stream, and receive the target video stream that the first city-level monitoring and scheduling platform uploads;
If it does not exist, then the provincial monitoring and scheduling platform is inquired in multiple databases at county level with the presence or absence of described Target device mark;And when identifying in the first database at county level there are the target device, pass through the first monitoring and scheduling at county level Platform receives what the described first monitoring and scheduling platform at county level uploaded to target video stream described in the target video device request The target video stream.
Optionally, the provincial monitoring and scheduling platform configuration has IE plug-in unit, the method also includes:
The provincial monitoring and scheduling platform plays the mesh when receiving the target video stream, using the IE plug-in unit Mark video flowing.
Optionally, the method also includes:
The provincial monitoring and scheduling platform is not received within the preset time on the first city-level monitoring and scheduling platform When the target video stream passed, the multiple second monitoring and schedulings at county level connecting with the first city-level monitoring and scheduling platform are determined Platform;
The provincial monitoring and scheduling platform respectively connects second at county level from the multiple second monitoring and scheduling platform at county level Inquiry is identified with the presence or absence of the target device in database;
If it exists, the provincial monitoring and scheduling platform passes through third monitoring and scheduling platform at county level to the target video equipment The target video stream is requested, and receives the target video stream that third monitoring and scheduling platform at county level uploads.
Optionally, it is described depending on networking further include protocol translation server, secure access server, the provincial monitoring and scheduling Platform connects provincial server;The provincial monitoring and scheduling platform is according to the monitor video selection operation received, described in acquisition The target device mark that monitor video selection operation is directed to, Xiang Suoshu target device identify corresponding target video device request mesh The step of marking video flowing, comprising:
The provincial monitoring and scheduling platform is identified according to the target device got, is obtained and the target device mark Know the address of corresponding target video equipment, and the address based on the target video equipment, secure access server address, The address of protocol translation server determines first path information;
The provincial monitoring and scheduling platform generates the first object video request including the first path information and instructs;
The first object video request is instructed and is sent out according to the first path information by the provincial monitoring and scheduling platform It send to the target video equipment, and receives the target that the target video equipment returns according to the first path information Video flowing;Wherein, the target video stream is the target video stream for meeting RTSP agreement, the target view for meeting RTSP agreement The initial video stream that the target video equipment received is sent is carried out view networking by the protocol translation server by frequency stream It is generated after protocol conversion.
Optionally, the city-level monitoring and scheduling platform connects city-level server, and the monitoring and scheduling platform at county level connects county Grade server;
The provincial monitoring and scheduling platform passes through the first city-level monitoring and scheduling platform to the target video device request institute Target video stream is stated, and the step of receiving the target video stream that the first city-level monitoring and scheduling platform uploads, comprising:
The provincial monitoring and scheduling platform stops receiving the target video equipment acquisition according to the first path information The target video stream;And address, the protocol translation clothes of the address, secure access server based on the target video equipment It is engaged in the address of device, the address of the first city-level server, determining the second routing information;
The provincial monitoring and scheduling platform generates the second target video request instruction including second routing information, according to The second target video request instruction is sent to the target video equipment according to second routing information, and according to described Second routing information receives the target video stream of the target video equipment acquisition;
The provincial monitoring and scheduling platform passes through the first monitoring and scheduling platform at county level to the target video device request institute Target video stream is stated, and the step of receiving the target video stream that the described first monitoring and scheduling platform at county level uploads, comprising:
The provincial monitoring and scheduling platform stops receiving the target video equipment acquisition according to the first path information The target video stream;And address, the protocol translation clothes of the address, secure access server based on the target video equipment It is engaged in the address of device, the address of the first server at county level, determining third routing information;
The provincial monitoring and scheduling platform generates the third target video request instruction including the third routing information, and The third target video request instruction is sent to the target video equipment and foundation according to the third routing information The third routing information receives the target video stream of the target video equipment acquisition.
To solve the above-mentioned problems, disclosed herein as well is a kind of device that video flowing is transferred, described device is applied to view Networking, the view networking include that provincial monitoring and scheduling platform, multiple city-level monitoring and scheduling platforms and multiple monitoring and schedulings at county level are flat Platform;Each city-level monitoring and scheduling platform is connected with city-level database, and each monitoring and scheduling platform at county level is connected with number at county level According to library;Described device is located at the provincial monitoring and scheduling platform, and described device includes:
First video request module, for obtaining the monitor video choosing according to the monitor video selection operation received The target device mark that operation is directed to is selected, and identifies corresponding target video device request target video to the target device Stream;
First enquiry module, when for not receiving the target video stream within the preset time, from multiple cities Inquiry is identified with the presence or absence of the target device in grade database;
Second video request module, when for being identified in the first city-level database there are the target device, by the One city-level monitoring and scheduling platform receives the first city-level monitoring to target video stream described in the target video device request The target video stream that dispatching platform uploads;
Second enquiry module, when for being identified in multiple city-level databases there is no the target device, from institute Inquiry in the database at county level that multiple monitoring and scheduling platforms at county level respectively connect is stated to identify with the presence or absence of the target device;
Third video request module, when for being identified in the first database at county level there are the target device, by the One monitoring and scheduling platform at county level receives the described first monitoring at county level to target video stream described in the target video device request The target video stream that dispatching platform uploads.
Optionally, described device further includes that provincial monitoring and scheduling platform configuration has IE plug-in unit, described device further include:
Video sending module, for the target video stream received to be sent to the IE plug-in unit, so that the IE Plug-in unit plays the target video stream.
Optionally, it is described depending on networking further include protocol translation server, secure access server, the provincial monitoring and scheduling Platform connects provincial server;The first video request module includes:
First path information determines submodule, for obtaining and the mesh according to the target device mark got Marking device identifies the address of corresponding target video equipment, and the address based on the target video equipment, secure accessing service The address of device, protocol translation server address, determine first path information;
First request instruction generates submodule, for generating the first object video request including the first path information Instruction;
First communication submodule, for the first object video request being instructed and is sent out according to the first path information It send to the target video equipment, and receives the target that the target video equipment returns according to the first path information Video flowing;Wherein, the target video stream is the target video stream for meeting RTSP agreement, the target view for meeting RTSP agreement The initial video stream that the target video equipment received is sent is carried out view networking by the protocol translation server by frequency stream It is generated after protocol conversion.
Optionally, described device further include:
Monitoring and scheduling platform determining module, it is flat for not receiving the first city-level monitoring and scheduling within the preset time When the target video stream that platform uploads, the multiple second monitoring at county level connecting with the first city-level monitoring and scheduling platform are determined Dispatching platform;
Third enquiry module, the second data at county level for respectively being connected from the multiple second monitoring and scheduling platform at county level Inquiry is identified with the presence or absence of the target device in library;
4th video request module, in third database at county level there are the target device identify when, by with The third monitoring and scheduling platform at county level of the third database connection at county level is regarded to target described in the target video device request Frequency flows, and receives the target video stream that third monitoring and scheduling platform at county level uploads.
Optionally, the city-level monitoring and scheduling platform connects city-level server, and monitoring and scheduling platform at county level connects clothes at county level Business device;
The second video request module includes:
First link disconnects submodule, adopts for stopping according to the first path information reception target video equipment The target video stream of collection;
Second routing information determines submodule, is used for and the address based on the target video equipment, secure accessing service The address of device, the address of protocol translation server, the first city-level server address, determine the second routing information;
Second request instruction generates submodule, requests for generating the second target video including second routing information Instruction;
Second communication submodule, for sending the second target video request instruction according to second routing information The extremely target video equipment, and regarded according to the target that second routing information receives the target video equipment acquisition Frequency flows;
The third video request module includes:
Second link disconnects submodule, adopts for stopping according to the first path information reception target video equipment The target video stream of collection;
Third routing information determines submodule, for the address based on the target video equipment, secure access server Address, the address of protocol translation server, the first server at county level address, determine third routing information;
Third request instruction generates submodule, requests for generating the third target video including the third routing information Instruction;
Third communication submodule, for sending the third target video request instruction according to the third routing information The extremely target video equipment, and the target that the target video equipment acquires is received according to the third routing information Video flowing.
Compared with prior art, the embodiment of the present application has the advantage that
Firstly, the embodiment of the present application makes in checking monitoring video on provincial monitoring and scheduling platform, if transferring failure, Provincial monitoring and scheduling platform can inquire automatically city-level monitoring and scheduling platform on monitoring and scheduling platform at county level whether have it is same Resource is monitored, if so, then transferring same monitoring resource from city-level monitoring and scheduling platform or monitoring and scheduling platform at county level automatically, is improved Provincial monitoring and scheduling platform transfers the flexibility of video flowing, can successfully transfer video flowing, improves user experience.
Also, the application is in the case where transferring video flowing from city-level monitoring and scheduling platform and also failing, still automatic inquiry Whether there is same monitoring resource in the monitoring and scheduling platform at county level connecting with the city-level monitoring and scheduling platform, if so, then automatic Same monitoring resource is transferred from monitoring and scheduling platform at county level, so that improving provincial monitoring and scheduling platform transfers the flexible of video flowing Property, enable provincial monitoring and scheduling platform successfully to transfer video flowing, improves user experience.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the application;
Fig. 2 is a kind of hardware structural diagram of node server of the application;
Fig. 3 is a kind of hardware structural diagram of access switch of the application;
Fig. 4 is that a kind of Ethernet association of the application turns the hardware structural diagram of gateway;
Fig. 5 is the step flow chart for the embodiment of the method 1 that a kind of video flowing of the application is transferred;
Fig. 6 is the applied environment figure for the embodiment of the method 1 that a kind of video flowing of the application is transferred;
Fig. 7 is the step flow chart of another embodiment in embodiment of the method 1 that a kind of video flowing of the application is transferred;
Fig. 8 is the structural block diagram for the Installation practice 2 that a kind of video flowing of the application is transferred.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real Applying mode, the present application will be further described in detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission, Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or Computer realizes that high-definition quality video plays.
To make those skilled in the art more fully understand the embodiment of the present application, it is introduced below to depending on networking:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type " Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal. Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 the embodiment of the present application can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or National net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet; And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown) Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table) Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met, It then distributes corresponding flow identifier (stream- equipment number), and enters switching engine module 303, otherwise abandon;Uplink network The packet (downlink data) that interface module 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters friendship Change engine modules 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the guiding of packet Information;If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with traffic identifier Symbol (stream- equipment number) is stored in the packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 Close to completely, then abandon;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, Then according to the navigation information of packet, which is stored in the queue of corresponding pack buffer 307;If the pack buffer 307 Queue is then abandoned close to completely.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in the embodiment of the present application:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1) It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that code rate operation module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Code rate operation module 208 is configured by CPU module 204, to all downlink networks in programmable interval Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and, Configuration to code rate operation module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, code rate operation module 408, address table 406, Bao Huan Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting Identifier (stream- equipment number);Then, MAC DA, MAC SA, length or are subtracted by MAC removing module 410 Frame type (2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server. Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes, payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA SA Reserved Payload CRC
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address, Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages 64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment System, introduces parameter in the embodiment of the present application: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into 0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN) Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA SA Reserved Label Payload CRC
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, one of core idea of the embodiment of the present application is proposed, it then follows regard the association of networking View, when checking the monitor video of certain monitoring resource on provincial monitoring and scheduling platform, if transferring failure, provincial monitoring and scheduling is flat Platform can inquire on city-level monitoring and scheduling platform and monitoring and scheduling platform at county level whether have same monitoring resource automatically, if so, Same monitoring resource then is transferred from city-level monitoring and scheduling platform or monitoring and scheduling platform at county level automatically, improves provincial monitoring and scheduling Platform transfers the flexibility of video flowing, can successfully transfer video flowing, improves user experience.
Embodiment one
Referring to Fig. 5, the step flow chart for the embodiment of the method 1 that a kind of video flowing of the application is transferred is shown, in this Shen Please be in embodiment, the method can be applied in view networking, the view network in may include provincial monitoring and scheduling platform, it is more A city-level monitoring and scheduling platform and multiple monitoring and scheduling platforms at county level, each city-level monitoring and scheduling platform are connected with city-level data Library, each monitoring and scheduling platform at county level are connected with database at county level.
In the embodiment of the present application, provincial monitoring and scheduling platform can be divided into depending on networking monitoring dispatching platform, city-level monitoring is adjusted Platform and monitoring and scheduling platform at county level are spent, in practice, monitoring and scheduling platform at county level is cascaded to city-level monitoring and scheduling platform, city-level prison Control degree platform is cascaded to provincial monitoring and scheduling platform, provincial monitoring and scheduling platform can grade to be associated with multiple city-level monitoring and schedulings flat Platform, city-level monitoring and scheduling platform can cascade multiple monitoring and scheduling platforms at county level, and specific cascade connection may refer to Fig. 6 institute Show, Fig. 6 is the applied environment figure for the method that the video flowing of the embodiment of the present application is transferred.
Using the cascade connection of the monitoring and scheduling platform of the application, provincial monitoring and scheduling platform can be made to have highest Permission can be managed control to city-level monitoring and scheduling platform and monitoring and scheduling platform at county level, can dispatch the monitoring of the whole province Resource;City-level monitoring and scheduling platform takes second place, and can only realize to the monitoring and scheduling pipe at county level for being cascaded to this city-level monitoring and scheduling platform Reason scheduling can dispatch citywide monitoring resource;Monitoring and scheduling platform power at county level is minimum, is only capable of dispatching the monitoring money in this county Source.In this way, city-level monitoring and scheduling platform is prevented to transfer monitoring resource from trans-city, monitoring and scheduling platform at county level transcounty cannot be transferred Resource is monitored, ensure that the monitoring resource of the embodiment of the present application is not transferred arbitrarily, to have certain region protective.
When it is implemented, each monitoring resource is supervised according to the region rank of access accordingly when connecting into view networking Control dispatching platform is registered, and will be registered on provincial monitoring and scheduling platform, so that provincial monitoring and scheduling platform can be with The video of all monitoring resources is transferred.
Illustratively, by taking provincial monitoring and scheduling platform is Sichuan monitoring and scheduling platform as an example, under the Sichuan monitoring and scheduling platform The city-level monitoring and scheduling platform in whole cities in Sichuan Province is cascaded, including the monitoring of Chengdu city-level monitoring and scheduling platform, Nanchong city-level is adjusted Spend platform, Yaan city-level monitoring and scheduling platform etc.;Each city-level monitoring and scheduling platform cascades the county in multiple city whole counties again Grade monitoring and scheduling platform, as Nanchong city-level monitoring and scheduling platform has cascaded Xichong monitoring and scheduling platform at county level, south monitoring at county level Dispatching platform etc..
For example, being identified as monitoring resource that 123 are located at Nanbu County in access view networking, need in south monitoring at county level tune Platform registration is spent, while needing to register in Sichuan monitoring and scheduling platform, south monitoring and scheduling platform at county level is by the monitoring resource 123 Information be cascaded to Nanchong City grade monitoring and scheduling platform, Nanchong city-level monitoring and scheduling platform is again by the information of the monitoring resource 123 It is cascaded to Sichuan monitoring and scheduling platform.
In another example be identified as 001 be located at Nanchong districts under city administration monitoring resource access view networking when, need in Nanchong city-level The registration of monitoring and scheduling platform, while needing to register in Sichuan monitoring and scheduling platform, Nanchong city-level monitoring and scheduling platform is again by the prison The information of control resource 001 is cascaded to Sichuan monitoring and scheduling platform.
In the embodiment of the present application, provincial monitoring and scheduling platform is connected with province-level data library, wherein province-level data stores in library The province it is all monitoring resources information, monitor resource information include monitor resource equipment number, title etc.;Each city Grade monitoring and scheduling platform is connected with city-level database, and each monitoring and scheduling platform at county level is connected with database at county level;Wherein, city-level It records the information of whole monitoring resources in the city region in database, records this county location in database at county level The information of whole monitoring resources in domain, each database can be existing SQL database.
In practice, the provincial monitoring and scheduling platform, each city-level monitoring and scheduling platform of the application and each monitoring at county level are adjusted Degree platform is all connected respectively to a Platform Server, each monitoring and scheduling platform wanted after issuing received data all by with its The Platform Server of connection is forwarded.
Based on above-mentioned environment, the method that a kind of video flowing of the embodiment of the present application is transferred can specifically include following steps:
Step 501, the provincial monitoring and scheduling platform obtains the monitoring according to the monitor video selection operation received The target device mark that video selection operation is directed to, and corresponding target video device request target is identified to the target device Video flowing.
In practice, the monitor video selection operation that provincial monitoring and scheduling platform receives, can refer to provincial monitoring and scheduling The user that platform receives is directed to the monitor video selection operation that monitor video list carries out.I.e. on provincial monitoring and scheduling platform The function menu of monitor video list is shown, there are multiple monitoring resource names in monitor video list, that is to say equipment mark Know, which can be used to one video equipment of unique identification;User can be clicked or be remotely controlled selection operation by mouse Deng choosing the device identification for oneself wanting to check in monitor video list;Provincial monitoring and scheduling platform records user's selection immediately Target video device identification;And corresponding target device is identified to target device and removes request target video stream.
In the embodiment of the present application, target video equipment can be the monitoring device with camera shooting and sound-recording function.
In view networking, when provincial monitoring and scheduling platform is to target video device request video flowing, provincial monitoring and scheduling is flat The signaling for the request video flowing that platform issues can first be sent by the Platform Server connecting with the provincial monitoring and scheduling platform, Target video equipment is eventually arrived at via the forwarding of the gateways such as interchanger.
Step 502, when the provincial monitoring and scheduling platform does not receive the target video stream within the preset time, Inquiry is identified with the presence or absence of the target device in multiple city-level databases;If it exists, then 503 are gone to step, if it does not exist, Then go to step 504.
In practice, if provincial monitoring and scheduling platform does not receive the target video stream within the preset time, this is not The reason of receiving target video stream may be: the signaling for the request video flowing that provincial monitoring and scheduling platform issues is not sent to target Video equipment, alternatively, the target video stream that sends out of target video equipment due to gateway data forwarding problem and do not return It is back to provincial monitoring and scheduling platform.
In view networking, although because store all prisons of the whole province in the province-level data library of provincial monitoring and scheduling platform connection It is that the corresponding monitoring resource of information controlled the information of resource, but do not record the monitoring resource is specifically cascade for which city-level Monitoring and scheduling platform or which monitoring and scheduling platform at county level;And generally pass through provincial monitoring and scheduling platform tune in view networking When taking video flowing, the path of video flowing is transferred not through city-level monitoring and scheduling platform and monitoring and scheduling platform at county level, but is saved Grade monitoring and scheduling platform directly transfers video flowing to video equipment;In this way, transferring video flowing failure in provincial monitoring and scheduling platform When, according to video flowing scheduling method before, provincial monitoring and scheduling platform can not know whether video equipment is also cascaded to other Monitoring and scheduling platform also can not just be remedied automatically to when transferring video flowing failure.
In the embodiment of the present application, as long as provincial monitoring and scheduling platform does not receive target video stream within the preset time, It then inquires in multiple city-level databases and is identified with the presence or absence of the target device automatically first.Specifically, provincial monitoring and scheduling is flat The inquiry instruction including target device mark can be generated in platform, and inquiry instruction is sent to whole city-level monitoring and schedulings Platform, city-level monitoring and scheduling platform go inquiry in city-level database to whether there is target device mark according to inquiry instruction; If so, then city-level monitoring and scheduling platform can return to query result to provincial monitoring and scheduling platform.Wherein, inquiry instruction can be SQL query instruction.
Step 503, then the provincial monitoring and scheduling platform passes through the first city-level monitoring and scheduling platform to the target video Target video stream described in device request, and receive the target video stream that the first city-level monitoring and scheduling platform uploads.
In practice, when record has target device mark in the first city-level database, show and the first city-level database First city-level monitoring and scheduling platform of connection cascades the target video equipment, that is to say target video equipment cascading to first city Grade monitoring and scheduling platform, that is, the target video stream of the first city-level monitoring and scheduling platform also available target video equipment;This When, the result inquired can be returned to provincial monitoring and scheduling platform by the first city-level monitoring and scheduling platform, in this way, provincial monitoring is adjusted Degree platform can transfer the target video stream from the first city-level monitoring and scheduling platform, specifically, provincial monitoring and scheduling is flat Platform is indirectly by the first city-level monitoring and scheduling platform to target video stream described in the target video device request, the first city-level Provincial monitoring and scheduling platform is issued in the target video circulation that monitoring and scheduling will acquire.
The connection of the first city-level monitoring and scheduling platform is sent to by target video equipment when it is implemented, being target video stream Platform Server, then provincial monitoring and scheduling platform is sent to by the Platform Server that the first city-level monitoring and scheduling platform connects and is connected The Platform Server connect, to eventually arrive at provincial monitoring and scheduling platform;I.e. provincial monitoring and scheduling platform is directly being regarded to target When frequency device request target video stream is unsuccessful, other paths can be taken to go to obtain target video stream.
It can be concluded that, provincial monitoring and scheduling platform is directly regarded to target in view is networked from Fig. 1 and to the explanation content of Fig. 1 When frequency device request video flowing, the Platform Server of provincial monitoring and scheduling platform connection can be sent to video request and platform Video request, can be sent to by node switch and to connect with target video equipment by the node switch of server connection Access switch is finally reached target video equipment.It is provincial when taking such path that cannot successfully obtain target video stream Monitoring and scheduling platform by the first city-level monitoring and scheduling platform to target video stream described in the target video device request when, save Video request can be sent to by the Platform Server of grade monitoring and scheduling platform connection to be connect with the first city-level monitoring and scheduling platform Platform Server (being equivalent to the node server in Fig. 1), then target video equipment is sent directly to by Platform Server, or Person is sent to target video equipment through access switch by Platform Server again;Obviously, pass through the in provincial monitoring and scheduling platform When one city-level monitoring and scheduling platform request target video stream, with directly to target video device request target video stream when, ask It is different for asking and obtain the path of video flowing;Therefore, provincial monitoring and scheduling platform can be enabled successfully to be deployed into target Video flowing.
Step 504, then the provincial monitoring and scheduling platform is inquired in multiple databases at county level with the presence or absence of described Target device mark;And when identifying in the first database at county level there are the target device, pass through the first monitoring and scheduling at county level Platform receives what the described first monitoring and scheduling platform at county level uploaded to target video stream described in the target video device request The target video stream.
Inquiry is identified less than the target device i.e. in city-level database, in practice, due to the stationary problem of database, is caused City-level database and the data in province-level data library are not consistent, although recording the monitoring resource of this city whole in city-level database Information, and will monitoring resource information when being synchronized to province-level data library, due to maintenance of database etc., will cause city-level data Some information in library are lost so that same monitoring resource information does not have in city-level database, but province-level data library with But exist in database at county level.
Therefore, when inquiry is less than target device mark in city-level database, provincial monitoring and scheduling platform is transferred more Inquiry is identified with the presence or absence of the target device in a database at county level;Specifically, provincial monitoring and scheduling platform can give birth to At the inquiry instruction including target device mark, and inquiry instruction is sent to whole monitoring and scheduling platforms at county level, county Grade monitoring and scheduling platform goes inquiry in database at county level to whether there is target device mark according to inquiry instruction;If so, then Monitoring and scheduling platform at county level can return to query result to provincial monitoring and scheduling platform.Wherein, inquiry instruction can be SQL query and refer to It enables.
In practice, when being identified in the first database at county level there are the target device, show and first data at county level Library connection the first monitoring and scheduling platform at county level cascade the target video equipment, that is to say target video equipment cascading to this first Monitoring and scheduling platform at county level, that is, the target video stream of the first monitoring and scheduling platform at county level also available target video equipment; At this point, the result inquired can be returned to provincial monitoring and scheduling platform by the first monitoring and scheduling platform at county level, in this way, provincial monitoring Dispatching platform can transfer the target video stream from the first monitoring and scheduling platform at county level, specifically, provincial monitoring and scheduling Platform is indirectly by the first monitoring and scheduling platform at county level to target video stream described in the target video device request, the first county Provincial monitoring and scheduling platform is issued in the target video circulation that grade monitoring and scheduling will acquire.
It is connected when it is implemented, to be target video stream be sent to the first monitoring and scheduling platform at county level by target video equipment Platform Server, then provincial monitoring and scheduling platform is sent to by the Platform Server of the first monitoring and scheduling platform at county level connection and is connected The Platform Server connect, to eventually arrive at provincial monitoring and scheduling platform.
It can be concluded that, provincial monitoring and scheduling platform is directly regarded to target in view is networked from Fig. 1 and to the explanation content of Fig. 1 When frequency device request video flowing, the Platform Server of provincial monitoring and scheduling platform connection can be sent to video request and platform Video request is sent to the access connecting with target video equipment through node switch and handed over by the node switch of server connection It changes planes, is finally reached target video equipment.When provincial monitoring and scheduling platform passes through the first monitoring and scheduling platform at county level to the mesh When marking the video equipment request target video stream, the Platform Server of provincial monitoring and scheduling platform connection can be by video request It is sent to the Platform Server (being equivalent to the node server in Fig. 1) connecting with the first monitoring and scheduling platform at county level, then by The Platform Server of one monitoring and scheduling platform at county level is sent directly to target video equipment, or again by the first monitoring and scheduling at county level The Platform Server of platform is sent to target video equipment through access switch;Obviously, pass through the in provincial monitoring and scheduling platform When one monitoring and scheduling platform request target video stream at county level, with directly to target video device request target video stream when, ask It is different for asking and obtain the path of video flowing;Therefore, provincial monitoring and scheduling platform can be enabled successfully to be deployed into target Video flowing.
It should be noted that because application embodiment is applied in view networking, because the whole network high definition view may be implemented depending on networking Frequency real-time Transmission, video data transmission is fast, is based on this, and the preset time can be set to 3 seconds, shortens provincial monitoring in this way and adjusts Degree platform transfers response time when video flowing failure, improves the efficiency that video flowing is transferred.
To sum up, the provincial monitoring and scheduling platform of the embodiment of the present application can for the first time transfer video flowing failure when, then downwards Grade monitoring and scheduling platform obtains target video stream, that is, original given route for obtaining target video stream is changed, to improve Provincial monitoring and scheduling platform transfers the flexibility of video flowing, can improve the chance of success for transferring video flowing, improves user experience.
In a kind of optional embodiment of the embodiment of the present application, the provincial monitoring and scheduling platform configuration has IE plug-in unit, The method can with the following steps are included:
Step 505, the provincial monitoring and scheduling platform plays the target video stream received using the IE plug-in unit. If i.e. provincial monitoring and scheduling platform has received target video stream in above-mentioned steps 501, or receive in step 503 When target video stream, or when having received target video stream in step 504, using IE plug-in unit the target video is flowed into Row plays.
In present embodiment, IE plug-in unit can be integrated into provincial monitoring and scheduling platform have video decoding and play function The video player of energy.
In a kind of optional embodiment of the embodiment of the present application, in step 503 can with the following steps are included:
Sub-step 5031, the provincial monitoring and scheduling platform do not receive the first city-level monitoring within the preset time When the target video stream that dispatching platform uploads, multiple second counties connecting with the first city-level monitoring and scheduling platform are determined Grade monitoring and scheduling platform.
I.e. provincial monitoring and scheduling platform obtains target video stream by also failed on the first city-level monitoring and scheduling platform, this In the case of kind, provincial monitoring and scheduling platform can transfer multiple second counties by being cascaded to the first city-level monitoring and scheduling platform Grade monitoring and scheduling platform goes to obtain target video stream.
It is aforementioned it was mentioned that the invention that city-level monitoring and scheduling platform trans-city cannot transfer monitoring resource, monitoring and scheduling platform at county level cannot Transcounty to transfer monitoring resource, i.e. city-level monitoring and scheduling platform is only capable of transferring the monitoring resource in this city region, that is to say and works as mesh Whether mark video equipment when transferring in range, further obtain the target video equipment in the first city-level monitoring and scheduling platform Also in other monitoring and scheduling platforms at county level, then only need from the multiple second prisons at county level for being cascaded to the first city-level monitoring and scheduling platform Control dispatching platform goes to inquire;It can not have to go whether inquiry has target device mark in whole monitoring and scheduling platforms at county level in this way Know.
Sub-step 5032, the provincial monitoring and scheduling platform are respectively connected from the multiple second monitoring and scheduling platform at county level The second database at county level in inquiry with the presence or absence of the target device identify.If it exists, then 5033 are gone to step.
In practice, the inquiry instruction including target device mark can be generated in provincial monitoring and scheduling platform, and will look into It askes instruction and is sent to the monitoring and scheduling platform at county level of whole second, the second monitoring and scheduling at county level is flat to go to the second county according to inquiry instruction Inquiry is identified with the presence or absence of the target device in grade database;If so, then the second monitoring and scheduling at county level is flat can return to inquiry knot Fruit gives provincial monitoring and scheduling platform.Wherein, inquiry instruction can be SQL query instruction.
Illustratively, the view of 0023 video equipment is transferred from Nanchong city-level monitoring and scheduling platform such as Sichuan Province's monitoring and scheduling platform When frequency flows unsuccessful, then the inquiry instruction including 0023 is generated, the inquiry instruction including 0023 is sent to and is cascaded to Nanchong City In all monitoring and scheduling platforms at county level of grade monitoring and scheduling platform, being inquired in database at county level by monitoring and scheduling platform at county level is It is no have 0023 device identification.
Sub-step 5033, the provincial monitoring and scheduling platform pass through third monitoring and scheduling platform at county level to the target video Target video stream described in device request, and receive the target video stream that third monitoring and scheduling platform at county level uploads.
I.e. there are target device marks in the third database at county level of third monitoring and scheduling platform connection at county level, in third county When inquiry has target device mark in grade database, show the third connecting with the database at county level that there is target device to identify Monitoring and scheduling platform at county level cascades the target video equipment, that is to say target video equipment cascading to third monitoring and scheduling at county level Platform, that is, the target video stream of the third monitoring and scheduling platform at county level also available target video equipment;At this point, third county The result inquired can be returned to provincial monitoring and scheduling platform by grade monitoring and scheduling platform, in this way, provincial monitoring and scheduling platform is just The target video stream can be transferred from third monitoring and scheduling platform at county level, specifically, provincial monitoring and scheduling platform is indirectly By third monitoring and scheduling platform at county level to target video stream described in the target video device request, third monitoring and scheduling at county level Provincial monitoring and scheduling platform is issued in the target video circulation that platform will acquire.
It is connected when it is implemented, to be target video stream be sent to third monitoring and scheduling platform at county level by target video equipment Platform Server, then provincial monitoring and scheduling platform is sent to by the Platform Server of third monitoring and scheduling platform at county level connection and is connected The Platform Server connect, to eventually arrive at provincial monitoring and scheduling platform;I.e. provincial monitoring and scheduling platform is directly being regarded to target When frequency device request target video stream is unsuccessful, other paths can be taken to go to obtain target video stream.
In practice, when not inquiring target device mark in the second all databases at county level, then show that target regards Frequency equipment is not cascaded to monitoring and scheduling platform at county level, that is to say the target video equipment and is not belonging to County Level Regional, such feelings Under condition, provincial monitoring and scheduling platform still will not successfully get target video stream.
In consideration of it, a kind of optional measure as the application embodiment, if provincial monitoring and scheduling platform is not multiple When inquiring target device mark in two databases at county level, i.e. generation video flowing transfers failure information, and by video flowing tune Failure information is taken to be shown.In practice, the video flowing of display, which transfers failure information, can be text information, such as can be The text information of " video flowing can not obtain ".In this way, user just can clearly know it is that video flowing is transferred as a result, meaningless without doing Waiting, improve user experience.
As an optional implementation manner, described depending on networking further includes protocol translation server, secure access server, The provincial monitoring and scheduling platform connects provincial server.Specific the, protocol translation server referred to as association can turn server, It is the server that video equipment is connected to view networking that the association, which turns server, the video flowing that video equipment is sent can be converted into Meet the video flowing of view networking protocol.Secure access server is the service that the data received can be carried out with safety verification Device can turn server communication with association and connect in the embodiment of the present application, can receive association and turn meeting for server transmission to regard connection The video flowing of fidonetFido, and this is met after the video flowing depending on networking protocol carries out code stream verifying and will regard the video of networking protocol again Stream is sent to provincial server.
Provincial server is the Platform Server connecting with provincial monitoring and scheduling platform mentioned in above description.
In view of above, the step 501 of the embodiment of the present application may include following sub-step:
Sub-step 5011, the provincial monitoring and scheduling platform are identified according to the target device got, acquisition and institute State the address that target device identifies corresponding target video equipment, and the address based on the target video equipment, secure accessing The address of server, protocol translation server address, determine first path information.
In practice, all video equipments can be registered in provincial server, when registration, the device number of video equipment Code, device identification, MAC Address etc. can all be recorded to provincial monitoring and scheduling platform;Provincial monitoring and scheduling platform obtains target Device identification can identify the address for obtaining target video equipment according to target device;The address of secure access server and association The address of view conversion server can be prestored to provincial monitoring and scheduling platform.
In this sub-step, first path information is to characterize target video request instruction to reach mesh from provincial monitoring and scheduling platform Mark the path of video equipment;In practice, the address of the available target video equipment of provincial monitoring and scheduling platform, safety connect Enter the address of server, the address of protocol translation server, and generation includes the address of the target video equipment, secure accessing The first path information of the address of server, the address of protocol translation server.
Sub-step 5012, the provincial monitoring and scheduling platform generate the first object video including the first path information Request instruction.
In practice, after provincial monitoring and scheduling platform determines first path information, then first path information package is encapsulated into Target video request instruction that is to say to include first path information in target video request instruction;Specifically, target video is asked Asking instruction to be when transmitting in depending on networking in the form of data packet, i.e., includes first path information in the data packet, and is somebody's turn to do The packet header of data packet includes source address and destination address again;Wherein, source address is the MAC Address of provincial server, purpose Address is the MAC Address of target video equipment.
Sub-step 5013, the provincial monitoring and scheduling platform regard the first object according to the first path information Frequency request instruction is sent to the target video equipment, and receives the target video equipment according to the first path information and return The target video stream returned.
Wherein, the target video stream is the target video stream for meeting RTSP agreement, the target for meeting RTSP agreement The initial video stream that the target video equipment received is sent is carried out view connection by the protocol translation server by video flowing It is generated after fidonetFido conversion.
The first object video request is instructed and is sent out according to the first path information by the provincial monitoring and scheduling platform Send the process to the target video equipment as follows:
During sending target video request instruction, because the data of provincial monitoring and scheduling platform are all by provincial server Forwarding, therefore, target video request instruction are first sent to provincial server, and provincial server is asked receiving the target video When asking instruction, first path information is extracted from target video request instruction, then it can be according to the safety in first path information Access server address and association turn the address of server, which is transferred to secure access server;Peace When full access server gets the target video request instruction, the address of server is turned for target video request instruction according to association It is sent to association and turns server;When association turns server according to the target video request instruction is received, referred to according to target video request The destination address of order is sent to target video equipment.
In practice, provincial monitoring and scheduling platform receives what the target video equipment returned according to the first path information The process of the target video stream is when video flowing is back to provincial monitoring and scheduling platform by target video equipment, still Video flowing is sent according to the path that first path information is characterized, path are as follows: target video equipment -- association turns server -- peace Full access server --- provincial server, finally, being sent to provincial monitoring and scheduling platform by provincial server.
In the embodiment of the present application, the video flowing of target video equipment acquisition can turn server progress protocol translation through association, I.e. association turns to retransmit after server converts video flowing to the target video stream for meeting RTSP agreement to secure access server;Peace When the code stream of the target video stream of full access server verifying conjunction RTSP agreement is not messy code, then by the target video of RTSP agreement Stream is sent to provincial server.In this way, provincial monitoring and scheduling platform play be normal RTSP agreement target video stream; It can guarantee the quality for the target video stream that provincial monitoring and scheduling platform obtains.
As an alternative embodiment, the city-level monitoring and scheduling platform connects city-level server, monitoring at county level is adjusted It spends platform and connects server at county level.
The step 503 of the embodiment of the present application also may include following sub-step:
Sub-step 503a, the provincial monitoring and scheduling platform stop receiving the target view according to the first path information The target video stream of frequency equipment acquisition;And the address of the address, secure access server based on the target video equipment, The address of protocol translation server, the first city-level server address, determine the second routing information.
The specific operation process of this sub-step 503a can refer to the description of step 5011.
Second routing information is that characterization target video request instruction is set from provincial monitoring and scheduling platform arrival target video Standby path.
Provincial monitoring and scheduling platform by the first city-level monitoring and scheduling platform obtain target video stream when, then can stop according to It goes to receive target video stream according to first path information, in practice, that is to say closing " target video equipment -- association turns server -- The communication path of secure access server --- provincial server ".
Sub-step 503b, the provincial monitoring and scheduling platform generate the second target video including second routing information The second target video request instruction is sent to the target video according to second routing information and set by request instruction It is standby, and the target video stream that the target video equipment acquires is received according to second routing information.
The specific operation process of this sub-step 503b can refer to the description of step 5012.In this sub-step 503b, Provincial monitoring and scheduling platform receives the target video stream that the target video equipment returns according to second routing information Process, be when video flowing is back to provincial monitoring and scheduling platform by target video equipment, still according to the second path believe It ceases characterized path and sends video flowing, -- association turns server -- secure access server -- in path are as follows: target video equipment First city-level server --- -- provincial server, finally, being sent to provincial monitoring and scheduling platform by provincial server.
Similarly, the step 504 of the embodiment of the present application also may include following sub-step:
Sub-step 5041, the provincial monitoring and scheduling platform stop receiving the target view according to the first path information The target video stream of frequency equipment acquisition;And the address of the address, secure access server based on the target video equipment, The address of protocol translation server, the first server at county level address, determine third routing information.
The specific operation process of this sub-step 5041 can refer to the description of step 5011.
Third routing information is that characterization target video request instruction is set from provincial monitoring and scheduling platform arrival target video Standby path.
Sub-step 5042, the provincial monitoring and scheduling platform generate the third target video including the third routing information Request instruction, and the third target video request instruction is sent to the target video according to the third routing information and is set It is standby, and the target video stream that the target video equipment acquires is received according to the third routing information.
The specific operation process of this sub-step 5042 can refer to the description of step 5012.In this sub-step 5042, Provincial monitoring and scheduling platform receives the target video stream that the target video equipment returns according to the third routing information Process, be when video flowing is back to provincial monitoring and scheduling platform by target video equipment, still according to third path believe It ceases characterized path and sends video flowing, -- association turns server -- secure access server -- in path are as follows: target video equipment First server at county level --- -- provincial server, finally, being sent to provincial monitoring and scheduling platform by provincial server.
Similarly, the step 5033 of the embodiment of the present application also may include following sub-step:
Sub-step 50331, the provincial monitoring and scheduling platform stop receiving the target according to second routing information The target video stream of video equipment acquisition;And the ground of the address, secure access server based on the target video equipment Location, the address of protocol translation server, third server at county level address, determine the 4th routing information.
The specific operation process of this sub-step 50331 can refer to the description of step 5011.
Sub-step 50332, the provincial monitoring and scheduling platform generate the 4th target including the 4th routing information and regard Frequency request instruction, and the 4th target video request instruction is sent to the target video according to the 4th routing information Equipment, and the target video stream that the target video equipment acquires is received according to the 4th routing information.
The specific operation process of this sub-step 50332 can refer to the description of step 5012.This sub-step 50332 In, provincial monitoring and scheduling platform receives the target video that the target video equipment returns according to the 4th routing information The process of stream is when video flowing is back to provincial monitoring and scheduling platform by target video equipment, still according to the 4th path Secure accessing service that the path that information is characterized sends video flowing, path are as follows: target video equipment -- association turns server -- Device -- third server at county level --- -- provincial server, finally, being sent to provincial monitoring and scheduling platform by provincial server.
The step flow chart for the method that one of video flowing that Fig. 7 shows the embodiment of the present application is transferred, the method It networks applied to view, the view networking includes provincial monitoring and scheduling platform, multiple city-level monitoring and scheduling platforms and multiple prisons at county level Dispatching platform is controlled, each city-level monitoring and scheduling platform is connected with city-level database, each monitoring and scheduling platform connection at county level There is database at county level, the method completely may comprise steps of:
Step 701, the provincial monitoring and scheduling platform obtains the monitoring according to the monitor video selection operation received The target device mark that video selection operation is directed to, and corresponding target video device request target is identified to the target device Video flowing.
The operating process of this step 701 can refer to the description of step 501.
Step 702, when the provincial monitoring and scheduling platform does not receive the target video stream within the preset time, Inquiry is identified with the presence or absence of the target device in multiple city-level databases;If it exists, then 703 are gone to step, if it does not exist, Then go to step 707.
The operating process of this step 702 can refer to the description of step 502.
Step 703, the provincial monitoring and scheduling platform is set by the first city-level monitoring and scheduling platform to the target video It is standby to request the target video stream, and receive the target video stream that the first city-level monitoring and scheduling platform uploads.
If target video stream receives successfully, 708 are gone to step;If not receiving first city-level within the preset time When the target video stream that monitoring and scheduling platform uploads, then 704 are gone to step.
The operating process of this step 703 can refer to the description of step 503.
Step 704, the provincial monitoring and scheduling platform does not receive the first city-level monitoring within the preset time and adjusts When spending the target video stream that platform uploads, determine that multiple second connect with the first city-level monitoring and scheduling platform are at county level Monitoring and scheduling platform.
The operating process of this step 704 can refer to the description of step 5031.
Step 705, the provincial monitoring and scheduling platform is respectively connected from the multiple second monitoring and scheduling platform at county level Inquiry is identified with the presence or absence of the target device in second database at county level;If it exists, then 706 are gone to step;If it does not exist, then it ties Beam obtains target video stream.
The operating process of this step 705 can refer to the description of step 5032.
Step 706, the provincial monitoring and scheduling platform is set by third monitoring and scheduling platform at county level to the target video It is standby to request the target video stream, and receive the target video stream that third monitoring and scheduling platform at county level uploads.
The operating process of this step 706 can refer to the description of step 5033.
Step 707, the provincial monitoring and scheduling platform is inquired in multiple databases at county level with the presence or absence of the mesh Marking device mark;It is flat by the first monitoring and scheduling at county level and when being identified in the first database at county level there are the target device Platform receives the institute that the described first monitoring and scheduling platform at county level uploads to target video stream described in the target video device request State target video stream.
If receiving target video stream, 708 are gone to step;If not receiving target video stream within the preset time, Terminate to obtain target video stream.
The operating process of this step 707 can refer to the description of step 504.
Step 708, the provincial monitoring and scheduling platform plays the target video stream received using IE plug-in unit.Its In, IE plug-in unit is pre-configured on provincial monitoring and scheduling platform.
In conclusion the provincial monitoring and scheduling platform of the embodiment of the present application can for the first time transfer video flowing failure when, then Target video stream is obtained to junior's monitoring and scheduling platform, that is, changes original given route for obtaining target video stream, solves In the prior art, when video flowing failure is transferred in the acquisition of provincial monitoring and scheduling platform, the video in other paths cannot be automatically attempted to Stream obtains, and causes the problem that user experience is bad, so that the flexibility that provincial monitoring and scheduling platform transfers video flowing is improved, energy The chance of success for transferring video flowing is improved, user experience is improved.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to According to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and related movement not necessarily the application is implemented Necessary to example.
Embodiment two
Referring to Fig. 8, a kind of structural block diagram of the Installation practice that video flowing is transferred 2 of the application is shown, method is applied to Depending on networking, the view networking includes provincial monitoring and scheduling platform, multiple city-level monitoring and scheduling platforms and multiple monitoring and schedulings at county level Platform;Each city-level monitoring and scheduling platform is connected with city-level database, and each monitoring and scheduling platform at county level is connected at county level Database, described device are located at the provincial monitoring and scheduling platform, and the apparatus may include with lower module:
First video request module 801, for obtaining the monitor video according to the monitor video selection operation received The target device mark that selection operation is directed to, and corresponding target video device request target video is identified to the target device Stream;
First enquiry module 802, when for not receiving the target video stream within the preset time, from multiple described Inquiry is identified with the presence or absence of the target device in city-level database;
Second video request module 803 passes through when for identifying in the first city-level database there are the target device First city-level monitoring and scheduling platform receives the first city-level prison to target video stream described in the target video device request Control the target video stream that dispatching platform uploads;
Second enquiry module 804, when for being identified in multiple city-level databases there is no the target device, from Inquiry is identified with the presence or absence of the target device in the database at county level that the multiple monitoring and scheduling platform at county level respectively connects;
Third video request module 805 passes through when for identifying in the first database at county level there are the target device First monitoring and scheduling platform at county level receives the described first prison at county level to target video stream described in the target video device request Control the target video stream that dispatching platform uploads.
Optionally, described device further includes that provincial monitoring and scheduling platform configuration has IE plug-in unit, and described device can also include:
Video sending module 806, for the target video stream received to be sent to the IE plug-in unit, so that described IE plug-in unit plays the target video stream.
Optionally, it is described depending on networking further include protocol translation server, secure access server, the provincial monitoring and scheduling Platform connects provincial server;The first video request module 801 includes:
First path information determines submodule, for obtaining and the mesh according to the target device mark got Marking device identifies the address of corresponding target video equipment, and the address based on the target video equipment, secure accessing service The address of device, protocol translation server address, determine first path information;
First request instruction generates submodule, for generating the first object video request including the first path information Instruction;
First communication submodule, for the first object video request being instructed and is sent out according to the first path information It send to the target video equipment, and receives the target that the target video equipment returns according to the first path information Video flowing;Wherein, the target video stream is the target video stream for meeting RTSP agreement, the target view for meeting RTSP agreement The initial video stream that the target video equipment received is sent is carried out view networking by the protocol translation server by frequency stream It is generated after protocol conversion.
Optionally, described device can also comprise the following modules:
Monitoring and scheduling platform determining module, it is flat for not receiving the first city-level monitoring and scheduling within the preset time When the target video stream that platform uploads, the multiple second monitoring at county level connecting with the first city-level monitoring and scheduling platform are determined Dispatching platform;
Third enquiry module, the second data at county level for respectively being connected from the multiple second monitoring and scheduling platform at county level Inquiry is identified with the presence or absence of the target device in library;
4th video request module, in third database at county level there are the target device identify when, by with The third monitoring and scheduling platform at county level of the third database connection at county level is regarded to target described in the target video device request Frequency flows, and receives the target video stream that third monitoring and scheduling platform at county level uploads.
Optionally, the city-level monitoring and scheduling platform connects city-level server, and monitoring and scheduling platform at county level connects clothes at county level Business device;
The second video request module 803 includes:
First link disconnects submodule, adopts for stopping according to the first path information reception target video equipment The target video stream of collection;
Second routing information determines submodule, is used for and the address based on the target video equipment, secure accessing service The address of device, the address of protocol translation server, the first city-level server address, determine the second routing information;
Second request instruction generates submodule, requests for generating the second target video including second routing information Instruction;
Second communication submodule, for sending the second target video request instruction according to second routing information The extremely target video equipment, and regarded according to the target that second routing information receives the target video equipment acquisition Frequency flows;
The third video request module 805 includes:
Second link disconnects submodule, adopts for stopping according to the first path information reception target video equipment The target video stream of collection;
Third routing information determines submodule, for the address based on the target video equipment, secure access server Address, the address of protocol translation server, the first server at county level address, determine third routing information;
Third request instruction generates submodule, requests for generating the third target video including the third routing information Instruction;
Third communication submodule, for sending the third target video request instruction according to the third routing information The extremely target video equipment, and the target that the target video equipment acquires is received according to the third routing information Video flowing.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, apparatus or calculating Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present application is referring to according to the method for the embodiment of the present application, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
The method that a kind of video flowing provided herein is transferred above and a kind of corresponding device that video flowing is transferred, It is described in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, the above reality The explanation for applying example is merely used to help understand the present processes and its core concept;For those of ordinary skill in the art, According to the thought of the application, there will be changes in the specific implementation manner and application range, and the content of the present specification should not manage Solution is the limitation to the application.

Claims (10)

1. a kind of method that video flowing is transferred, which is characterized in that the method is applied to view networking, and the view networking includes provincial Monitoring and scheduling platform, multiple city-level monitoring and scheduling platforms and multiple monitoring and scheduling platforms at county level, each city-level monitoring and scheduling are flat Platform is connected with city-level database, and each monitoring and scheduling platform at county level is connected with database at county level, which comprises
The provincial monitoring and scheduling platform obtains the monitor video selection operation according to the monitor video selection operation received For target device mark, and identify corresponding target video device request target video stream to the target device;
When the provincial monitoring and scheduling platform does not receive the target video stream within the preset time, in multiple city-levels Inquiry is identified with the presence or absence of the target device in database;
If it exists, then the provincial monitoring and scheduling platform is asked by the first city-level monitoring and scheduling platform to the target video equipment The target video stream is sought, and receives the target video stream that the first city-level monitoring and scheduling platform uploads;
If it does not exist, then the provincial monitoring and scheduling platform is inquired in multiple databases at county level with the presence or absence of the target Device identification;And when identifying in the first database at county level there are the target device, pass through the first monitoring and scheduling platform at county level To target video stream described in the target video device request, and receive the described of the described first monitoring and scheduling platform upload at county level Target video stream.
2. the method according to claim 1, wherein the provincial monitoring and scheduling platform configuration has IE plug-in unit, institute State method further include:
The provincial monitoring and scheduling platform plays the target using the IE plug-in unit and regards when receiving the target video stream Frequency flows.
3. the method according to claim 1, wherein the method also includes:
The provincial monitoring and scheduling platform does not receive what the first city-level monitoring and scheduling platform uploaded within the preset time When the target video stream, determine that the multiple second monitoring and schedulings at county level connecting with the first city-level monitoring and scheduling platform are flat Platform;
The second data at county level that the provincial monitoring and scheduling platform is respectively connected from the multiple second monitoring and scheduling platform at county level Inquiry is identified with the presence or absence of the target device in library;
If it exists, the provincial monitoring and scheduling platform passes through third monitoring and scheduling platform at county level to the target video device request The target video stream, and receive the target video stream that third monitoring and scheduling platform at county level uploads.
4. the method according to claim 1, wherein it is described depending on networking further include protocol translation server, safety Access server, the provincial monitoring and scheduling platform connect provincial server;The provincial monitoring and scheduling platform is according to receiving Monitor video selection operation, obtain the target device mark that the monitor video selection operation is directed to, Xiang Suoshu target device The step of identifying corresponding target video device request target video stream, comprising:
The provincial monitoring and scheduling platform is identified according to the target device got, is obtained and target device mark pair The address for the target video equipment answered, and the address based on the target video equipment, the address of secure access server, agreement The address for converting server, determines first path information;
The provincial monitoring and scheduling platform generates the first object video request including the first path information and instructs;
First object video request instruction is sent to by the provincial monitoring and scheduling platform according to the first path information The target video equipment, and the target video that the target video equipment returns is received according to the first path information Stream;Wherein, the target video stream is the target video stream for meeting RTSP agreement, the target video stream for meeting RTSP agreement The initial video stream that the target video equipment received is sent is subjected to view networking protocol by the protocol translation server It is generated after conversion.
5. according to the method described in claim 4, it is characterized in that, the city-level monitoring and scheduling platform connect city-level server, The monitoring and scheduling platform at county level connects server at county level;
The provincial monitoring and scheduling platform passes through the first city-level monitoring and scheduling platform to mesh described in the target video device request Video flowing is marked, and the step of receiving the target video stream that the first city-level monitoring and scheduling platform uploads, comprising:
The provincial monitoring and scheduling platform stops the institute that the target video equipment acquisition is received according to the first path information State target video stream;And address, the protocol translation server of the address, secure access server based on the target video equipment Address, the first city-level server address, determine the second routing information;
The provincial monitoring and scheduling platform generates the second target video request instruction including second routing information, according to institute It states the second routing information and the second target video request instruction is sent to the target video equipment, and according to described second Routing information receives the target video stream of the target video equipment acquisition;
The provincial monitoring and scheduling platform passes through the first monitoring and scheduling platform at county level to mesh described in the target video device request Video flowing is marked, and the step of receiving the target video stream that the described first monitoring and scheduling platform at county level uploads, comprising:
The provincial monitoring and scheduling platform stops the institute that the target video equipment acquisition is received according to the first path information State target video stream;And address, the protocol translation server of the address, secure access server based on the target video equipment Address, the first server at county level address, determine third routing information;
The provincial monitoring and scheduling platform generates the third target video request instruction including the third routing information, and foundation The third target video request instruction is sent to the target video equipment by the third routing information, and according to described Third routing information receives the target video stream of the target video equipment acquisition.
6. a kind of device that video flowing is transferred, which is characterized in that described device is applied to view networking, and the view networking includes provincial Monitoring and scheduling platform, multiple city-level monitoring and scheduling platforms and multiple monitoring and scheduling platforms at county level;Each city-level monitoring and scheduling is flat Platform is connected with city-level database, and each monitoring and scheduling platform at county level is connected with database at county level;Described device is located at the province Grade monitoring and scheduling platform, described device include:
First video request module, for obtaining the monitor video selection behaviour according to the monitor video selection operation received Make the target device being directed to mark, and identifies corresponding target video device request target video stream to the target device;
First enquiry module, when for not receiving the target video stream within the preset time, from multiple city's series It is identified according to inquiry in library with the presence or absence of the target device;
Second video request module passes through the first city when for identifying in the first city-level database there are the target device Grade monitoring and scheduling platform receives the first city-level monitoring and scheduling to target video stream described in the target video device request The target video stream that platform uploads;
Second enquiry module, in multiple city-level databases there is no when target device mark, from described more Inquiry is identified with the presence or absence of the target device in the database at county level that a monitoring and scheduling platform at county level respectively connects;
Third video request module passes through the first county when for identifying in the first database at county level there are the target device Grade monitoring and scheduling platform receives the described first monitoring and scheduling at county level to target video stream described in the target video device request The target video stream that platform uploads.
7. device according to claim 6, which is characterized in that described device further includes that provincial monitoring and scheduling platform configuration has IE plug-in unit, described device further include:
Video sending module, for the target video stream received to be sent to the IE plug-in unit, so that the IE plug-in unit Play the target video stream.
8. device according to claim 6, which is characterized in that it is described depending on networking further include protocol translation server, safety Access server, the provincial monitoring and scheduling platform connect provincial server;The first video request module includes:
First path information determines submodule, for according to the target device mark got, acquisition to be set with the target The standby address for identifying corresponding target video equipment, and the address based on the target video equipment, secure access server Address, protocol translation server address, determine first path information;
First request instruction generates submodule, refers to for generating the first object video request including the first path information It enables;
First communication submodule, for according to the first path information, first object video request instruction to be sent to The target video equipment, and the target video that the target video equipment returns is received according to the first path information Stream;Wherein, the target video stream is the target video stream for meeting RTSP agreement, the target video stream for meeting RTSP agreement The initial video stream that the target video equipment received is sent is subjected to view networking protocol by the protocol translation server It is generated after conversion.
9. device according to claim 6, which is characterized in that described device further include:
Monitoring and scheduling platform determining module, for not receiving the first city-level monitoring and scheduling platform within the preset time When the target video stream passed, the multiple second monitoring and schedulings at county level connecting with the first city-level monitoring and scheduling platform are determined Platform;
Third enquiry module, for from the second database at county level that the multiple second monitoring and scheduling platform at county level respectively connects Inquiry is identified with the presence or absence of the target device;
4th video request module, in third database at county level there are the target device identify when, by with it is described The third monitoring and scheduling platform at county level of third database at county level connection to target video stream described in the target video device request, And receive the target video stream that third monitoring and scheduling platform at county level uploads.
10. device according to claim 8, which is characterized in that the city-level monitoring and scheduling platform connects city-level server, Monitoring and scheduling platform at county level connects server at county level;
The second video request module includes:
First link disconnects submodule, and the target video equipment acquisition is received according to the first path information for stopping The target video stream;
Second routing information determines submodule, is used for and address based on the target video equipment, secure access server Address, the address of protocol translation server, the first city-level server address, determine the second routing information;
Second request instruction generates submodule, refers to for generating the second target video request including second routing information It enables;
Second communication submodule, for the second target video request instruction to be sent to institute according to second routing information Target video equipment is stated, and receives the target video of the target video equipment acquisition according to second routing information Stream;
The third video request module includes:
Second link disconnects submodule, and the target video equipment acquisition is received according to the first path information for stopping The target video stream;
Third routing information determines submodule, the ground for address, secure access server based on the target video equipment Location, the address of protocol translation server, the first server at county level address, determine third routing information;
Third request instruction generates submodule, refers to for generating the third target video request including the third routing information It enables;
Third communication submodule, for the third target video request instruction to be sent to institute according to the third routing information Target video equipment is stated, and receives the target video that the target video equipment is sent according to the third routing information Stream.
CN201910245134.2A 2019-03-28 2019-03-28 Method and device for calling video stream Active CN110113566B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910245134.2A CN110113566B (en) 2019-03-28 2019-03-28 Method and device for calling video stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910245134.2A CN110113566B (en) 2019-03-28 2019-03-28 Method and device for calling video stream

Publications (2)

Publication Number Publication Date
CN110113566A true CN110113566A (en) 2019-08-09
CN110113566B CN110113566B (en) 2021-02-12

Family

ID=67484809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910245134.2A Active CN110113566B (en) 2019-03-28 2019-03-28 Method and device for calling video stream

Country Status (1)

Country Link
CN (1) CN110113566B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636110A (en) * 2019-08-20 2019-12-31 视联动力信息技术股份有限公司 Monitoring data flow adjusting method and device
CN110996139A (en) * 2019-12-19 2020-04-10 浙江大华技术股份有限公司 Video path switching processing method and device
CN111147952A (en) * 2019-12-26 2020-05-12 视联动力信息技术股份有限公司 Method and device for sending monitoring resource data and storage medium
CN111309943A (en) * 2020-02-25 2020-06-19 陈广柱 Camera direct memory mode convergence method
CN115460451A (en) * 2022-09-15 2022-12-09 浙江大华技术股份有限公司 Video playing method and device, storage medium and electronic device
CN115460451B (en) * 2022-09-15 2024-04-26 浙江大华技术股份有限公司 Video playing method and device, storage medium and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287109A (en) * 2008-05-15 2008-10-15 中国网络通信集团公司 Multi-stage platform monitoring system and method
CN103517034A (en) * 2012-06-18 2014-01-15 中国航天科工集团第二研究院七0六所 System and method for multi-platform network video monitoring based on SIP protocol
CN103888729A (en) * 2014-03-19 2014-06-25 浙江宇视科技有限公司 Method and device for synchronizing camera information between video monitoring platforms
EP3016384A1 (en) * 2013-06-28 2016-05-04 ZTE Corporation Dynamic access method of mobile front end, mobile front end, and video monitoring platform
CN107995465A (en) * 2017-12-15 2018-05-04 佛山三维二次方科技有限公司 A kind of transformer substation video monitor supervision platform
CN108810456A (en) * 2017-07-17 2018-11-13 北京视联动力国际信息技术有限公司 A kind of monitoring video flow transfers method and system
CN109309716A (en) * 2018-09-27 2019-02-05 北京维艾思气象信息科技有限公司 For sharing the cloud platform and its construction method and purposes of three-level Products of Meteorological Services
CN109391614A (en) * 2018-09-06 2019-02-26 视联动力信息技术股份有限公司 It is a kind of based on depending on network transfer monitoring data method and apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287109A (en) * 2008-05-15 2008-10-15 中国网络通信集团公司 Multi-stage platform monitoring system and method
CN103517034A (en) * 2012-06-18 2014-01-15 中国航天科工集团第二研究院七0六所 System and method for multi-platform network video monitoring based on SIP protocol
EP3016384A1 (en) * 2013-06-28 2016-05-04 ZTE Corporation Dynamic access method of mobile front end, mobile front end, and video monitoring platform
CN103888729A (en) * 2014-03-19 2014-06-25 浙江宇视科技有限公司 Method and device for synchronizing camera information between video monitoring platforms
CN108810456A (en) * 2017-07-17 2018-11-13 北京视联动力国际信息技术有限公司 A kind of monitoring video flow transfers method and system
CN107995465A (en) * 2017-12-15 2018-05-04 佛山三维二次方科技有限公司 A kind of transformer substation video monitor supervision platform
CN109391614A (en) * 2018-09-06 2019-02-26 视联动力信息技术股份有限公司 It is a kind of based on depending on network transfer monitoring data method and apparatus
CN109309716A (en) * 2018-09-27 2019-02-05 北京维艾思气象信息科技有限公司 For sharing the cloud platform and its construction method and purposes of three-level Products of Meteorological Services

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636110A (en) * 2019-08-20 2019-12-31 视联动力信息技术股份有限公司 Monitoring data flow adjusting method and device
CN110636110B (en) * 2019-08-20 2022-07-22 视联动力信息技术股份有限公司 Monitoring data flow adjusting method and device
CN110996139A (en) * 2019-12-19 2020-04-10 浙江大华技术股份有限公司 Video path switching processing method and device
CN111147952A (en) * 2019-12-26 2020-05-12 视联动力信息技术股份有限公司 Method and device for sending monitoring resource data and storage medium
CN111309943A (en) * 2020-02-25 2020-06-19 陈广柱 Camera direct memory mode convergence method
CN115460451A (en) * 2022-09-15 2022-12-09 浙江大华技术股份有限公司 Video playing method and device, storage medium and electronic device
CN115460451B (en) * 2022-09-15 2024-04-26 浙江大华技术股份有限公司 Video playing method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN110113566B (en) 2021-02-12

Similar Documents

Publication Publication Date Title
CN108023910A (en) A kind of terminal monitoring method and system based on regarding networking
CN110113566A (en) A kind of method and apparatus that video flowing is transferred
CN109743595A (en) Terminal data synchronous method and device
CN109617956A (en) A kind of data processing method and device
CN110493351A (en) A kind of view networking cut-in method, device, equipment and storage medium
CN110489484A (en) Method of data synchronization, device, readable storage medium storing program for executing and electronic equipment
CN109996086A (en) A kind of view networking service method for inquiring status and device
CN109889420A (en) Method and device for business processing
CN108234178B (en) A kind of method and apparatus being managed collectively menu file
CN109788247A (en) A kind of method and apparatus monitoring instruction identification
CN109889779A (en) A kind for the treatment of method and apparatus of packet out-ordering
CN109587002A (en) A kind of condition detection method and system regarding networking monitoring equipment
CN109743550A (en) A kind of method and apparatus of monitoring data tune stream
CN109284265A (en) A kind of date storage method and system
CN110475100A (en) A kind of method and device of monitoring management
CN110139124A (en) A kind for the treatment of method and apparatus that monitoring is recorded
CN109803119A (en) A kind of method and apparatus of monitoring information transmission
CN109151519A (en) A kind of configuration distribution method and system based on view networking
CN109743555A (en) A kind of information processing method and system based on view networking
CN109491783A (en) A kind of acquisition methods and system of memory usage
CN110505107A (en) A kind of monitoring method and view networking management system
CN108989850A (en) A kind of video playing control method and control system
CN110493149A (en) A kind of method and apparatus of Message processing
CN110263030A (en) Data capture method and device based on view networking
CN110134892A (en) A kind of loading method and system monitoring the Resources list

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant