CN110519554A - Monitor and detection method and apparatus - Google Patents
Monitor and detection method and apparatus Download PDFInfo
- Publication number
- CN110519554A CN110519554A CN201810499662.6A CN201810499662A CN110519554A CN 110519554 A CN110519554 A CN 110519554A CN 201810499662 A CN201810499662 A CN 201810499662A CN 110519554 A CN110519554 A CN 110519554A
- Authority
- CN
- China
- Prior art keywords
- monitoring
- stream
- information
- online
- equipment
- 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
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 41
- 238000012544 monitoring process Methods 0.000 claims abstract description 345
- 238000012806 monitoring device Methods 0.000 claims abstract description 108
- 230000006855 networking Effects 0.000 claims abstract description 67
- 238000000034 method Methods 0.000 claims abstract description 48
- 230000005540 biological transmission Effects 0.000 claims abstract description 18
- 238000012360 testing method Methods 0.000 claims description 21
- 230000008569 process Effects 0.000 description 25
- 238000010586 diagram Methods 0.000 description 20
- 238000005516 engineering process Methods 0.000 description 20
- 230000006870 function Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 6
- 238000009826 distribution Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 5
- RTZKZFJDLAIYFH-UHFFFAOYSA-N Diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 4
- 230000002452 interceptive effect Effects 0.000 description 3
- 230000011664 signaling Effects 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 241000700605 Viruses Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000002155 anti-virotic effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003442 weekly effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Multimedia (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention provides a kind of monitor and detection method and apparatus, are applied in view networking, depending on including turning server and multiple monitoring devices depending on networked terminals, monitoring management platform, monitoring association in networking.Wherein method includes: that monitoring association turns server and receive monitoring management platform via the monitoring sent depending on networked terminals to check request;Monitoring checks that request includes that monitoring device identifies;Monitoring association turns server and identifies corresponding the first drawing of target monitoring equipment transmission stream request to monitoring device;If monitoring association turns server and receives drawing stream failure information and the first error reason information that target monitoring equipment draws stream request to return for first, the first of target monitoring equipment is generated online without stream information;Monitoring association turns server and is back to monitoring management platform via depending on networked terminals without stream information and the first error reason information online for first.The embodiment of the present invention substantially increases the treatment effeciency of monitoring problem, saves cost of labor.
Description
Technical field
The present invention relates to view networking technology fields, fill more particularly to a kind of monitor and detection method and a kind of monitor and detection
It sets.
Background technique
Video monitoring is the important component of safety and protection system.Video monitoring is intuitive with it, accurate, in time and information
It is abundant in content and be widely used in many occasions.In recent years, with computer, network and image procossing, transmission technology fly
Speed development, there has also been significant progresses for Video Supervision Technique.Traditional monitoring system include front end surveillance device, transmission cable,
Video monitoring platform.The monitor video of acquisition is transmitted to video monitoring platform by front end surveillance device, and user can supervise in video
It controls and checks real time monitoring video on the display of platform.
In the prior art, for user in checking monitoring video, it is online for often will appear the state of some monitoring device, but
It is the monitor video that video monitoring platform is not received by monitoring device acquisition, therefore does not also show the prison over the display
Control the monitor video of equipment acquisition.It for above situation, is usually looked into the reason of going wrong by operation maintenance personnel artificial nucleus, processing effect
Rate is lower, and cost of labor is higher.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind
A kind of monitor and detection method to solve the above problems and a kind of corresponding monitor and detection device.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of monitor and detection methods, which is characterized in that the side
Method is applied in view networking, includes view networked terminals, monitoring management platform in the view networking, monitors to assist and turn server and multiple
Monitoring device, which comprises
It is described monitoring association turn server receive the monitoring management platform via it is described view networked terminals transmission monitoring look into
See request;The monitoring checks that request includes that monitoring device identifies;
The monitoring association turns server to be asked to corresponding the first drawing of the target monitoring equipment transmission stream of monitoring device mark
It asks;
It receives the target monitoring equipment if monitoring association turns server and draws stream request to return for described first
Drawing stream failure information and the first error reason information, then generate the first of the target monitoring equipment online without stream information;
The monitoring association turns server for described first online without stream information and first error reason information via institute
It states and is back to the monitoring management platform depending on networked terminals.
Preferably, turn server in monitoring association and identify corresponding target monitoring equipment to the monitoring device to send the
After one the step of drawing stream request, further includes: turn server and receive the target monitoring equipment to be directed to if the monitoring is assisted
Described first draws the drawing stream successful information for flowing request return, then starts to receive the target monitoring equipment and draw for described first to flow
Request the first video flowing returned;If the monitoring association turns server and does not receive first video in the first preset time
Stream then generates the second of the target monitoring equipment online without stream information, and by described second online without stream information via described
The monitoring management platform is back to depending on networked terminals.
Preferably, if turning server in monitoring association receives the target monitoring equipment for the first drawing stream
The drawing stream successful information returned is requested, then starts to receive the target monitoring equipment draws that stream request returns for described first the
After the step of one video flowing, further includes: if monitoring association turns server and receives described first in the first preset time
Video flowing, then generate the target monitoring equipment has stream information online, and has stream information to join via the view online for described
Network termination is back to the monitoring management platform.
Preferably, the method also includes: monitoring associations to turn server after determining and meeting preset self-test condition, presses
The state that each monitoring device is successively detected according to the time interval of setting obtains the status information of each monitoring device;The prison
Control association turns server and the status information of each monitoring device is back to the monitoring management platform.
Preferably, the state for successively detecting each monitoring device at set time intervals obtains each monitoring
The step of status information of equipment, comprising:
The monitoring association turns server and successively sends second to each monitoring device according to the time interval of the setting
Draw stream request;
If the monitoring association, which turns server, receives the drawing that current monitor equipment draws stream request to return for described second
Failure information and the second error reason information are flowed, then generates the third of the current monitor equipment online without stream information, it will be described
Second error reason information and the third status information without stream information as the current monitor equipment online;
If the monitoring association, which turns server, receives the drawing that current monitor equipment draws stream request to return for described second
Successful information is flowed, then starts to receive the second video flowing that the current monitor equipment draws stream request to return for described second;
If monitoring association turns server does not receive second video flowing in the second preset time, generate described in
The 4th of current monitor equipment is online without stream information, using the described 4th online without stream information as the shape of the current monitor equipment
State information.
On the other hand, the embodiment of the invention also discloses a kind of monitor and detection device, described device is applied in view networking,
It is described depending on networking in include view networked terminals, monitoring management platform, monitoring assist turn server and multiple monitoring devices, the monitoring
Association turns server and includes:
Request receiving module is checked for receiving the monitoring management platform via the monitoring sent depending on networked terminals
Request;The monitoring checks that request includes that monitoring device identifies;
Request sending module is asked for identifying corresponding the first drawing of target monitoring equipment transmission stream to the monitoring device
It asks;
Information generating module, if drawing stream request to return for described first for receiving the target monitoring equipment
Stream failure information and the first error reason information is drawn, then generates the first of the target monitoring equipment online without stream information;
First information return module, for by described first online without stream information and first error reason information via
It is described to be back to the monitoring management platform depending on networked terminals.
Preferably, the monitoring association turns server further include: video reception module, if for receiving the target prison
The drawing stream successful information that equipment draws stream request to return for described first is controlled, then starts to receive the target monitoring equipment for institute
State the first video flowing that the request of the first drawing stream returns;Second information return module, if for the video reception module the
First video flowing is not received in one preset time, then generates the second of the target monitoring equipment online without stream information, and
The monitoring management platform is back to depending on networked terminals via described without stream information online by described second.
Preferably, the monitoring association turns server further include: third information return module, if being used for the video reception
Module receives first video flowing in the first preset time, then generate the target monitoring equipment has stream information online,
And there is stream information to be back to the monitoring management platform depending on networked terminals via described online for described.
Preferably, the monitoring association turns server further include: state detection module, for meeting preset self-test in determination
After condition, the state of each monitoring device is successively detected at set time intervals, obtains the state letter of each monitoring device
Breath;State return module, for the status information of each monitoring device to be back to the monitoring management platform.
Preferably, the state detection module includes:
Transmission unit successively sends the second drawing stream to each monitoring device for the time interval according to the setting and asks
It asks;
First return unit, if the drawing stream for drawing stream request to return for described second for receiving current monitor equipment
Failure information and the second error reason information then generate the third of the current monitor equipment online without stream information, by described
Two error reason informations and the third status information without stream information as the current monitor equipment online;
Receiving unit, if the drawing stream success for drawing stream request to return for described second for receiving current monitor equipment
Information then starts to receive the second video flowing that the current monitor equipment draws stream request to return for described second;
Second return unit, if not receiving second video in the second preset time for the receiving unit
Stream then generates the 4th of the current monitor equipment online without stream information, the described 4th is worked as described in without stream information online
The status information of preceding monitoring device.
In the embodiment of the present invention, when user passes through monitoring management platform checking monitoring video, touched on monitoring management platform
Request is checked in the monitoring that hair carries monitoring device mark, which is checked request via view networked terminals hair by monitoring management platform
It send to monitoring to assist and turns server, monitoring association turns server and sends the first drawing stream to the corresponding target monitoring equipment of monitoring device mark
Request.Target monitoring equipment draws stream request return to draw stream failure information and the first error reason for first if drawing loss to lose
Information generates target monitoring and sets if monitoring association turns server and receives drawing stream failure information and the first error reason information
Standby first returns without stream information and the first error reason information via view networked terminals online without stream information by first online
To monitoring management platform.Since when drawing loss to lose, monitoring management platform can receive error reason information, error reason letter
Breath can more intuitively show why loss is drawn to lose, and operation maintenance personnel can directly position asking for appearance according to error reason information
Topic, it is no longer necessary to it is artificial to verify, treatment effeciency is substantially increased, cost of labor is saved.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the invention;
Fig. 2 is a kind of hardware structural diagram of node server of the invention;
Fig. 3 is a kind of hardware structural diagram of access switch of the invention;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway;
Fig. 5 is a kind of step flow chart of monitor and detection method of the embodiment of the present invention one;
Fig. 6 is a kind of step flow chart of monitor and detection method of the embodiment of the present invention two;
Fig. 7 is a kind of interactive schematic diagram of equipment of the monitoring of the embodiment of the present invention three online without stream process of self-test;
Fig. 8 is a kind of flow diagram of the monitoring of the embodiment of the present invention three online without stream process of self-test;
Fig. 9 is a kind of equipment interaction schematic diagram of monitor video request process of the embodiment of the present invention three;
Figure 10 is a kind of flow diagram of monitor video request process of the embodiment of the present invention three;
Figure 11 is a kind of structural block diagram of monitor and detection device of the embodiment of the present invention four.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further 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.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
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 embodiment of the present invention 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 embodiments of the present invention:
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 embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification
Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just
There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters
The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into
0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN)
Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with
The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA | SA | Reserved | Label | Payload | CRC |
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its
In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position
Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, the monitor and detection scheme of the embodiment of the present invention is proposed, it then follows regard the association of networking
View is detected the drawing stream situation depending on monitor video in networking, is drawn with timely learning and be lost the reason of losing, processing is asked in time
Topic.
Embodiment one
Referring to Fig. 5, a kind of step flow chart of monitor and detection method of the embodiment of the present invention one is shown.This method can be with
Applied to regarding in networking, depending on may include turning server and multiple prisons depending on networked terminals, monitoring management platform, monitoring association in networking
Control equipment.
The monitor and detection method of the embodiment of the present invention may comprise steps of:
Step 501, monitoring association turns server and receives monitoring management platform to check and ask via the monitoring sent depending on networked terminals
It asks.
In the embodiment of the present invention, monitoring device is mainly used for acquiring monitor video, and monitoring association, which turns server, can pull prison
Control equipment acquisition video flowing, monitoring management platform be monitoring check with scheduling system, regard networked terminals as that can watch monitoring
The equipment of video.Monitoring management platform depending on networked terminals and is supervised with depending on that can be based on interacting depending on networking protocol between networked terminals
Control association turns can be based on networking protocol interaction be regarded between server, and monitoring management platform and monitoring association turn can be with base between server
In view networked interactive.
It, can be by being held on monitoring management platform when user wants to check the monitor video of some monitoring device acquisition
Row relevant operation checks request, monitoring check in request to may include the information such as monitoring device mark, the monitoring to trigger monitoring
Device identification is the mark of the target monitoring equipment to be checked.
Monitoring management platform obtains monitoring and checks request, by the way that monitoring is checked that request is sent to view networking depending on networking protocol
Terminal.After being received depending on networked terminals, by the way that monitoring is checked that request is sent to monitoring association and turns server depending on networking protocol.
Step 502, monitoring association turns server and to monitoring device identifies corresponding target monitoring equipment and send the first drawing stream to ask
It asks.
Monitoring association turns server and receives monitoring to check request, can identify according to monitoring device therein, set to monitoring
It is standby to identify corresponding the first drawing of target monitoring equipment transmission stream request.For example, monitoring association turns server and can set to target monitoring
Preparation send the request of the first drawing stream, and first can also be sent to monitoring device platform and draws stream request, then goes to determine by monitoring device platform
Target monitoring equipment is arrived in position.First draws stream request to pull the acquisition of target monitoring equipment for showing that monitoring association turns server wants
Video flowing.
Step 503, if monitoring association turns server and receives the drawing that target monitoring equipment draws stream request to return for first
Failure information and the first error reason information are flowed, then generates the first of target monitoring equipment online without stream information.
Target monitoring equipment or monitoring device platform are after receiving the request of the first drawing stream, it can be determined that draw stream whether at
Function, and corresponding information is returned to according to judging result.It is lost if drawing and being lost, target monitoring equipment can be asked for the first drawing stream
Return is asked to draw stream failure information and the first error reason information.
If monitoring association turn server receive target monitoring equipment for first draw stream request return drawing loss lose letter
Breath and the first error reason information then can be generated the first of target monitoring equipment online without stream information.First believes without stream online
Breath may include online no stream mode of target monitoring equipment etc., can be understood as monitor device resources state without stream mode online
To be online, but without hair stream.
Step 504, monitoring association turns server for first online without stream information and the first error reason information via view networking
Terminal is back to monitoring management platform.
Monitoring association turns server and is sent first online without stream information and the first error reason information by view networking protocol
View networked terminals are given, passes through again depending on networked terminals and sends it to monitoring management platform depending on networking protocol.Monitoring management platform can
To show in interface first online without stream information and the first error reason information.User online can be with without stream information according to first
Know that target monitoring equipment is currently in online without stream mode, target monitoring equipment can be known according to the first error reason information
In online without the concrete reason of stream mode.
In the embodiment of the present invention, since when drawing loss to lose, monitoring management platform can receive error reason information, the mistake
Accidentally cause information can more intuitively show why loss is drawn to lose, and operation maintenance personnel can be oriented directly according to error reason information
Existing problem, it is no longer necessary to it is artificial to verify, treatment effeciency is substantially increased, cost of labor is saved.
Embodiment two
Referring to Fig. 6, a kind of step flow chart of monitor and detection method of the embodiment of the present invention two is shown.This method can be with
Applied to regarding in networking, depending on may include turning server and multiple prisons depending on networked terminals, monitoring management platform, monitoring association in networking
Control equipment.
The monitor and detection method of the embodiment of the present invention may comprise steps of:
Step 601, monitoring association turns server and receives monitoring management platform to check and ask via the monitoring sent depending on networked terminals
It asks.
User interface can be provided on monitoring management platform, the relevant information of each monitoring device can be shown in interface,
Monitoring can also be provided in interface and check module, user is by asking to checking that module executes corresponding operating and can trigger monitoring and check
It asks.For example, can provide one for each monitoring device checks button, user clicks this and checks button, that is, can trigger to be directed to and be somebody's turn to do
Request is checked in the monitoring of monitoring device.For another example, an input frame can be set and one check button, user can be in input frame
The information (such as monitoring device mark) of input monitoring equipment, and click and check button, that is, it can trigger the prison for the monitoring device
Request is checked in control.The embodiment of the present invention checks the concrete mode of request and without restriction to triggering monitoring.
Monitoring is checked that request is sent to view networked terminals by monitoring management platform, then is asked by checking monitoring depending on networked terminals
It asks to be forwarded to monitoring and assist and turns server.
Step 602, monitoring association turns server and to monitoring device identifies corresponding target monitoring equipment and send the first drawing stream to ask
It asks.
Monitoring checks to may include the information such as the monitoring device mark of target monitoring equipment in request, and monitoring association turns server
It checks that request produces first and draws stream request according to monitoring, and sends first to target monitoring equipment and draw stream request.For example, monitoring
Association turns server can check in request that extracting monitoring device identifies from monitoring, identified according to monitoring device and obtain corresponding target prison
The drawing stream address of equipment is controlled, and identifies and draw stream address to be added to the request of the first drawing stream monitoring device.
Target monitoring equipment or monitoring device platform are after receiving the request of the first drawing stream, it can be determined that draw stream whether at
Function, and corresponding information is returned to according to judging result.Such as, it can be determined that target monitoring equipment whether there is, target monitoring is set
It is standby whether failure etc..It is lost if drawing and being lost, stream request can be drawn to return for first and draw stream failure information and the first mistake former
Because of information;If drawing is flowed successfully, stream request can be drawn to return for first and draw stream successful information.
Wherein, drawing stream successful information may include Success Flag etc., can know that drawing is flowed successfully according to Success Flag.Draw stream
Failure information may include failure flags etc., can know that drawing is lost according to failure flags and lose.First error reason information can be with
Including error code etc., the reason that mistake occurs can be known according to error code.For example, if it is with the error code of 40 beginnings, then
It may indicate that the reason of error reason is monitoring device itself, such as monitoring device is not present, monitoring equipment fault;If it is with
The error code of 50 beginnings, then may indicate that the reason of error reason is monitoring device platform, such as the server of monitoring device producer
Failure etc..
Step 603, if monitoring association turns server and receives the drawing that target monitoring equipment draws stream request to return for first
Flow failure information and the first error reason information, then generate the first of target monitoring equipment online without stream information, and by first
Line is back to monitoring management platform via depending on networked terminals without stream information and the first error reason information.
Monitoring association turn server if receive draw stream failure information if can determine drawing be lost lose, monitored in the case of this kind
Association, which turns server, can be generated the first of target monitoring equipment online without stream information, and wrong without stream information and first online by first
Accidentally cause information is back to view networked terminals, then by returning it to monitoring management platform, monitoring management platform depending on networked terminals
It can show first online without stream information and the first error reason information.User can be checked on monitoring management platform first
Line can know that target monitoring equipment is currently in without stream information online without stream information and the first error reason information, according to first
Online without stream mode, it can know that target monitoring equipment is in the specific original without stream mode online according to the first error reason information
Cause.
Step 604, if monitoring association turns server and receives the drawing that target monitoring equipment draws stream request to return for first
Successful information is flowed, then starts to receive the first video flowing that target monitoring equipment draws stream request to return for first.
Monitoring association, which turns server, can determine that drawing is flowed successfully if receiving and drawing stream successful information, monitor in the case of this kind
Association, which turns server, can start to receive the first video flowing that target monitoring equipment draws stream request to return for first.
Step 605, if monitoring association turns server and do not receive the first video flowing in the first preset time, target is generated
The second of monitoring device pats without stream information via being back to monitoring pipe depending on networked terminals online without stream information by second online
Platform.
If not receiving the first video flowing in the first preset time, monitoring association and turning server can be generated target monitoring
For the second of equipment online without stream information, second may include the online no stream mode etc. of target monitoring equipment without stream information online.
Monitoring association turns server and is back to view networked terminals without stream information online for second, then by being returned depending on networked terminals
It is back to monitoring management platform, monitoring management platform is shown second online without stream information.User can look on monitoring management platform
Second is seen online without stream information, can know that target monitoring equipment is currently in online without stream shape without stream information online according to second
State.Due to not receiving error reason information in the case of this kind, user can know that target monitoring equipment is in online without stream
The reason of the reason of state may not be monitoring device itself described in above-mentioned first error reason information or monitoring device are flat
The reason of platform server, and may be due to otherwise, such as due to network cause and video flowing can not be received
Deng.
Step 606, if monitoring association turns server and receives the first video flowing in the first preset time, target prison is generated
Control equipment has stream information online, and will have stream information to be back to monitoring management platform via depending on networked terminals online.
If receiving the first video flowing in the first preset time, monitors association and turn server target monitoring can be generated to set
Standby has stream information online, and having stream information online may include that the online of target monitoring equipment has stream mode etc..Monitoring association turns clothes
Business device will have stream information to be back to view networked terminals online, then by returning it to monitoring management platform depending on networked terminals, monitor
Management platform shows there is stream information online.User can check online on monitoring management platform stream information, according to having online
Stream information can know that target monitoring equipment is currently in and has a stream mode online.
In the case of this kind, monitoring association turn server can also by the first video stream received to regarding networked terminals,
The monitor video of the first video flowing namely the acquisition of displaying target monitoring device can be shown depending on networked terminals.
For the specific value of above-mentioned first preset time, those skilled in the art can be arranged arbitrarily according to the actual situation
Applicable value, for example be set as 3s, 5s etc., the embodiment of the present invention to this and it is without restriction.
Step 607, monitoring association turns server determine meet preset self-test condition after, at set time intervals according to
The state of secondary each monitoring device of detection obtains the status information of each monitoring device, and the status information of each monitoring device is returned
To monitoring management platform.
In the embodiment of the present invention, the self-test thread that monitoring association turns server can also be set.Monitoring association turns server true
Surely after meeting preset self-test condition, the self-test thread of starting step 607.Wherein, self-test condition can according to the actual situation into
Row setting, for example, self-test condition can be arranged according to the time, setting is every setting time (such as weekly or every ten days) self-test
Once.
In a preferred embodiment, the above-mentioned state for successively detecting each monitoring device at set time intervals,
The step of obtaining the status information of each monitoring device may include:
A1, monitoring association turn server and successively send the second drawing to each monitoring device according to the time interval of the setting
Stream request.
Monitoring association turns server and sends the second drawing stream request to some monitoring device, which is that current monitor is set
It is standby, second then, which is sent, to next monitoring device after reaching above-mentioned time interval draws stream request.Wherein, second stream request is drawn
It may include the information such as the drawing stream address of the mark of current monitor equipment, current monitor equipment.
For the specific value of above-mentioned time interval, those skilled in the art can be arranged any suitable according to the actual situation
Value, for example be set as 3s, 5s etc., the embodiment of the present invention to this and it is without restriction.
A2, if monitoring association turns server and receives the drawing stream that current monitor equipment draws stream request to return for described second
Failure information and the second error reason information then generate the third of the current monitor equipment online without stream information, by described
Two error reason informations and the third status information without stream information as the current monitor equipment online.
A3, if monitoring association turns server and receives the drawing stream that current monitor equipment draws stream request to return for described second
Successful information then starts to receive the second video flowing that the current monitor equipment draws stream request to return for described second.
A4, if monitoring association turns server and does not receive second video flowing in the second preset time, generate described in
The 4th of current monitor equipment is online without stream information, using the described 4th online without stream information as the shape of the current monitor equipment
State information.
It is substantially similar to the detailed process of 603~step 605 of above-mentioned steps for the detailed process of a2~a4, specifically may be used
With the associated description referring to 603~step 605 of above-mentioned steps, the embodiment of the present invention is not repeating to discuss herein.
For the specific value of above-mentioned second preset time, those skilled in the art can be arranged arbitrarily according to the actual situation
Applicable value, for example be set as 3s, 5s etc., the embodiment of the present invention to this and it is without restriction.
The embodiment of the present invention can satisfy the O&M requirement of user, improve the online rate of monitor video, image natural rate of interest.Monitoring
Association turns server and increases monitoring code stream self-test, equipment on-line detection function, promotes the accuracy for monitoring online rate, and clearly monitoring exists
Responsible party of the line without stream.
Embodiment three
The monitor and detection method of the embodiment of the present invention may include monitoring online without stream process of self-test and monitor video request
Process will respectively be illustrated two processes below.
Fig. 7 is a kind of interactive schematic diagram of equipment of the monitoring of the embodiment of the present invention three online without stream process of self-test.It can by Fig. 7
Know, monitoring online without stream process of self-test may include monitoring management platform, monitoring association turn server and monitoring device or platform it
Between interaction.Monitoring association turns server and turns server to monitoring device or platform drawing stream, monitoring device or platform to monitoring association and return
The state of returning, monitoring association turn server and are based on view networking protocol to monitoring management platform feedback information.
Fig. 8 is a kind of flow diagram of the monitoring of the embodiment of the present invention three online without stream process of self-test.As shown in Figure 8,
Monitoring may comprise steps of without stream process of self-test online:
A, monitoring association turn server according to configuration come determine whether start O&M detection, determine after starting O&M detection.
B, monitoring association turns server poll request monitoring resource namely poll sends to the monitor device resources of access and draws stream
Request.
C, monitoring device or platform receive the drawing stream request for turning server from monitoring association, determine whether to draw and flow successfully,
And it returns and whether successfully indicates.
D, when failure, monitoring device or platform turn server return drawing to monitoring association and are lost the error code lost and online without stream
Information.Monitoring association turns server and receives error code and online without stream information, be reported to monitoring by error code and online without stream information
Platform is managed, management platform receives error code and online without stream information, updates and arrive database, the page is done to be showed accordingly.
E, when success, monitoring association turns server and judges monitoring device or in platform 3 seconds either with or without signaling stream, if do not had
Signaling stream then will be reported to monitoring management platform without stream information online, and monitoring management platform receives online without stream information, and update is arrived
Database, the page is done to be showed accordingly.
Turn the state that server poll detects monitoring device by monitoring association, extends original monitoring device based on view networking
State reporting agreement, the monitoring resource apparatus state that will test and failure error code are reported to monitoring management platform, monitoring pipe
Platform updates the state of monitoring device in fact, shows accurate monitoring device state to user, allows users to intuitive, clear
See the state of monitoring device.
Fig. 9 is a kind of equipment interaction schematic diagram of monitor video request process of the embodiment of the present invention three.As shown in Figure 9,
Monitor video request process may include monitoring management platform, turn server and monitoring device or flat depending on networked terminals, monitoring association
Interaction between platform.Monitoring management platform is based on view networking protocol to view networked terminals hair request, is based on view connection depending on networked terminals
FidonetFido turns server forwarding request to monitoring association, and monitoring association turns server and draws stream to monitoring device or platform, monitoring device or
Platform turns server to monitoring association and returns to state, and monitoring association turns server and is based on view networking protocol to view networked terminals feedback letter
Breath is based on view networking protocol to monitoring management platform feedback information depending on networked terminals.
Figure 10 is a kind of flow diagram of monitor video request process of the embodiment of the present invention three.As shown in Figure 10, it supervises
Control video request process may comprise steps of:
A, monitoring management platform initiates monitoring depending on networked terminals upwards and checks request, receives request depending on networked terminals, forwards
It requests to turn server to monitoring association.
B, monitoring association turns video code flow of the server to monitoring device or platform request target monitoring equipment, namely sends and draw
Stream request.
C, monitoring association turns server will be sent by view networking protocol with the virtual terminal number of target monitoring apparatus bound
View networked terminals are given, are watched successfully depending on networked terminals return to monitoring management platform.
D, monitoring device or platform receive the drawing stream request for turning server from monitoring association, determine whether to draw and flow successfully,
And it returns and whether successfully indicates.
E, when success, monitoring association turns server and judges in 3 seconds whether receive code stream.It, will if not receiving code stream
Online without stream information by being sent to view networked terminals depending on networking protocol, prompt depending on networked terminals online without stream, and feed back to prison
Keyholed back plate platform, the page of monitoring management platform is done to be showed accordingly;If receiving code stream, there will be stream information to pass through view online
Networking protocol is sent to view networked terminals, shows monitor video picture depending on networked terminals, and feed back to monitoring management platform, monitors
Manage the state on the platform update page.
F, when failure, monitoring device or platform return to draw and are lost the error code lost and online without stream information.Monitoring association turns clothes
Business device receives error code and online without stream information, by error code and online without stream information by being sent to view networking depending on networking protocol
Terminal depending on being shown on networked terminals online without stream information and error code, and feeds back to monitoring management platform, and monitoring management platform is more
State and error code in new page.
User turns server depending on networked terminals Real time request monitoring association by monitoring management platform calling and watches monitoring device
It, then can be by regarding networking protocol if monitoring association turns server meeting and detects that monitoring device online without stream, is drawn to be lost and be lost when video
View networked terminals will be reported to without stream mode and error code online, feed back to monitoring management platform depending on networked terminals.
It is realized by the above both sides, by drawing the detailed error information being lost when losing to feed back, user can directly exist
Monitoring management platform sees error message, improves the accuracy of the online rate of monitoring device, specify monitoring device online without stream when
Responsible party.Solve the problems, such as that the problem of user sees when monitoring device does not watch monitor video but online feedback and source chase after
Track promotes the accuracy for monitoring online rate, and responsible party when clearly monitoring online without stream improves working efficiency, saves manpower
Cost.
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, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, 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 the related movement not necessarily present invention is implemented
Necessary to example.
Example IV
Referring to Fig.1 1, show a kind of structural block diagram of monitor and detection device of the embodiment of the present invention four.The device can be with
Applied to view networking in, view networking in include view networked terminals, monitoring management platform, monitoring assist turn server and it is multiple monitor set
It is standby.
It may include with lower module that the monitoring association of the embodiment of the present invention, which turns server:
Request receiving module 1101, the monitoring sent for receiving the monitoring management platform via the view networked terminals
Check request;The monitoring checks that request includes that monitoring device identifies;
Request sending module 1102 is flowed for identifying corresponding target monitoring equipment to the monitoring device and sending first and draw
Request;
Information generating module 1103, if drawing stream request to return for described first for receiving the target monitoring equipment
The drawing stream failure information and the first error reason information returned then generates the first of the target monitoring equipment online without stream information;
First information return module 1104 is used for described first online without stream information and first error reason information
The monitoring management platform is back to depending on networked terminals via described.
Preferably, the monitoring association, which turns server, to include:
Video reception module, if drawing stream request to return for described first for receiving the target monitoring equipment
Stream successful information is drawn, then starts to receive the first video flowing that the target monitoring equipment draws stream request to return for described first;
Second information return module, if not receiving described in the first preset time for the video reception module
One video flowing then generates the second of the target monitoring equipment online without stream information, and described second is passed through without stream information online
The monitoring management platform is back to depending on networked terminals by described.
Preferably, the monitoring association, which turns server, to include:
Third information return module, if receiving described first in the first preset time for the video reception module
Video flowing, then generate the target monitoring equipment has stream information online, and has stream information to join via the view online for described
Network termination is back to the monitoring management platform.
Preferably, the monitoring association, which turns server, to include:
State detection module, for successively being examined after determination meets preset self-test condition at set time intervals
The state for surveying each monitoring device obtains the status information of each monitoring device;
State return module, for the status information of each monitoring device to be back to the monitoring management platform.
Preferably, the state detection module may include:
Transmission unit successively sends the second drawing stream to each monitoring device for the time interval according to the setting and asks
It asks;
First return unit, if the drawing stream for drawing stream request to return for described second for receiving current monitor equipment
Failure information and the second error reason information then generate the third of the current monitor equipment online without stream information, by described
Two error reason informations and the third status information without stream information as the current monitor equipment online;
Receiving unit, if the drawing stream success for drawing stream request to return for described second for receiving current monitor equipment
Information then starts to receive the second video flowing that the current monitor equipment draws stream request to return for described second;
Second return unit, if not receiving second video in the second preset time for the receiving unit
Stream then generates the 4th of the current monitor equipment online without stream information, the described 4th is worked as described in without stream information online
The status information of preceding monitoring device.
In the embodiment of the present invention, since when drawing loss to lose, monitoring management platform can receive error reason information, the mistake
Accidentally cause information can more intuitively show why loss is drawn to lose, and operation maintenance personnel can be oriented directly according to error reason information
Existing problem, it is no longer necessary to it is artificial to verify, treatment effeciency is substantially increased, cost of labor is saved.
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 embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention 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 invention 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 invention be referring to according to the method for the embodiment of the present invention, 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 the preferred embodiment of the embodiment of the present invention has 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 fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of monitor and detection method provided by the present invention and a kind of monitor and detection device, detailed Jie has been carried out
It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair
Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage
Solution is limitation of the present invention.
Claims (10)
1. a kind of monitor and detection method, which is characterized in that the method is applied in view networking, includes view connection in the view networking
Network termination, monitoring management platform, monitoring association turn server and multiple monitoring devices, which comprises
The monitoring association turns server and receives the monitoring management platform to check and ask via the monitoring of the view networked terminals transmission
It asks;The monitoring checks that request includes that monitoring device identifies;
The monitoring association turns server and identifies corresponding the first drawing of target monitoring equipment transmission stream request to the monitoring device;
If the monitoring association, which turns server, receives the drawing that the target monitoring equipment draws stream request to return for described first
Failure information and the first error reason information are flowed, then generates the first of the target monitoring equipment online without stream information;
The monitoring association turns server for described first online without stream information and first error reason information via the view
Networked terminals are back to the monitoring management platform.
2. the method according to claim 1, wherein turning server to the monitoring device mark in monitoring association
After the step of knowing corresponding the first drawing of target monitoring equipment transmission stream request, further includes:
If the monitoring association, which turns server, receives the drawing that the target monitoring equipment draws stream request to return for described first
Successful information is flowed, then starts to receive the first video flowing that the target monitoring equipment draws stream request to return for described first;
If the monitoring association turns server and do not receive first video flowing in the first preset time, the target is generated
The second of monitoring device is back to institute depending on networked terminals via described without stream information online for described second online without stream information
State monitoring management platform.
3. according to the method described in claim 2, it is characterized in that, if turning server in monitoring association receives the mesh
The drawing stream successful information that monitoring device draws stream request to return for described first is marked, then starts to receive the target monitoring equipment needle
After the step of drawing stream to request the first video flowing returned to described first, further includes:
If the monitoring association turns server and receives first video flowing in the first preset time, the target prison is generated
Control equipment has stream information online, and has stream information to be back to the monitoring management depending on networked terminals via described online for described
Platform.
4. the method according to claim 1, wherein the method also includes:
The monitoring association turns server after determination meets preset self-test condition, and successively detection is each at set time intervals
The state of monitoring device obtains the status information of each monitoring device;
The monitoring association turns server and the status information of each monitoring device is back to the monitoring management platform.
5. according to the method described in claim 4, it is characterized in that, described successively detect each monitoring at set time intervals
The state of equipment, the step of obtaining the status information of each monitoring device, comprising:
The monitoring association turns server and successively sends the second drawing stream to each monitoring device according to the time interval of the setting
Request;
If it is described monitoring association turn server receive current monitor equipment for it is described second draw stream request return drawing be lost
Information and the second error reason information are lost, then generates the third of the current monitor equipment online without stream information, by described second
Error reason information and the third status information without stream information as the current monitor equipment online;
If it is described monitoring association turn server receive current monitor equipment for it is described second draw stream request return drawing stream at
Function information then starts to receive the second video flowing that the current monitor equipment draws stream request to return for described second;
If the monitoring association turns server and do not receive second video flowing in the second preset time, generate described current
The 4th of monitoring device believes without stream information as the state of the current monitor equipment online without stream information using the described 4th online
Breath.
6. a kind of monitor and detection device, which is characterized in that described device is applied in view networking, includes view connection in the view networking
Network termination, monitoring management platform, monitoring association turn server and multiple monitoring devices, and the monitoring association turns server and includes:
Request receiving module is checked and is asked via the monitoring sent depending on networked terminals for receiving the monitoring management platform
It asks;The monitoring checks that request includes that monitoring device identifies;
Request sending module flows request for identifying corresponding target monitoring equipment to the monitoring device and sending first and draw;
Information generating module, if the drawing stream for drawing stream request to return for described first for receiving the target monitoring equipment
Failure information and the first error reason information then generate the first of the target monitoring equipment online without stream information;
First information return module is used for described first online without stream information and first error reason information via described
The monitoring management platform is back to depending on networked terminals.
7. device according to claim 6, which is characterized in that the monitoring association turns server further include:
Video reception module, if the drawing stream for drawing stream request to return for described first for receiving the target monitoring equipment
Successful information then starts to receive the first video flowing that the target monitoring equipment draws stream request to return for described first;
Second information return module, if not receiving first view in the first preset time for the video reception module
Frequency flows, then generates the second of the target monitoring equipment online without stream information, and by described second online without stream information via institute
It states and is back to the monitoring management platform depending on networked terminals.
8. device according to claim 7, which is characterized in that the monitoring association turns server further include:
Third information return module, if receiving first video in the first preset time for the video reception module
Stream, then generate the target monitoring equipment has stream information online, and has stream information to network eventually via the view online for described
End is back to the monitoring management platform.
9. device according to claim 6, which is characterized in that the monitoring association turns server further include:
State detection module, for after determination meets preset self-test condition, successively detection to be each at set time intervals
The state of monitoring device obtains the status information of each monitoring device;
State return module, for the status information of each monitoring device to be back to the monitoring management platform.
10. device according to claim 9, which is characterized in that the state detection module includes:
Transmission unit successively sends second to each monitoring device for the time interval according to the setting and draws stream request;
First return unit, if lost for receiving current monitor equipment for the drawing loss that described second draws stream request to return
Information and the second error reason information then generate the third of the current monitor equipment online without stream information, by second mistake
Miss cause information and the third status information without stream information as the current monitor equipment online;
Receiving unit, if successfully believed for receiving the drawing stream that current monitor equipment draws stream request to return for described second
Breath then starts to receive the second video flowing that the current monitor equipment draws stream request to return for described second;
Second return unit, if not receiving second video flowing in the second preset time for the receiving unit,
The 4th of the current monitor equipment is generated online without stream information, using the described 4th online without stream information as the current monitor
The status information of equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810499662.6A CN110519554B (en) | 2018-05-22 | 2018-05-22 | Monitoring detection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810499662.6A CN110519554B (en) | 2018-05-22 | 2018-05-22 | Monitoring detection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110519554A true CN110519554A (en) | 2019-11-29 |
CN110519554B CN110519554B (en) | 2021-08-06 |
Family
ID=68621805
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810499662.6A Active CN110519554B (en) | 2018-05-22 | 2018-05-22 | Monitoring detection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110519554B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110958396A (en) * | 2019-12-23 | 2020-04-03 | 视联动力信息技术股份有限公司 | Holder control method and device, electronic equipment and storage medium |
CN111131788A (en) * | 2019-12-27 | 2020-05-08 | 视联动力信息技术股份有限公司 | Monitoring resource state detection method and device and computer readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102111310A (en) * | 2010-12-31 | 2011-06-29 | 网宿科技股份有限公司 | Method and system for monitoring content delivery network (CDN) equipment status |
CN102387038A (en) * | 2011-10-20 | 2012-03-21 | 赛特斯网络科技(南京)有限责任公司 | Network video fault positioning system and method based on video detection and comprehensive network management |
CN102413356A (en) * | 2011-12-30 | 2012-04-11 | 武汉烽火众智数字技术有限责任公司 | Video definition detection system and detection method thereof |
CN102740112A (en) * | 2012-06-18 | 2012-10-17 | 苏州科达科技有限公司 | Method for controlling equipment polling based on video monitoring system |
CN203933852U (en) * | 2013-12-15 | 2014-11-05 | 郑州新力光电技术有限公司 | Crawl device video line carrier wave control device |
CN105335271A (en) * | 2015-09-24 | 2016-02-17 | 浪潮电子信息产业股份有限公司 | State monitoring apparatus and comprehensive monitoring system and method |
CN105354131A (en) * | 2015-12-11 | 2016-02-24 | 北京慧眼智行科技有限公司 | Monitoring method for running of service program and device |
CN105808422A (en) * | 2014-12-31 | 2016-07-27 | 北京视联动力国际信息技术有限公司 | Network-based software test method, client and to-be-tested equipment |
US20160248958A1 (en) * | 2013-10-28 | 2016-08-25 | Canon Kabushiki Kaisha | Image capturing apparatus, external apparatus, image capturing system, method for controlling image capturing apparatus, computer program, and computer-readable storage medium |
CN106550282A (en) * | 2015-09-17 | 2017-03-29 | 北京视联动力国际信息技术有限公司 | A kind of player method and system of video data |
-
2018
- 2018-05-22 CN CN201810499662.6A patent/CN110519554B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102111310A (en) * | 2010-12-31 | 2011-06-29 | 网宿科技股份有限公司 | Method and system for monitoring content delivery network (CDN) equipment status |
CN102387038A (en) * | 2011-10-20 | 2012-03-21 | 赛特斯网络科技(南京)有限责任公司 | Network video fault positioning system and method based on video detection and comprehensive network management |
CN102413356A (en) * | 2011-12-30 | 2012-04-11 | 武汉烽火众智数字技术有限责任公司 | Video definition detection system and detection method thereof |
CN102740112A (en) * | 2012-06-18 | 2012-10-17 | 苏州科达科技有限公司 | Method for controlling equipment polling based on video monitoring system |
US20160248958A1 (en) * | 2013-10-28 | 2016-08-25 | Canon Kabushiki Kaisha | Image capturing apparatus, external apparatus, image capturing system, method for controlling image capturing apparatus, computer program, and computer-readable storage medium |
CN203933852U (en) * | 2013-12-15 | 2014-11-05 | 郑州新力光电技术有限公司 | Crawl device video line carrier wave control device |
CN105808422A (en) * | 2014-12-31 | 2016-07-27 | 北京视联动力国际信息技术有限公司 | Network-based software test method, client and to-be-tested equipment |
CN106550282A (en) * | 2015-09-17 | 2017-03-29 | 北京视联动力国际信息技术有限公司 | A kind of player method and system of video data |
CN105335271A (en) * | 2015-09-24 | 2016-02-17 | 浪潮电子信息产业股份有限公司 | State monitoring apparatus and comprehensive monitoring system and method |
CN105354131A (en) * | 2015-12-11 | 2016-02-24 | 北京慧眼智行科技有限公司 | Monitoring method for running of service program and device |
Non-Patent Citations (3)
Title |
---|
何明: "《物联网与数字营区》", 31 January 2014, 国防工业出版社 * |
徐幸荣: "低压配电设备故障诊断及运行监控系统", 《科技与创新》 * |
林晟: "基于B_S模式的视频监控系统的设计与实现", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110958396A (en) * | 2019-12-23 | 2020-04-03 | 视联动力信息技术股份有限公司 | Holder control method and device, electronic equipment and storage medium |
CN111131788A (en) * | 2019-12-27 | 2020-05-08 | 视联动力信息技术股份有限公司 | Monitoring resource state detection method and device and computer readable storage medium |
CN111131788B (en) * | 2019-12-27 | 2022-11-04 | 视联动力信息技术股份有限公司 | Monitoring resource state detection method and device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110519554B (en) | 2021-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108075920B (en) | A kind of management method and system regarding networked terminals | |
CN108023910A (en) | A kind of terminal monitoring method and system based on regarding networking | |
CN108881361B (en) | A kind of data push method and device based on view networking | |
CN110233984A (en) | A kind of monitoring system and method based on view networking | |
CN109672856A (en) | Resource synchronization method and device | |
CN108880850A (en) | A kind of method and apparatus regarding networked terminals fault detection | |
CN109889780A (en) | Method of data synchronization and device | |
CN109257253A (en) | A kind of method and apparatus of APP operational monitoring | |
CN109842519A (en) | A kind of method and apparatus of preview video stream | |
CN109818776A (en) | Micro services module exception localization method and device | |
CN109660756A (en) | A kind of monitoring inspection method and device based on view networking | |
CN110381030A (en) | A kind of processing method and processing device of synchronization request | |
CN109218093A (en) | A kind of method and system obtaining alarm | |
CN108881895A (en) | A kind of malfunction elimination method and apparatus based on view networking | |
CN109284265A (en) | A kind of date storage method and system | |
CN109194915A (en) | A kind of processing method and system of video data | |
CN110519072A (en) | A kind of method for inspecting, system and device | |
CN110475113A (en) | Monitoring equipment fault processing method and processing device based on view networking | |
CN110365937A (en) | Unmanned plane information displaying method and system | |
CN110048903A (en) | A kind of association turns gateway status monitoring method and device | |
CN109802952A (en) | Monitoring data synchronous method and device | |
CN109525463A (en) | A kind of method and apparatus of 64 view networking protocol communication functions of detection | |
CN110519554A (en) | Monitor and detection method and apparatus | |
CN110417792A (en) | Communication means, system, gateway and storage medium | |
CN110392233A (en) | Monitor video processing method, device 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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013 Patentee after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region after: China Address before: 100000 Beijing Dongcheng District gogoa building A1103-1113 Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region before: China |