CN101980508B - Network adaptive operation mode on network monitoring system - Google Patents

Network adaptive operation mode on network monitoring system Download PDF

Info

Publication number
CN101980508B
CN101980508B CN201010526578.2A CN201010526578A CN101980508B CN 101980508 B CN101980508 B CN 101980508B CN 201010526578 A CN201010526578 A CN 201010526578A CN 101980508 B CN101980508 B CN 101980508B
Authority
CN
China
Prior art keywords
watch
dog
client device
network
server
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.)
Expired - Fee Related
Application number
CN201010526578.2A
Other languages
Chinese (zh)
Other versions
CN101980508A (en
Inventor
阮德禄
徐松
伊伯军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN DSW ELECTRONIC CO Ltd
Original Assignee
SHENZHEN DSW ELECTRONIC CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN DSW ELECTRONIC CO Ltd filed Critical SHENZHEN DSW ELECTRONIC CO Ltd
Priority to CN201010526578.2A priority Critical patent/CN101980508B/en
Publication of CN101980508A publication Critical patent/CN101980508A/en
Application granted granted Critical
Publication of CN101980508B publication Critical patent/CN101980508B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a network adaptive operation mode on a network monitoring system. The network monitoring system comprises monitoring equipment, client equipment and a server, wherein the operation modes of the network monitoring system comprise: detecting IP addresses and network environments of the monitoring equipment and the client equipment and selecting a communication mode of a signaling and a video according to the network environments of the monitoring equipment and the client equipment. Only when the monitoring equipment and the client equipment are in an impenetrable intranet environment, the communication mode of forwarding the signaling and the video by using a forwarding server is selected; and in other situations, a server assists the monitoring equipment and the client equipment in establishing a signaling channel for data exchange and establishing a video channel for connecting the monitoring equipment and the client equipment according to the signaling channel. The network adaptive operation mode has the advantages of not only realizing plug and play of network security protection monitoring equipment, but also saving the cost of installation, maintenance and operation.

Description

Network self-adapting operational mode on network monitoring system
Technical field
The present invention relates to a kind of P2P pattern of network, especially relate to the network self-adapting operational mode on a kind of non-maintaining network monitoring system.
Background technology
Existing traditional network monitoring generally all will arrange dns server, mapped port, and the IP address does not have NAT to penetrate function, and just there has been following shortcoming in it so:
1, installation personnel need to be familiar with network knowledge, the correct configuration network parameter of ability and dns server, and installation cost is larger.
2, in use the user has changed network environment, generally needs technical support personnel's assistance or installation personnel to make house calls, and could allow equipment adapt to new network environment, and cost of serving is larger.
3, by the even free Ddns server of third party, could realize Telnet and browsing video, affect Systems balanth.
4, configuration upnp port on the nat of equipment end, because can only the assigned ip towards the internet be used, arrange complexity and cause equipment normally not move in multistage nat network environment.
5, can not automatically select the network mode of operation of equipment according to equipment and the residing network environment of client, conditions for equipment use is limited.
If 6 equipment and client are all come transmitting signaling and passage with forwarding server, need to set up numerous servers, the cost of foundation and maintenance server is expensive.
Summary of the invention
For problem set forth above, the network self-adapting operational mode when the object of the present invention is to provide the plug-and-play feature of network monitoring device on a kind of network monitoring system on the network monitoring system of reduce installation, maintenance cost and server and network bandwidth cost.
The present invention realizes by following technical measures, network self-adapting operational mode on a kind of network monitoring system, network monitoring system comprises watch-dog, client device and server, its operational mode comprises the steps: the IP address of watch-dog and client device and the detection of network environment, selects the communication mode of signaling and video according to the network environment of watch-dog and client device; Wherein,
The IP address of described watch-dog and client device and the detection of network environment comprise:
(101), the IP address of watch-dog and the detection of network environment, obtain watch-dog and connect the type of outer net IP address and its network environment and send to server;
(102), the IP address of client device and the detection of network environment, obtain client device and connect the type of outer net IP address and its network environment and send to server;
The communication mode of described selection signaling and video comprises:
(201), when watch-dog and client device all are in not penetrable Intranet environment, select the communication mode by forwarding server transmitting signaling and video;
(202), be in not penetrable Intranet environment when watch-dog, and client device is when being in transparent Intranet environment, and selecting client device is that the server mode of network and watch-dog are the UDP signaling of client mode of network and the communication mode of video;
(203), be in transparent Intranet environment when watch-dog, and client device is when being in not penetrable Intranet environment, and selecting client device is that the client mode of network and watch-dog are the UDP signaling of server mode of network and the communication mode of video;
(204), when watch-dog and client device all are in transparent Intranet environment, selecting client device or watch-dog is the UDP signaling of server mode of network and the communication mode of video;
(205), when watch-dog is in public network environment or UPNP at different levels successful Intranet environment all is set, selecting watch-dog is that the server mode of network and client device are the TCP signaling of client mode of network and the communication mode of video;
(206), when client device is in public network environment or UPNP at different levels successful Intranet environment all is set, selecting client device is that the server mode of network and watch-dog are the TCP signaling of client mode of network and the communication mode of video;
(207), when watch-dog and client device are at the same time or separately public network environment or UPNP at different levels successful Intranet environment all are set, selecting client device or watch-dog is the TCP signaling of server mode of network and the communication mode of video.
Concrete, described transparent Intranet environment comprises that Full Cone NAT (clones fully.A NAT who clones fully is exactly from same implicit IP address and all next requests of port, to be mapped to identical outside ip address and port.And any external host can send message to internal host, by sending message to the external address of mapping), Restricted Cone NAT (restricted clone.Restricted clone's NAT is also with all requests from identical implicit IP address and port, is mapped to identical outside ip address and port.Clone completely NAT but be different from, the main frame of an outside: be provided with IP address X, can only be in one case, can send message to inner main frame, namely this inner main frame front had sent message to IP address X) and Port Restricted Cone NAT (the clone NAT of port restricted system.Be similar to restricted clone, but restriction is also more, has comprised the value of port.The main frame of an outside namely, want the enough exterior I P address X of energy and port P, send message to inner main frame, only have this internal host front to send a message to this IP address X and port P), described not penetrable Intranet environment is Port Restricted Cone NAT (symmetrical NAT.A Symmetric NAT is mapping request like this.From identical implicit IP address and port, and to identical destination address and all requests of port, all be mapped to same outside ip address and port, if same internal host, with identical implicit IP address and port, send a message to another destination host, can use different mappings.And outside main frame, only receiving a message, could send a UDP message and come back to inner main frame).
Concrete, wherein the detection of IP address comprises:
(111), read network configuration parameters;
(112), determine whether to be dial-in direct online to enter next step, otherwise to skip to (114);
(113), judge whether dial-up success, be to enter (116), otherwise skip to (113);
(114), obtain dynamic IP;
(115), whether obtain IP success, be to enter next step, otherwise skip to (114);
(116), setting can connect outer net IP address;
(117), obtain static ip address, then carry out the detection of network environment.
Concrete, wherein the detection of network environment comprises:
(118), checkout equipment whether after NAT, otherwise enter next step, be to skip to (120);
(119), network environment being set is public network;
(120), UPNP at different levels arranges successfully noly, be to enter next step, otherwise skip to
(122);
(121), network environment being set is UPNP;
(122), whether detect NAT be Full Cone NAT, be to enter next step, otherwise skip to (124);
(123), network environment being set is FULL Cone NAT;
(124), whether detect NAT be Symmetric NAT, be to enter next step, otherwise skip to (126);
(125), network environment being set is Symmetric NAT;
(126), whether detect NAT be Restricted Cone NAT, be to enter next step, otherwise skip to (128);
(127), network environment being set is Restricted Cone NAT;
(128), network environment being set is Port Restricted Cone NAT.
Concrete, wherein client device is that the client mode of network and watch-dog are that the UDP signaling of service end pattern of network and the communication mode of video comprise:
(301), client device sends the signaling of obtaining watch-dog information to server;
(302), server is to client device response monitoring facility information;
(303), client device carries out to server transmission request server notice watch-dog the signaling that data channel burrows;
(304), server carries out to client device the signaling that data channel burrows to watch-dog transmission server request watch-dog;
(305), watch-dog carries out data channel to server response server request watch-dog to client device and burrows;
(306), watch-dog sends to IP and the port of client device defined the bag that burrows;
(307), server carries out data channel to client device response server request watch-dog to client device and burrows;
(308), client device is with public network IP and the port connection device of watch-dog defined;
(309), watch-dog listens to after the connection request of client device the signaling that sends No. ID, notice opposite end local terminal to client device;
(310), client device is to No. ID, watch-dog response notice opposite end local terminal, successfully sets up signalling path;
(311), client device use is obtained the signaling of watch-dog video port request with the signalling path transmission client device that watch-dog is set up;
(312), watch-dog obtains the request of watch-dog video port to client device customer in response end equipment;
(313), client device sends to watch-dog the signaling that client device obtains the watch-dog video;
(314), watch-dog obtains the watch-dog video to client device software responses client device;
(315), client device notifies the opposite end local terminal to make the bag that burrows No. ID to the video channel transmission of watch-dog regulation;
(316), watch-dog sends to client device software with video channel and notifies the opposite end local terminal to make the bag that burrows No. ID;
(317), client device is notified No. ID, opposite end local terminal with video channel to the watch-dog response;
(318), after client device and watch-dog receive respectively the signaling of expectation, successfully set up video channel, otherwise skip to (316), ten unsuccessful withdrawing from.
Concrete, wherein client device is that the service end pattern of network and watch-dog are that the UDP signaling of client mode of network and the communication mode of video comprise:
(401), client device sends the signaling of obtaining watch-dog information to server;
(402), server is to client device response monitoring facility information;
(403), client device sends the response signaling of No. ID, notice opposite end local terminal as burrowing bag to watch-dog;
(404), client device sends the signaling of request server notification service end equipment connection local data passage to server;
(405), server carries out to watch-dog the signaling that data channel connects to watch-dog transmission server request client device;
(406), watch-dog carries out the data channel connection to server response server requesting client equipment to watch-dog;
(407), server connects the local data passage to client device response request server notification watch-dog;
(408), watch-dog is connected the client device end with the public network IP of client device software dictates with port;
(409), watch-dog sends to client device software and notifies No. ID, opposite end local terminal;
(410), client device software is to No. ID, watch-dog response notice opposite end local terminal, successfully sets up signalling path;
(411), client device use is obtained the signaling of watch-dog video port request with the signalling path transmission client device that watch-dog is set up;
(412), watch-dog obtains the request of watch-dog video port to client device customer in response end equipment;
(413), client device sends to watch-dog the signaling that client device obtains the watch-dog video;
(414), watch-dog obtains the watch-dog video to client device software responses client device;
(415), client device notifies the opposite end local terminal to make the bag that burrows No. ID to the video channel transmission of watch-dog regulation;
(416), watch-dog sends to client device software with video channel and notifies the opposite end local terminal to make the bag that burrows No. ID;
(417), client device is notified No. ID, opposite end local terminal with video channel to the watch-dog response;
(418), after client device and watch-dog receive respectively the signaling of expectation, successfully set up video channel, otherwise skip to (416), ten unsuccessful withdrawing from.
Concrete, wherein watch-dog is that the client mode of network and client device are that the TCP signaling of service end pattern of network and the communication mode of video comprise:
(501), client device sends the signaling of obtaining watch-dog information to server;
(502), server is to client device response monitoring facility information;
(503), client device sends to server the signaling that request server notice watch-dog connects the local data passage;
(504), server carries out to watch-dog the signaling that data channel connects to watch-dog transmission server request client device;
(505), watch-dog is to server response " the server request client device carries out data channel to watch-dog and connects ";
(506), server connects the local data passage to client device response request server notification watch-dog;
(507), watch-dog is connected client device with the public network IP of client device defined with port;
(508), send the signaling of No. ID, notice opposite end local terminal after the watch-dog successful connection to client device;
(509), client device is to No. ID, watch-dog response notice opposite end local terminal, successfully sets up signalling path;
(510), client device use is obtained the signaling of watch-dog video port request with the signalling path transmission client device that watch-dog is set up;
(511), watch-dog obtains the request of watch-dog video port to client device customer in response end equipment;
(512), client device sends to watch-dog the signaling that client device obtains the watch-dog video;
(513), watch-dog obtains the watch-dog video to client device software responses client device;
(514), watch-dog is connected client device with the public network IP of client device regulation with port;
(515), send the signaling of No. ID, notice opposite end local terminal after the watch-dog successful connection to client device;
(516), client device is to No. ID, watch-dog response notice opposite end local terminal, successfully set up video channel, otherwise skip to (515), ten unsuccessful withdrawing from.
Concrete, wherein client device is that the server mode of network and watch-dog are that the TCP signaling of client mode of network and the communication mode of video comprise:
(601), client device sends the signaling of obtaining watch-dog information to server;
(602), server is to client device response monitoring facility information;
(603), client device is connected watch-dog with the public network IP of watch-dog defined with port;
(604), watch-dog set up with being connected of client device after send the signaling of notifying No. ID, opposite end local terminal to client device;
(605), client device is to No. ID, watch-dog response notice opposite end local terminal, successfully sets up signalling path;
(606), client device use is obtained the signaling of watch-dog video port request with the signalling path transmission client device that watch-dog is set up;
(607), watch-dog obtains the request of watch-dog video port to client device customer in response end equipment;
(608), client device sends to watch-dog the signaling that client device obtains the watch-dog video;
(609), watch-dog obtains the watch-dog video to client device software responses client device;
(610), client device is connected watch-dog with the public network IP of watch-dog regulation with port;
(611), watch-dog sends the signaling of No. ID, notice opposite end local terminal to client device;
(612), client device is to No. ID, watch-dog response notice opposite end local terminal, successfully set up video channel, otherwise skip to (611), ten unsuccessful withdrawing from.
The present invention is according to network environment, configuration network IP address automatically, and the parameters such as port, and the network environment different with client device according to watch-dog selected the communication mode of signaling and video.When all being in not penetrable Intranet environment except watch-dog and client device, just selection is by the communication mode of forwarding server transmitting signaling and video.Other situation is all to set up the few signalling path of exchanges data by server-aided watch-dog and client device, then sets up according to signalling path the video channel that watch-dog is communicated with client device.By this method, in the network environment that can realize watch-dog and client device direct communication, the direct video communication of watch-dog and client device; In watch-dog and client device can not the network environments of direct communication, just forward by server, realize the video communication of watch-dog and client device.
Advantage of the present invention has:
1, realize the plug and play of the network equipment.
2, Installation and Debugging are convenient, make the general user also can enjoy the safety that network world is brought, and feel at ease.
3, almost need not technical support and after-sale service, the cost of each side has very large saving.
4, in the situation that network knowledge is not very universal, can large-scale promotion.
5, the pattern that is relatively entirely forwarded by server, less to the resource network resource occupation of server, saved the energy and the space is conducive to environmental protection.
6, can be used in the network service of more existing server forward mode, will play huge impetus to universal use of network.
Description of drawings
Fig. 1 is flow chart of the present invention;
Fig. 2 is the flow chart of IP address detected of the present invention;
Fig. 3 is the flow chart that network environment of the present invention detects.
Embodiment
Below in conjunction with embodiment and contrast accompanying drawing the present invention is described in further detail.
As Fig. 1, Fig. 2, Fig. 3, a kind of network self-adapting operational mode of utilizing mobile phone to carry out the home security monitoring, mobile phone carries out the home security supervisory control system and comprises the IP Camera that is arranged on family, the mobile phone that can surf the Net and central server, and its operational mode comprises the steps:
IP Camera and the IP address of the mobile phone that can surf the Net and the detection of network environment,
(101), IP Camera directly is inserted on the upper or router of modem, the start that powers on, IP Camera detects IP address and network environment by being arranged on its inner software by following steps;
(111), read the IP Camera network configuration parameters;
(112), determine whether to be dial-in direct online to enter next step, otherwise to skip to (114);
(113), judge whether dial-up success, be to enter (116), otherwise skip to (113);
(114), obtain dynamic IP;
(115), whether obtain IP success, be to enter next step, otherwise skip to (114);
(116), setting can connect outer net IP address;
(117), obtain static ip address;
(118), checkout equipment whether after NAT, otherwise enter next step, be to skip to (120);
(119), network environment being set is public network;
(120), UPNP at different levels arranges successfully noly, be to enter next step, otherwise skip to
(122);
(121), network environment being set is UPNP;
(122), whether detect NAT be Full Cone NAT, be to enter next step, otherwise skip to (124);
(123), network environment being set is FULL Cone NAT;
(124), whether detect NAT be Symmetric NAT, be to enter next step, otherwise skip to (126);
(125), network environment being set is Symmetric NAT;
(126), whether detect NAT be Restricted Cone NAT, be to enter next step, otherwise skip to (128);
(127), network environment being set is Restricted Cone NAT;
(128), network environment is set is Port Restricted Cone NAT, the type that the IP Camera that obtains is connected outer net IP address and its network environment sends to central server.
(102), surfing Internet with cell phone and detect IP address and the network environment of this mobile phone at that time by following steps by being arranged on its inner software;
(111A), read the cell phone network configuration parameter;
(112A), determine whether to be dial-in direct online to enter next step, otherwise to skip to (114A);
(113A), judge whether dial-up success, be to enter (116A), otherwise skip to (113A);
(114A), obtain dynamic IP;
(115A), whether obtain IP success, be to enter next step, otherwise skip to (114A);
(116A), setting can connect outer net IP address;
(117A), obtain static ip address;
(118A), detection of handset whether after NAT, otherwise enter next step, be to skip to (122A);
(119A), network environment being set is public network;
(122A), whether detect NAT be Full Cone NAT, be to enter next step, otherwise skip to (124A);
(123A), network environment being set is FULL Cone NAT;
(124A), whether detect NAT be Symmetric NAT, be to enter next step, otherwise skip to (126A);
(125A), network environment being set is Symmetric NAT;
(126A), whether detect NAT be Restricted Cone NAT, be to enter next step, otherwise skip to (128A);
(127A), network environment being set is Restricted Cone NAT;
(128A), network environment is set is Port Restricted Cone NAT, the type that the IP Camera that obtains is connected outer net IP address and its network environment sends to central server.
(201), when IP Camera and mobile phone all are in the Intranet environment of not penetrable Port Restricted Cone NAT, IP Camera sends to forwarding server with video, then obtains video by mobile phone from forwarding server;
(202), be in the Intranet environment of not penetrable Port Restricted Cone NAT when IP Camera, and mobile phone is when being in other transparent Intranet environment, and selecting mobile phone is that the server mode of network and IP Camera are the UDP signaling of client mode of network and the communication mode of video;
(203), be in transparent Intranet environment when IP Camera, and mobile phone is when being in not penetrable Port Restricted Cone NAT Intranet environment, and selecting mobile phone is that the client mode of network and IP Camera are the UDP signaling of server mode of network and the communication mode of video;
(204), when IP Camera and mobile phone all are in transparent Intranet environment, selecting mobile phone or IP Camera is the UDP signaling of server mode of network and the communication mode of video;
(205), when IP Camera is in public network environment or UPNP at different levels successful Intranet environment all is set, selecting IP Camera is that the server mode of network and mobile phone are the TCP signaling of client mode of network and the communication mode of video;
(206), when mobile phone is in public network environment or UPNP at different levels successful Intranet environment all is set, selecting mobile phone is that the server mode of network and IP Camera are the TCP signaling of client mode of network and the communication mode of video;
(207), when IP Camera and mobile phone are at the same time or separately public network environment or UPNP at different levels successful Intranet environment all are set, selecting mobile phone or IP Camera is the TCP signaling of server mode of network and the communication mode of video.
Wherein transparent Intranet environment comprises Full Cone NAT, Restricted Cone NAT and Port Restricted Cone NAT, and not penetrable Intranet environment is Port Restricted Cone NAT.
Wherein mobile phone is that the client mode of network and IP Camera are that the UDP signaling of service end pattern of network and the communication mode of video comprise:
(301), mobile phone sends the signaling of obtaining the network shooting header to server;
(302), server is to mobile phone response to network camera information;
(303), mobile phone carries out to server transmission request server informing network camera the signaling that data channel burrows;
(304), server carries out to mobile phone the signaling that data channel burrows to IP Camera transmission server request IP Camera;
(305), IP Camera carries out data channel to server response server request IP Camera to mobile phone and burrows;
(306), IP Camera sends to IP and the port of mobile phone defined the bag that burrows;
(307), server carries out data channel to mobile phone response server request IP Camera to mobile phone and burrows;
(308), mobile phone is with public network IP and the port connection device of IP Camera defined;
(309), IP Camera listens to after the connection request of mobile phone the signaling that sends No. ID, notice opposite end local terminal to mobile phone;
(310), mobile phone is to No. ID, IP Camera response notice opposite end local terminal, successfully sets up signalling path;
(311), mobile phone use is obtained the signaling of IP Camera video port request with the signalling path transmission mobile phone that IP Camera is set up;
(312), IP Camera obtains the request of IP Camera video port to mobile phone response mobile phone;
(313), mobile phone sends to IP Camera the signaling that mobile phone obtains the IP Camera video;
(314), IP Camera obtains the IP Camera video to cell phone software response mobile phone;
(315), mobile phone notifies the opposite end local terminal to make the bag that burrows No. ID to the video channel transmission of IP Camera regulation;
(316), IP Camera sends to cell phone software with video channel and notifies the opposite end local terminal to make the bag that burrows No. ID;
(317), mobile phone is notified No. ID, opposite end local terminal with video channel to the IP Camera response;
(318), after mobile phone and IP Camera receive respectively the signaling of expectation, successfully set up video channel, otherwise skip to (316), ten unsuccessful withdrawing from.
Wherein mobile phone is that the service end pattern of network and IP Camera are that the UDP signaling of client mode of network and the communication mode of video comprise:
(401), mobile phone sends the signaling of obtaining the network shooting header to server;
(402), server is to mobile phone response to network camera information;
(403), mobile phone sends the response signaling of No. ID, notice opposite end local terminal as burrowing bag to IP Camera;
(404), mobile phone sends to server the signaling that request server informing network camera connects the local data passage;
(405), server carries out to mobile phone the signaling that data channel connects to IP Camera transmission server request IP Camera;
(406), IP Camera carries out the data channel connection to server response server request IP Camera to mobile phone;
(407), server connects the local data passage to mobile phone response request server notification IP Camera;
(408), IP Camera is connected mobile phone terminal with the public network IP of cell phone software regulation with port;
(409), IP Camera sends to cell phone software and notifies No. ID, opposite end local terminal;
(410), cell phone software is to No. ID, IP Camera response notice opposite end local terminal, successfully sets up signalling path;
(411), mobile phone use is obtained the signaling of IP Camera video port request with the signalling path transmission mobile phone that IP Camera is set up;
(412), IP Camera obtains the request of IP Camera video port to mobile phone response mobile phone;
(413), mobile phone sends to IP Camera the signaling that mobile phone obtains the IP Camera video;
(414), IP Camera obtains the IP Camera video to cell phone software response mobile phone;
(415), mobile phone notifies the opposite end local terminal to make the bag that burrows No. ID to the video channel transmission of IP Camera regulation;
(416), IP Camera sends to cell phone software with video channel and notifies the opposite end local terminal to make the bag that burrows No. ID;
(417), mobile phone is notified No. ID, opposite end local terminal with video channel to the IP Camera response;
(418), after mobile phone and IP Camera receive respectively the signaling of expectation, successfully set up video channel, otherwise skip to (416), ten unsuccessful withdrawing from.
Wherein IP Camera is that the client mode of network and mobile phone are that the TCP signaling of service end pattern of network and the communication mode of video comprise:
(501), mobile phone sends the signaling of obtaining the network shooting header to server;
(502), server is to mobile phone response to network camera information;
(503), mobile phone sends to server the signaling that request server informing network camera connects the local data passage;
(504), server carries out to mobile phone the signaling that data channel connects to IP Camera transmission server request IP Camera;
(505), IP Camera is to server response " the server request IP Camera carries out data channel to mobile phone and connects ";
(506), server connects the local data passage to mobile phone response request server notification IP Camera;
(507), IP Camera is connected mobile phone with the public network IP of mobile phone defined with port;
(508), send the signaling of No. ID, notice opposite end local terminal after the IP Camera successful connection to mobile phone;
(509), mobile phone is to No. ID, IP Camera response notice opposite end local terminal, successfully sets up signalling path;
(510), mobile phone use is obtained the signaling of IP Camera video port request with the signalling path transmission mobile phone that IP Camera is set up;
(511), IP Camera obtains the request of IP Camera video port to mobile phone response mobile phone;
(512), mobile phone sends to IP Camera the signaling that mobile phone obtains the IP Camera video;
(513), IP Camera obtains the IP Camera video to cell phone software response mobile phone;
(514), IP Camera is connected mobile phone with the public network IP of mobile phone regulation with port;
(515), send the signaling of No. ID, notice opposite end local terminal after the IP Camera successful connection to mobile phone;
(516), mobile phone is to No. ID, IP Camera response notice opposite end local terminal, successfully set up video channel, otherwise skip to (515), ten unsuccessful withdrawing from.
Wherein mobile phone is that the client mode of network and IP Camera are that the TCP signaling of service end pattern of network and the communication mode of video comprise:
(601), mobile phone sends the signaling of obtaining the network shooting header to server;
(602), server is to mobile phone response to network camera information;
(603), mobile phone is with public network IP and the port interconnection network camera of IP Camera defined;
(604), IP Camera set up with being connected of mobile phone after send the signaling of notifying No. ID, opposite end local terminal to mobile phone;
(605), mobile phone is to No. ID, IP Camera response notice opposite end local terminal, successfully sets up signalling path;
(606), mobile phone use is obtained the signaling of IP Camera video port request with the signalling path transmission mobile phone that IP Camera is set up;
(607), IP Camera obtains the request of IP Camera video port to mobile phone response mobile phone;
(608), mobile phone sends to IP Camera the signaling that mobile phone obtains the IP Camera video;
(609), IP Camera obtains the IP Camera video to mobile phone response mobile phone;
(610), mobile phone is with public network IP and the port interconnection network camera of IP Camera regulation;
(611), IP Camera sends the signaling of No. ID, notice opposite end local terminal to mobile phone;
(612), mobile phone is to No. ID, IP Camera response notice opposite end local terminal, successfully set up video channel, otherwise skip to (611), ten unsuccessful withdrawing from.
More than that the network self-adapting operational mode on network monitoring system of the present invention is set forth; be used for helping to understand the present invention; but embodiments of the present invention are not restricted to the described embodiments; anyly do not deviate from the change done under the principle of the invention, modification, substitute, combination, simplify; all should be the substitute mode of equivalence, within being included in protection scope of the present invention.

Claims (7)

1. the network self-adapting operational mode on a network monitoring system, network monitoring system comprises watch-dog, client device and server, it is characterized in that operational mode comprises the steps: the IP address of watch-dog and client device and the detection of network environment, select the communication mode of signaling and video according to the network environment of watch-dog and client device; Wherein,
The IP address of described watch-dog and client device and the detection of network environment comprise:
(101), the IP address of watch-dog and the detection of network environment, obtain watch-dog and connect the type of outer net IP address and its network environment and send to server;
(102), the IP address of client device and the detection of network environment, obtain client device and connect the type of outer net IP address and its network environment and send to server;
The communication mode of described selection signaling and video comprises:
(203), be in transparent Intranet environment when watch-dog, and client device is when being in not penetrable Intranet environment, and selecting client device is that the client mode of network and watch-dog are the UDP signaling of server mode of network and the communication mode of video;
Described client device is that the client mode of network and watch-dog are that the UDP signaling of service end pattern of network and the communication mode of video comprise:
(301), client device sends the signaling of obtaining watch-dog information to server;
(302), server is to client device response monitoring facility information;
(303), client device carries out to server transmission request server notice watch-dog the signaling that data channel burrows;
(304), server carries out to client device the signaling that data channel burrows to watch-dog transmission server request watch-dog;
(305), watch-dog carries out data channel to server response server request watch-dog to client device and burrows;
(306), watch-dog sends to IP and the port of client device defined the bag that burrows;
(307), server carries out data channel to client device response server request watch-dog to client device and burrows;
(308), client device is with public network IP and the port connection device of watch-dog defined;
(309), watch-dog listens to after the connection request of client device the signaling that sends No. ID, notice opposite end local terminal to client device;
(310), client device is to No. ID, watch-dog response notice opposite end local terminal, successfully sets up signalling path;
(311), client device use is obtained the signaling of watch-dog video port request with the signalling path transmission client device that watch-dog is set up;
(312), watch-dog obtains the request of watch-dog video port to client device customer in response end equipment;
(313), client device sends to watch-dog the signaling that client device obtains the watch-dog video;
(314), watch-dog obtains the watch-dog video to client device software responses client device;
(315), client device notifies the opposite end local terminal to make the bag that burrows No. ID to the video channel transmission of watch-dog regulation;
(316), watch-dog sends to client device software with video channel and notifies the opposite end local terminal to make the bag that burrows No. ID;
(317), client device is notified No. ID, opposite end local terminal with video channel to the watch-dog response;
(318), after client device and watch-dog receive respectively the signaling of expectation, successfully set up video channel, otherwise skip to (316), ten unsuccessful withdrawing from.
2. the network self-adapting operational mode on network monitoring system according to claim 1, it is characterized in that: described transparent Intranet environment comprises Full Cone NAT, Restricted Cone NAT and Port Restricted Cone NAT, and described not penetrable Intranet environment is Symmetric NAT.
3. the network self-adapting operational mode on network monitoring system according to claim 1 is characterized in that: the detection of described IP address comprises:
(111), read network configuration parameters;
(112), determine whether to be dial-in direct online to enter next step, otherwise to skip to (114);
(113), judge whether dial-up success, be to enter (116), otherwise skip to (113);
(114), obtain dynamic IP;
(115), whether obtain IP success, be to enter next step, otherwise skip to (114);
(116), setting can connect outer net IP address;
(117), obtain static ip address, then carry out the detection of network environment.
4. the network self-adapting operational mode on network monitoring system according to claim 1, it is characterized in that: the detection of described network environment comprises:
(118), checkout equipment whether after NAT, otherwise enter next step, be to skip to (120);
(119), network environment being set is public network;
(120), UPNP at different levels arranges successfully noly, be to enter next step, otherwise skip to (122);
(121), network environment being set is UPNP;
(122), whether detect NAT be Full Cone NAT, be to enter next step, otherwise skip to (124);
(123), network environment being set is FULL Cone NAT;
(124), whether detect NAT be Symmetric NAT, be to enter next step, otherwise skip to (126);
(125), network environment being set is Symmetric NAT;
(126), whether detect NAT be Restricted Cone NAT, be to enter next step, otherwise skip to (128);
(127), network environment being set is Restricted Cone NAT;
(128), network environment being set is Port Restricted Cone NAT.
5. the network self-adapting operational mode on network monitoring system according to claim 1 is characterized in that: described client device is that the service end pattern of network and watch-dog are that the UDP signaling of client mode of network and the communication mode of video comprise:
(401), client device sends the signaling of obtaining watch-dog information to server;
(402), server is to client device response monitoring facility information;
(403), client device sends the response signaling of No. ID, notice opposite end local terminal as burrowing bag to watch-dog;
(404), client device sends to server the signaling that request server notice watch-dog connects the local data passage;
(405), server carries out to watch-dog the signaling that data channel connects to watch-dog transmission server request client device;
(406), watch-dog carries out the data channel connection to server response server requesting client equipment to watch-dog;
(407), server connects the local data passage to client device response request server notification watch-dog;
(408), watch-dog is connected the client device end with the public network IP of client device software dictates with port;
(409), watch-dog sends to client device software and notifies No. ID, opposite end local terminal;
(410), client device software is to No. ID, watch-dog response notice opposite end local terminal, successfully sets up signalling path;
(411), client device use is obtained the signaling of watch-dog video port request with the signalling path transmission client device that watch-dog is set up;
(412), watch-dog obtains the request of watch-dog video port to client device customer in response end equipment;
(413), client device sends to watch-dog the signaling that client device obtains the watch-dog video;
(414), watch-dog obtains the watch-dog video to client device software responses client device;
(415), client device notifies the opposite end local terminal to make the bag that burrows No. ID to the video channel transmission of watch-dog regulation;
(416), watch-dog sends to client device software with video channel and notifies the opposite end local terminal to make the bag that burrows No. ID;
(417), client device is notified No. ID, opposite end local terminal with video channel to the watch-dog response;
(418), after client device and watch-dog receive respectively the signaling of expectation, successfully set up video channel, otherwise skip to (416), ten unsuccessful withdrawing from.
6. the network self-adapting operational mode on network monitoring system according to claim 1 is characterized in that: described watch-dog is that the client mode of network and client device are that the TCP signaling of service end pattern of network and the communication mode of video comprise:
(501), client device sends the signaling of obtaining watch-dog information to server;
(502), server is to client device response monitoring facility information;
(503), client device sends to server the signaling that request server notice watch-dog connects the local data passage;
(504), server carries out to watch-dog the signaling that data channel connects to watch-dog transmission server request client device;
(505), watch-dog carries out the data channel connection to server response server requesting client equipment to watch-dog;
(506), server connects the local data passage to client device response request server notification watch-dog;
(507), watch-dog is connected client device with the public network IP of client device defined with port;
(508), send the signaling of No. ID, notice opposite end local terminal after the watch-dog successful connection to client device;
(509), client device is to No. ID, watch-dog response notice opposite end local terminal, successfully sets up signalling path;
(510), client device use is obtained the signaling of watch-dog video port request with the signalling path transmission client device that watch-dog is set up;
(511), watch-dog obtains the request of watch-dog video port to client device customer in response end equipment;
(512), client device sends to watch-dog the signaling that client device obtains the watch-dog video;
(513), watch-dog obtains the watch-dog video to client device software responses client device;
(514), watch-dog is connected client device with the public network IP of client device regulation with port;
(515), send the signaling of No. ID, notice opposite end local terminal after the watch-dog successful connection to client device;
(516), client device is to No. ID, watch-dog response notice opposite end local terminal, successfully set up video channel, otherwise skip to (515), ten unsuccessful withdrawing from.
7. the network self-adapting operational mode on network monitoring system according to claim 1 is characterized in that: described client device is that the client mode of network and watch-dog are that the TCP signaling of service end pattern of network and the communication mode of video comprise:
(601), client device sends the signaling of obtaining watch-dog information to server;
(602), server is to client device response monitoring facility information;
(603), client device is connected watch-dog with the public network IP of watch-dog defined with port;
(604), watch-dog set up with being connected of client device after send the signaling of notifying No. ID, opposite end local terminal to client device;
(605), client device is to No. ID, watch-dog response notice opposite end local terminal, successfully sets up signalling path;
(606), client device use is obtained the signaling of watch-dog video port request with the signalling path transmission client device that watch-dog is set up;
(607), watch-dog obtains the request of watch-dog video port to client device customer in response end equipment;
(608), client device sends to watch-dog the signaling that client device obtains the watch-dog video;
(609), watch-dog obtains the watch-dog video to client device software responses client device;
(610), client device is connected watch-dog with the public network IP of watch-dog regulation with port;
(611), watch-dog sends the signaling of No. ID, notice opposite end local terminal to client device; (612), client device is to No. ID, watch-dog response notice opposite end local terminal, successfully set up video channel, otherwise skip to (611), ten unsuccessful withdrawing from.
CN201010526578.2A 2010-11-01 2010-11-01 Network adaptive operation mode on network monitoring system Expired - Fee Related CN101980508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010526578.2A CN101980508B (en) 2010-11-01 2010-11-01 Network adaptive operation mode on network monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010526578.2A CN101980508B (en) 2010-11-01 2010-11-01 Network adaptive operation mode on network monitoring system

Publications (2)

Publication Number Publication Date
CN101980508A CN101980508A (en) 2011-02-23
CN101980508B true CN101980508B (en) 2013-05-15

Family

ID=43600991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010526578.2A Expired - Fee Related CN101980508B (en) 2010-11-01 2010-11-01 Network adaptive operation mode on network monitoring system

Country Status (1)

Country Link
CN (1) CN101980508B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297666B (en) * 2012-02-24 2018-07-31 中兴通讯股份有限公司 The method, apparatus and system of video monitoring are realized based on universal plug and play
CN104333727B (en) * 2013-07-22 2019-04-12 腾讯科技(深圳)有限公司 Audio video transmission channel regulates and controls methods, devices and systems
CN105681264A (en) * 2014-11-20 2016-06-15 中兴通讯股份有限公司 Communication method and device for client units
CN106302369A (en) * 2015-06-11 2017-01-04 杭州海康威视数字技术股份有限公司 Long-range Activiation method, device and the remote activation system of a kind of network monitoring device
CN106685763B (en) * 2016-12-30 2019-11-12 中广热点云科技有限公司 Application platform that is a kind of while supporting public network transmission and private network transmission
CN111131528B (en) * 2018-10-31 2022-07-05 杭州海康威视系统技术有限公司 Equipment network domain determining method, server and terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060072569A1 (en) * 2004-10-04 2006-04-06 Wizzysoft Corporation Network address translation protocol for transmission control protocol connections
CN1917512B (en) * 2005-08-18 2010-09-29 腾讯科技(深圳)有限公司 Method for establishing direct connected peer-to-peer channel
CN1863157A (en) * 2005-10-28 2006-11-15 华为技术有限公司 Method and apparatus for implementing network communication through NAT
US8693392B2 (en) * 2007-02-21 2014-04-08 Avaya Canada Corp. Peer-to-peer communication system and method
CN101035270A (en) * 2007-04-19 2007-09-12 苏州鹞鹰数据技术有限公司 Peer-to-peer video monitoring method based on the Internet
CN101267393B (en) * 2008-05-13 2010-09-01 腾讯科技(深圳)有限公司 Method and system for reducing called waiting time in instant communication system
CN101635735A (en) * 2008-07-27 2010-01-27 陈童 Method for accessing wireless communication modules from external network
CN101729862B (en) * 2008-10-21 2011-12-28 中兴通讯股份有限公司 Method and system for passing media through NAT by using video monitoring system

Also Published As

Publication number Publication date
CN101980508A (en) 2011-02-23

Similar Documents

Publication Publication Date Title
CN101980508B (en) Network adaptive operation mode on network monitoring system
US8667339B2 (en) Internet server apparatus and program causing a server apparatus to implement functions of preparation processing for direct connection of an appliance in a private network and a mobile terminal outside the private network
US8059631B2 (en) Location system and method for assisting emergency services in identifying the physical location of an IP telephony user
CN101222519B (en) Remote activation of home devices
CN102546619B (en) Modbus protocol conversion system based on 3G (The 3rd Generation Telecommunication) Internet access
CN102355741B (en) Remote control system and method thereof, and central office access equipment
RU2013128887A (en) VOICE TRANSMISSION SYSTEMS FOR IP PROTOCOL (VoIP), COMPONENTS AND METHODS FOR TRANSMITTING EXTENDED DATA TO THE EMERGENCY RESPONSE SERVICES FOR ANSWERING AN EMERGENCY CALLS
CN103780577A (en) Method, apparatus and terminal for realizing internet of thing application
CN104348686B (en) Interconnected method and device between a kind of terminal device and gateway device
CN106604266A (en) Intelligent equipment system connection method, intelligent equipment and intelligent equipment access system
CN204231419U (en) A kind of Smart Home door bell and button system based on cloud and technology of Internet of things
CN100484170C (en) Extended handset function and mobility
WO2008081562A1 (en) Communication method, communication device, portable telephone terminal, and communication system
CN103905579A (en) Method and system for communication between platform and terminal, platform and relevant devices
CN102111728B (en) Network connection management module and method of mobile terminal
CN104253980A (en) Method and device for connecting front-end equipment with background media equipment
CN102355713B (en) Method of calling in voice communication and mobile terminal
CN105072148A (en) Method and device for building connection with terminal
CN102857890A (en) Monitoring method for self-adaptation between electric power tunnel text messages and wireless network communication
US9124600B2 (en) Smart phone system for dialing through local call and methods thereof
CN103139541A (en) Remote wireless video monitoring system and method thereof
CN104994116A (en) Method, device and system for multi-screen unified communication
CN105634810B (en) method and system for accessing universal plug and play device and access device
CN101146062A (en) A gateway dialing method combining bridge forward
CN103477702B (en) Method, system and device for triggering service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130515

Termination date: 20211101