CN109525460B - Method and device for monitoring number resources of video network - Google Patents

Method and device for monitoring number resources of video network Download PDF

Info

Publication number
CN109525460B
CN109525460B CN201811419735.2A CN201811419735A CN109525460B CN 109525460 B CN109525460 B CN 109525460B CN 201811419735 A CN201811419735 A CN 201811419735A CN 109525460 B CN109525460 B CN 109525460B
Authority
CN
China
Prior art keywords
monitoring
code stream
server
client
heartbeat
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.)
Active
Application number
CN201811419735.2A
Other languages
Chinese (zh)
Other versions
CN109525460A (en
Inventor
周新海
王洪超
方小帅
沈军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201811419735.2A priority Critical patent/CN109525460B/en
Publication of CN109525460A publication Critical patent/CN109525460A/en
Application granted granted Critical
Publication of CN109525460B publication Critical patent/CN109525460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Abstract

The embodiment of the application provides a method and a device for monitoring number resources of a video network, the method and the device are applied to the video network, the collaboration server is communicatively connected to a monitoring backend server that manages a plurality of monitoring clients, and in the process of monitoring the transmission of the code stream, the cooperative conversion server and the monitoring back-end server establish a heartbeat monitoring mechanism aiming at the monitoring client terminal receiving the monitoring code stream, when the collaboration server does not receive the heartbeat information about the monitoring client within the preset time interval, if the monitoring code stream receiving link of the monitoring client is judged to be necrotic, the sending of a second monitoring code stream is immediately stopped, and the video network number in the second monitoring code stream is unbound, therefore, the occupation of the video network number is eliminated, the automatic operation of the video network number elimination is realized, the real-time monitoring is realized, and the convenience and the rapidness are realized.

Description

Method and device for monitoring number resources of video network
Technical Field
The present application relates to the field of video networking technologies, and in particular, to a method and an apparatus for monitoring video networking number resources.
Background
With the rapid development of network technologies, bidirectional communications such as video conferences and video teaching are widely popularized in the aspects of life, work, learning and the like of users.
The video networking is an important milestone for network development, is a higher-level form of the internet, is a real-time network, can realize the real-time transmission of full-network high-definition videos which cannot be realized by the existing internet, and pushes a plurality of internet applications to high-definition video, and high definition faces each other. Finally, world no-distance is realized, and the distance between people in the world is only the distance of one screen.
Because the data flow of the video network is large, the network bandwidth resource is precious. However, at present, there is no mechanism for monitoring the video networking resources, which results in a large amount of video networking resources being occupied, and thus the execution efficiency is affected, and the video networking resources cannot be effectively and timely recovered.
Disclosure of Invention
In view of the above problems, embodiments of the present application are proposed to provide a method for monitoring a video networking number resource and a corresponding device for monitoring a video networking number resource, which overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present application discloses a method for monitoring number resources of a video network, where the method is applied to a video network, the video network includes a coordination server bound with a plurality of monitoring devices, a monitoring backend server in communication connection with the coordination server, and a plurality of monitoring clients in communication connection with the monitoring backend server, and the method includes:
the cooperative conversion server receives a monitoring calling request forwarded by the monitoring back-end server; the monitoring calling request is generated by a monitoring client when a triggering operation of monitoring calling is received;
the coordination conversion server acquires a first monitoring code stream of the monitoring equipment corresponding to the monitoring calling request according to the monitoring calling request, and generates a heartbeat monitoring request aiming at the monitoring client;
the protocol conversion server generates a second monitoring code stream aiming at the acquired first monitoring code stream; the second monitoring code stream comprises a video networking number bound with the first monitoring code stream;
the coordination server sends the second monitoring code stream and the heartbeat monitoring request to the monitoring back-end server; the monitoring back-end server is used for sending the second monitoring code stream to the monitoring client; the monitoring client is used for displaying the second monitoring code stream;
the cooperative conversion server receives heartbeat information sent by the monitoring back-end server according to a preset time interval; wherein the heartbeat information is generated by the monitoring backend server for the heartbeat monitoring request;
and when the heartbeat information is not received within the preset time interval, the coordination server stops sending a second monitoring code stream and unbinds the video networking number in the second monitoring code stream.
In a preferred embodiment of the present application, a plurality of video networking numbers are stored in the protocol conversion server; the step that the cooperative conversion server generates a second monitoring code stream aiming at the acquired first monitoring code stream comprises the following steps:
the protocol conversion server inquires a video networking number which is stored in the protocol conversion server and is in an idle state aiming at the acquired first monitoring code stream;
and the protocol conversion server selects an idle video networking number to be bound with the first monitoring code stream, and generates a second monitoring code stream.
In a preferred embodiment of the present application, the method further comprises:
and the coordination and conversion server sends heartbeat feedback signals to the monitoring rear-end server according to a preset time interval aiming at the received heartbeat information.
In order to solve the above problem, an embodiment of the present application discloses another method for monitoring number resources of a video network, where the method is applied to a video network, the video network includes a coordination server bound with a plurality of monitoring devices, a monitoring backend server in communication connection with the coordination server, and a plurality of monitoring clients in communication connection with the monitoring backend server, and the method includes:
the monitoring back-end server receives a monitoring calling request sent by the monitoring client; the monitoring calling request is generated by a monitoring client when a triggering operation of monitoring calling is received;
the monitoring back-end server sends the monitoring calling request to the coordination transfer server; the coordination conversion server is used for acquiring a first monitoring code stream of the monitoring equipment corresponding to the monitoring calling request according to the monitoring calling request and generating a heartbeat monitoring request aiming at the monitoring client;
the monitoring back-end server receives a second monitoring code stream and the heartbeat monitoring request sent by the protocol conversion server; the second monitoring code stream is generated by binding the first monitoring code stream with a video networking number aiming at the acquired first monitoring code stream by the coordination server;
the monitoring back-end server sends the second monitoring code stream to the monitoring client; the monitoring client is used for displaying the second monitoring code stream;
the monitoring back-end server generates heartbeat information aiming at the monitoring client according to the heartbeat monitoring request;
the monitoring back-end server sends the heartbeat information to the corotation server according to a preset time interval; the protocol conversion server is used for stopping sending a second monitoring code stream and unbinding a video network number in the second monitoring code stream when the heartbeat information is not received;
when a second monitoring code stream sent by the protocol conversion server is not received, the monitoring back-end server generates monitoring code stream stop data and sends the monitoring code stream stop data to the monitoring client; and the monitoring client is used for stopping displaying the monitoring code stream.
In a preferred embodiment of the present application, the monitoring backend server includes a monitoring scheduling server and a monitoring sharing server that are in communication connection with each other, the monitoring scheduling server is in communication connection with the monitoring client, and the monitoring sharing server is in communication connection with the cooperation server.
In order to solve the above problem, a method according to the present application, an embodiment of the present application discloses a device for monitoring number resources of a video network, the device is applied to the video network, the video network includes a coordination server bound with a plurality of monitoring devices, a monitoring back-end server in communication connection with the coordination server, and a plurality of monitoring clients in communication connection with the monitoring back-end server, the coordination server includes the following modules:
the monitoring and calling request receiving module is used for receiving the monitoring and calling request forwarded by the monitoring back-end server; the monitoring calling request is generated by a monitoring client when a triggering operation of monitoring calling is received;
the heartbeat monitoring request generating module is used for acquiring a first monitoring code stream of the monitoring equipment corresponding to the monitoring calling request according to the monitoring calling request and generating a heartbeat monitoring request aiming at the monitoring client;
the second monitoring code stream generating module is used for generating a second monitoring code stream aiming at the acquired first monitoring code stream; the second monitoring code stream comprises a video networking number bound with the first monitoring code stream;
the second monitoring code stream sending module is used for sending the second monitoring code stream and the heartbeat monitoring request to the monitoring back-end server; the monitoring back-end server is used for sending the second monitoring code stream to the monitoring client; the monitoring client is used for displaying the second monitoring code stream;
the heartbeat information receiving module is used for receiving heartbeat information sent by the monitoring back-end server according to a preset time interval; wherein the heartbeat information is generated by the monitoring backend server for the heartbeat monitoring request;
and the video networking number unbinding module is used for stopping sending the second monitoring code stream and unbinding the video networking number in the second monitoring code stream when the heartbeat information is not received within the preset time interval.
In a preferred embodiment of the present application, a plurality of video networking numbers are stored in the protocol conversion server; the second monitoring code stream generation module comprises the following sub-modules:
the video networking number query submodule is used for querying a video networking number which is stored in the video networking number query submodule and is in an idle state aiming at the acquired first monitoring code stream;
and the video networking number binding submodule is used for selecting an idle video networking number to bind with the first monitoring code stream and generating a second monitoring code stream.
In order to solve the above problem, an embodiment of the present application discloses another device for monitoring number resources of a video network, where the device is applied to the video network, the video network includes a coordination server bound with a plurality of monitoring devices, a monitoring backend server in communication connection with the coordination server, and a plurality of monitoring clients in communication connection with the monitoring backend server, and the monitoring backend server includes the following modules:
the monitoring and calling request forwarding module is used for receiving a monitoring and calling request sent by the monitoring client; the monitoring calling request is generated by a monitoring client when a triggering operation of monitoring calling is received;
the monitoring and calling request sending module is used for sending the monitoring and calling request to the coordination transfer server; the coordination conversion server is used for acquiring a first monitoring code stream of the monitoring equipment corresponding to the monitoring calling request according to the monitoring calling request and generating a heartbeat monitoring request aiming at the monitoring client;
the second monitoring code stream receiving module is used for receiving a second monitoring code stream and the heartbeat monitoring request sent by the corotation server; the second monitoring code stream is generated by binding the first monitoring code stream with a video networking number aiming at the acquired first monitoring code stream by the coordination server;
the second monitoring code stream forwarding module is used for sending the second monitoring code stream to the monitoring client; the monitoring client is used for displaying the second monitoring code stream;
the heartbeat information generating module is used for generating heartbeat information aiming at the monitoring client according to the heartbeat monitoring request;
the heartbeat information sending module is used for sending the heartbeat information to the corotation server according to a preset time interval; the protocol conversion server is used for stopping sending a second monitoring code stream and unbinding a video network number in the second monitoring code stream when the heartbeat information is not received;
the code stream stopping data sending module is used for generating monitoring code stream stopping data and sending the monitoring code stream stopping data to the monitoring client when a second monitoring code stream sent by the protocol conversion server is not received; and the monitoring client is used for stopping displaying the monitoring code stream.
An embodiment of the present application further provides an apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more methods as described in embodiments of the application.
Embodiments of the present application also provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform one or more methods as described in embodiments of the present application.
The embodiment of the application has the following advantages:
the method comprises the steps that the characteristics of the video network are applied, a coordination server is in communication connection with a monitoring back-end server managing a plurality of monitoring clients, in the process of transmitting a monitoring code stream, a heartbeat monitoring mechanism for the monitoring clients receiving the monitoring code stream is established between the coordination server and the monitoring back-end server, when the coordination server does not receive heartbeat information about the monitoring clients within the preset time interval, the monitoring code stream receiving link of the monitoring clients is judged to be necrotic, the sending of a second monitoring code stream is immediately stopped, and the video network number in the second monitoring code stream is unbound, so that the occupation of the video network number is eliminated; compared with the prior art, the embodiment of the application can effectively monitor the video networking number resource, timely process the necrotic link and recycle the video networking number resource and the bandwidth resource, realize the automatic operation of releasing the video networking number, monitor in real time, and is convenient and fast.
Drawings
FIG. 1 is a networking schematic of a video network of the present application;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present application;
fig. 3 is a schematic diagram of a hardware architecture of an access switch of the present application;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present application;
FIG. 5 is a schematic networking diagram of a system for monitoring video networking number resources according to an embodiment of the present application;
FIG. 6 is a flowchart illustrating steps of a method for monitoring video networking number resources according to an embodiment of the present disclosure;
FIG. 7 is a flowchart illustrating steps of another method for monitoring video networking number resources according to an embodiment of the present application;
fig. 8 is a block diagram illustrating a structure of a device for monitoring video networking number resources according to an embodiment of the present application;
fig. 9 is a block diagram of another apparatus for monitoring video networking number resources according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
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 application, 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 over traditional Ethernet (Ethernet) to face the potentially enormous 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 application can be mainly classified into 3 types: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, 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 servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, 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 data packet coming from the CPU module 204 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, which in this embodiment is divided into 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 208 is configured by the CPU module 204, 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.
Terminal device:
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 application: 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.
Because the data flow of the video network is large, the network bandwidth resource is precious, particularly, the video network number is limited, and the transmission of the video stream in the video network needs to depend on one video network number so as to be identified by the video network, thereby ensuring the normal transmission of the video stream. At present, when an administrator of the protocol conversion server receives an instruction that a user stops receiving a video stream or an off-line instruction of the user, the protocol conversion server is disconnected in a manual operation mode, so that a video networking number is released, but the manual operation mode is not timely, sometimes the user is online but cannot normally receive the video stream, the administrator cannot find the video streaming in time, and the protocol conversion server is still in a state of sending the video stream to the user, so that the video networking number bound with the video stream is always in an occupied state, video networking resources are wasted, execution efficiency is affected, the video networking resources cannot be effectively and timely recovered, an operation memory of the protocol conversion server is occupied, and the operation speed of the protocol conversion server is affected.
Based on the characteristics of the video network and the technical problems of the present application, one of the core concepts of the embodiments of the present application is provided, in which a coordination server is in communication connection with a monitoring back-end server managing a plurality of monitoring clients according to a protocol of the video network, and the coordination server generates a heartbeat monitoring request for the monitoring clients and sends the heartbeat monitoring request to the monitoring back-end server when acquiring a first monitoring code stream of monitoring equipment corresponding to a monitoring retrieval request according to the received monitoring retrieval request; the monitoring back-end server establishes heartbeat information aiming at the monitoring client side which receives the first monitoring code stream according to the heartbeat monitoring request, sends the heartbeat information to the coordination and conversion server according to a preset time interval, and the coordination and conversion server receives the heartbeat information and replies the heartbeat information so as to establish the operation state monitoring of the monitoring client side; when the protocol conversion server does not receive the heartbeat information within the preset time interval, judging that a monitoring code stream receiving link of the monitoring client is necrotic, immediately stopping sending a second monitoring code stream, and unbinding the video networking number in the second monitoring code stream so as to release the occupation of the video networking number. Through the above mode, the embodiment of the application can effectively monitor the video networking number resource, timely process the necrotic link and recycle the video networking number resource and the bandwidth resource, realize the automatic operation of releasing the video networking number, monitor in real time, and is convenient and fast.
Example 1:
as shown in fig. 5, a networking schematic diagram of a system for monitoring number resources of a video network according to an embodiment of the present application is shown, where the system may be applied to the video network, and the video network includes a coordination server 01 bound with a plurality of monitoring devices 04, a monitoring backend server 02 in communication connection with the coordination server 01, and a plurality of monitoring clients 03 in communication connection with the monitoring backend server 02.
The protocol conversion server 01 mentioned in the embodiment of the present application may refer to a monitoring access server, which is also called protocol conversion, and may be understood as a gateway, which is responsible for accessing an external monitoring device 04 (which may also be described as a monitoring resource) in the internet to the internet, and may implement browsing and controlling the monitoring management device on the internet in the internet.
In a preferred embodiment of the present application, the monitoring backend server 02 may include a monitoring scheduling server 021 and a monitoring shared server 022, which are communicatively connected to each other, the monitoring scheduling server 021 is communicatively connected to the monitoring client 03, and the monitoring shared server 022 is communicatively connected to the coordination server 01.
The monitoring sharing server 022, also known as a sharing platform, may also be understood as a gateway, and is a device that may be responsible for converting a video code stream of the monitoring device 04 in the video networking into a video code stream of a real-time transport protocol RTP protocol load, and may be used to share the video in the video networking to the monitoring platform based on RTP protocol transport.
The monitoring and scheduling server 021 may be a backend platform of a video networking monitoring and networking management and scheduling platform, and is responsible for unified management of all accessed monitoring clients 03 in the video networking, and specifically may communicate with the monitoring clients 03 through a streaming media gateway, and communicate with the monitoring and sharing server 022 through the video networking.
The monitoring client 03 mentioned in the embodiment of the present application may be a monitoring client (commonly referred to as an application APP), which may be installed on hardware such as a mobile phone, a tablet, a desktop, and a notebook, and belongs to the front end of the video networking monitoring and networking management and scheduling platform, and is responsible for displaying an overall monitoring directory, retrieving a monitoring video, and configuring various functions of the video networking monitoring and networking management and scheduling platform.
Example 2:
as shown in fig. 6, a flowchart illustrating steps of a method for monitoring a number resource of a video network according to an embodiment of the present application is shown, where the method may be applied to a video network, and specifically may be applied to a coordination server 01 shown in fig. 5, and the method may specifically include the following steps:
step S601: the cooperative conversion server receives a monitoring calling request forwarded by the monitoring back-end server; the monitoring calling request is generated by a monitoring client when a triggering operation of monitoring calling is received;
the monitoring client 03 in the embodiment of the present application may have a plurality of display interfaces, such as a monitoring scheduling interface and a monitoring query interface.
The triggering operation of monitoring and invoking mentioned in the embodiment of the present application may be that a user clicks a viewing button in a monitoring and scheduling interface with a mouse, or address information of a monitoring camera input by the user in the monitoring and scheduling interface or the monitoring and querying interface, or monitoring resource input information or viewing button of a certain area selected by the user in the monitoring and scheduling interface or the monitoring and querying interface, and the triggering operation for the purpose of the embodiment of the present application may be implemented, which is not described herein in detail.
The monitoring client 03 generates a monitoring calling request corresponding to the monitoring according to the received trigger operation, that is, the monitoring calling request may be a request for calling monitoring data acquired by one camera, or may be a request for calling monitoring data acquired by a plurality of designated monitoring cameras, or a request for calling monitoring data acquired by monitoring cameras in a certain area.
Then, the monitoring client 03 sends the monitoring invoking request to the monitoring back-end server 02, and the steps of receiving the monitoring invoking request sent by the monitoring client 03 by the monitoring back-end server 02 and sending the monitoring invoking request to the coordination server 01 include:
the monitoring scheduling server 021 receives a monitoring invoking request sent by the monitoring client 03, and sends the monitoring invoking request to the monitoring sharing server 022;
the monitoring sharing server 022 receives the monitoring invoking request and sends the monitoring invoking request to the coordination server 01.
Step S602: the coordination conversion server acquires a first monitoring code stream of the monitoring equipment corresponding to the monitoring calling request according to the monitoring calling request, and generates a heartbeat monitoring request aiming at the monitoring client;
in the embodiment of the present application, steps of obtaining a first monitoring code stream and generating a heartbeat monitoring request for the monitoring client after the coordination server 01 receives the monitoring invoking request are shown.
In the above steps, the monitoring invoking request includes an IP address of the monitoring device 04 that is to be invoked, and a communication address and an identification identifier of the monitoring client that is to invoke the monitoring code stream; therefore, the cooperative conversion server 01 can find the corresponding monitoring device 04 according to the IP address, and then performs service protocol communication with the monitoring device 04 to obtain the first monitoring code stream of the monitoring device 04.
After receiving the first monitoring code stream, the corotation server 01 simultaneously uses the received first monitoring code stream as a trigger signal to generate a heartbeat monitoring request for the monitoring client 03; that is, the heartbeat monitoring request includes the communication address and the identification of the monitoring client 03.
Step S603: the protocol conversion server generates a second monitoring code stream aiming at the acquired first monitoring code stream; the second monitoring code stream comprises a video networking number bound with the first monitoring code stream;
in the embodiment of the application, the protocol conversion server 01 further stores a plurality of video networking numbers, the number of the video networking numbers is set based on certain user requirements, and like the existing fixed telephone or mobile phone numbers, the number digits and codes are limited, so that the number of the video networking numbers is limited.
In a preferred embodiment of the present application, it is shown that the step of generating, by the coordination server 01, a second monitoring code stream for the obtained first monitoring code stream specifically may include:
the protocol conversion server 01 queries a video networking number which is stored in the protocol conversion server and is in an idle state aiming at the acquired first monitoring code stream;
and the protocol conversion server 01 selects an idle video networking number to be bound with the first monitoring code stream to generate a second monitoring code stream.
The video code stream is transmitted in sequence in the form of a plurality of data packets, one data packet comprises a header and a body, and the body has data content; therefore, the binding mode can adopt a mode of writing in the data packet header of the first monitoring code stream.
The binding mode may also be an identifier linking mode, that is, a plurality of video networking numbers are stored in a table mode in a video networking protocol of the protocol conversion server 01, the table has a unique number or identifier representing the video networking number, the protocol conversion server also establishes a data transmission channel for the monitoring code stream in the process of transmitting the monitoring code stream, and then the identifier or the number of one unique video networking number may be linked to the data transmission channel of the monitoring code stream.
Step S604: the coordination server sends the second monitoring code stream and the heartbeat monitoring request to the monitoring back-end server; the monitoring back-end server is used for sending the second monitoring code stream to the monitoring client; the monitoring client is used for displaying the second monitoring code stream;
for the above steps, since the monitoring backend server 02 may include the monitoring scheduling server 021 and the monitoring sharing server 022 that are communicatively connected to each other, specifically, the above steps may specifically include:
the monitoring shared server 022 receives a second monitoring code stream sent by the co-rotation server 01, and sends the second monitoring code stream to the monitoring scheduling server 021;
and the monitoring scheduling server 021 receives the second monitoring code stream, and sends the second monitoring code stream to the monitoring client 03.
Step S605: the cooperative conversion server receives heartbeat information sent by the monitoring back-end server according to a preset time interval; wherein the heartbeat information is generated by the monitoring backend server for the heartbeat monitoring request;
after receiving the heartbeat monitoring request, the monitoring back-end server 02 may establish a heartbeat monitoring thread for the monitoring client 03 in the monitoring shared server 022, then continuously obtain the running state of the monitoring client 03 located in the monitoring scheduling server 021, generate heartbeat information, and send the heartbeat information to the coordination server 01.
Or, a heartbeat monitoring thread for the monitoring client 03 may be established in the monitoring scheduling server 021, and the monitoring scheduling server 021 directly responds to the corotation server 01 through the monitoring sharing server 022 to the state where the monitoring client 03 receives the second monitoring code stream, that is, reflects whether normal reception is possible.
Step S606: and when the heartbeat information is not received within the preset time interval, the coordination server stops sending a second monitoring code stream and unbinds the video networking number in the second monitoring code stream.
The embodiment of the application shows that the corotation server 01 can also establish a response in the interior according to the received heartbeat information, the mechanism can judge whether the heartbeat information can be normally received, when the heartbeat information exceeds the preset time, the link necrosis of the data transmission channel is judged, the video networking number and the first monitoring code stream are unbound, the occupation of the video networking number is removed, the necrotic link is timely processed, the video networking number resource and the bandwidth resource are recovered, the automatic operation of removing the video networking number is realized, the real-time monitoring is realized, and the convenience and the rapidness are realized.
In addition, for the above response mechanism, in a preferred embodiment of the present application, the method for the collaboration server 01 to respond to the heartbeat information may further include the following steps:
and the coordination and conversion server sends heartbeat feedback signals to the monitoring rear-end server according to a preset time interval aiming at the received heartbeat information.
Thus, the monitoring backend server 02 may also determine whether the cooperative server 01 is normal or not according to the heartbeat feedback signal.
Example 3:
as shown in fig. 7, a flowchart illustrating steps of another method for monitoring a number resource of a video network according to an embodiment of the present application is shown, where the method may be applied to a video network, and in particular, may be applied to the monitoring backend server 02 shown in fig. 5, and the method may specifically include the following steps:
step S701: the monitoring back-end server receives a monitoring calling request sent by the monitoring client; the monitoring calling request is generated by a monitoring client when a triggering operation of monitoring calling is received;
step S702: the monitoring back-end server sends the monitoring calling request to the coordination transfer server; the coordination conversion server is used for acquiring a first monitoring code stream of the monitoring equipment corresponding to the monitoring calling request according to the monitoring calling request and generating a heartbeat monitoring request aiming at the monitoring client;
step S703: the monitoring back-end server receives a second monitoring code stream and the heartbeat monitoring request sent by the protocol conversion server; the second monitoring code stream is generated by binding the first monitoring code stream with a video networking number aiming at the acquired first monitoring code stream by the coordination server;
step S704: the monitoring back-end server sends the second monitoring code stream to the monitoring client; the monitoring client is used for displaying the second monitoring code stream;
step S705: the monitoring back-end server generates heartbeat information aiming at the monitoring client according to the heartbeat monitoring request;
step S706: the monitoring back-end server sends the heartbeat information to the corotation server according to a preset time interval; the protocol conversion server is used for stopping sending a second monitoring code stream and unbinding a video network number in the second monitoring code stream when the heartbeat information is not received;
step S707: when a second monitoring code stream sent by the protocol conversion server is not received, the monitoring back-end server generates monitoring code stream stop data and sends the monitoring code stream stop data to the monitoring client; and the monitoring client is used for stopping displaying the monitoring code stream.
Steps S601 to S606 in embodiment 2 show a possible way to illustrate the monitoring of the internet-of-view number resource from the perspective of the corotation server 01. In the embodiment of the present application, through steps S701 to S707, another possible way of describing monitoring of video networking number resources from the perspective of monitoring the backend server 02 is shown, and compared with the prior art, the video networking number resources can be effectively monitored, a dead link is processed in time to recover the video networking number resources and bandwidth resources, so that automatic operation of releasing the video networking number is realized, real-time monitoring is performed, and convenience and rapidness are achieved. The specific implementation principle is described in example 2, and is not explained herein for the sake of brevity.
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 embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Example 4:
as shown in fig. 8, corresponding to the method described in embodiment 2, a block diagram of a device for monitoring number resources of a video network according to an embodiment of the present application is shown, where the device may be applied to a video network, and specifically may be applied to a cooperative server 01 shown in fig. 5, where the cooperative server 01 may specifically include the following modules:
a monitoring and invoking request receiving module 801, configured to receive a monitoring and invoking request forwarded by the monitoring backend server; the monitoring calling request is generated by a monitoring client when a triggering operation of monitoring calling is received;
a heartbeat monitoring request generating module 802, configured to obtain, according to the monitoring invoking request, a first monitoring code stream of the monitoring device corresponding to the monitoring invoking request, and generate a heartbeat monitoring request for the monitoring client at the same time;
a second monitoring code stream generating module 803, configured to generate a second monitoring code stream for the acquired first monitoring code stream; the second monitoring code stream comprises a video networking number bound with the first monitoring code stream;
a second monitoring code stream sending module 804, configured to send the second monitoring code stream and the heartbeat monitoring request to the monitoring back-end server; the monitoring back-end server is used for sending the second monitoring code stream to the monitoring client; the monitoring client is used for displaying the second monitoring code stream;
a heartbeat information receiving module 805, configured to receive heartbeat information sent by the monitoring backend server according to a preset time interval; wherein the heartbeat information is generated by the monitoring backend server for the heartbeat monitoring request;
and a video networking number unbinding module 806, configured to stop sending the second monitoring code stream when the heartbeat information is not received within the preset time interval, and unbind a video networking number in the second monitoring code stream.
In a preferred embodiment of the present application, a method corresponding to a preferred embodiment in embodiment 2 shows that a specific module required for completing the step of generating a second monitoring code stream by the coordination server 01 for the acquired first monitoring code stream is shown, that is, the second monitoring code stream generating module 803 may specifically include the following sub-modules:
the video networking number query submodule is used for querying a video networking number which is stored in the video networking number query submodule and is in an idle state aiming at the acquired first monitoring code stream;
and the video networking number binding submodule is used for selecting an idle video networking number to bind with the first monitoring code stream and generating a second monitoring code stream.
In a preferred embodiment of the present application, a module for responding to the heartbeat information by the mechanism established by the protocol translation server 01 is shown, that is, the protocol translation server further includes the following modules:
the heartbeat feedback signal sending module 807 sends a heartbeat feedback signal to the monitoring back-end server according to a preset time interval for the received heartbeat information.
Example 5:
as shown in fig. 9, corresponding to the method described in embodiment 3, a block diagram of another device for monitoring number resources of a video network according to an embodiment of the present application is shown, where the device may be applied to a video network, and specifically may be applied to a monitoring backend server 02 shown in fig. 5, where the monitoring backend server 02 may specifically include the following modules:
a monitoring invoking request forwarding module 901, configured to receive a monitoring invoking request sent by the monitoring client; the monitoring calling request is generated by a monitoring client when a triggering operation of monitoring calling is received;
a monitoring invoking request sending module 902, configured to send the monitoring invoking request to the coordination server; the coordination conversion server is used for acquiring a first monitoring code stream of the monitoring equipment corresponding to the monitoring calling request according to the monitoring calling request and generating a heartbeat monitoring request aiming at the monitoring client;
a second monitoring code stream receiving module 903, configured to receive the second monitoring code stream and the heartbeat monitoring request sent by the coordination server; the second monitoring code stream is generated by binding the first monitoring code stream with a video networking number aiming at the acquired first monitoring code stream by the coordination server;
a second monitoring code stream forwarding module 904, configured to send the second monitoring code stream to the monitoring client; the monitoring client is used for displaying the second monitoring code stream;
a heartbeat information generating module 905, configured to generate heartbeat information for the monitoring client according to the heartbeat monitoring request;
a heartbeat information sending module 906, configured to send the heartbeat information to the corotation server according to a preset time interval; the protocol conversion server is used for stopping sending a second monitoring code stream and unbinding a video network number in the second monitoring code stream when the heartbeat information is not received;
a code stream stop data sending module 907, configured to generate monitoring code stream stop data and send the monitoring code stream stop data to the monitoring client when a second monitoring code stream sent by the corotation server is not received; and the monitoring client is used for stopping displaying the monitoring code stream.
An embodiment of the present application further provides an apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more of the methods of embodiments of the present application.
Embodiments of the present application also provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform one or more of the methods described in embodiments of the present application.
For the device 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 of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application 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 application 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 application 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 application. 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 application 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 the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
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 method for monitoring the video networking number resource and the device for monitoring the video networking number resource provided by the application are introduced in detail, specific examples are applied in the method for explaining the principle and the implementation mode of the application, and the description of the embodiments is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, 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 application.

Claims (9)

1. A method for monitoring number resources of a video network is applied to the video network, wherein the video network comprises a coordination server bound with a plurality of monitoring devices, a monitoring back-end server in communication connection with the coordination server, and a plurality of monitoring clients in communication connection with the monitoring back-end server, and the method comprises the following steps:
the cooperative conversion server receives a monitoring calling request forwarded by the monitoring back-end server; the monitoring calling request is generated by a monitoring client when a triggering operation of monitoring calling is received;
the coordination conversion server acquires a first monitoring code stream of the monitoring equipment corresponding to the monitoring calling request according to the monitoring calling request, and generates a heartbeat monitoring request aiming at the monitoring client;
the protocol conversion server generates a second monitoring code stream aiming at the acquired first monitoring code stream; the second monitoring code stream comprises a video networking number bound with the first monitoring code stream;
the coordination server sends the second monitoring code stream and the heartbeat monitoring request to the monitoring back-end server; the monitoring back-end server is used for sending the second monitoring code stream to the monitoring client; the monitoring client is used for displaying the second monitoring code stream;
the cooperative conversion server receives heartbeat information sent by the monitoring back-end server according to a preset time interval; the heartbeat information is established by the monitoring back-end server according to the heartbeat monitoring request and aims at the monitoring client, and the monitoring back-end server sends the heartbeat information to the coordination server according to the preset time interval;
the coordination server receives the heartbeat information and replies to establish running state monitoring on the monitoring client;
when the heartbeat information is not received within the preset time interval, the protocol conversion server stops sending a second monitoring code stream and unbinds a video networking number in the second monitoring code stream;
the monitoring calling request comprises an IP address of the monitoring equipment; the step that the cooperative conversion server acquires the first monitoring code stream of the monitoring equipment corresponding to the monitoring calling request according to the monitoring calling request comprises the following steps:
and the protocol conversion server finds the corresponding monitoring equipment according to the IP address and acquires a first monitoring code stream of the monitoring equipment.
2. The method of claim 1, wherein a plurality of video networking numbers are stored in the protocol conversion server; the step that the cooperative conversion server generates a second monitoring code stream aiming at the acquired first monitoring code stream comprises the following steps:
the protocol conversion server inquires a video networking number which is stored in the protocol conversion server and is in an idle state aiming at the acquired first monitoring code stream;
and the protocol conversion server selects an idle video networking number to be bound with the first monitoring code stream, and generates a second monitoring code stream.
3. A method for monitoring number resources of a video network is applied to the video network, wherein the video network comprises a coordination server bound with a plurality of monitoring devices, a monitoring back-end server in communication connection with the coordination server, and a plurality of monitoring clients in communication connection with the monitoring back-end server, and the method comprises the following steps:
the monitoring back-end server receives a monitoring calling request sent by the monitoring client; the monitoring calling request is generated by a monitoring client when a triggering operation of monitoring calling is received;
the monitoring back-end server sends the monitoring calling request to the coordination transfer server; the coordination conversion server is used for acquiring a first monitoring code stream of the monitoring equipment corresponding to the monitoring calling request according to the monitoring calling request and generating a heartbeat monitoring request aiming at the monitoring client;
the monitoring back-end server receives a second monitoring code stream and the heartbeat monitoring request sent by the protocol conversion server; the second monitoring code stream is generated by binding the first monitoring code stream with a video networking number aiming at the acquired first monitoring code stream by the coordination server;
the monitoring back-end server sends the second monitoring code stream to the monitoring client; the monitoring client is used for displaying the second monitoring code stream;
the monitoring back-end server generates heartbeat information aiming at the monitoring client according to the heartbeat monitoring request;
the monitoring back-end server sends the heartbeat information to the corotation server according to a preset time interval; the protocol conversion server is used for receiving the heartbeat information and replying the heartbeat information so as to establish the running state monitoring of the monitoring client, and the protocol conversion server is also used for stopping sending a second monitoring code stream and unbinding the video networking number in the second monitoring code stream when the heartbeat information is not received;
when a second monitoring code stream sent by the protocol conversion server is not received, the monitoring back-end server generates monitoring code stream stop data and sends the monitoring code stream stop data to the monitoring client; the monitoring client is used for stopping displaying the monitoring code stream;
the monitoring calling request comprises an IP address of the monitoring equipment; the step that the cooperative conversion server is used for acquiring the first monitoring code stream of the monitoring equipment corresponding to the monitoring calling request according to the monitoring calling request comprises the following steps:
the protocol conversion server is used for finding out the corresponding monitoring equipment according to the IP address and acquiring a first monitoring code stream of the monitoring equipment.
4. The method according to claim 3, wherein the monitoring backend server comprises a monitoring scheduling server and a monitoring sharing server which are communicatively connected with each other, the monitoring scheduling server is communicatively connected with the monitoring client, and the monitoring sharing server is communicatively connected with the coordination server.
5. The utility model provides a device of video networking number resource monitoring, its characterized in that, the device is applied to in the video networking, the video networking including bind a plurality of supervisory equipment's the server that transfers that cooperatees, with cooperate the server communication connection's control backend server, and with a plurality of control customer ends of control backend server communication connection, cooperate the server that transfers to include following module:
the monitoring and calling request receiving module is used for receiving the monitoring and calling request forwarded by the monitoring back-end server; the monitoring calling request is generated by a monitoring client when a triggering operation of monitoring calling is received;
the heartbeat monitoring request generating module is used for acquiring a first monitoring code stream of the monitoring equipment corresponding to the monitoring calling request according to the monitoring calling request and generating a heartbeat monitoring request aiming at the monitoring client;
the second monitoring code stream generating module is used for generating a second monitoring code stream aiming at the acquired first monitoring code stream; the second monitoring code stream comprises a video networking number bound with the first monitoring code stream;
the second monitoring code stream sending module is used for sending the second monitoring code stream and the heartbeat monitoring request to the monitoring back-end server; the monitoring back-end server is used for sending the second monitoring code stream to the monitoring client; the monitoring client is used for displaying the second monitoring code stream;
the heartbeat information receiving module is used for receiving heartbeat information sent by the monitoring back-end server according to a preset time interval and replying after receiving the heartbeat information so as to establish running state monitoring on the monitoring client; the heartbeat information is established by the monitoring back-end server according to the heartbeat monitoring request and aims at the monitoring client, and the monitoring back-end server sends the heartbeat information to the coordination server according to the preset time interval;
the video networking number unbinding module is used for stopping sending the second monitoring code stream and unbinding the video networking number in the second monitoring code stream when the heartbeat information is not received within the preset time interval;
the monitoring calling request comprises an IP address of the monitoring equipment; the heartbeat monitoring request generating module comprises:
and the first monitoring code stream obtaining submodule is used for finding the corresponding monitoring equipment according to the IP address and obtaining the first monitoring code stream of the monitoring equipment.
6. The apparatus of claim 5, wherein a plurality of video networking numbers are stored in the protocol conversion server; the second monitoring code stream generation module comprises the following sub-modules:
the video networking number query submodule is used for querying a video networking number which is stored in the video networking number query submodule and is in an idle state aiming at the acquired first monitoring code stream;
and the video networking number binding submodule is used for selecting an idle video networking number to bind with the first monitoring code stream and generating a second monitoring code stream.
7. The utility model provides a device of video networking number resource monitoring, its characterized in that, the device is applied to in the video networking, the video networking including bind a plurality of supervisory equipment's the server that transfers that cooperatees, with cooperate the server communication connection's of transferring control back-end server, and with a plurality of control customer ends of control back-end server communication connection, control back-end server includes following module:
the monitoring and calling request forwarding module is used for receiving a monitoring and calling request sent by the monitoring client; the monitoring calling request is generated by a monitoring client when a triggering operation of monitoring calling is received;
the monitoring and calling request sending module is used for sending the monitoring and calling request to the coordination transfer server; the coordination conversion server is used for acquiring a first monitoring code stream of the monitoring equipment corresponding to the monitoring calling request according to the monitoring calling request and generating a heartbeat monitoring request aiming at the monitoring client;
the second monitoring code stream receiving module is used for receiving a second monitoring code stream and the heartbeat monitoring request sent by the corotation server; the second monitoring code stream is generated by binding the first monitoring code stream with a video networking number aiming at the acquired first monitoring code stream by the coordination server;
the second monitoring code stream forwarding module is used for sending the second monitoring code stream to the monitoring client; the monitoring client is used for displaying the second monitoring code stream;
the heartbeat information generating module is used for generating heartbeat information aiming at the monitoring client according to the heartbeat monitoring request;
the heartbeat information sending module is used for sending the heartbeat information to the corotation server according to a preset time interval; the protocol conversion server is used for receiving the heartbeat information and replying the heartbeat information so as to establish the running state monitoring of the monitoring client, and the protocol conversion server is also used for stopping sending a second monitoring code stream and unbinding the video networking number in the second monitoring code stream when the heartbeat information is not received;
the code stream stopping data sending module is used for generating monitoring code stream stopping data and sending the monitoring code stream stopping data to the monitoring client when a second monitoring code stream sent by the protocol conversion server is not received; the monitoring client is used for stopping displaying the monitoring code stream;
the monitoring calling request comprises an IP address of the monitoring equipment; the step that the cooperative conversion server is used for acquiring the first monitoring code stream of the monitoring equipment corresponding to the monitoring calling request according to the monitoring calling request comprises the following steps:
the protocol conversion server is used for finding out the corresponding monitoring equipment according to the IP address and acquiring a first monitoring code stream of the monitoring equipment.
8. An apparatus, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of any of claims 1-2 or 3.
9. One or more machine readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method of any of claims 1-2 or 3.
CN201811419735.2A 2018-11-26 2018-11-26 Method and device for monitoring number resources of video network Active CN109525460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811419735.2A CN109525460B (en) 2018-11-26 2018-11-26 Method and device for monitoring number resources of video network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811419735.2A CN109525460B (en) 2018-11-26 2018-11-26 Method and device for monitoring number resources of video network

Publications (2)

Publication Number Publication Date
CN109525460A CN109525460A (en) 2019-03-26
CN109525460B true CN109525460B (en) 2020-10-13

Family

ID=65778783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811419735.2A Active CN109525460B (en) 2018-11-26 2018-11-26 Method and device for monitoring number resources of video network

Country Status (1)

Country Link
CN (1) CN109525460B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110149495A (en) * 2019-04-08 2019-08-20 视联动力信息技术股份有限公司 State display method and device based on view networking
CN110191315B (en) * 2019-05-08 2021-03-05 视联动力信息技术股份有限公司 Monitoring and checking method and device based on video network
CN110401565B (en) * 2019-07-09 2022-08-09 视联动力信息技术股份有限公司 Offline warning method and device
CN110505447B (en) * 2019-07-29 2021-08-20 视联动力信息技术股份有限公司 Monitoring video transmission method, device, equipment and storage medium based on video networking
CN110572433B (en) * 2019-08-05 2022-03-11 视联动力信息技术股份有限公司 Video scheduling method, system and device
CN110430208B (en) * 2019-08-13 2022-02-18 四川东方网力科技有限公司 Video stream processing method and device, electronic equipment and storage medium
CN110809023B (en) * 2019-09-25 2022-08-19 视联动力信息技术股份有限公司 Communication connection establishing method and device based on video networking
CN110868317B (en) * 2019-09-30 2023-04-07 视联动力信息技术股份有限公司 Equipment monitoring method and device, electronic equipment and storage medium
CN111835717B (en) * 2020-06-04 2023-05-12 视联动力信息技术股份有限公司 Method and device for acquiring monitoring code stream and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108206934A (en) * 2016-12-16 2018-06-26 北京视联动力国际信息技术有限公司 A kind of monitor video sharing method and device
CN108881147A (en) * 2017-12-29 2018-11-23 北京视联动力国际信息技术有限公司 A kind of data processing method and device of view networking
CN108880926A (en) * 2017-11-30 2018-11-23 北京视联动力国际信息技术有限公司 A kind of method and apparatus of server monitoring

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201039640A (en) * 2009-04-27 2010-11-01 Tsai-Hung Lo Network monitoring system and method
CN103491102A (en) * 2013-09-30 2014-01-01 天脉聚源(北京)传媒科技有限公司 Method, system and device for monitoring stability of internet audio and video
CN106550282B (en) * 2015-09-17 2019-03-01 视联动力信息技术股份有限公司 A kind of playback method and system of video data
CN106792245B (en) * 2016-11-22 2018-04-20 广州华多网络科技有限公司 Direct broadcasting room video flowing synthetic method, device and terminal device
CN108228338B (en) * 2016-12-22 2019-06-11 视联动力信息技术股份有限公司 A kind of view networked resources management method and system
CN106817428A (en) * 2017-02-13 2017-06-09 浙江风向标科技有限公司 A kind of method and apparatus of offline inspection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108206934A (en) * 2016-12-16 2018-06-26 北京视联动力国际信息技术有限公司 A kind of monitor video sharing method and device
CN108880926A (en) * 2017-11-30 2018-11-23 北京视联动力国际信息技术有限公司 A kind of method and apparatus of server monitoring
CN108881147A (en) * 2017-12-29 2018-11-23 北京视联动力国际信息技术有限公司 A kind of data processing method and device of view networking

Also Published As

Publication number Publication date
CN109525460A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
CN109525460B (en) Method and device for monitoring number resources of video network
CN109996086B (en) Method and device for inquiring service state of video networking
CN109714527B (en) Method and device for controlling video network camera in internet
CN109474715B (en) Resource configuration method and device based on video network
CN108810444B (en) Video conference processing method, conference scheduling terminal and protocol conversion server
CN109617956B (en) Data processing method and device
CN110190973B (en) Online state detection method and device
CN110022306B (en) Method and device for calling conference of video conference
CN109150905B (en) Video network resource release method and video network sharing platform server
CN110417877B (en) Audio and video service processing method and device
CN110191315B (en) Monitoring and checking method and device based on video network
CN109547817B (en) Method and device for double-playing video networking video recording in Internet
CN109218306B (en) Audio and video data stream processing method and system
CN110650171B (en) Video networking service scheduling system and method
CN110557612B (en) Control method of monitoring equipment and video networking system
CN110049280B (en) Method and device for processing monitoring data
CN110224988B (en) Image data processing method, system and device and storage medium
CN109617961B (en) Method and device for downloading video recording of video network in Internet
CN109698818B (en) Method and device for acquiring online user and cross-streaming media communication
CN109347930B (en) Task processing method and device
CN110505433B (en) Data processing method and video networking video conference platform
CN110134892B (en) Loading method and system of monitoring resource list
CN109769126B (en) Method and device for playing back video recording in real time in Internet
CN110049069B (en) Data acquisition method and device
CN110620907B (en) Monitoring calling method and device, electronic equipment and storage medium

Legal Events

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