CN109714568A - A kind of synchronous method and device of video monitoring data - Google Patents

A kind of synchronous method and device of video monitoring data Download PDF

Info

Publication number
CN109714568A
CN109714568A CN201811520013.6A CN201811520013A CN109714568A CN 109714568 A CN109714568 A CN 109714568A CN 201811520013 A CN201811520013 A CN 201811520013A CN 109714568 A CN109714568 A CN 109714568A
Authority
CN
China
Prior art keywords
server
data
networking
video monitoring
sent
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
CN201811520013.6A
Other languages
Chinese (zh)
Other versions
CN109714568B (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 CN201811520013.6A priority Critical patent/CN109714568B/en
Publication of CN109714568A publication Critical patent/CN109714568A/en
Application granted granted Critical
Publication of CN109714568B publication Critical patent/CN109714568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application provides a kind of synchronous method of video monitoring data and devices, the video monitoring data sent by the first forwarding server receiving stream media server, and use video monitoring data, the first protocol data for view networking protocol is generated, then by the way that the first protocol data is sent to intermediate server depending on networking Core server;By intermediate server according to the first protocol data, video monitoring data is sent to second forwarding server, video monitoring data is sent to monitoring Resource Server by the second forwarding server, so that monitoring Resource Server synchronizes processing to video monitoring data, by introducing intermediate server, and using the view networking Core server and forwarding server that are deployed in view networking as data transmitting server, realizing the data in local area network can be updated by view networking real-time synchronization into the terminal in other local area networks, it ensure that the real-time and stability of video monitoring data transmission.

Description

A kind of synchronous method and device of video monitoring data
Technical field
This application involves technical field of data processing, synchronous method, one kind more particularly to a kind of video monitoring data The synchronizing device of video monitoring data and a kind of computer readable storage medium.
Background technique
It is the important milestone of network Development depending on networking, is the more advanced form of internet, is a real-time network, it can It realizes the whole network HD video real-time Transmission that current internet cannot achieve, pushes numerous Internet applications to HD video, High definition is face-to-face, will finally realize that the world without distance, realizes that the distance of person to person in global range is the distance of a screen.
Currently, depending on having accessed hundreds of thousands of monitoring resources on the streaming media server of networked environment, and monitor resource The variation real-time of access, the data of monitoring resource and resource status is higher, these monitoring informations require real-time synchronization Into the view networking monitoring Resource Server being located under view networked environment.Therefore, it is necessary to be carried out to data in the case where regarding networked environment Real-time synchronization.
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 synchronizing device and a kind of meter of a kind of synchronous method of the video monitoring data to solve the above problems, a kind of video monitoring data Calculation machine readable storage medium storing program for executing.
To solve the above-mentioned problems, the embodiment of the present application discloses a kind of synchronous method of video monitoring data, the side Method is applied in view networking, and the view networking is connect with ethernet communication, wherein includes the first forwarding service in the view networking Device, the second forwarding server and view networking Core server, the Ethernet include streaming media server, intermediate server and Monitor Resource Server, which comprises
First forwarding server receives the video monitoring data that the streaming media server is sent;
First forwarding server uses the video monitoring data, generates the first association for default view networking protocol Discuss data;
First protocol data is sent to institute depending on networking Core server by described by first forwarding server State intermediate server;
The intermediate server is sent to described second turn according to first protocol data, by the video monitoring data Send out server;
The video monitoring data is sent to the monitoring Resource Server by second forwarding server, so that described Monitoring Resource Server synchronizes processing to the video monitoring data.
Preferably, described depending on further including third forwarding server in networking, first forwarding server passes through the view First protocol data is sent to the intermediate server by networking Core server, comprising:
First protocol data is sent to the view networking Core server by first forwarding server;
It is described that first protocol data is sent to the third forwarding server depending on networking Core server;
The third forwarding server parses first protocol data, obtains the video monitoring data;
The video monitoring data is sent to the intermediate server by the third forwarding server.
Preferably, the video monitoring data is sent to institute according to first protocol data by the intermediate server State the second forwarding server, comprising:
The intermediate server sends the video monitoring data to the third forwarding server;
The third forwarding server uses the video monitoring data, generates the second association for the view networking protocol Discuss data;
The second protocol data are sent to the view networking Core server by the third forwarding server;
It is described that the second protocol data are sent to second forwarding server depending on networking Core server.
Preferably, the third forwarding server is sent out the second protocol data by view networking Core server It send to second forwarding server, comprising:
The second protocol data are sent to the view networking Core server by the third forwarding server;
It is described that the second protocol data are sent to second forwarding server depending on networking Core server.
Preferably, described that the second protocol data are sent to the second forwarding clothes depending on networking Core server It is engaged in after device, further includes:
Second forwarding server parses the second protocol data, obtains the video monitoring data;
The video monitoring data is sent to the monitoring Resource Server by second forwarding server.
Disclosed herein as well is a kind of synchronizing devices of video monitoring data, which is characterized in that described device is applied to view In networking, the view networking is connect with ethernet communication, wherein includes the first forwarding server, second turn in the view networking Server and view networking Core server are sent out, the Ethernet includes streaming media server, intermediate server and monitoring resource Server, which comprises
Video monitoring data receiving module receives what the streaming media server was sent for first forwarding server Video monitoring data;
First protocol data generation module, for first forwarding server using preset view networking protocol and described Video monitoring data generates the first protocol data for the view networking protocol;
First protocol data sending module, networking Core server by the view for first forwarding server will First protocol data is sent to the intermediate server;
Video monitoring data sending module, for the intermediate server according to first protocol data, by the view Frequency monitoring data is sent to second forwarding server;
The video monitoring data is sent to institute for second forwarding server by video monitoring data synchronization module Monitoring Resource Server is stated, so that the monitoring Resource Server synchronizes processing to the video monitoring data.
Preferably, described depending on further including third forwarding server in networking, the first protocol data sending module includes:
First protocol data is sent to the view for first forwarding server and joined by the first sending submodule Net Core server;
First protocol data is sent to described the depending on networking Core server for described by the second sending submodule Three forwarding servers;
Protocol data analyzing sub-module parses first protocol data for the third forwarding server, obtains institute State video monitoring data;
The video monitoring data is sent to by video monitoring data sending submodule for the third forwarding server The intermediate server.
Preferably, the video monitoring data sending module includes:
Third sending submodule sends the video monitoring data to the third for the intermediate server and forwards clothes Business device;
Second protocol data generate submodule, use preset view networking protocol and institute for the third forwarding server Video monitoring data is stated, the second protocol data for the view networking protocol are generated;
Second protocol data sending submodule passes through view networking Core server for the third forwarding server The second protocol data are sent to second forwarding server.
Disclosed herein as well is a kind of devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors When, so that the method that described device executes the synchronization of one or more video monitoring datas as described above.
Disclosed herein as well is the computer programs of a kind of computer readable storage medium, storage, and processor is executed The method of the synchronization of video monitoring data as described above.
The embodiment of the present application includes the following advantages:
In the embodiment of the present application, the video monitoring number sent by the first forwarding server receiving stream media server According to then the first forwarding server uses video monitoring data, generates the first protocol data for view networking protocol, and pass through The first protocol data is sent to intermediate server depending on networking Core server;By intermediate server according to the first agreement number According to the video monitoring data is sent to second forwarding server, is supervised the video by the second forwarding server Control data are sent to monitoring Resource Server, so that the monitoring Resource Server synchronizes place to the video monitoring data Reason, by introduce intermediate server, and will be deployed in view networking in view networking Core server and forwarding server as Data transmitting server, realizing the data in local area network can be updated by view networking real-time synchronization into other local area networks In terminal, the real-time and stability of video monitoring data transmission ensure that.
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 a kind of step flow chart of the embodiment of the method for the synchronization of video monitoring data of the embodiment of the present application;
Fig. 6 is a kind of structural block diagram of the Installation practice of the synchronization of video monitoring data of the embodiment of the present application.
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 First video flow.It is exchanged different from simple network packet packet switch (Packet Switching) or lattice network (Circuit Switching) meets Streaming demand using Packet Switching depending on networking technology.Depending on skill of networking Art has flexible, the simple and low price of packet switch, is provided simultaneously with the quality and safety assurance of circuit switching, realizes the whole network friendship Change the seamless connection of formula virtual circuit 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 association turns gateway), terminal (including various set-top boxes, encoding board, memory etc.).Metropolitan Area Network (MAN) can be divided on the whole depending on networking (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 association turns 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-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet; If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier (stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, Then abandon.
All pack buffer queues of 303 poll of switching engine module, may include two kinds of situations:
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 rate control 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.
Rate control 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 rate control 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, rate control 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-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410 (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.
Embodiment one
With reference to Fig. 5, a kind of step of the embodiment of the method one of the synchronization of video monitoring data of the embodiment of the present application is shown Rapid flow chart, wherein the method is applied in view networking, and the view networking is connect with ethernet communication, wherein the view connection In net include the first forwarding server, the second forwarding server, third forwarding server and view networking Core server, it is described with Too net includes that streaming media server, intermediate server and monitoring Resource Server, the method can specifically include following step It is rapid:
Step 501, the video monitoring data that the first forwarding server receiving stream media server is sent;
Hundreds of thousands of video monitoring resources is accessed on the streaming media server under depending on networked environment, and these are monitored The variation real-time of the access of resource, the processing for monitoring resource and resource status is higher.User is in the mistake for carrying out video monitoring Cheng Zhong needs these monitoring resources being synchronized to monitoring Resource Server in real time, so that user be allow to carry out the pipe of resource The operation such as reason statistics and scheduling.
By introducing intermediate server under depending on networked environment, intermediate server can receive streaming media server transmission Video monitoring data, monitoring Resource Server can obtain data according to the ability of itself, realize convection media server Load and the load of monitoring Resource Server decouple.
In the embodiment of the present application, forwarding server and depending on networking Core server between by being led to depending on networking protocol News, are communicated between streaming media server and forwarding server by Internet protocol, intermediate server and forwarding server Between communicated by Internet protocol, monitor and led between Resource Server and forwarding server by Internet protocol News.
Wherein, forwarding server includes the first forwarding server, the second forwarding server and third forwarding server, is turned Hair server can be used for being converted to the video monitoring data of internet protocol-based the video monitoring based on view networking protocol Data can also will be converted to the video monitoring data of internet protocol-based based on the video monitoring data depending on networking protocol.
Specifically, when forwarding server receives the video monitoring data that streaming media server is sent by Internet protocol When, which can be parsed, the video monitoring data based on view networking protocol is converted into, to make the video monitoring number According to can depending on networking in be transmitted.
Specifically, when forwarding server receive based on view networking protocol video monitoring data, can by the data into Row parsing, is converted into the video monitoring data of internet protocol-based, and be sent to corresponding internet terminal, such as monitors resource Server.
In the concrete realization, the producer of the streaming media server as video monitoring data, can be by video monitoring data It is sent to the first forwarding server by Internet protocol, the video monitoring data is handled by the first forwarding server, Video monitoring data is transmitted in depending on networking.
Step 502, the first forwarding server uses video monitoring data, generates the first association for default view networking protocol Discuss data;
In the embodiment of the present application, the first forwarding server receives streaming media server and sends internet protocol-based When video monitoring data, the video monitoring data can be used, generates the first protocol data for default view networking protocol.
In the concrete realization, the first protocol data is the data based on view networking protocol, and the format of data frame can wrap It includes: video monitoring data, view networking protocol and ethernet frame format.Streaming media server supervises the video that first terminal is sent Control data are packaged, and the video monitoring data of internet protocol-based is converted to the first agreement number based on view networking protocol According to.
Step 503, the first forwarding server is by being sent to intermediate clothes for the first protocol data depending on networking Core server Business device;
In the embodiment of the present application, video monitoring data is converted to the view based on view networking protocol by the first forwarding server After frequency monitoring data, which can be transmitted in depending on networking, then a forwarding server can be joined by view First protocol data is sent to intermediate server by net Core server.
In a kind of preferred embodiment of the embodiment of the present application, step 503 may include following sub-step:
First protocol data is sent to view networking Core server by sub-step S11, the first forwarding server;
First protocol data is sent to third forwarding server depending on networking Core server by sub-step S12;
In the concrete realization, it is deployed in depending on router and exchange can be served as depending on networking Core server in intranet network The function of machine is forwarded to what is received depending on networking data.First protocol data is sent to view networking by the first forwarding server After Core server, then by first protocol data is forwarded to third forwarding server depending on networking Core server.
Sub-step S13, third forwarding server parse the first protocol data, obtain video monitoring data;
Video monitoring data is sent to intermediate server by sub-step S14, third forwarding server.
It in the concrete realization, can be with after third forwarding server receives the first protocol data based on view networking protocol First protocol data is parsed, the first protocol data is converted to the video monitoring data of internet protocol-based, and will The video monitoring data is sent to intermediate server.
Step 504, video monitoring data is sent to the second forwarding service according to the first protocol data by intermediate server Device;
In the embodiment of the present application, after intermediate server receives video monitoring data, can to video monitoring data into The processing of row persistence, and guarantee also to can guarantee the access performance of constant time in TB grades of above data immediately, while guaranteeing that height gulps down Spit rate.
In a kind of preferred embodiment of the embodiment of the present application, step 504 may include following sub-step:
Sub-step S21, intermediate server send video monitoring data to third forwarding server;
Sub-step S22, third forwarding server use video monitoring data, generate the second protocol for view networking protocol Data;
In the concrete realization, when monitoring Resource Server needs to obtain video monitoring data, data acquisition can be initiated Request message, then the second forwarding server is converted to the data acquisition request message of internet protocol-based based on view networking The data acquisition request message of agreement, and the request message is sent to view networking Core server, by view networking kernel service The data acquisition request message is forwarded to third forwarding server by device, and then third forwarding server parses the data acquisition and asks Message is sought, and is sent to intermediate server.
After intermediate server receives the data acquisition request message that monitoring Resource Server is sent, it can return corresponding Video monitoring data.Specifically, intermediate server can be converted to the video monitoring data of internet protocol-based based on view The video monitoring data of networking protocol, to generate second protocol data.
Second protocol data are sent to view networking Core server by sub-step S23, third forwarding server;
Second protocol data are sent to the second forwarding server depending on networking Core server by sub-step S24.
In the concrete realization, second protocol data are sent to view networking Core server by third forwarding server, then By second protocol data are sent to the second forwarding server depending on networking Core server.
Step 505, video monitoring data is sent to monitoring Resource Server by the second forwarding server, so that monitoring resource Server synchronizes processing to video monitoring data.
In the embodiment of the present application, the second forwarding server can send the video monitoring data based on view networking protocol The video monitoring data of internet protocol-based is converted to, the video monitoring data is then sent to monitoring Resource Server, So that monitoring Resource Server synchronizes processing to video monitoring data.
In a kind of preferred embodiment of the embodiment of the present application, step 505 may include following sub-step:
Sub-step S31, the second forwarding server parse second protocol data, obtain video monitoring data;
Video monitoring data is sent to monitoring Resource Server by sub-step S32, the second forwarding server.
In the concrete realization, the second forwarding server receives the video monitoring data based on view networking protocol, can be right The video monitoring data is parsed, and the video monitoring data of internet protocol-based is converted to, then by the video monitoring number According to monitoring Resource Server is sent to, so that monitoring Resource Server synchronizes processing to video monitoring data.
It should be noted that in the embodiment of the present application, the flow direction with data flow in video monitoring data transmission process is Example illustrates, it is to be understood that in data synchronization process, the data of streaming media server are sent and monitoring money The data acquisition of source server carries out simultaneously.
In the embodiment of the present application, the video monitoring number sent by the first forwarding server receiving stream media server According to then the first forwarding server uses video monitoring data, generates the first protocol data for view networking protocol, and pass through The first protocol data is sent to intermediate server depending on networking Core server;By intermediate server according to the first agreement number According to the video monitoring data is sent to second forwarding server, is supervised the video by the second forwarding server Control data are sent to monitoring Resource Server, so that the monitoring Resource Server synchronizes place to the video monitoring data Reason, by introduce intermediate server, and will be deployed in view networking in view networking Core server and forwarding server as Data transmitting server, realizing the data in local area network can be updated by view networking real-time synchronization into other local area networks In terminal, the real-time and stability of video monitoring data transmission ensure that.
Embodiment two
With reference to Fig. 6, a kind of structure of the Installation practice of the synchronization of video monitoring data of the embodiment of the present application is shown Block diagram, described device are applied in view networking, and the view networking is connect with ethernet communication, wherein described depending on including in networking First forwarding server, the second forwarding server, third forwarding server and view networking Core server, the Ethernet include Streaming media server, intermediate server and monitoring Resource Server, the apparatus may include following modules:
Video monitoring data receiving module 601 receives the streaming media server hair for first forwarding server The video monitoring data sent;
First protocol data generation module 602, for first forwarding server using preset view networking protocol with The video monitoring data generates the first protocol data for the view networking protocol;
First protocol data sending module 603 passes through view networking kernel service for first forwarding server First protocol data is sent to the intermediate server by device;
Video monitoring data sending module 604 will be described for the intermediate server according to first protocol data Video monitoring data is sent to second forwarding server;
Video monitoring data synchronization module 605 sends the video monitoring data for second forwarding server To the monitoring Resource Server, so that the monitoring Resource Server synchronizes processing to the video monitoring data.
In a kind of preferred embodiment of the embodiment of the present application, the first protocol data sending module may include:
First protocol data is sent to the view for first forwarding server and joined by the first sending submodule Net Core server;
First protocol data is sent to described the depending on networking Core server for described by the second sending submodule Three forwarding servers;
Protocol data analyzing sub-module parses first protocol data for the third forwarding server, obtains institute State video monitoring data;
The video monitoring data is sent to by the first monitoring data sending submodule for the third forwarding server The intermediate server.
In a kind of preferred embodiment of the embodiment of the present application, the video monitoring data sending module may include:
Third sending submodule sends the video monitoring data to the third for the intermediate server and forwards clothes Business device;
Second protocol data generate submodule, use preset view networking protocol and institute for the third forwarding server Video monitoring data is stated, the second protocol data for the view networking protocol are generated;
Second protocol data sending submodule passes through view networking Core server for the third forwarding server The second protocol data are sent to second forwarding server.
In a kind of preferred embodiment of the embodiment of the present application, the second protocol data sending submodule may include:
The second protocol data are sent to the view for the third forwarding server and networked by the first transmission unit Core server;
The second protocol data are sent to described second depending on networking Core server for described by the second transmission unit Forwarding server.
In a kind of preferred embodiment of the embodiment of the present application, the video monitoring data sending module can also include:
Monitoring data acquisition submodule parses the second protocol data for second forwarding server, obtains institute State video monitoring data;
The video monitoring data is sent to by the second monitoring data sending submodule for second forwarding server The monitoring Resource Server.
For the synchronizing device embodiment of video monitoring data, since it is real with the synchronous method of video monitoring data It is substantially similar to apply example, so being described relatively simple, referring to the portion of the synchronous method embodiment of video monitoring data in place of correlation It defends oneself bright.
The embodiment of the present application also discloses a kind of device, the apparatus may include:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors When, so that the method that described device executes the synchronization of one or more video monitoring datas as described above.
The embodiment of the present application also discloses a kind of computer readable storage medium, and the computer program of storage to handle The method that device executes the synchronization of video monitoring data as described above.
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.
Above to a kind of synchronous method of video monitoring data provided herein, a kind of synchronization of video monitoring data Device and a kind of computer readable storage medium are described in detail, original of the specific case to the application used herein Reason and embodiment are expounded, and the present processes that the above embodiments are only used to help understand and its core are thought Think;At the same time, for those skilled in the art, according to the thought of the application, in specific embodiments and applications There will be changes, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of synchronous method of video monitoring data, which is characterized in that the method is applied in view networking, the view networking It is connect with ethernet communication, wherein include the first forwarding server, the second forwarding server and view networking core in the view networking Central server, the Ethernet include streaming media server, intermediate server and monitoring Resource Server, the method packet It includes:
First forwarding server receives the video monitoring data that the streaming media server is sent;
First forwarding server uses the video monitoring data, generates the first agreement number for default view networking protocol According to;
First protocol data is sent in described by described depending on networking Core server by first forwarding server Between server;
The video monitoring data is sent to second forwarding and taken by the intermediate server according to first protocol data Business device;
The video monitoring data is sent to the monitoring Resource Server by second forwarding server, so that the monitoring Resource Server synchronizes processing to the video monitoring data.
2. the method according to claim 1, wherein described depending on further including third forwarding server, institute in networking It states the first forwarding server and first protocol data is sent to the intermediary service depending on networking Core server by described Device, comprising:
First protocol data is sent to the view networking Core server by first forwarding server;
It is described that first protocol data is sent to the third forwarding server depending on networking Core server;
The third forwarding server parses first protocol data, obtains the video monitoring data;
The video monitoring data is sent to the intermediate server by the third forwarding server.
3. the method according to claim 1, wherein the intermediate server is according to first protocol data, The video monitoring data is sent to second forwarding server, comprising:
The intermediate server sends the video monitoring data to the third forwarding server;
The third forwarding server uses the video monitoring data, generates the second protocol number for the view networking protocol According to;
The second protocol data are sent to the view networking Core server by the third forwarding server;
It is described that the second protocol data are sent to second forwarding server depending on networking Core server.
4. according to the method described in claim 3, it is characterized in that, the third forwarding server passes through view networking core The second protocol data are sent to second forwarding server by server, comprising:
The second protocol data are sent to the view networking Core server by the third forwarding server;
It is described that the second protocol data are sent to second forwarding server depending on networking Core server.
5. according to the method described in claim 3, it is characterized in that, described assist depending on networking Core server by described second View data are sent to after second forwarding server, further includes:
Second forwarding server parses the second protocol data, obtains the video monitoring data;
The video monitoring data is sent to the monitoring Resource Server by second forwarding server.
6. a kind of synchronizing device of video monitoring data, which is characterized in that described device is applied in view networking, the view networking It is connect with ethernet communication, wherein include the first forwarding server, the second forwarding server and view networking core in the view networking Central server, the Ethernet include streaming media server, intermediate server and monitoring Resource Server, described device packet It includes:
Video monitoring data receiving module receives the video that the streaming media server is sent for first forwarding server Monitoring data;
First protocol data generation module uses preset view networking protocol and the video for first forwarding server Monitoring data generates the first protocol data for the view networking protocol;
First protocol data sending module, for first forwarding server by it is described view networking Core server will described in First protocol data is sent to the intermediate server;
Video monitoring data sending module supervises the video for the intermediate server according to first protocol data Control data are sent to second forwarding server;
The video monitoring data is sent to the prison for second forwarding server by video monitoring data synchronization module Resource Server is controlled, so that the monitoring Resource Server synchronizes processing to the video monitoring data.
7. device according to claim 6, which is characterized in that described depending on further including third forwarding server, institute in networking Stating the first protocol data sending module includes:
First protocol data is sent to the view networking core for first forwarding server by the first sending submodule Central server;
First protocol data is sent to the third turn depending on networking Core server for described by the second sending submodule Send out server;
Protocol data analyzing sub-module parses first protocol data for the third forwarding server, obtains the view Frequency monitoring data;
The video monitoring data is sent to described by video monitoring data sending submodule for the third forwarding server Intermediate server.
8. device according to claim 6, which is characterized in that the video monitoring data sending module includes:
Third sending submodule sends the video monitoring data to the third for the intermediate server and forwards service Device;
Second protocol data generate submodule, use preset view networking protocol and the view for the third forwarding server Frequency monitoring data generates the second protocol data for the view networking protocol;
Second protocol data sending submodule passes through view networking Core server for institute for the third forwarding server It states second protocol data and is sent to second forwarding server.
9. a kind of device characterized by comprising
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, when being executed by one or more of processors, are made The method for obtaining the synchronization of one or more video monitoring datas of the described device execution as described in claim 1 to 5.
10. a kind of computer readable storage medium, which is characterized in that its computer program stored executes processor as weighed The method that benefit requires the synchronization of 1 to 5 described in any item video monitoring datas.
CN201811520013.6A 2018-12-12 2018-12-12 Video monitoring data synchronization method and device Active CN109714568B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811520013.6A CN109714568B (en) 2018-12-12 2018-12-12 Video monitoring data synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811520013.6A CN109714568B (en) 2018-12-12 2018-12-12 Video monitoring data synchronization method and device

Publications (2)

Publication Number Publication Date
CN109714568A true CN109714568A (en) 2019-05-03
CN109714568B CN109714568B (en) 2021-04-20

Family

ID=66256445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811520013.6A Active CN109714568B (en) 2018-12-12 2018-12-12 Video monitoring data synchronization method and device

Country Status (1)

Country Link
CN (1) CN109714568B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110247952A (en) * 2019-05-10 2019-09-17 视联动力信息技术股份有限公司 A kind of file synchronisation method and system based on view networking
CN110266755A (en) * 2019-05-09 2019-09-20 视联动力信息技术股份有限公司 A kind of method and device for obtaining association and turning server state
CN110557435A (en) * 2019-07-30 2019-12-10 视联动力信息技术股份有限公司 data synchronization method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170111609A (en) * 2016-03-29 2017-10-12 (주)날리지포인트 Image service system and method thereof
US9888290B1 (en) * 2016-03-24 2018-02-06 Sprint Communications Company L.P. Service denial notification in secure socket layer (SSL) processing
CN107959665A (en) * 2016-10-18 2018-04-24 北京视联动力国际信息技术有限公司 A kind of communication means and communication system
CN108206934A (en) * 2016-12-16 2018-06-26 北京视联动力国际信息技术有限公司 A kind of monitor video sharing method and device
CN108881357A (en) * 2017-08-31 2018-11-23 北京视联动力国际信息技术有限公司 A kind of method and apparatus that data are synchronous
CN108881139A (en) * 2017-10-30 2018-11-23 北京视联动力国际信息技术有限公司 A kind of method and apparatus of video communication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9888290B1 (en) * 2016-03-24 2018-02-06 Sprint Communications Company L.P. Service denial notification in secure socket layer (SSL) processing
KR20170111609A (en) * 2016-03-29 2017-10-12 (주)날리지포인트 Image service system and method thereof
CN107959665A (en) * 2016-10-18 2018-04-24 北京视联动力国际信息技术有限公司 A kind of communication means and communication system
CN108206934A (en) * 2016-12-16 2018-06-26 北京视联动力国际信息技术有限公司 A kind of monitor video sharing method and device
CN108881357A (en) * 2017-08-31 2018-11-23 北京视联动力国际信息技术有限公司 A kind of method and apparatus that data are synchronous
CN108881139A (en) * 2017-10-30 2018-11-23 北京视联动力国际信息技术有限公司 A kind of method and apparatus of video communication

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266755A (en) * 2019-05-09 2019-09-20 视联动力信息技术股份有限公司 A kind of method and device for obtaining association and turning server state
CN110247952A (en) * 2019-05-10 2019-09-17 视联动力信息技术股份有限公司 A kind of file synchronisation method and system based on view networking
CN110557435A (en) * 2019-07-30 2019-12-10 视联动力信息技术股份有限公司 data synchronization method and device

Also Published As

Publication number Publication date
CN109714568B (en) 2021-04-20

Similar Documents

Publication Publication Date Title
CN108881357B (en) A kind of method and apparatus that data are synchronous
CN108012106B (en) A kind of method and system regarding networking monitoring source synchronous
CN108243173B (en) A kind of RTMP video pushing method and device based on view networking
CN108965040A (en) A kind of business monitoring method and device of view networking
CN109714568A (en) A kind of synchronous method and device of video monitoring data
CN108307212A (en) A kind of file order method and device
CN109743550A (en) A kind of method and apparatus of monitoring data tune stream
CN108234178B (en) A kind of method and apparatus being managed collectively menu file
CN110022295A (en) A kind of method and view networked system of data transmission
CN109547163A (en) A kind of control method and device of message transmission rate
CN109818776A (en) Micro services module exception localization method and device
CN109802952A (en) Monitoring data synchronous method and device
CN109491783A (en) A kind of acquisition methods and system of memory usage
CN109743536A (en) A kind of method and apparatus of video data access
CN110048903A (en) A kind of association turns gateway status monitoring method and device
CN110166363A (en) A kind of multicast link monitoring method and device
CN109617965A (en) A kind of communication connection method for building up and view networked system
CN109729184A (en) A kind of method and apparatus of view networking service processing
CN109525635A (en) A kind of acquisition methods and system of memory usage
CN110475160A (en) One kind is across view networking transport video data method and apparatus
CN110493311A (en) A kind of method for processing business and device
CN110225083A (en) Data push method and device based on view networking
CN110177078A (en) A kind of method of data synchronization and device
CN110460810A (en) A kind of monitoring resource transfer method and device
CN110430388A (en) A kind of monitoring device control method, device and readable storage medium storing program for executing

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