Invention content
In view of the above problems, it is proposed that the embodiment of the present invention overcoming the above problem or at least partly in order to provide one kind
A kind of monitoring method based on monitoring system to solve the above problems and a kind of monitoring device.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of monitoring method based on monitoring system, the prisons
Control system include multiple monitoring networks, the monitoring server with more network interface cards, regard networked server and it is multiple regard networked terminals, institute
It includes at least one monitoring device to state in monitoring network;
Each monitoring dedicated network interface card of Web vector graphic passes through monitoring server described in linking Internet;The monitoring server base
In described regarding networked server regarding networking connection;
The method includes:
The monitoring server is to the unique corresponding first network of monitoring device configuration in the multiple monitoring network
The first network address and the monitoring network residing for the monitoring device and second in residing monitoring network are established in location
The first correspondence between network address establishes the second corresponding pass between the monitoring network and corresponding dedicated network interface card
System;
By the first network address of configuration by it is described regard networked server be sent to it is described regarding networked terminals;
It receives through the first object network address chosen from multiple first network addresses depending on networked terminals;
According to first correspondence determine the corresponding target monitoring network of the first object network address and
The second destination network addresses in the target monitoring network determine the target monitoring network according to second correspondence
Corresponding target network interface card;
Establish the interconnection Netcom between the second destination network addresses in the target monitoring network and the target network interface card
Believe channel;
The order for obtaining video image is sent to the target monitoring equipment by the internet communication channel;
The target monitoring equipment is received for the order acquisition for obtaining video image and by the interconnection Netcom
Believe the video image of channel feedback;
It is described regarding networked terminals based on the video image is sent to depending on networking.
Optionally, described described regarding networked terminals based on the video image is sent to depending on networking, including:
The video image of the internet protocol-based of target monitoring equipment feedback is converted to based on regarding networking protocol
Video image;
By it is described based on the video image depending on networking protocol be sent to it is described regard networked server so that described regard networking clothes
Described be sent to based on the video image depending on networking protocol described is regarded networked terminals by business device.
Optionally, the first network address by configuration is sent to described regard depending on networked server described in and joins
Network termination, including:
It is based on regarding the first network address of networking protocol by the first network address conversion of configuration;
By it is described based on the first network address depending on networking protocol be sent to it is described regard networked server so that described regard connection
Described be sent to based on the first network address depending on networking protocol described is regarded networked terminals by network server.
Optionally, the interface mode of the network interface card includes at least one of sdk, rtsp, gb28181.
Optionally, the monitoring device includes at least one of NVR, DVR, IP camer, encoder.
To solve the above-mentioned problems, it the embodiment of the invention also discloses a kind of monitoring device, is deployed in monitoring system and has
There are the monitoring server of more network interface cards, the monitoring system to further include multiple monitoring networks, network regarding networked server and multiple regard
Terminal includes at least one monitoring device in the monitoring network;
Each monitoring dedicated network interface card of Web vector graphic passes through monitoring server described in linking Internet;The monitoring server base
In described regarding networked server regarding networking connection;
Described device includes:
Network address configuration module, for the monitoring device configuration unique corresponding first in the multiple monitoring network
Network address establishes monitoring network residing for the first network address and the monitoring device and in residing monitoring network
The second network address between the first correspondence, establish it is described monitoring network and corresponding dedicated network interface card between second
Correspondence;
Network address sending module, the first network address for that will configure are sent by the networked server that regards
Networked terminals are regarded to described;
Destination network addresses receiving module is selected depending on networked terminals from multiple first network addresses for receiving by described
The first object network address taken;
Target monitoring network and target network interface card determining module, for determining first mesh according to first correspondence
The corresponding target monitoring network of network address and the second destination network addresses in the target monitoring network are marked, according to institute
It states the second correspondence and determines the corresponding target network interface card of the target monitoring network;
Communication port establishes module, for establishing the second destination network addresses in the target monitoring network and the mesh
Mark the internet communication channel between network interface card;
Order sending module is obtained, for being sent to the order for obtaining video image by the internet communication channel
The target monitoring equipment;
Video image receiving module is adopted for receiving the target monitoring equipment for the order for obtaining video image
The video image for collecting and being fed back by the internet communication channel;
Video image sending module, it is described regarding networked terminals for being based on being sent to the video image depending on networking.
Optionally, the video image sending module includes:
First protocol conversion submodule, the video figure of the internet protocol-based for feeding back the target monitoring equipment
As being converted to based on the video image regarding networking protocol;
Video image sending submodule, for described be sent to based on the video image depending on networking protocol described to be regarded networking
Server, so that described described regard networking eventually depending on networked server by described be sent to based on the video image depending on networking protocol
End.
Optionally, the network address sending module includes:
Second protocol transform subblock, the first network address conversion for that will configure are based on regarding networking protocol
First network address;
Network address sending submodule, for being sent to described regard based on the first network address depending on networking protocol by described
Networked server, so that described be sent to described regard by described depending on networked server based on the first network address depending on networking protocol
Networked terminals.
Optionally, the interface mode of the network interface card includes at least one of sdk, rtsp, gb28181.
Optionally, the monitoring device includes at least one of NVR, DVR, IP camer, encoder.
The embodiment of the present invention includes following advantages:
Embodiment according to the present invention, each dedicated network interface card of Web vector graphic that monitors have the prison of more network interface cards by linking Internet
Control server;Monitoring server is to the unique corresponding first network address of monitoring device configuration in multiple monitoring networks;It will match
The first network address set depending on networked server by being sent to regarding networked terminals;Receive by chosen depending on networked terminals first
Destination network addresses;Determine the corresponding target monitoring network of first object network address, the second mesh in target monitoring network
Mark network address and target network interface card;Internet communication channel is established, and video image is obtained by internet communication channel;Base
It is described regarding networked terminals in being sent to the video image depending on networking.Through the embodiment of the present invention, one has more network interface cards
Monitoring server can access multiple monitoring networks simultaneously, save server resource;And monitoring server is monitoring network
In the unique corresponding first network address of monitoring device configuration built after choosing first object network address regarding networked terminals
The vertical internet communication channel with target monitoring equipment avoids to accurately obtain video image due to different monitoring network
In monitoring device network address having the same when there is a situation where mistakes to obtain video image.
Specific implementation mode
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is described in further detail.
To make those skilled in the art more fully understand the embodiment of the present invention, below to being introduced depending on networking:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Network technology innovation depending on networking improves traditional ethernet (Ethernet), potential huge on network to face
Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network
Switching), Streaming demands are met using Packet Switching depending on networking technology.Has grouping depending on networking technology
Flexible, the simple and low price exchanged, is provided simultaneously with quality and the 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)
Depending on two advantages of asynchronous and packet switch networked using Ethernet, it is scarce under the premise of complete be compatible with to eliminate Ethernet
It falls into, has the end-to-end seamless connection of the whole network, direct user terminal directly carries IP data packets.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 realizes at present mutually
The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous Internet 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 include signaling and data transmission.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
State-of-the-art real time operating system is used, 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 for typical time to be 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 internets ad eundem IP, but
The concurrent flow more than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Structural design depending on networking 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, fire wall generally, has prevented black
The attack of visitor and virus, provide structural carefree secure network to the user.
Service innovative technology (Service Innovation Technology)
Business and transmission are merged 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 substituted using " menu type " with table schema traditional
Complicated applications program, and can use considerably less code that complicated application can be realized, and 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 Ethernet can be connected.
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 be formed regarding 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 depending on the equipment in networking:Server, 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.
The equipment of 1.2 wherein access 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 particular hardware structure of each access network equipment is:
Node server:
As shown in Fig. 2, including mainly 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 to the packet come in look into the operation of address table 205, 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 if meeting the following conditions:1) port
It is less than to send caching;2) the queue package counting facility is more than zero.Disk array module 204 mainly realizes the control to hard disk, including
The operations 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, including mainly 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,
Corresponding flow identifier (stream-id) is then distributed, and enters switching engine module 303, is otherwise abandoned;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 to the packet come in look into the operation of address table 306, to obtain the navigation information of packet;
It is gone toward uplink network interface if the packet into switching engine module 303 is downstream 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:
It is gone toward uplink network interface if the queue is downstream 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 more than zero;3) token that rate control module generates is obtained;
It is gone toward uplink network interface if the queue is not downstream network interface, meets the following conditions and be forwarded:
1) it is less than to send caching for the port;2) the queue package counting facility is more than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval
The pack buffer queue that interface is gone toward uplink network interface generates token, to control the code check 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, including mainly 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 add modules 409, MAC removing modules 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
The ethernet mac DA of measured data packet, ethernet mac SA, Ethernet length or frame type, networking mesh way address is regarded
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 modules 410
(2byte), and enter corresponding order caching, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, if there is Bao Ze regarding with networking mesh according to packet
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:
Include mainly 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 includes mainly Network Interface Module, video encoding engine
Module, CPU module;Memory includes mainly 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 includes mainly Network Interface Module, switching engine module and CPU module;Metropolitan area server includes mainly
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
The data packet for accessing net includes mainly following sections:Destination address (DA), source address (SA), reserve bytes,
payload(PDU)、CRC。
As shown in the table, the data packet for accessing net includes mainly 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 parts payload have different length according to the type of different datagrams, are 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 computational methods follow 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
2 kinds can be all can exceed that 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 unique, is closed to accurately describe the connection between metropolitan area network equipment
System, introduces parameter in embodiments of the present invention:Label uniquely describes 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 device A and equipment B there are two connection, then data packet from device A to equipment B just
There are 2 labels, data packet also there are 2 labels from equipment B to device A.Label is divided into label, outgoing label, it is assumed that data packet enters
The label (entering label) of device A is 0x0000, and the label (outgoing label) when this data packet leaves device A may reform into
0x0001.The networking flow 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 is all dominated by metropolitan area server, and node switch, node server are all passive execution, 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) includes mainly 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 regarding networking, it is proposed that one of the core concepts of the embodiments of the present invention, using based on monitoring system
The monitoring method of system, to meet the needs of saving server resource.
With reference to Fig. 5, show the schematic diagram of the monitoring system of the present invention, the monitoring system include multiple monitoring networks,
Monitoring server with more network interface cards, regard networked server and it is multiple regard networked terminals, include at least one in the monitoring network
A monitoring device;
Each monitoring dedicated network interface card of Web vector graphic passes through monitoring server described in linking Internet;The monitoring server base
In described regarding networked server regarding networking connection.
In the present embodiment, there are monitoring server more network interface cards, each dedicated network interface card of Web vector graphic that monitors to access monitoring service
Device, as shown in figure 5, monitoring network 1 to 5 accesses monitoring server.Access protocol is Internet protocol, it is preferable that the network interface card
Interface mode include at least one of sdk, rtsp, gb28181.For example, the dedicated network interface card that monitoring network 1 uses uses
The interface mode of sdk, the dedicated network interface card that monitoring network 2 uses use the interface mode of rtsp.The embodiment of the present invention to this not
Make to limit in detail, can be configured according to actual conditions.
Include at least one monitoring device in each monitoring network, it is preferable that the monitoring device includes NVR, DVR, IP
At least one of camer, encoder.For example, including NVR in monitoring network 1, monitoring network 2 includes DVR and IP
camer.The embodiment of the present invention does not limit this in detail, can be configured according to actual conditions.
Monitoring server is based on regarding networked server regarding networking connection, multiple regarding networked terminals depending on networked server connection.
Monitoring server monitoring network Internet-based and based on depending on networking depending on networked server in play connection and conversion function.
With reference to Fig. 6, a kind of step flow chart of monitoring method embodiment based on monitoring system of the present invention, tool are shown
Body may include steps of:
Step 501, the monitoring server unique to the monitoring device configuration in the multiple monitoring network corresponding the
One network address establishes monitoring network residing for the first network address and the monitoring device and in residing monitoring network
In the second network address between the first correspondence, establish the between the monitoring network and corresponding dedicated network interface card
Two correspondences.
In the present embodiment, when the dedicated network interface card of monitoring Web vector graphic accesses monitoring server, monitoring server is monitoring network
The unique corresponding first network address of monitoring device configuration in network.For example, monitoring network 1 accesses monitoring service using network interface card 1
Device, monitoring network 2 access monitoring server using network interface card 2, and it includes NVR to monitor in network 1, and monitoring network 2 includes DVR and IP
Camer, then monitoring server is a.01 the NVR monitored in network 1 configures first network address, is matched for the DVR in monitoring network 2
It sets first network address a.02, first network address is configured a.03 for the IP camer in monitoring network 2.
Also, monitoring server establishes monitoring network residing for first network address and monitoring device and in residing prison
Control the first correspondence between the second network address in network.Match for example, monitoring server is the NVR monitored in network 1
After setting first network address a.01, establish first network address a.01, the second net in monitoring network 1 of monitoring network 1, NVR
Network address b.01 the first correspondence between three.Monitoring server is the DVR configuration first networks address monitored in network 2
A.02 after, establish first network address a.02, the second network address in monitoring network 2 of monitoring network 2, DVR b.01 three
Between the first correspondence.
Monitoring server establishes the second correspondence between monitoring network and corresponding dedicated network interface card.For example, monitoring
Server establishes the correspondence of monitoring network 1 and network interface card 1, monitors the correspondence of network 2 and network interface card 2.
Step 502, the first network address of configuration described regard is sent to described in depending on networked server to network
Terminal.
It, will after monitoring server configures first network address for the monitoring device in each monitoring network in the present embodiment
The first network address configured is sent to regarding networked server, by being sent to regarding networked terminals depending on networked server.For example,
Monitoring server is that after the NVR of monitoring network 1 configures first network address with DVR, IP camer in monitoring network 2, will match
A.01, a.02, a.03 that has set is sent to regarding networked server, depending on networked server again will a.01, a.02, be a.03 sent to and regard
Networked terminals 2.
Step 503, it receives through the first object network chosen from multiple first network addresses depending on networked terminals
Address.
In the present embodiment, the first network address of monitoring server configuration is sent to after networked terminals, can be regarding connection
Network termination setting shows that equipment is shown, and user chooses first object network address from multiple first network addresses.For example,
It receives depending on networked terminals 2 and a.01, a.02, is a.03 shown afterwards, a.02 user therefrom chooses.
First object network address is joined by regarding after receiving the first object network address of user's selection depending on networked terminals
Network server is sent to monitoring server.Monitoring server is received by being chosen from multiple first network addresses depending on networked terminals
First object network address.For example, a.02 user chooses after, it will be a.02 by being sent to depending on networked server depending on networked terminals
A.02 monitoring server, monitoring server receive first object network address.
Step 504, the corresponding target monitoring net of the first object network address is determined according to first correspondence
Network and the second destination network addresses in the target monitoring network determine the target according to second correspondence
Monitor the corresponding target network interface card of network.
In the present embodiment, after monitoring server receives first object network address, first is determined according to the first correspondence
The corresponding target monitoring network of destination network addresses, and the second destination network addresses in target monitoring network.For example, prison
After controlling server reception first object network address a.02, according to the correspondence a.02 with monitoring network 2, target monitoring is determined
Network is monitoring network 2, according to a.02 with correspondence b.01 in monitoring network 2, determining the in target monitoring network
Two destination network addresses be in monitoring network 2 b.01.
The corresponding target network interface card of target monitoring network is determined according to the second correspondence.For example, monitoring network 2 corresponds to network interface card
2, then target network interface card is network interface card 2.
Step 505, it establishes between the second destination network addresses in the target monitoring network and the target network interface card
Internet communication channel.
In the present embodiment, after determining the second destination network addresses and the target network interface card in target monitoring network, mesh is established
The internet communication channel between the second destination network addresses and target network interface card in mark monitoring network.For example, monitoring server
Establish the b.01 internet communication channel between network interface card 2 in monitoring network 2.Socket (sets may be used in communication port
Connect word), other modes, the embodiment of the present invention can also be used not to limit this, can be set according to actual conditions in detail
It sets.
Step 506, the order for obtaining video image is sent to by the target monitoring by the internet communication channel
Equipment.
In the present embodiment, after establishing internet communication channel, the order for obtaining video image is sent to by monitoring server
Target monitoring equipment.For example, monitoring server establishes the b.01 communication port with network interface card 2 in monitoring network 2, then monitoring server
The order for obtaining video image is sent to the DVR in monitoring network 2.Since the internet communication channel of foundation is according to target
Between the second destination network addresses and target network interface card in monitoring network, therefore the life of video image can be obtained with accurate delivery
It enables.For example, monitoring server establishes the b.01 communication port with network interface card 2 in monitoring network 2, then video image will not will be obtained
Order is sent to the b.01 corresponding NVR in monitoring network 1, the order for obtaining video image will not be sent to monitoring network
B.02 corresponding IP camer in 2.
Step 507, the target monitoring equipment is received to acquire and pass through described for the order for obtaining video image
The video image of internet communication channel feedback.
In the present embodiment, target monitoring equipment receives the acquisition video that monitoring server is sent by internet communication channel
The order of image acquires video image according to order, and the video image of acquisition is sent to prison by internet communication channel
Control server.Monitoring server receives the video image of target monitoring equipment feedback.For example, monitoring server will obtain video figure
The order of picture is sent in monitoring network 2 b.01 corresponding DVR by internet communication channel, and DVR will after acquiring video image
Video image feeds back to monitoring server by internet communication channel, and monitoring server receives the video image of DVR feedbacks.
Step 508, described regarding networked terminals based on the video image is sent to depending on networking.
In the present embodiment, monitoring server receives the video image of target monitoring equipment feedback, and video image is sent to
Depending on networked server, it is then forwarded to regarding networked terminals depending on networked server.For example, choosing first object net regarding networked terminals 2
Network address, then monitoring server the video image of acquisition is sent to after networked server, depending on networked server by video figure
As being sent to regarding networked terminals 2.
In conclusion in the embodiment of the present invention, it is each to monitor the dedicated network interface card of Web vector graphic by linking Internet with more
The monitoring server of network interface card;Monitoring server is to the unique corresponding first network of monitoring device configuration in multiple monitoring networks
Location;By the first network address of configuration by being sent to regarding networked terminals depending on networked server;It receives by regarding networked terminals choosing
The first object network address taken;Determine the corresponding target monitoring network of first object network address, in target monitoring network
The second destination network addresses and target network interface card;Internet communication channel is established, and is obtained and is regarded by internet communication channel
Frequency image;It is described regarding networked terminals based on the video image is sent to depending on networking.Through the embodiment of the present invention, one has
The monitoring server of more network interface cards can access multiple monitoring networks simultaneously, save server resource;And monitoring server is
The unique corresponding first network address of monitoring device configuration in network is monitored, regarding networked terminals selection first object network
Behind location, the internet communication channel with target monitoring equipment is established, to accurately obtain video image, is avoided due to different prisons
Mistake acquisition video image occurs when controlling the monitoring device network address having the same in network.
With reference to Fig. 7, a kind of step flow chart of monitoring method embodiment based on monitoring system of the present invention, tool are shown
Body may include steps of:
Step 601, the monitoring server unique to the monitoring device configuration in the multiple monitoring network corresponding the
One network address establishes monitoring network residing for the first network address and the monitoring device and in residing monitoring network
In the second network address between the first correspondence, establish the between the monitoring network and corresponding dedicated network interface card
Two correspondences.
Step 602, it is based on regarding the first network address of networking protocol by the first network address conversion of configuration.
In the present embodiment, after monitoring server configures first network address for the monitoring devices in multiple monitoring networks,
The first network address of configuration is used and is packaged depending on networking protocol, is converted to based on the first network regarding networking protocol
Location.
Step 603, by it is described based on the first network address depending on networking protocol be sent to it is described regard networked server so that
It is described that described be sent to based on the first network address depending on networking protocol described is regarded into networked terminals depending on networked server.
In the present embodiment, monitoring server will be sent to based on the first network address depending on networking protocol regarding the Internet services
Device, since first network address can be read after being received depending on networked server based on the network address regarding networking protocol
First network address, and will be transferred to regarding networked terminals based on the first network address depending on networking protocol.
Step 604, it receives through the first object network chosen from multiple first network addresses depending on networked terminals
Address.
Step 605, the corresponding target monitoring net of the first object network address is determined according to first correspondence
Network and the second destination network addresses in the target monitoring network determine the target according to second correspondence
Monitor the corresponding target network interface card of network.
Step 606, it establishes between the second destination network addresses in the target monitoring network and the target network interface card
Internet communication channel.
Step 607, the order for obtaining video image is sent to by the target monitoring by the internet communication channel
Equipment.
Step 608, the target monitoring equipment is received to acquire and pass through described for the order for obtaining video image
The video image of internet communication channel feedback.
Step 609, the video image of the internet protocol-based of target monitoring equipment feedback is converted to and is based on regarding
The video image of networking protocol.
In the present embodiment, the video image that target monitoring equipment is sent to monitoring server is regarding for internet protocol-based
Frequency image, after monitoring server receives the video image of target monitoring equipment feedback, by the video image of internet protocol-based
Conversion is based on the video image regarding networking protocol.For example, monitoring server receives the video image that DVR is sent in monitoring network 2,
What DVR was sent is the video image of internet protocol-based, and monitoring server, which is converted to the DVR video images fed back, to be based on regarding
The video image of networking protocol.
Step 610, by it is described based on the video image depending on networking protocol be sent to it is described regard networked server so that described
Described be sent to based on the video image depending on networking protocol described is regarded into networked terminals depending on networked server.
In the present embodiment, monitoring server is sent to transformed based on the video image depending on networking protocol regarding networking clothes
Be engaged in device, video image can be read depending on networked server, can also store video images, while will be based on regarding depending on networking protocol
Frequency image is sent to regarding networked terminals, and video image can be shown depending on networked terminals, can also store video images.
In conclusion in the embodiment of the present invention, it is each to monitor the dedicated network interface card of Web vector graphic by linking Internet with more
The monitoring server of network interface card;Monitoring server is to the unique corresponding first network of monitoring device configuration in multiple monitoring networks
Location;By the first network address of configuration by being sent to regarding networked terminals depending on networked server;It receives by regarding networked terminals choosing
The first object network address taken;Determine the corresponding target monitoring network of first object network address, in target monitoring network
The second destination network addresses and target network interface card;Internet communication channel is established, and is obtained and is regarded by internet communication channel
Frequency image;It is described regarding networked terminals based on the video image is sent to depending on networking.Through the embodiment of the present invention, one has
The monitoring server of more network interface cards can access multiple monitoring networks simultaneously, save server resource;And monitoring server is
The unique corresponding first network address of monitoring device configuration in network is monitored, regarding networked terminals selection first object network
Behind location, the internet communication channel with target monitoring equipment is established, to accurately obtain video image, is avoided due to different prisons
Mistake acquisition video image occurs when controlling the monitoring device network address having the same in network.
It should be noted that for embodiment of the method, for simple description, therefore it is all expressed as a series of action group
It closes, but those skilled in the art should understand that, the embodiment of the present invention is not limited by the described action sequence, because according to
According to the embodiment of the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented
Necessary to example.
With reference to Fig. 8, show that a kind of structure diagram of monitoring device embodiment of the present invention, the monitoring device are deployed in
Monitoring server with more network interface cards in monitoring system, the monitoring system further include multiple monitoring networks, regard networked server
Networked terminals are regarded with multiple, include at least one monitoring device in the monitoring network;
Each monitoring dedicated network interface card of Web vector graphic passes through monitoring server described in linking Internet;The monitoring server base
In described regarding networked server regarding networking connection;
Described device includes:
Network address configuration module 701, for unique corresponding to the monitoring device configuration in the multiple monitoring network
Monitoring network residing for the first network address and the monitoring device is established and in residing monitoring network in first network address
The first correspondence between the second network address in network, is established between the monitoring network and corresponding dedicated network interface card
Second correspondence;
Network address sending module 702, the first network address for that will configure regard networked server by described
It is sent to described regarding networked terminals;
Destination network addresses receiving module 703, for receiving through the networked terminals that regard from multiple first network addresses
The first object network address of middle selection;
Target monitoring network and target network interface card determining module 704, for determining described according to first correspondence
The corresponding target monitoring network of one destination network addresses and the second destination network addresses in the target monitoring network, root
The corresponding target network interface card of the target monitoring network is determined according to second correspondence;
Communication port establishes module 705, for establishing the second destination network addresses and institute in the target monitoring network
State the internet communication channel between target network interface card;
Order sending module 706 is obtained, for sending out the order for obtaining video image by the internet communication channel
It send to the target monitoring equipment;
Video image receiving module 707, for receiving the target monitoring equipment for the life for obtaining video image
The video image for enabling acquisition and being fed back by the internet communication channel;
Video image sending module 708, it is described regarding networked terminals for being based on being sent to the video image depending on networking.
In a preferred embodiment of the present invention, the video image sending module includes:
First protocol conversion submodule, the video figure of the internet protocol-based for feeding back the target monitoring equipment
As being converted to based on the video image regarding networking protocol;
Video image sending submodule, for described be sent to based on the video image depending on networking protocol described to be regarded networking
Server, so that described described regard networking eventually depending on networked server by described be sent to based on the video image depending on networking protocol
End.
In a preferred embodiment of the present invention, the network address sending module includes:
Second protocol transform subblock, the first network address conversion for that will configure are based on regarding networking protocol
First network address;
Network address sending submodule, for being sent to described regard based on the first network address depending on networking protocol by described
Networked server, so that described be sent to described regard by described depending on networked server based on the first network address depending on networking protocol
Networked terminals.
In a preferred embodiment of the present invention, the interface mode of the network interface card include in sdk, rtsp, gb28181 extremely
Few one kind.
In a preferred embodiment of the present invention, the monitoring device includes in NVR, DVR, IP camer, encoder
It is at least one.
In conclusion in the embodiment of the present invention, it is each to monitor the dedicated network interface card of Web vector graphic by linking Internet with more
The monitoring server of network interface card;Monitoring server is to the unique corresponding first network of monitoring device configuration in multiple monitoring networks
Location;By the first network address of configuration by being sent to regarding networked terminals depending on networked server;It receives by regarding networked terminals choosing
The first object network address taken;Determine the corresponding target monitoring network of first object network address, in target monitoring network
The second destination network addresses and target network interface card;Internet communication channel is established, and is obtained and is regarded by internet communication channel
Frequency image;It is described regarding networked terminals based on the video image is sent to depending on networking.Through the embodiment of the present invention, one has
The monitoring server of more network interface cards can access multiple monitoring networks simultaneously, save server resource;And monitoring server is
The unique corresponding first network address of monitoring device configuration in network is monitored, regarding networked terminals selection first object network
Behind location, the internet communication channel with target monitoring equipment is established, to accurately obtain video image, is avoided due to different prisons
Mistake acquisition video image occurs when controlling the monitoring device network address having the same in network.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description
Place illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiment, 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 be provided 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 with reference 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 flow and/or box combination.These can be provided
Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments
Capable instruction generates for realizing in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes
The device of specified function.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments
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 flow of flow chart or multiple flows and/or one side of block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments 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 flow of flow chart or multiple flows
And/or in one box of block diagram or multiple boxes 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 include other elements that are not explicitly listed, or further include 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 including the element.
Above to a kind of monitoring method based on monitoring system provided by the present invention and a kind of monitoring device, carry out in detail
Thin to introduce, principle and implementation of the present invention are described for specific case used herein, and above example is said
The bright method and its core concept for being merely used to help understand the present invention;Meanwhile for those of ordinary skill in the art, foundation
The thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not
It is interpreted as limitation of the present invention.