CN110581846A - Monitoring video processing and system - Google Patents

Monitoring video processing and system Download PDF

Info

Publication number
CN110581846A
CN110581846A CN201910780560.6A CN201910780560A CN110581846A CN 110581846 A CN110581846 A CN 110581846A CN 201910780560 A CN201910780560 A CN 201910780560A CN 110581846 A CN110581846 A CN 110581846A
Authority
CN
China
Prior art keywords
video
monitoring
video networking
target
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910780560.6A
Other languages
Chinese (zh)
Inventor
王荣娣
李亚茹
李阔
杨春晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910780560.6A priority Critical patent/CN110581846A/en
Publication of CN110581846A publication Critical patent/CN110581846A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • 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 invention provides a monitoring video processing and system. The method comprises the following steps: the video networking monitoring and scheduling platform is connected through a WebSocket and sends a target coordination gateway identifier and a target monitoring resource identifier to a video networking message forwarding service; the video networking message forwarding service forwards the target cooperation gateway identification and the target monitoring resource identification to a video networking terminal connected in advance through a video networking transparent transmission protocol; the video network terminal forwards the target monitoring resource identifier to a protocol gateway corresponding to the target protocol gateway identifier through a video network transparent transmission protocol; the cooperation gateway calls a monitoring video of the monitoring resource corresponding to the target monitoring resource identifier from a third-party monitoring platform corresponding to the target monitoring resource identifier, and returns the monitoring video to the video networking terminal through a video networking datagram protocol; and playing the monitoring video by the video network terminal. The invention can realize that the video network monitoring and dispatching platform can uniformly control the monitoring video of the third-party monitoring platform.

Description

Monitoring video processing and system
Technical Field
The invention relates to the technical field of video networking, in particular to a monitoring video processing and system.
Background
Video surveillance is an important component of security systems. The traditional monitoring system comprises front-end monitoring equipment, a transmission cable and a video monitoring platform. Video monitoring is widely applied to many occasions due to intuition, accuracy, timeliness and rich information content. In recent years, with the rapid development of computers, networks, image processing and transmission technologies, video monitoring technologies have been developed.
the video monitoring platform can record the monitoring video collected by the monitoring equipment to obtain the monitoring video. Each video monitoring platform independently manages the monitoring video in the platform, and plays and controls the monitoring video of the platform.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed to provide a surveillance video processing and system that overcomes or at least partially solves the above-mentioned problems.
In a first aspect, the embodiment of the invention discloses a monitoring video processing method, which is applied to a monitoring video processing system, wherein the monitoring video processing system comprises a video networking monitoring and scheduling platform, a video networking message forwarding service, a video networking terminal and a cooperative gateway, the cooperative gateway is accessed to at least one third-party monitoring platform, and the third-party monitoring platform is connected with a plurality of monitoring resources; the method comprises the following steps:
The video networking monitoring and scheduling platform is connected through a WebSocket and sends a target cooperation gateway identifier and a target monitoring resource identifier to the video networking message forwarding service;
the video networking message forwarding service forwards the target co-transmission gateway identifier and the target monitoring resource identifier to a video networking terminal connected in advance through a video networking transparent transmission protocol;
the video network terminal forwards the target monitoring resource identifier to a protocol gateway corresponding to the target protocol gateway identifier through the video network transparent transmission protocol;
the cooperation gateway calls a monitoring video of the monitoring resource corresponding to the target monitoring resource identifier from a third-party monitoring platform corresponding to the target monitoring resource identifier, and returns the monitoring video to the video networking terminal through a video networking datagram protocol;
And the video network terminal plays the monitoring video.
Optionally, before the step of forwarding, by the video networking message forwarding service, the target coordination gateway identifier and the target monitoring resource identifier to a video networking terminal connected in advance through a video networking transparent transmission protocol, the method further includes: and the video networking message forwarding service converts the target cooperative gateway identifier and the target monitoring resource identifier into a hexadecimal format.
Optionally, the monitoring video processing system further includes a video network server; the step that the video networking message forwarding service forwards the target cooperation gateway identification and the target monitoring resource identification to a video networking terminal connected in advance through a video networking transparent transmission protocol comprises the following steps: the video networking message forwarding service encapsulates the format-converted target cooperation gateway identification and target monitoring resource identification into a first video networking message based on a first video networking transparent transmission protocol, and sends the first video networking message to the video networking server; the first video network transparent transmission protocol is a transparent transmission protocol from a terminal to a server; the video networking server extracts the target coordination gateway identification and the target monitoring resource identification after format conversion from the first video networking message, packages the target coordination gateway identification and the target monitoring resource identification into a second video networking message based on a second video networking transparent transmission protocol, and sends the second video networking message to the video networking terminal connected in advance; and the second video network transparent transmission protocol is a transparent transmission protocol from the server to the terminal.
Optionally, the step of the coordination gateway invoking the monitoring video of the monitoring resource corresponding to the target monitoring resource identifier from the third party monitoring platform corresponding to the target monitoring resource identifier includes: and the cooperation gateway calls a Software Development Kit (SDK) plug-in of a third-party monitoring platform corresponding to the target monitoring resource identifier, and calls the monitoring video through the plug-in.
Optionally, before the step of sending, by the video networking monitoring scheduling platform through WebSocket connection, the target coordination gateway identifier and the target monitoring resource identifier to the video networking message forwarding service, the method further includes: the video networking monitoring and scheduling platform is connected through a WebSocket and sends a terminal connection request carrying a target terminal identification to the video networking message forwarding service; the video networking message forwarding service forwards the terminal connection request to a video networking terminal corresponding to the target terminal identification through a video networking transparent transmission protocol; the video network terminal returns a successful connection response to the video network message forwarding service through a video network transparent transmission protocol; the video networking message forwarding service is connected through a WebSocket, the successful connection response is forwarded to the video networking monitoring and dispatching platform, and the video networking terminal is successfully connected.
Optionally, the step of sending, by the video networking monitoring and scheduling platform through WebSocket connection, the target coordination gateway identifier and the target monitoring resource identifier to the video networking message forwarding service includes: the video networking monitoring and scheduling platform is connected through a WebSocket and sends a target coordination gateway identifier, a target monitoring resource identifier and a playing mode to the video networking message forwarding service; the step that the video networking message forwarding service forwards the target cooperation gateway identification and the target monitoring resource identification to a video networking terminal connected in advance through a video networking transparent transmission protocol comprises the following steps: the video networking message forwarding service forwards the target cooperation gateway identifier, the target monitoring resource identifier and the playing mode to a video networking terminal connected in advance through a video networking transparent transmission protocol; the step of playing the monitoring video by the video network terminal comprises the following steps: the video network terminal plays the monitoring video according to the playing mode; the playing mode comprises a multiple of the playing speed and/or a specified playing time.
In a second aspect, the embodiment of the invention discloses a monitoring video processing system, which comprises a video networking monitoring and scheduling platform, a video networking message forwarding service, a video networking terminal and a coordination gateway, wherein the coordination gateway is accessed to at least one third-party monitoring platform, and the third-party monitoring platform is connected with a plurality of monitoring resources;
The video networking monitoring and scheduling platform comprises: the first sending module is used for sending the target coordination gateway identification and the target monitoring resource identification to the video networking message forwarding service through WebSocket connection;
The video networking message forwarding service comprises: the first forwarding module is used for forwarding the target cooperative forwarding gateway identifier and the target monitoring resource identifier to a pre-connected video networking terminal through a video networking transparent transmission protocol;
The video networking terminal includes: the second forwarding module is used for forwarding the target monitoring resource identifier to the corotation gateway corresponding to the target corotation gateway identifier through the video networking transparent transmission protocol;
the cooperation gateway includes: the first returning module is used for calling the monitoring video of the monitoring resource corresponding to the target monitoring resource identifier from the third-party monitoring platform corresponding to the target monitoring resource identifier and returning the monitoring video to the video network terminal through a video network datagram protocol;
The video networking terminal further comprises: and the playing module is used for playing the monitoring video.
Optionally, the video networking message forwarding service further comprises: and the format conversion module is used for converting the target cooperation gateway identifier and the target monitoring resource identifier into a hexadecimal format.
Optionally, the monitoring video processing system further includes a video network server; the first forwarding module is specifically configured to encapsulate, based on a first video networking transparent transmission protocol, a target coordination gateway identifier and a target monitoring resource identifier, which are format-converted, into a first video networking message, and send the first video networking message to the video networking server; the first video network transparent transmission protocol is a transparent transmission protocol from a terminal to a server; the video network server comprises: the third forwarding module is used for extracting the target coordination gateway identifier and the target monitoring resource identifier after format conversion from the first video network message, packaging the target coordination gateway identifier and the target monitoring resource identifier to a second video network message based on a second video network transparent transmission protocol, and sending the second video network message to the video network terminal connected in advance; and the second video network transparent transmission protocol is a transparent transmission protocol from the server to the terminal.
Optionally, the first returning module includes: and the calling submodule is used for calling a Software Development Kit (SDK) plug-in of the third-party monitoring platform corresponding to the target monitoring resource identifier, and calling the monitoring video through the plug-in.
Optionally, the video networking monitoring and scheduling platform further includes: the second sending module is used for sending a terminal connection request carrying a target terminal identifier to the video networking message forwarding service through WebSocket connection; the video networking message forwarding service further comprises: the fourth forwarding module is used for forwarding the terminal connection request to the video network terminal corresponding to the target terminal identifier through a video network transparent transmission protocol; the video networking terminal further comprises: the second returning module is used for returning a successful connection response to the video networking message forwarding service through a video networking transparent transmission protocol; the video networking message forwarding service further comprises: and the fifth forwarding module is used for forwarding the connection success response to the video networking monitoring and scheduling platform through WebSocket connection, and the video networking terminal is successfully connected.
Optionally, the first sending module is further configured to send, through WebSocket connection, a target coordination gateway identifier, a target monitoring resource identifier, and a playing mode to the video networking message forwarding service; the first forwarding module is further configured to forward the target coordination gateway identifier, the target monitoring resource identifier and the playing mode to a pre-connected video networking terminal through a video networking transparent transmission protocol; the playing module is further configured to play the monitoring video according to the playing mode; the playing mode comprises a multiple of the playing speed and/or a specified playing time.
In the embodiment of the invention, the co-rotating gateway in the video network can be accessed to a plurality of third-party monitoring platforms, and the video network monitoring and dispatching platforms carry out unified dispatching management on the third-party monitoring platforms accessed to the video network. When the video network monitoring and scheduling platform is used for playing and controlling the monitoring video of the third-party monitoring platform, the video network monitoring and scheduling platform is connected through a WebSocket, and sends a target cooperation gateway identifier and a target monitoring resource identifier to a video network message forwarding service; the video networking message forwarding service forwards the target cooperation gateway identification and the target monitoring resource identification to a video networking terminal connected in advance through a video networking transparent transmission protocol; the video network terminal forwards the target monitoring resource identifier to a protocol gateway corresponding to the target protocol gateway identifier through the video network transparent transmission protocol; the cooperation gateway calls a monitoring video of the monitoring resource corresponding to the target monitoring resource identifier from a third-party monitoring platform corresponding to the target monitoring resource identifier, and returns the monitoring video to the video networking terminal through a video networking datagram protocol; and the video network terminal plays the monitoring video. Therefore, in the embodiment of the invention, the video network monitoring and scheduling platform can control the monitoring video in the third-party monitoring platform to be played on the video network terminal, so that the video network monitoring and scheduling platform can uniformly control the monitoring video of the third-party monitoring platform.
drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
Fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
FIG. 5 is a flowchart illustrating a monitoring video processing method according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating an interaction process of a device according to a first embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for processing a surveillance video according to a second embodiment of the present invention;
Fig. 8 is a block diagram of a monitoring video recording processing system according to a third embodiment of the present invention.
Detailed Description
in order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
Network Technology (Network Technology)
Network technology innovation in video networking has improved the traditional Ethernet (Ethernet) to face the potentially huge first video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
the server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
networking of the video network is as follows:
The video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
the metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: server, exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, code board, memory, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node server, access exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
Wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
the switching engine module 303 polls all packet buffer queues and may include two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
If the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MACSA of the ethernet coordination gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
The system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
the data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
Wherein:
The Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
The reserved byte consists of 2 bytes;
The payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
The CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
in this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
as shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the characteristics of the video network, the monitoring video processing scheme provided by the embodiment of the invention follows the protocol of the video network, and can realize that the video network monitoring and scheduling platform can uniformly control the monitoring video of the third-party monitoring platform.
Example one
The monitoring video processing method of the embodiment of the invention can be applied to a monitoring video processing system. The monitoring video processing system can comprise a video networking monitoring scheduling platform, a video networking message forwarding service, a video networking terminal and a protocol conversion gateway. The cooperative gateway is responsible for accessing monitoring resources (which can also be described as monitoring equipment) on the internet into the video network, so that browsing and controlling the monitoring resources on the internet in the video network are realized. The collaboration gateway may be connected to at least one third party monitoring platform located in the internet. And the third-party monitoring platform is accessed to the protocol gateway after registration is successful. Each third-party monitoring platform can be connected with a plurality of monitoring resources, and the cooperation gateway can record the information of the plurality of monitoring resources connected with the accessed third-party monitoring platform. The third-party monitoring platform can be a public security monitoring platform, a medical monitoring platform, and the like.
Referring to fig. 5, a flowchart illustrating steps of a monitoring video recording processing method according to a first embodiment of the present invention is shown.
The monitoring video processing method of the embodiment of the invention can comprise the following steps:
Step 501, the video networking monitoring and scheduling platform sends the target co-transmission gateway identifier and the target monitoring resource identifier to the video networking message forwarding service through WebSocket connection.
The video networking monitoring and dispatching platform and the video networking message forwarding service communicate through a WebSocket (network socket) connection. Therefore, before communication, the video networking monitoring and scheduling platform can judge whether the WebSocket network monitoring service is connected or not.
fig. 6 is a schematic diagram of a device interaction process according to a first embodiment of the present invention. As shown in fig. 6, the user can log in and access the video network monitoring and scheduling platform at a PC (Personal Computer) side, and select a target monitoring resource identifier at a resource list function page. The video networking monitoring and scheduling platform judges whether the WebSocket network monitoring service is connected or not. If not, prompting the user to connect; if so, the video networking monitoring and scheduling platform can acquire a target co-transformation gateway identifier according to the target monitoring resource identifier, and sends the target co-transformation gateway identifier and the target monitoring resource identifier to the video networking message forwarding service through WebSocket connection. The cooperative gateway identifier may be a main message number of the target cooperative gateway, and the target monitoring resource identifier may be an ID, a name, and the like of the target monitoring resource.
step 502, the video networking message forwarding service forwards the target co-forwarding gateway identifier and the target monitoring resource identifier to a pre-connected video networking terminal through a video networking transparent transmission protocol.
As shown in fig. 6, the video networking message forwarding service forwards the target coordination gateway identifier and the target monitoring resource identifier to a video networking terminal connected in advance. The video network terminal is a video network service landing device, an actual participant or a server of the video network service, and can be various conference set-top boxes, video telephone set-top boxes, operation trial set-top boxes and the like.
The transmission data in the video networking protocol has a special format, which is hexadecimal. Therefore, after receiving the target coordination gateway identifier and the target monitoring resource identifier sent by the video networking monitoring and scheduling platform, the video networking message forwarding service converts both the target coordination gateway identifier and the target monitoring resource identifier into a hexadecimal format. In the implementation, the information sent by the video networking monitoring and scheduling platform through the WebSocket connection is in a JSON (JavaScript Object Notation) format, and the video networking message forwarding service analyzes the character string in the JSON format and converts the target co-transfer gateway identifier and the target monitoring resource identifier in the JSON format into a hexadecimal format.
The video network comprises a video network server, the video network server manages video network services in a unified way, equipment for carrying out the video network services needs to be registered in the video network server, and the registered video network server distributes a Media Access Control (MAC) address, a video network number and the like for the registered equipment.
The message forwarding service of the video networking and the terminal of the video networking can communicate based on the transparent transmission protocol of the video networking. The video networking transparent protocol may comprise a first video networking transparent protocol and a second video networking transparent protocol. The first video network transparent transmission protocol is a transparent transmission protocol in a terminal-to-server direction, and the second video network transparent transmission protocol is a transparent transmission protocol in a server-to-terminal direction. For example, the first internet of view transparent transmission protocol is 8F85 protocol, and the second internet of view transparent transmission protocol is 8785 protocol.
Therefore, after the target coordination gateway identifier and the target monitoring resource identifier are both converted into hexadecimal formats, the video networking message forwarding service encapsulates the format-converted target coordination gateway identifier and the format-converted target monitoring resource identifier into a first video networking message based on the first video networking transparent transmission protocol, and sends the first video networking message to the video networking server. And the video networking server extracts the target coordination gateway identification after format conversion and the target monitoring resource identification after format conversion from the first video networking message, encapsulates the target coordination gateway identification after format conversion and the target monitoring resource identification after format conversion to a second video networking message based on a second video networking transparent transmission protocol, and sends the second video networking message to the video networking terminal connected in advance. The first video networking message and the second video networking message may further include information such as a video networking number of a video networking message forwarding service (a video networking number of a source device) and a video networking number of a video networking terminal (a video networking number of a destination device).
step 503, the video network terminal forwards the target monitoring resource identifier to the corotation gateway corresponding to the target corotation gateway identifier through the video network transparent transmission protocol.
As shown in fig. 6, the video network terminal forwards the target monitoring resource identifier to the cooperative gateway corresponding to the target cooperative gateway identifier.
and the video network terminal can determine the target cooperative gateway according to the target cooperative gateway identifier. The target monitoring resource identification and the target coordination gateway identification received by the video network terminal are both hexadecimal, so that the video network terminal does not need to convert the format of the information.
the video networking terminal and the protocol gateway can communicate based on a video networking transparent transmission protocol. And the video network terminal encapsulates the target monitoring resource identifier with the converted format to a third video network message based on the first video network transparent transmission protocol, and sends the third video network message to the video network server. And the video networking server extracts the target monitoring resource identifier after format conversion from the third video networking message, encapsulates the target monitoring resource identifier into a fourth video networking message based on a second video networking transparent transmission protocol, and sends the fourth video networking message to a coordination gateway corresponding to the target coordination gateway identifier. The third video networking message and the fourth video networking message may further include information such as a video networking number of the video networking terminal (a video networking number of the source device) and a video networking number of the protocol gateway (a video networking number of the destination device).
Step 504, the cooperation gateway calls the monitoring video of the monitoring resource corresponding to the target monitoring resource identifier from the third-party monitoring platform corresponding to the target monitoring resource identifier, and returns the monitoring video to the video networking terminal through a video networking datagram protocol.
After receiving the target monitoring resource identifier, the cooperation gateway can determine, according to the target monitoring resource identifier, a third-party monitoring platform to which the monitoring resource corresponding to the target monitoring resource identifier is connected (i.e., the third-party monitoring platform corresponding to the target monitoring resource identifier). And the cooperation gateway calls the monitoring video of the monitoring resource corresponding to the target monitoring resource identifier from the third-party monitoring platform corresponding to the target monitoring resource identifier.
In implementation, the cooperation gateway calls an SDK (Software Development Kit) plug-in of the third-party monitoring platform corresponding to the target monitoring resource identifier, and calls the monitoring video through the SDK plug-in.
The third-party monitoring platform is based on the communication of the national standard protocol, and the monitoring video called by the cooperation gateway is packaged based on the national standard protocol. And the cooperation gateway returns the monitoring video to the video network terminal through a video network datagram protocol, wherein the video network datagram protocol is a protocol for sending larger data in the video network. The protocol conversion gateway firstly decapsulates the monitoring video encapsulated based on the national standard protocol, then encapsulates the monitoring video into a fifth video network message based on the video network datagram protocol, sends the fifth video network message to the video network server, and the video network server forwards the fifth video network message to the video network terminal. The fifth video network message may further include information such as a video network MAC address of the coordination gateway (the video network MAC address of the source device) and a video network MAC address of the video network terminal (the video network MAC address of the destination device).
And 505, the video network terminal plays the monitoring video.
As shown in fig. 6, the coordination gateway calls a video stream (i.e., the monitoring video of the monitoring resource corresponding to the target monitoring resource identifier), returns the video stream to the video networking terminal, and the video networking terminal can play the video stream. In fig. 6, the video networking terminal may also return the monitoring video to the video streaming video networking message forwarding service, and then the video streaming is returned to the video networking monitoring scheduling platform by the video networking message forwarding service.
In the embodiment of the invention, the video network monitoring and dispatching platform can control the monitoring video in the third-party monitoring platform to be played on the video network terminal, so that the video network monitoring and dispatching platform can uniformly control the monitoring video of the third-party monitoring platform.
example two
referring to fig. 7, a flowchart illustrating steps of a monitoring video recording processing method according to a second embodiment of the present invention is shown.
The monitoring video processing method of the embodiment of the invention can comprise the following steps:
Step 701, the video networking monitoring and scheduling platform sends a terminal connection request carrying a target terminal identifier to the video networking message forwarding service through WebSocket connection.
After a user logs in and accesses the video network monitoring and scheduling platform at the PC terminal, the user can select the target terminal identification to be connected first so as to establish the connection between the video network monitoring and scheduling platform and the video network terminal corresponding to the target terminal identification, and the connected video network terminal is used for playing the monitoring video subsequently. And the video networking monitoring and scheduling platform sends the terminal connection request carrying the target terminal identification to the video networking message forwarding service through WebSocket connection.
Step 702, the video networking message forwarding service forwards the terminal connection request to the video networking terminal corresponding to the target terminal identifier through a video networking transparent transmission protocol.
Similar to step 502 above, the video networking message forwarding service first converts the target terminal identification into hexadecimal format. And the video networking message forwarding service encapsulates the terminal connection request carrying the target terminal identifier after format conversion to a sixth video networking message based on the first video networking transparent transmission protocol, and sends the sixth video networking message to the video networking server. And the video network server extracts the relevant data of the terminal connection request from the sixth video network message, encapsulates the data into a seventh video network message based on a second video network transparent transmission protocol, and sends the seventh video network message to the video network terminal corresponding to the target terminal identifier.
and step 703, the video network terminal returns the successful connection response to the video network message forwarding service through the video network transparent transmission protocol.
And after receiving the terminal connection request, the video networking terminal returns a connection success response. And the video network terminal encapsulates the successful connection response to the eighth video network message based on the first video network transparent transmission protocol, and sends the eighth video network message to the video network server. And the video network server extracts the relevant data of the successful connection response from the eighth video network message, encapsulates the eighth video network message into a ninth video network message based on a second video network transparent transmission protocol, and sends the ninth video network message to a video network message forwarding service.
Step 704, the video networking message forwarding service forwards the connection success response to the video networking monitoring and scheduling platform through WebSocket connection, and the video networking terminal is successfully connected.
Step 705, the video networking monitoring and scheduling platform sends the target coordination gateway identifier, the target monitoring resource identifier and the playing mode to the video networking message forwarding service through WebSocket connection.
after the video network terminal corresponding to the target video network terminal identification is connected, the user can select the target cooperation gateway identification and the target monitoring resource identification. In this embodiment, the user may also set a playing mode when the monitoring video is played. The playback manner includes at least one of a multiple of the playback rate and a designated playback time.
The difference between step 705 and the above step 501 is that the transmitted data is different, the data transmitted in step 501 is the target coordination gateway identifier and the target monitoring resource identifier, and the data transmitted in step 705 is the target coordination gateway identifier, the target monitoring resource identifier and the playing mode. For the transmission process, the related description of step 501 above may be referred to.
step 706, the video networking message forwarding service forwards the target coordination gateway identifier, the target monitoring resource identifier and the playing mode to a video networking terminal connected in advance through a video networking transparent transmission protocol.
the difference between step 706 and step 502 is that the transmitted data is different, the data transmitted in step 502 is the target coordination gateway identifier and the target monitoring resource identifier, and the data transmitted in step 706 is the target coordination gateway identifier, the target monitoring resource identifier and the playing mode. For the transmission process, refer to the related description of step 502 above.
And 707, the video network terminal forwards the target monitoring resource identifier to a coordination gateway corresponding to the target coordination gateway identifier through the video network transparent transmission protocol.
Step 708, the cooperation gateway calls the monitoring video of the monitoring resource corresponding to the target monitoring resource identifier from the third-party monitoring platform corresponding to the target monitoring resource identifier, and returns the monitoring video to the video networking terminal through a video networking datagram protocol.
and step 709, the video network terminal plays the monitoring video according to the playing mode.
Because the playing mode is set in the embodiment, when the video network terminal plays the monitoring video, the monitoring video is played according to the playing mode.
For example, if the playing mode includes a multiple of the playing rate, the video network terminal plays the monitoring video according to the rate corresponding to the multiple of the playing rate.
for example, the playing mode includes a designated playing time, and if the designated playing time includes a designated playing start time and a designated playing duration, the video network terminal plays the monitoring video with the designated playing duration from the designated start time. And if the appointed playing time comprises the appointed playing starting time and the appointed playing ending time, the video network terminal starts playing the monitoring video from the appointed starting time and finishes playing to the appointed ending time.
For example, the playing mode includes a multiple of the playing speed and the designated playing time, and the video network terminal plays the monitoring video according to the playing mode corresponding to the two.
in an optional implementation manner, in the process of playing the monitoring video by the video networking terminal, the user can also execute corresponding operation to trigger the video networking monitoring scheduling platform to generate a playing control instruction, and the video networking monitoring scheduling platform sends the playing control instruction to the video networking message forwarding service through WebSocket connection; the video networking message forwarding service forwards the playing control instruction to a video networking terminal through a video networking transparent transmission protocol; and the video network terminal responds to the playing control instruction to play and control the monitoring video. For example, if the playing control instruction may be a playing pause instruction, the video networking terminal pauses playing the monitoring video; if the playing control instruction can be a continuous playing instruction, the video network terminal continues to play the monitoring video. For the specific process of transmitting the play control command, similar to the process of transmitting information in the first embodiment, reference may be made to the related description of the first embodiment.
The embodiment of the invention can realize the playing of the monitoring video of the third-party monitoring platform, and can set the playing mode and control the pause, the continuation and the like of the playing.
it should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
EXAMPLE III
Referring to fig. 8, a block diagram of a monitoring video recording processing system according to a third embodiment of the present invention is shown. The monitoring video processing system comprises a video networking monitoring scheduling platform 801, a video networking message forwarding service 802, a video networking terminal 803 and a cooperative gateway 804, wherein the cooperative gateway is accessed to at least one third-party monitoring platform, and the third-party monitoring platform is connected with a plurality of monitoring resources.
The video networking monitoring and scheduling platform 801 comprises: the first sending module 8011 is configured to send, through WebSocket connection, a target coordination gateway identifier and a target monitoring resource identifier to the video networking message forwarding service.
The internet of view message forwarding service 802 includes: the first forwarding module 8021 is configured to forward the target coordination gateway identifier and the target monitoring resource identifier to a pre-connected video networking terminal through a video networking transparent transmission protocol.
The video network terminal 803 includes: a second forwarding module 8031, configured to forward the target monitoring resource identifier to the coordination gateway corresponding to the target coordination gateway identifier through the video networking transparent transmission protocol.
The coordination gateway 804 includes: a first returning module 8041, configured to retrieve, from the third-party monitoring platform corresponding to the target monitoring resource identifier, the monitoring video of the monitoring resource corresponding to the target monitoring resource identifier, and return the monitoring video to the video networking terminal through a video networking datagram protocol.
The video network terminal 803 further includes: the playing module 8032 is configured to play the monitoring video.
In an optional embodiment, the video networking message forwarding service 802 further comprises: and the format conversion module is used for converting the target cooperation gateway identifier and the target monitoring resource identifier into a hexadecimal format.
In an alternative embodiment, the surveillance video processing system further comprises a video network server. The first forwarding module 8021 is specifically configured to encapsulate, based on a first video networking transparent transmission protocol, a target coordination gateway identifier and a target monitoring resource identifier, which are format-converted, into a first video networking message, and send the first video networking message to the video networking server; the first video network transparent transmission protocol is a transparent transmission protocol from a terminal to a server. The video network server comprises: the third forwarding module is used for extracting the target coordination gateway identifier and the target monitoring resource identifier after format conversion from the first video network message, packaging the target coordination gateway identifier and the target monitoring resource identifier to a second video network message based on a second video network transparent transmission protocol, and sending the second video network message to the video network terminal connected in advance; and the second video network transparent transmission protocol is a transparent transmission protocol from the server to the terminal.
in an alternative embodiment, the first return module 8041 includes: and the calling submodule is used for calling a Software Development Kit (SDK) plug-in of the third-party monitoring platform corresponding to the target monitoring resource identifier, and calling the monitoring video through the plug-in.
in an optional implementation, the video networking monitoring and scheduling platform 801 further includes: and the second sending module is used for sending the terminal connection request carrying the target terminal identification to the video networking message forwarding service through WebSocket connection. The internet of view message forwarding service 802 further includes: and the fourth forwarding module is used for forwarding the terminal connection request to the video network terminal corresponding to the target terminal identifier through a video network transparent transmission protocol. The video network terminal 803 further includes: and the second returning module is used for returning the successful connection response to the video networking message forwarding service through the video networking transparent transmission protocol. The internet of view message forwarding service 802 further includes: and the fifth forwarding module is used for forwarding the connection success response to the video networking monitoring and scheduling platform through WebSocket connection, and the video networking terminal is successfully connected.
In an optional implementation manner, the first sending module 8011 is further configured to send, through a WebSocket connection, a target coordination gateway identifier, a target monitoring resource identifier, and a playing mode to the video networking message forwarding service. The first forwarding module 8021 is further configured to forward the target coordination gateway identifier, the target monitoring resource identifier, and the playing mode to a pre-connected video networking terminal through a video networking transparent transmission protocol. The playing module 8032 is further configured to play the monitoring video according to the playing mode. The playing mode comprises a multiple of the playing speed and/or a specified playing time.
For the system embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
these computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The foregoing describes in detail a surveillance video processing and system provided by the present invention, and the principle and implementation of the present invention are explained by applying specific examples, and the description of the foregoing examples is only used to help understanding the method and core ideas of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. A monitoring video processing method is characterized in that the method is applied to a monitoring video processing system, the monitoring video processing system comprises a video networking monitoring scheduling platform, a video networking message forwarding service, a video networking terminal and a co-transfer gateway, the co-transfer gateway is accessed to at least one third-party monitoring platform, and the third-party monitoring platform is connected with a plurality of monitoring resources; the method comprises the following steps:
the video networking monitoring and scheduling platform is connected through a WebSocket and sends a target cooperation gateway identifier and a target monitoring resource identifier to the video networking message forwarding service;
The video networking message forwarding service forwards the target co-transmission gateway identifier and the target monitoring resource identifier to a video networking terminal connected in advance through a video networking transparent transmission protocol;
The video network terminal forwards the target monitoring resource identifier to a protocol gateway corresponding to the target protocol gateway identifier through the video network transparent transmission protocol;
The cooperation gateway calls a monitoring video of the monitoring resource corresponding to the target monitoring resource identifier from a third-party monitoring platform corresponding to the target monitoring resource identifier, and returns the monitoring video to the video networking terminal through a video networking datagram protocol;
And the video network terminal plays the monitoring video.
2. The method according to claim 1, wherein before the step of forwarding the target coordination gateway identifier and the target monitoring resource identifier to the pre-connected video networking terminal by the video networking message forwarding service through a video networking transparent transport protocol, the method further comprises:
And the video networking message forwarding service converts the target cooperative gateway identifier and the target monitoring resource identifier into a hexadecimal format.
3. The method of claim 2, wherein the surveillance video processing system further comprises a video networking server; the step that the video networking message forwarding service forwards the target cooperation gateway identification and the target monitoring resource identification to a video networking terminal connected in advance through a video networking transparent transmission protocol comprises the following steps:
the video networking message forwarding service encapsulates the format-converted target cooperation gateway identification and target monitoring resource identification into a first video networking message based on a first video networking transparent transmission protocol, and sends the first video networking message to the video networking server; the first video network transparent transmission protocol is a transparent transmission protocol from a terminal to a server;
the video networking server extracts the target coordination gateway identification and the target monitoring resource identification after format conversion from the first video networking message, packages the target coordination gateway identification and the target monitoring resource identification into a second video networking message based on a second video networking transparent transmission protocol, and sends the second video networking message to the video networking terminal connected in advance; and the second video network transparent transmission protocol is a transparent transmission protocol from the server to the terminal.
4. The method according to claim 1, wherein the step of the coordination gateway invoking the monitoring video of the monitoring resource corresponding to the target monitoring resource identifier from the third party monitoring platform corresponding to the target monitoring resource identifier comprises:
and the cooperation gateway calls a Software Development Kit (SDK) plug-in of a third-party monitoring platform corresponding to the target monitoring resource identifier, and calls the monitoring video through the plug-in.
5. The method of claim 1, wherein before the step of the video networking monitoring and scheduling platform sending the target coordination gateway identifier and the target monitoring resource identifier to the video networking message forwarding service through the WebSocket connection, the method further comprises:
the video networking monitoring and scheduling platform is connected through a WebSocket and sends a terminal connection request carrying a target terminal identification to the video networking message forwarding service;
The video networking message forwarding service forwards the terminal connection request to a video networking terminal corresponding to the target terminal identification through a video networking transparent transmission protocol;
the video network terminal returns a successful connection response to the video network message forwarding service through a video network transparent transmission protocol;
The video networking message forwarding service is connected through a WebSocket, the successful connection response is forwarded to the video networking monitoring and dispatching platform, and the video networking terminal is successfully connected.
6. The method of claim 1,
the method comprises the following steps that the video networking monitoring and scheduling platform is connected through a WebSocket, and sends a target cooperation gateway identification and a target monitoring resource identification to the video networking message forwarding service, and comprises the following steps: the video networking monitoring and scheduling platform is connected through a WebSocket and sends a target coordination gateway identifier, a target monitoring resource identifier and a playing mode to the video networking message forwarding service;
the step that the video networking message forwarding service forwards the target cooperation gateway identification and the target monitoring resource identification to a video networking terminal connected in advance through a video networking transparent transmission protocol comprises the following steps: the video networking message forwarding service forwards the target cooperation gateway identifier, the target monitoring resource identifier and the playing mode to a video networking terminal connected in advance through a video networking transparent transmission protocol;
The step of playing the monitoring video by the video network terminal comprises the following steps: the video network terminal plays the monitoring video according to the playing mode;
The playing mode comprises a multiple of the playing speed and/or a specified playing time.
7. a monitoring video processing system is characterized by comprising a video networking monitoring scheduling platform, a video networking message forwarding service, a video networking terminal and a coordination gateway, wherein the coordination gateway is accessed to at least one third-party monitoring platform which is connected with a plurality of monitoring resources;
The video networking monitoring and scheduling platform comprises: the first sending module is used for sending the target coordination gateway identification and the target monitoring resource identification to the video networking message forwarding service through WebSocket connection;
The video networking message forwarding service comprises: the first forwarding module is used for forwarding the target cooperative forwarding gateway identifier and the target monitoring resource identifier to a pre-connected video networking terminal through a video networking transparent transmission protocol;
The video networking terminal includes: the second forwarding module is used for forwarding the target monitoring resource identifier to the corotation gateway corresponding to the target corotation gateway identifier through the video networking transparent transmission protocol;
the cooperation gateway includes: the first returning module is used for calling the monitoring video of the monitoring resource corresponding to the target monitoring resource identifier from the third-party monitoring platform corresponding to the target monitoring resource identifier and returning the monitoring video to the video network terminal through a video network datagram protocol;
The video networking terminal further comprises: and the playing module is used for playing the monitoring video.
8. the system of claim 7, wherein the video networking message forwarding service further comprises:
and the format conversion module is used for converting the target cooperation gateway identifier and the target monitoring resource identifier into a hexadecimal format.
9. the system of claim 8, wherein the surveillance video processing system further comprises a video networking server;
The first forwarding module is specifically configured to encapsulate, based on a first video networking transparent transmission protocol, a target coordination gateway identifier and a target monitoring resource identifier, which are format-converted, into a first video networking message, and send the first video networking message to the video networking server; the first video network transparent transmission protocol is a transparent transmission protocol from a terminal to a server;
The video network server comprises: the third forwarding module is used for extracting the target coordination gateway identifier and the target monitoring resource identifier after format conversion from the first video network message, packaging the target coordination gateway identifier and the target monitoring resource identifier to a second video network message based on a second video network transparent transmission protocol, and sending the second video network message to the video network terminal connected in advance; and the second video network transparent transmission protocol is a transparent transmission protocol from the server to the terminal.
10. the system of claim 7, wherein the first return module comprises:
And the calling submodule is used for calling a Software Development Kit (SDK) plug-in of the third-party monitoring platform corresponding to the target monitoring resource identifier, and calling the monitoring video through the plug-in.
11. the system of claim 7,
The video networking monitoring and scheduling platform further comprises: the second sending module is used for sending a terminal connection request carrying a target terminal identifier to the video networking message forwarding service through WebSocket connection;
The video networking message forwarding service further comprises: the fourth forwarding module is used for forwarding the terminal connection request to the video network terminal corresponding to the target terminal identifier through a video network transparent transmission protocol;
The video networking terminal further comprises: the second returning module is used for returning a successful connection response to the video networking message forwarding service through a video networking transparent transmission protocol;
the video networking message forwarding service further comprises: and the fifth forwarding module is used for forwarding the connection success response to the video networking monitoring and scheduling platform through WebSocket connection, and the video networking terminal is successfully connected.
12. The system of claim 7,
the first sending module is further configured to send the target coordination gateway identifier, the target monitoring resource identifier and the playing mode to the video networking message forwarding service through WebSocket connection;
the first forwarding module is further configured to forward the target coordination gateway identifier, the target monitoring resource identifier and the playing mode to a pre-connected video networking terminal through a video networking transparent transmission protocol;
the playing module is further configured to play the monitoring video according to the playing mode;
the playing mode comprises a multiple of the playing speed and/or a specified playing time.
CN201910780560.6A 2019-08-22 2019-08-22 Monitoring video processing and system Pending CN110581846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910780560.6A CN110581846A (en) 2019-08-22 2019-08-22 Monitoring video processing and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910780560.6A CN110581846A (en) 2019-08-22 2019-08-22 Monitoring video processing and system

Publications (1)

Publication Number Publication Date
CN110581846A true CN110581846A (en) 2019-12-17

Family

ID=68811692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910780560.6A Pending CN110581846A (en) 2019-08-22 2019-08-22 Monitoring video processing and system

Country Status (1)

Country Link
CN (1) CN110581846A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147795A (en) * 2019-12-27 2020-05-12 视联动力信息技术股份有限公司 Resource scheduling method, server, terminal, electronic device, and storage medium
CN112000054A (en) * 2020-08-29 2020-11-27 广东伟达智能装备股份有限公司 Equipment monitoring system based on thing networking
CN115514931A (en) * 2022-08-25 2022-12-23 海南视联通信技术有限公司 Method and system for processing monitoring data, communication device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040247205A1 (en) * 2003-06-06 2004-12-09 Shigeki Nagaya Recording and reproducing system for image data with recording position information and a recording and reproducing method therefor
CN104683736A (en) * 2013-11-27 2015-06-03 中国电信股份有限公司 Method and system for acquiring network video
CN108093014A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and device
CN108965225A (en) * 2017-12-21 2018-12-07 北京视联动力国际信息技术有限公司 Data processing method turns server and view networked terminals depending on networking association
CN109547417A (en) * 2018-10-30 2019-03-29 视联动力信息技术股份有限公司 Code stream transmission method and device
CN109743550A (en) * 2018-12-29 2019-05-10 视联动力信息技术股份有限公司 A kind of method and apparatus of monitoring data tune stream
CN110071959A (en) * 2019-03-05 2019-07-30 视联动力信息技术股份有限公司 The method and device of Timing Synchronization third party's national standard resource

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040247205A1 (en) * 2003-06-06 2004-12-09 Shigeki Nagaya Recording and reproducing system for image data with recording position information and a recording and reproducing method therefor
CN104683736A (en) * 2013-11-27 2015-06-03 中国电信股份有限公司 Method and system for acquiring network video
CN108093014A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and device
CN108965225A (en) * 2017-12-21 2018-12-07 北京视联动力国际信息技术有限公司 Data processing method turns server and view networked terminals depending on networking association
CN109547417A (en) * 2018-10-30 2019-03-29 视联动力信息技术股份有限公司 Code stream transmission method and device
CN109743550A (en) * 2018-12-29 2019-05-10 视联动力信息技术股份有限公司 A kind of method and apparatus of monitoring data tune stream
CN110071959A (en) * 2019-03-05 2019-07-30 视联动力信息技术股份有限公司 The method and device of Timing Synchronization third party's national standard resource

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147795A (en) * 2019-12-27 2020-05-12 视联动力信息技术股份有限公司 Resource scheduling method, server, terminal, electronic device, and storage medium
CN111147795B (en) * 2019-12-27 2022-12-23 视联动力信息技术股份有限公司 Resource scheduling method, server, terminal, electronic device, and storage medium
CN112000054A (en) * 2020-08-29 2020-11-27 广东伟达智能装备股份有限公司 Equipment monitoring system based on thing networking
CN115514931A (en) * 2022-08-25 2022-12-23 海南视联通信技术有限公司 Method and system for processing monitoring data, communication device and storage medium

Similar Documents

Publication Publication Date Title
CN109120946B (en) Method and device for watching live broadcast
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN109547163B (en) Method and device for controlling data transmission rate
CN110022295B (en) Data transmission method and video networking system
CN110049273B (en) Video networking-based conference recording method and transfer server
CN110049341B (en) Video processing method and device
CN110581846A (en) Monitoring video processing and system
CN110138728B (en) Video data sharing method and device
CN109743284B (en) Video processing method and system based on video network
CN110769297A (en) Audio and video data processing method and system
CN110392227B (en) Data processing method, device and storage medium
CN109842630B (en) Video processing method and device
CN110493149B (en) Message processing method and device
CN110072154B (en) Video networking-based clustering method and transfer server
CN110087147B (en) Audio and video stream transmission method and device
CN110336710B (en) Terminal testing method, system and device and storage medium
CN109889755B (en) Communication connection method and video networking terminal
CN110086773B (en) Audio and video data processing method and system
CN109889516B (en) Method and device for establishing session channel
CN109769012B (en) Web server access method and device
CN110536148B (en) Live broadcasting method and equipment based on video networking
CN110808896B (en) Data transmission method and device, electronic equipment and storage medium
CN110233872B (en) Data transmission method based on video network and video network terminal
CN110784678B (en) Conference data recording method and device and readable storage medium
CN110113563B (en) Data processing method based on video network and video network server

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191217

RJ01 Rejection of invention patent application after publication