CN109525460A - A kind of method and apparatus of view networking number resource monitoring - Google Patents

A kind of method and apparatus of view networking number resource monitoring Download PDF

Info

Publication number
CN109525460A
CN109525460A CN201811419735.2A CN201811419735A CN109525460A CN 109525460 A CN109525460 A CN 109525460A CN 201811419735 A CN201811419735 A CN 201811419735A CN 109525460 A CN109525460 A CN 109525460A
Authority
CN
China
Prior art keywords
monitoring
code stream
server
association
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811419735.2A
Other languages
Chinese (zh)
Other versions
CN109525460B (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

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 present application provides a kind of method and apparatus of view networking number resource monitoring, the method and device are applied in view networking, the monitoring back-end server that association is turned server and manages multiple monitor clients communicates to connect, and during monitoring bit stream, association turns server and monitors the heartbeat inspecting mechanism for the monitor client that back-end server is established for the reception monitoring code stream, when association, which turns server, does not receive the heartbeat message about the monitor client in the prefixed time interval, then it is judged as the monitoring code stream receives link necrosis of the monitor client, then stop sending the second monitoring code stream immediately, and the view networking number in the second monitoring code stream is unbinded, the occupancy to view networking number is released with this, realize the automatic operation released to view networking number, real-time monitoring, it is convenient Fast.

Description

A kind of method and apparatus of view networking number resource monitoring
Technical field
This application involves view networking technology fields, more particularly to the method and one kind of a kind of view networking number resource monitoring Depending on the device of networking number resource monitoring.
Background technique
With the fast development of the network technology, the two-way communications such as video conference, video teaching the life of user, work, Study etc. is widely available.
And be the important milestone of network Development depending on networking, it is the more advanced form of internet, is a real-time network, energy It enough realizes the whole network HD video real-time Transmission that current internet cannot achieve, pushes numerous Internet applications to HD video Change, high definition is face-to-face.The world will finally be realized without distance, realize person to person in global range distance be a screen away from From.
Since view networking data flow is larger, network bandwidth resources are more precious.But currently without for view networked resources The mechanism being monitored, it is occupied to lead to largely to regard networked resources, influences execution efficiency, can not effectively in time depending on networked resources Recycling.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present application and overcomes the above problem or at least partly in order to provide one kind The dress of a kind of method of view networking number resource monitoring to solve the above problems and a kind of corresponding view networking number resource monitoring It sets.
To solve the above-mentioned problems, the embodiment of the present application discloses a kind of method of view networking number resource monitoring, described Method is applied in view networking, described to have the association of multiple monitoring devices to turn server including binding depending on networking, turns clothes with the association The monitoring back-end server of business device communication connection, and multiple monitoring clients with the monitoring back-end server communication connection End, which comprises
It is described association turn server receive it is described monitoring back-end server forwarding monitoring transfer request;Wherein, the monitoring Transferring request is to be generated by monitor client when receiving the trigger action that monitoring is transferred;
The association turns server and transfers request according to the monitoring, and acquisition is transferred corresponding monitor of request with the monitoring and set The first standby monitoring code stream, while generating the heartbeat inspecting request for the monitor client;
The association turns server for the first acquired monitoring code stream, generates the second monitoring code stream;Wherein, described second Monitoring stream packet contains the view networking number with the first monitoring code stream binding;
The association turns server and the second monitoring code stream and heartbeat inspecting request is sent to the monitoring rear end Server;The monitoring back-end server is used to the second monitoring code stream being sent to the monitor client;The monitoring Client is used to show the second monitoring code stream;
The association turns server and is spaced the heartbeat message for receiving the monitoring back-end server transmission at preset timed intervals;Its In, the heartbeat message is to be generated by the monitoring back-end server for heartbeat inspecting request;
When not receiving the heartbeat message in the prefixed time interval, the association turns server and stops sending the Two monitoring code streams, and the view networking number in the second monitoring code stream is unbinded.
In one preferred embodiment of the application, the association turns server memory and contains multiple view networking numbers;The association turns For acquired first monitoring code stream, the step of generating the second monitoring code stream includes: server
The association turns server for acquired first monitoring code stream, inquires being in idle condition of itself being stored Depending on number of networking;
The association turns server and selects an idle view networking number and the first monitoring code stream binding, generates second Monitor code stream.
In one preferred embodiment of the application, the method also includes:
The association turns server for the received heartbeat message of institute, and interval sends heartbeat feedback signal to institute at preset timed intervals State monitoring back-end server.
To solve the above-mentioned problems, the embodiment of the present application discloses the method for another view networking number resource monitoring, institute Method is stated to be applied in view networking, it is described to there is the association of multiple monitoring devices to turn server including binding depending on networking, turn with the association The monitoring back-end server of server communication connection, and multiple monitoring clients with the monitoring back-end server communication connection End, which comprises
The monitoring back-end server receives the monitoring that the monitor client is sent and transfers request;Wherein, the monitoring Transferring request is to be generated by monitor client when receiving the trigger action that monitoring is transferred;
The monitoring back-end server by it is described monitoring transfer request be sent to it is described association turn server;The association turns service Device is used to transfer request according to the monitoring, obtains and transfers the first of the corresponding monitoring device of request with described monitor and monitor code Stream, while generating the heartbeat inspecting request for the monitor client;
The monitoring back-end server receives the second monitoring code stream and the heartbeat inspecting that the association turns server transmission Request;Wherein, the second monitoring code stream is to turn server by the association for acquired first monitoring code stream, by described the One monitoring code stream is with one depending on generating after number binding of networking;
The second monitoring code stream is sent to the monitor client by the monitoring back-end server;The monitoring client End is for showing the second monitoring code stream;
The monitoring back-end server is requested according to the heartbeat inspecting, and the heartbeat generated for the monitor client is believed Breath;
The monitoring back-end server, which is spaced at preset timed intervals to the association, turns the server transmission heartbeat message;It is described Association turns server and sends the second monitoring code stream for stopping when not receiving the heartbeat message, and described second is monitored View networking number unbundlings in code stream;
When not receiving the second monitoring code stream assisted and turn server transmission, the monitoring back-end server generates prison Control code stream stops Data Concurrent and send to the monitor client;The monitor client is used to the monitoring code stream stopping data Display.
In one preferred embodiment of the application, the monitoring back-end server includes the monitoring and scheduling clothes for being in communication with each other connection Business device, monitoring shared server, the monitoring and scheduling server and the monitor client communicate to connect, and clothes are shared in the monitoring Business device turns server communication with the association and connect.
To solve the above-mentioned problems, the method for corresponding the application, the embodiment of the present application disclose a kind of view networking number The device of monitoring resource, described device are applied in view networking, described to turn depending on the association for having multiple monitoring devices including binding that networks Server turns the monitoring back-end server that server communication is connect with the association, and communicates with the monitoring back-end server Multiple monitor clients of connection, the association turn server and comprise the following modules:
Request receiving module is transferred in monitoring, and request is transferred in the monitoring for receiving the monitoring back-end server forwarding;Its In, it is to be generated by monitor client when receiving the trigger action that monitoring is transferred that request is transferred in the monitoring;
Heartbeat inspecting requests generation module, for transferring request according to the monitoring, obtains and transfers request with the monitoring First monitoring code stream of corresponding monitoring device, while generating the heartbeat inspecting request for the monitor client;
Second monitoring code stream generation module, for generating the second monitoring code stream for the first acquired monitoring code stream;Its In, the second monitoring stream packet contains the view networking number with the first monitoring code stream binding;
Second monitoring code stream sending module, for the second monitoring code stream and heartbeat inspecting request to be sent to institute State monitoring back-end server;The monitoring back-end server is used to the second monitoring code stream being sent to the monitoring client End;The monitor client is used to show the second monitoring code stream;
Heartbeat message receiving module, for being spaced the heartbeat letter for receiving the monitoring back-end server and sending at preset timed intervals Breath;Wherein, the heartbeat message is to be generated by the monitoring back-end server for heartbeat inspecting request;
Stop when for not receiving the heartbeat message in the prefixed time interval depending on networking number unbundlings module The second monitoring code stream is only sent, and the view networking number in the second monitoring code stream is unbinded.
In one preferred embodiment of the application, the association turns server memory and contains multiple view networking numbers;Described second Monitoring code stream generation module includes following submodule:
Depending on number inquiry submodule of networking, for inquiring the place itself stored for the first acquired monitoring code stream In the view networking number of idle state;
Depending on number binding submodule of networking, for select one idle to monitor code stream depending on networking number and described first and tie up It is fixed, generate the second monitoring code stream.
To solve the above-mentioned problems, the another method of corresponding the application, the embodiment of the present application disclose another view networking Number resource monitoring device, which is characterized in that described device be applied to view networking in, it is described view networking include bind have it is multiple The association of monitoring device turns server, turns the monitoring back-end server that server communication connect with the association, and with the monitoring Multiple monitor clients of back-end server communication connection, the monitoring back-end server comprise the following modules:
Request forwarding module is transferred in monitoring, transfers request for receiving the monitoring that the monitor client is sent;Wherein, institute Stating monitoring and transferring request is to be generated by monitor client when receiving the trigger action that monitoring is transferred;
Monitoring transfer request sending module, for by it is described monitoring transfer request be sent to it is described association turn server;It is described Association turns server for transferring request according to the monitoring, obtains and transfers the first of the corresponding monitoring device of request with described monitor Code stream is monitored, while generating the heartbeat inspecting request for the monitor client;
Second monitoring code stream receiving module turns the second monitoring code stream and the heart of server transmission for receiving the association Jump monitoring request;Wherein, the second monitoring code stream is to turn server by the association for the first acquired monitoring code stream, will The first monitoring code stream is with one depending on generating after number binding of networking;
Second monitoring code stream forwarding module, for the second monitoring code stream to be sent to the monitor client;It is described Monitor client is used to show the second monitoring code stream;
Heartbeat message generation module generates the heart for being directed to the monitor client for requesting according to the heartbeat inspecting Hop-information;
Heartbeat message sending module turns the server transmission heartbeat message for being spaced at preset timed intervals to the association; The association turns server for when not receiving the heartbeat message, stops sending the second monitoring code stream, and by described second Monitor the view networking number unbundlings in code stream;
Code stream stop data transmission blocks, for do not receive it is described association turn server transmission second monitoring code stream When, it generates monitoring code stream stopping Data Concurrent and send to the monitor client;The monitor client is used for the monitoring code Stream stops data and shows.
The embodiment of the present application also provides a kind of devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors When, so that described device executes one or more methods as described in the embodiment of the present application.
The embodiment of the present application also provides one or more machine readable medias, are stored thereon with instruction, when by one or When multiple processors execute, so that the processor executes one or more methods as described in the embodiment of the present application.
The embodiment of the present application includes the following advantages:
The characteristic that the embodiment of the present application is networked using view, after the monitoring for turning server and the multiple monitor clients of management will be assisted Server communication connection is held, and during monitoring bit stream, association turns server and monitoring back-end server establishes needle Heartbeat inspecting mechanism to the monitor client for receiving the monitoring code stream, when association turns server in the prefixed time interval When not receiving the heartbeat message about the monitor client, then it is judged as the monitoring code stream receives link of the monitor client Necrosis is then stopped sending the second monitoring code stream immediately, and by the view networking number unbundlings in the second monitoring code stream, is solved with this Except the occupancy to view networking number;Compared with prior art, the embodiment of the present application can be supervised effectively to depending on networking number resource It surveys, handles downright bad link in time and recycle view networking number resource and bandwidth resources, realize to the automatic of view networking number releasing Change operation, real-time monitoring is convenient and efficient.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the application;
Fig. 2 is a kind of hardware structural diagram of node server of the application;
Fig. 3 is a kind of hardware structural diagram of access switch of the application;
Fig. 4 is that a kind of Ethernet association of the application turns the hardware structural diagram of gateway;
Fig. 5 is a kind of networking schematic diagram of the system of view networking number resource monitoring of the embodiment of the present application;
Fig. 6 is a kind of step flow chart of the method for view networking number resource monitoring of the embodiment of the present application;
Fig. 7 is the step flow chart of the method for the embodiment of the present application another kind view networking number resource monitoring;
Fig. 8 is a kind of structural block diagram of the device of view networking number resource monitoring of the embodiment of the present application;
Fig. 9 is the structural block diagram of the device of the embodiment of the present application another kind view networking number resource monitoring.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real Applying mode, the present application will be further described in detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission, Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or Computer realizes that high-definition quality video plays.
To make those skilled in the art more fully understand the embodiment of the present application, it is introduced below to depending on networking:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type " Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal. Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 the embodiment of the present application can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or National net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet; And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown) Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table) Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met, It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet; If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier (stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in the embodiment of the present application:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1) It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and, Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410 (2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server. Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes, payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA SA Reserved Payload CRC
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address, Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages 64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment System, introduces parameter in the embodiment of the present application: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into 0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN) Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA SA Reserved Label Payload CRC
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position Set is between the reserve bytes and payload of data packet.
Since view networking data flow is larger, network bandwidth resources are more precious, are especially limited depending on networking number, The transmission of video flowing needs to rely on a view networking number in depending on networking, could guarantee video flowing by view networking identification with this Normal transmission.Can only be every time at present association turn the administrator of server receive user stop receiving video flowing instruction or When user's line off instruction, association is turned into server by the way of manual hand manipulation and is disconnected, view networking number is discharged with this, still The mode of this manual operation very not in time, when user is in online but cannot normally receive video flowing sometimes, administrator It cannot find in time, and assist and turn server still in the state for sending video flowing to the user always, not only result in and the video Stream binding is constantly in occupied state depending on networking number, and waste view networked resources influence execution efficiency, depending on networked resources without Method effectively and timely recycles, and also takes up the running memory that association turns server, influences its speed of service.
The technical issues of based on the above-mentioned characteristic and the application for regarding networking, propose the core idea of the embodiment of the present application One of, it then follows association is turned server and manages the monitoring back-end server communication link of multiple monitor clients by the agreement for regarding networking It connects, association turns server and monitor based on the received to transfer request, transfers the corresponding monitoring of request with described monitor getting When the first monitoring code stream of equipment, while generation is sent for the heartbeat inspecting request Concurrency of the monitor client to monitoring rear end Server;Monitoring back-end server is requested according to heartbeat inspecting, is established for the monitoring client for receiving the first monitoring code stream The heartbeat message at end, and be spaced at preset timed intervals and the heartbeat message is sent to the association turns server, association turns server receipts It after to heartbeat message and replys, the running state monitoring to the monitor client is established with this;When association turns server described When not receiving the heartbeat message in prefixed time interval, then it is judged as the monitoring code stream receives link of the monitor client Necrosis is then stopped sending the second monitoring code stream immediately, and by the view networking number unbundlings in the second monitoring code stream, is solved with this Except the occupancy to view networking number.The embodiment of the present application to depending on networking number resource in the above manner, can effectively supervise It surveys, handles downright bad link in time and recycle view networking number resource and bandwidth resources, realize to the automatic of view networking number releasing Change operation, real-time monitoring is convenient and efficient.
Embodiment 1:
As shown in figure 5, a kind of networking schematic diagram of the system of view networking number resource monitoring of the embodiment of the present application is shown, The system can be applied in view networking, described to have the association of multiple monitoring devices 04 to turn server 01 including binding depending on networking, With it is described association turn server 01 communication connection monitoring back-end server 02, and with 02 communication link of monitoring back-end server The multiple monitor clients 03 connect.
Association mentioned by the embodiment of the present application, which turns server 01, can refer to monitoring access server, also known as association turns, it is possible to understand that It is a kind of external (on internet) monitoring device 04 (also can be described as monitoring resource) to be responsible for be linked into view connection for gateway , it can be achieved that browsing and controlling the managing apparatus on internet in view networking in net.
In one preferred embodiment of the application, monitoring back-end server 02 may include the monitoring and scheduling clothes for being in communication with each other connection Be engaged in device 021, monitoring shared server 022, the monitoring and scheduling server 021 and the monitor client 03 communication connection, institute It states monitoring shared server 022 and the association turns the communication connection of server 01.
Above-mentioned monitoring shared server 022 also known as shared platform, it is understood that be gateway, be that one kind can be responsible for view to join The video code flow of the monitoring device 04 of net is converted into the video code flow of realtime transmission protocol RTP protocol payload, can be used for that connection will be regarded The equipment that net video shares to the monitor supervision platform based on Real-time Transport Protocol transmission.
Monitoring and scheduling server 021 can be the back-end platform of view networking monitoring network management dispatching platform, be responsible for view connection The unified management of the monitor client 03 of all accesses in net can specifically pass through Streaming Media gateway and the monitor client 03 Communication, and communicated by view networking with monitoring shared server 022.
Monitor client 03 mentioned by the embodiment of the present application can be a kind of monitor client and (be commonly called as application program APP), mountable on the hardware such as mobile phone, plate, desktop computer, notebook, belong to view networking monitoring network management dispatching platform The showing of integral monitoring catalogue is responsible in front end, monitor video is transferred, regards the various functions of networking monitoring network management dispatching platform Configuration.
Embodiment 2:
As shown in fig. 6, a kind of step flow chart of the method for view networking number resource monitoring of the embodiment of the present application is shown, The method can be applied in view networking, specifically can be applied to association shown in fig. 5 and turns in server 01, the method is specific It may comprise steps of:
Step S601: it is described association turn server receive it is described monitoring back-end server forwarding monitoring transfer request;Wherein, It is to be generated by monitor client when receiving the trigger action that monitoring is transferred that request is transferred in the monitoring;
The monitor client 03 of the embodiment of the present application can have multiple displaying interfaces, such as include monitoring and scheduling interface, monitor and look into Ask interface.
Mentioned in the embodiment of the present application to the trigger action transferred of monitoring can be user and click on prison using mouse One in control scheduling interface is checked button, can also be one that user inputs in monitoring and scheduling interface or monitoring and inquiry interface The address information of monitoring camera is also possible to a certain region that user selects in monitoring and scheduling interface or monitoring and inquiry interface The input of monitoring resource information or check button, can be realized the trigger action of the purpose of the embodiment of the present application, herein not It repeats more.
Monitor client 03 according to received trigger action, transfer request, that is, supervise by the monitoring for generating the corresponding monitoring Control takes request to can be request and transfers the monitoring data comprising the acquisition of a camera, is also possible to request and transfers comprising specified The acquisition of multiple monitoring cameras monitoring data, or request transfers the monitoring data of some region of monitoring camera acquisition.
Then monitoring is transferred request and is sent to monitoring back-end server 02, the monitoring back-end services by monitor client 03 Device 02 receives the monitoring that the monitor client 03 is sent and transfers request, and request is transferred in the monitoring and is sent to the association The step of turning server 01 include:
The monitoring and scheduling server 021 receives the monitoring that the monitor client 03 is sent and transfers request, and will be described Monitoring transfers request and is sent to the monitoring shared server 022;
The monitoring shared server 022 receives the monitoring and transfers request, and request is transferred in the monitoring and is sent to The association turns server 01.
Step S602: the association turns server and transfers request according to the monitoring, obtains and transfers request pair with the monitoring First monitoring code stream of the monitoring device answered, while generating the heartbeat inspecting request for the monitor client;
In the embodiment of the present application, show association turn server 01 receive it is described monitoring transfer request after, obtain first Code stream is monitored, and the step of generating the heartbeat inspecting request for the monitor client.
In above-mentioned steps, it includes to want the IP address for the monitoring device 04 transferred, and to transfer that request is transferred in monitoring The mailing address and identification marking of the monitor client of the monitoring code stream;So association turn server 01 can according to the IP address Corresponding monitoring device 04 is found, service protocol communication is then carried out between monitoring device 04, obtains the monitoring device 04 First monitoring code stream.
Association turns after server 01 receives the first monitoring code stream, while will receive the first monitoring code stream as triggering letter Number, the heartbeat inspecting generated for the monitor client 03 is requested;I.e. heartbeat inspecting request packet contains the monitor client 03 mailing address and identification marking.
Step S603: the association turns server for the first acquired monitoring code stream, generates the second monitoring code stream;Its In, the second monitoring stream packet contains the view networking number with the first monitoring code stream binding;
Association in the embodiment of the present application turns also to be stored with multiple view networking numbers in server 01, depending on the quantity for number of networking To be set based on certain user demand, as existing fixed-line telephone or phone number, number length, be encoded to it is restricted Type causes also to be limited depending on the quantity for number of networking.
In one preferred embodiment of the application, shows the association and turn server 01 for the first acquired monitoring code The step of stream, generation the second monitoring code stream, can specifically include:
The association turns server 01 for acquired first monitoring code stream, inquires being in idle condition of itself being stored View network number;
The association turns server 01 and selects an idle view networking number and the first monitoring code stream binding, generates the Two monitoring code streams.
Since video code flow is successively transmitted in the form of multiple data packets, a data packet includes packet header and indentured, Interior there is the data content having indentured;So the data packet head write-in in the first monitoring code stream can be used in above-mentioned binding mode Mode.
Above-mentioned binding mode can also be the mode of mark link, i.e., turn the more depending on having in networking protocol of server 01 in association A view is networked number, and view networking number is stored in a manner of table, have in table represent the view network number unique number or Mark, association turns server can also establish data transmission channel for the monitoring code stream during transmitting, monitoring code stream, so A unique mark or number depending on number of networking can be linked in the data transmission channel of the monitoring code stream afterwards.
Step S604: the association turn server the second monitoring code stream and heartbeat inspecting request are sent to it is described Monitor back-end server;The monitoring back-end server is used to the second monitoring code stream being sent to the monitor client; The monitor client is used to show the second monitoring code stream;
For above-mentioned steps, since monitoring back-end server 02 may include the monitoring and scheduling server for being in communication with each other connection 021, shared server 022 is monitored, specifically, above-mentioned steps can specifically include:
The monitoring shared server 022 receives the second monitoring code stream that the association turns the transmission of server 01, and will be described Second monitoring code stream is sent to the monitoring and scheduling server 021;
The monitoring and scheduling server 021 receives the second monitoring code stream, and the second monitoring code stream is sent to institute State monitor client 03.
Step S605: the association turns server and is spaced the heartbeat for receiving the monitoring back-end server transmission at preset timed intervals Information;Wherein, the heartbeat message is to be generated by the monitoring back-end server for heartbeat inspecting request;
After monitoring back-end server 02 receives heartbeat inspecting request, it can be established in monitoring shared server 022 and be directed to the prison The heartbeat inspecting thread of client 03 is controlled, it is then lasting to obtain the monitor client being located in monitoring and scheduling server 021 03 operating status generates heartbeat message, and is sent to the association and turns server 01.
Alternatively, the heartbeat inspecting thread for the monitor client 03 can be established in monitoring and scheduling server 021, monitoring is adjusted Degree server 021 directly responds the reception of monitor client 03 institute by monitoring 022 Xiang Xiezhuan server 01 of shared server The state for stating the second monitoring code stream reflects whether to normally receive.
Step S606: when not receiving the heartbeat message in the prefixed time interval, the association turns server Stop sending the second monitoring code stream, and described second is monitored the view networking number unbundlings in code stream.
Association is shown in the embodiment of the present application and turns server 01 according to the received heartbeat message of institute, can also establish one in inside The mechanism of a response heartbeat message, which can determine whether that the heartbeat message can be normally received, default when having exceeded Time, then be judged as the data transmission channel link necrosis, then will view networking number and it is described first monitoring code stream unbundlings, The occupancy to view networking number is released, downright bad link recycling view networking number resource and bandwidth resources is handled in time, realizes To the automatic operation that view networking number releases, real-time monitoring is convenient and efficient.
In addition, being directed to above-mentioned response mechanism, in one preferred embodiment of the application, association turns server 01 and responds heartbeat letter The method of breath specifically can with the following steps are included:
The association turns server for the received heartbeat message of institute, and interval sends heartbeat feedback signal to institute at preset timed intervals State monitoring back-end server.
With this, monitor back-end server 02 can also judge whether association turns server 01 normal according to the heartbeat feedback signal Deng.
Embodiment 3:
As shown in fig. 7, showing the step process of the method for the embodiment of the present application another kind view networking number resource monitoring Figure, the method can be applied in view networking, specifically can be applied in monitoring back-end server 02 shown in fig. 5, described Method can specifically include following steps:
Step S701: the monitoring back-end server receives the monitoring that the monitor client is sent and transfers request;Wherein, It is to be generated by monitor client when receiving the trigger action that monitoring is transferred that request is transferred in the monitoring;
Step S702: the monitoring back-end server by it is described monitoring transfer request be sent to it is described association turn server;Institute It states association and turns server for transferring request according to the monitoring, obtain and transfer the of the corresponding monitoring device of request with described monitor One monitoring code stream, while generating the heartbeat inspecting request for the monitor client;
Step S703: the monitoring back-end server receives the second monitoring code stream and described that the association turns server transmission Heartbeat inspecting request;Wherein, the second monitoring code stream is to turn server by the association to monitor code stream for acquired first, By the first monitoring code stream with one depending on being generated after number binding of networking;
Step S704: the second monitoring code stream is sent to the monitor client by the monitoring back-end server;Institute Monitor client is stated for showing the second monitoring code stream;
Step S705: the monitoring back-end server is requested according to the heartbeat inspecting, is generated and is directed to the monitoring client The heartbeat message at end;
Step S706: the monitoring back-end server, which is spaced at preset timed intervals to the association, turns the server transmission heartbeat Information;The association turns server and sends the second monitoring code stream for stopping when not receiving the heartbeat message, and will be described View networking number unbundlings in second monitoring code stream;
Step S707: when not receiving the second monitoring code stream assisted and turn server transmission, the monitoring rear end clothes Business device generates monitoring code stream stopping Data Concurrent and send to the monitor client;The monitor client is used for the monitoring code Stream stops data and shows.
Step S601~step S606 in embodiment 2, which is shown, turns the angle of server 01 from association to illustrate to view networking A kind of possible mode of number resource monitoring.And the embodiment of the present application is shown by step S701~step S707 from monitoring The angle of back-end server 02 compared with prior art can to the alternatively possible mode for regarding networking number resource monitoring to illustrate It is effectively monitored to depending on networking number resource, handles downright bad link recycling view networking number resource and bandwidth resources in time, it is real The automatic operation released to view networking number is showed, real-time monitoring is convenient and efficient.Principle is implemented referring to embodiment 2, is Length is saved, is not explained excessively herein.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to According to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and related movement not necessarily the application is implemented Necessary to example.
Embodiment 4:
As shown in figure 8, method described in corresponding embodiment 2, shows a kind of view networking number resource of the embodiment of the present application The structural block diagram of the device of monitoring, described device can be applied in view networking, specifically can be applied to association shown in fig. 5 and turn clothes It is engaged in device 01, the association, which turns server 01, can specifically include with lower module:
Request receiving module 801 is transferred in monitoring, and request is transferred in the monitoring for receiving the monitoring back-end server forwarding; Wherein, it is to be generated by monitor client when receiving the trigger action that monitoring is transferred that request is transferred in the monitoring;
Heartbeat inspecting requests generation module 802, for transferring request according to the monitoring, obtains to transfer with the monitoring and ask It asks the first of corresponding monitoring device to monitor code stream, while generating the heartbeat inspecting request for the monitor client;
Second monitoring code stream generation module 803, for generating the second monitoring code for the first acquired monitoring code stream Stream;Wherein, the second monitoring stream packet contains the view networking number with the first monitoring code stream binding;
Second monitoring code stream sending module 804, for sending the second monitoring code stream and heartbeat inspecting request To the monitoring back-end server;The monitoring back-end server is used to the second monitoring code stream being sent to the monitoring visitor Family end;The monitor client is used to show the second monitoring code stream;
Heartbeat message receiving module 805, for being spaced the heart for receiving the monitoring back-end server and sending at preset timed intervals Hop-information;Wherein, the heartbeat message is to be generated by the monitoring back-end server for heartbeat inspecting request;
Module 806 is unbinded depending on networking number, when for not receiving the heartbeat message in the prefixed time interval, Stop sending the second monitoring code stream, and described second is monitored the view networking number unbundlings in code stream.
In one preferred embodiment of the application, the method for a preferred embodiment in corresponding embodiment 2, in the figure 1 it is shown that show Complete required specific of the step of association turns server 01 for acquired first monitoring code stream, generates the second monitoring code stream Module, i.e., the described second monitoring code stream generation module 803 can specifically include following submodule:
Depending on number inquiry submodule of networking, for inquiring the place itself stored for the first acquired monitoring code stream In the view networking number of idle state;
Depending on number binding submodule of networking, for select one idle to monitor code stream depending on networking number and described first and tie up It is fixed, generate the second monitoring code stream.
In one preferred embodiment of the application, shows association and turn the mechanism that server 01 is established to respond heartbeat message Module, i.e., it further includes with lower module that the described association, which turns server:
Heartbeat feedback signal sending module 807, for the received heartbeat message of institute, it is anti-to send heartbeat for interval at preset timed intervals Feedback signal is to the monitoring back-end server.
Embodiment 5:
As shown in figure 9, method described in corresponding embodiment 3, shows the embodiment of the present application another kind view networking number money The structural block diagram of the device of source monitoring, described device can be applied in view networking, specifically can be applied to monitoring shown in fig. 5 In back-end server 02, the monitoring back-end server 02 be can specifically include with lower module:
Request forwarding module 901 is transferred in monitoring, transfers request for receiving the monitoring that the monitor client is sent;Its In, it is to be generated by monitor client when receiving the trigger action that monitoring is transferred that request is transferred in the monitoring;
Monitoring transfer request sending module 902, for by it is described monitoring transfer request be sent to it is described association turn server;Institute It states association and turns server for transferring request according to the monitoring, obtain and transfer the of the corresponding monitoring device of request with described monitor One monitoring code stream, while generating the heartbeat inspecting request for the monitor client;
Second monitoring code stream receiving module 903 turns the second monitoring code stream and the institute of server transmission for receiving the association State heartbeat inspecting request;Wherein, the second monitoring code stream is to turn server by the association for the first acquired monitoring code Stream, by the first monitoring code stream with one depending on being generated after number binding of networking;
Second monitoring code stream forwarding module 904, for the second monitoring code stream to be sent to the monitor client;Institute Monitor client is stated for showing the second monitoring code stream;
Heartbeat message generation module 905 is generated for being requested according to the heartbeat inspecting for the monitor client Heartbeat message;
Heartbeat message sending module 906 turns the server transmission heartbeat letter for being spaced at preset timed intervals to the association Breath;The association turns server for when not receiving the heartbeat message, stops sending the second monitoring code stream, and by described the View networking number unbundlings in two monitoring code streams;
Code stream stop data transmission blocks 907, for do not receive it is described association turn server transmission second monitoring code When stream, generates monitoring code stream stopping Data Concurrent and send to the monitor client;The monitor client is used for the monitoring Code stream stops data and shows.
The embodiment of the present application also provides a kind of devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors When, so that the method that described device executes one or more described in the embodiment of the present application.
The embodiment of the present application also provides one or more machine readable medias, are stored thereon with instruction, when by one or When multiple processors execute, so that the method that the processor executes one or more described in the embodiment of the present application.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, apparatus or calculating Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present application is referring to according to the method for the embodiment of the present application, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to the method and a kind of view networking number resource of a kind of view networking number resource monitoring provided herein The device of monitoring, is described in detail, and specific case used herein carries out the principle and embodiment of the application It illustrates, the description of the example is only used to help understand the method for the present application and its core ideas;Meanwhile for this field Those skilled in the art, according to the thought of the application, there will be changes in the specific implementation manner and application range, to sum up Described, the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of method of view networking number resource monitoring, which is characterized in that the method is applied in view networking, the view connection Net includes that binding has the association of multiple monitoring devices to turn server, turns the monitoring back-end services that server communication is connect with the association Device, and multiple monitor clients with the monitoring back-end server communication connection, which comprises
It is described association turn server receive it is described monitoring back-end server forwarding monitoring transfer request;Wherein, the monitoring is transferred Request is to be generated by monitor client when receiving the trigger action that monitoring is transferred;
The association turns server and transfers request according to the monitoring, obtains and transfers the corresponding monitoring device of request with described monitor First monitoring code stream, while generating the heartbeat inspecting request for the monitor client;
The association turns server for the first acquired monitoring code stream, generates the second monitoring code stream;Wherein, second monitoring Stream packet contains the view networking number with the first monitoring code stream binding;
The association turns server and the second monitoring code stream and heartbeat inspecting request is sent to the monitoring back-end services Device;The monitoring back-end server is used to the second monitoring code stream being sent to the monitor client;The monitoring client End is for showing the second monitoring code stream;
The association turns server and is spaced the heartbeat message for receiving the monitoring back-end server transmission at preset timed intervals;Wherein, institute Stating heartbeat message is to be generated by the monitoring back-end server for heartbeat inspecting request;
When not receiving the heartbeat message in the prefixed time interval, the association turns server and stops sending the second prison Control code stream, and the view networking number in the second monitoring code stream is unbinded.
2. the method according to claim 1, wherein the association, which turns server memory, contains multiple view networkings number Code;The association turns server and includes: the step of monitoring code stream for acquired first, generate the second monitoring code stream
The association turns server for the first acquired monitoring code stream, inquires the view connection being in idle condition itself stored Network No. code;
The association turns server and selects an idle view networking number and the first monitoring code stream binding, generates the second monitoring Code stream.
3. the method according to claim 1, wherein the method also includes:
The association turns server for the received heartbeat message of institute, and interval sends heartbeat feedback signal to the prison at preset timed intervals Control back-end server.
4. a kind of method of view networking number resource monitoring, which is characterized in that the method is applied in view networking, the view connection Net includes that binding has the association of multiple monitoring devices to turn server, turns the monitoring back-end services that server communication is connect with the association Device, and multiple monitor clients with the monitoring back-end server communication connection, which comprises
The monitoring back-end server receives the monitoring that the monitor client is sent and transfers request;Wherein, the monitoring is transferred Request is to be generated by monitor client when receiving the trigger action that monitoring is transferred;
The monitoring back-end server by it is described monitoring transfer request be sent to it is described association turn server;The association turns server use In transferring request according to the monitoring, obtains and transfer the first of the corresponding monitoring device of request with described monitor and monitor code stream, together Shi Shengcheng is requested for the heartbeat inspecting of the monitor client;
The monitoring back-end server receives the second monitoring code stream and the heartbeat inspecting request that the association turns server transmission; Wherein, the second monitoring code stream is to turn server by the association for the first acquired monitoring code stream, and described first is supervised Control code stream and one are depending on generating after networking number binding;
The second monitoring code stream is sent to the monitor client by the monitoring back-end server;The monitor client is used It is shown in by the second monitoring code stream;
The monitoring back-end server is requested according to the heartbeat inspecting, generates the heartbeat message for being directed to the monitor client;
The monitoring back-end server, which is spaced at preset timed intervals to the association, turns the server transmission heartbeat message;The association turns Server is used for when not receiving the heartbeat message, stops sending the second monitoring code stream, and monitor code stream for described second In view networking number unbundlings;
When not receiving the second monitoring code stream assisted and turn server transmission, the monitoring back-end server generates monitoring code Stream stops Data Concurrent and send to the monitor client;The monitor client is used to show monitoring code stream stopping data Show.
5. according to the method described in claim 4, it is characterized in that, the monitoring back-end server includes being in communication with each other connection Monitoring and scheduling server, monitoring shared server, the monitoring and scheduling server and the monitor client communicate to connect, described Monitoring shared server turns server communication with the association and connect.
6. a kind of device of view networking number resource monitoring, which is characterized in that described device is applied in view networking, the view connection Net includes that binding has the association of multiple monitoring devices to turn server, turns the monitoring back-end services that server communication is connect with the association Device, and multiple monitor clients with the monitoring back-end server communication connection, it includes with lower die that the association, which turns server, Block:
Request receiving module is transferred in monitoring, and request is transferred in the monitoring for receiving the monitoring back-end server forwarding;Wherein, institute Stating monitoring and transferring request is to be generated by monitor client when receiving the trigger action that monitoring is transferred;
Heartbeat inspecting requests generation module, for transferring request according to the monitoring, obtains and monitors that transfer request corresponding with described Monitoring device first monitoring code stream, while generate for the monitor client heartbeat inspecting request;
Second monitoring code stream generation module, for generating the second monitoring code stream for the first acquired monitoring code stream;Wherein, The second monitoring stream packet contains the view networking number with the first monitoring code stream binding;
Second monitoring code stream sending module, for the second monitoring code stream and heartbeat inspecting request to be sent to the prison Control back-end server;The monitoring back-end server is used to the second monitoring code stream being sent to the monitor client;Institute Monitor client is stated for showing the second monitoring code stream;
Heartbeat message receiving module, for being spaced the heartbeat message for receiving the monitoring back-end server and sending at preset timed intervals; Wherein, the heartbeat message is to be generated by the monitoring back-end server for heartbeat inspecting request;
Module being unbinded depending on networking number, when for not receiving the heartbeat message in the prefixed time interval, stopping hair The second monitoring code stream is sent, and the view networking number in the second monitoring code stream is unbinded.
7. device according to claim 6, which is characterized in that the association turns server memory and contains multiple view networkings number Code;The second monitoring code stream generation module includes following submodule:
Depending on number inquiry submodule of networking, for for acquired first monitoring code stream, inquire itself stored in sky The view networking number of not busy state;
Depending on number binding submodule of networking, for selecting an idle view networking number and the first monitoring code stream binding, Generate the second monitoring code stream.
8. a kind of device of view networking number resource monitoring, which is characterized in that described device is applied in view networking, the view connection Net includes that binding has the association of multiple monitoring devices to turn server, turns the monitoring back-end services that server communication is connect with the association Device, and with it is described monitoring back-end server communication connection multiple monitor clients, the monitoring back-end server include with Lower module:
Request forwarding module is transferred in monitoring, transfers request for receiving the monitoring that the monitor client is sent;Wherein, the prison It is to be generated by monitor client when receiving the trigger action that monitoring is transferred that control, which takes request,;
Monitoring transfer request sending module, for by it is described monitoring transfer request be sent to it is described association turn server;The association turns Server is used to transfer request according to the monitoring, obtains and transfers the first of the corresponding monitoring device of request with described monitor and monitor Code stream, while generating the heartbeat inspecting request for the monitor client;
Second monitoring code stream receiving module turns the second monitoring code stream and heartbeat prison of server transmission for receiving the association Survey request;Wherein, the second monitoring code stream is to turn server by the association for the first acquired monitoring code stream, will be described First monitoring code stream is with one depending on generating after number binding of networking;
Second monitoring code stream forwarding module, for the second monitoring code stream to be sent to the monitor client;The monitoring Client is used to show the second monitoring code stream;
Heartbeat message generation module, for being requested according to the heartbeat inspecting, the heartbeat generated for the monitor client is believed Breath;
Heartbeat message sending module turns the server transmission heartbeat message for being spaced at preset timed intervals to the association;It is described Association turns server and sends the second monitoring code stream for stopping when not receiving the heartbeat message, and described second is monitored View networking number unbundlings in code stream;
Code stream stops data transmission blocks, raw for when not receiving the association and turning the second monitoring code stream of server transmission Stop Data Concurrent at monitoring code stream to send to the monitor client;The monitor client is used to stop the monitoring code stream Data are shown.
9. a kind of device characterized by comprising
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, when being executed by one or more of processors, are made The methods for obtaining the one or more that described device is executed as described in claim 1-3 or 4.
10. one or more machine readable medias, which is characterized in that instruction is stored thereon with, when by one or more processors When execution, so that the processor executes one or more methods as described in claim 1-3 or 4.
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 true CN109525460A (en) 2019-03-26
CN109525460B 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)

Cited By (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
CN110191315A (en) * 2019-05-08 2019-08-30 视联动力信息技术股份有限公司 A kind of monitoring inspection method and device based on view networking
CN110401565A (en) * 2019-07-09 2019-11-01 视联动力信息技术股份有限公司 A kind of method and device alerted offline
CN110430208A (en) * 2019-08-13 2019-11-08 四川东方网力科技有限公司 A kind of video stream processing method, device, electronic equipment and storage medium
CN110505447A (en) * 2019-07-29 2019-11-26 视联动力信息技术股份有限公司 Monitor video transmission method, device, equipment and storage medium based on view networking
CN110572433A (en) * 2019-08-05 2019-12-13 视联动力信息技术股份有限公司 Video scheduling method, system and device
CN110809023A (en) * 2019-09-25 2020-02-18 视联动力信息技术股份有限公司 Communication connection establishing method and device based on video networking
CN110868317A (en) * 2019-09-30 2020-03-06 视联动力信息技术股份有限公司 Equipment monitoring method and device, electronic equipment and storage medium
CN111835717A (en) * 2020-06-04 2020-10-27 视联动力信息技术股份有限公司 Monitoring code stream obtaining method and device and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100274891A1 (en) * 2009-04-27 2010-10-28 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
CN106550282A (en) * 2015-09-17 2017-03-29 北京视联动力国际信息技术有限公司 A kind of player method and system of video data
CN106792245A (en) * 2016-11-22 2017-05-31 广州华多网络科技有限公司 Direct broadcasting room video flowing synthetic method, device and terminal device
CN106817428A (en) * 2017-02-13 2017-06-09 浙江风向标科技有限公司 A kind of method and apparatus of offline inspection
CN108206934A (en) * 2016-12-16 2018-06-26 北京视联动力国际信息技术有限公司 A kind of monitor video sharing method and device
CN108228338A (en) * 2016-12-22 2018-06-29 北京视联动力国际信息技术有限公司 One kind regards networked resources management method and system
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100274891A1 (en) * 2009-04-27 2010-10-28 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
CN106550282A (en) * 2015-09-17 2017-03-29 北京视联动力国际信息技术有限公司 A kind of player method and system of video data
CN106792245A (en) * 2016-11-22 2017-05-31 广州华多网络科技有限公司 Direct broadcasting room video flowing synthetic method, device and terminal device
CN108206934A (en) * 2016-12-16 2018-06-26 北京视联动力国际信息技术有限公司 A kind of monitor video sharing method and device
CN108228338A (en) * 2016-12-22 2018-06-29 北京视联动力国际信息技术有限公司 One kind regards networked resources management method and system
CN106817428A (en) * 2017-02-13 2017-06-09 浙江风向标科技有限公司 A kind of method and apparatus of offline inspection
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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈林: "基于视联网技术的出入境预警***设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (14)

* 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
CN110191315A (en) * 2019-05-08 2019-08-30 视联动力信息技术股份有限公司 A kind of monitoring inspection method and device based on view networking
CN110401565A (en) * 2019-07-09 2019-11-01 视联动力信息技术股份有限公司 A kind of method and device alerted offline
CN110505447B (en) * 2019-07-29 2021-08-20 视联动力信息技术股份有限公司 Monitoring video transmission method, device, equipment and storage medium based on video networking
CN110505447A (en) * 2019-07-29 2019-11-26 视联动力信息技术股份有限公司 Monitor video transmission method, device, equipment and storage medium based on view networking
CN110572433A (en) * 2019-08-05 2019-12-13 视联动力信息技术股份有限公司 Video scheduling method, system and device
CN110572433B (en) * 2019-08-05 2022-03-11 视联动力信息技术股份有限公司 Video scheduling method, system and device
CN110430208A (en) * 2019-08-13 2019-11-08 四川东方网力科技有限公司 A kind of video stream processing method, device, electronic equipment and storage medium
CN110809023A (en) * 2019-09-25 2020-02-18 视联动力信息技术股份有限公司 Communication connection establishing method and device based on video networking
CN110809023B (en) * 2019-09-25 2022-08-19 视联动力信息技术股份有限公司 Communication connection establishing method and device based on video networking
CN110868317A (en) * 2019-09-30 2020-03-06 视联动力信息技术股份有限公司 Equipment monitoring method and device, electronic equipment and storage medium
CN110868317B (en) * 2019-09-30 2023-04-07 视联动力信息技术股份有限公司 Equipment monitoring method and device, electronic equipment and storage medium
CN111835717A (en) * 2020-06-04 2020-10-27 视联动力信息技术股份有限公司 Monitoring code stream obtaining method and device and readable storage medium
CN111835717B (en) * 2020-06-04 2023-05-12 视联动力信息技术股份有限公司 Method and device for acquiring monitoring code stream and readable storage medium

Also Published As

Publication number Publication date
CN109525460B (en) 2020-10-13

Similar Documents

Publication Publication Date Title
CN109525460A (en) A kind of method and apparatus of view networking number resource monitoring
CN108810456B (en) A kind of monitoring video flow transfers method and system
CN109729310A (en) Method and apparatus derived from a kind of monitoring inspection data
CN109714527A (en) A kind of method and apparatus of the control view networking camera in internet
CN109842519A (en) A kind of method and apparatus of preview video stream
CN109547728A (en) A kind of method and system of recorded broadcast source membership and recorded broadcast of session
CN109889779A (en) A kind for the treatment of method and apparatus of packet out-ordering
CN109547817A (en) A kind of method and apparatus for broadcasting view networked video video recording again in internet
CN109743550A (en) A kind of method and apparatus of monitoring data tune stream
CN109617961A (en) A kind of method and apparatus of the downloading view networked video video recording in internet
CN110049280A (en) The treating method and apparatus of monitoring data
CN109698818A (en) A kind of acquisition online user and the method and apparatus across streaming media communication
CN110177023A (en) A kind of communication connection detection method and device based on view networking
CN109873864A (en) A kind of communication connection method for building up and system based on view networking
CN109743284A (en) A kind of method for processing video frequency and system based on view networking
CN109194901A (en) A kind of method for processing video frequency and device based on view networking
CN109347930A (en) A kind of task processing method and device
CN109286775A (en) A kind of multi-person conference control method and system
CN110266577A (en) A kind of tunnel establishing method and view networked system
CN110417792A (en) Communication means, system, gateway and storage medium
CN110430388A (en) A kind of monitoring device control method, device and readable storage medium storing program for executing
CN109698790A (en) A kind of storage method and system regarding networking data
CN109842630A (en) Method for processing video frequency and device
CN109922297A (en) Call method and device
CN109769126A (en) A kind of method and apparatus of the view of the real-time playback in internet networking video recording

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