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

Network adaptive operation mode on network monitoring system Download PDF

Info

Publication number
CN101980508A
CN101980508A CN2010105265782A CN201010526578A CN101980508A CN 101980508 A CN101980508 A CN 101980508A CN 2010105265782 A CN2010105265782 A CN 2010105265782A CN 201010526578 A CN201010526578 A CN 201010526578A CN 101980508 A CN101980508 A CN 101980508A
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.)
Granted
Application number
CN2010105265782A
Other languages
Chinese (zh)
Other versions
CN101980508B (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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

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 the 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 be provided with 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 be familiar with network knowledge, correct configuration network parameter of ability and dns server, and installation cost is bigger.
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 bigger.
3, by third party even free Ddns server, could realize Telnet and browsing video, influence the stability of system.
4, configuration upnp port on the nat of equipment end because can only the assigned ip towards the internet be used, is provided with complexity and causes equipment normally not move in multistage nat network environment.
5, can not select the network work pattern of equipment automatically 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 set up numerous servers, the cost costliness of foundation and maintenance server.
Summary of the invention
At problem set forth above, reduce the network self-adapting operational mode on the network monitoring system of installation, maintenance cost and server and the network bandwidth cost 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 as far as possible.
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 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 the Intranet environment of success 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 the Intranet environment of success 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 in public network environment or UPNP at different levels at the same time or separately the Intranet environment of success 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 to be mapped to identical outside ip address and port from same implicit IP address and all next requests of port.And any external host can send message to internal host, by sending the external address of message to mapping), Restricted Cone NAT (restricted clone.Restricted clone's NAT also is with all requests from identical implicit IP address and port, is mapped to identical outside ip address and port.Clone NAT completely 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, just 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 just, want enough exterior I P address X of energy and port P, send message to inner main frame, have only this internal host front to send a message to this IP address X and port P), described not penetrable Intranet environment is the Port Restricted Cone NAT (NAT of symmetry.A symmetrical 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, then 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), judge whether to be then to enter next step, otherwise to skip to (114) into the dial-in direct online;
(113), judge whether dial-up success, be then to enter (116), otherwise skip to (113);
(114), obtain dynamic IP;
(115), whether obtain IP success, be then 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 then to skip to (120);
(119), network environment being set is public network;
(120), UPNP at different levels is not provided with success not, be then to enter next step, otherwise skip to
(122);
(121), network environment being set is UPNP;
(122), whether detect NAT be Full Cone NAT, be then 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 then 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 then 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 given client device response monitoring facility information;
(303), client device carries out the signaling that data channel burrows to server transmission request server notice watch-dog;
(304), server carries out the signaling that data channel burrows to watch-dog send server request watch-dog to client device;
(305), watch-dog carries out data channel to client device for server response server request watch-dog to burrow;
(306), watch-dog sends the bag that burrows to the IP and the port of client device defined;
(307), server carries out data channel to client device for client device response server request watch-dog to burrow;
(308), client device is with the public network IP and the port connection device of watch-dog defined;
(309), watch-dog listens to behind the connection request of client device the signaling that sends notice opposite end local terminal ID number to client device;
(310), client device is to watch-dog response notice opposite end local terminal ID number, successfully sets up signalling path;
(311), client device usefulness 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 the signaling that client device obtains the watch-dog video to watch-dog;
(314), watch-dog obtains the watch-dog video for client device software responses client device;
(315), client device is made the bag that burrows opposite end local terminal ID number to the video channel transmission notice of watch-dog regulation;
(316), watch-dog sends notice with video channel to client device software and makees the bag that burrows opposite end local terminal ID number;
(317), client device is notified opposite end local terminal ID number to the watch-dog response with video channel;
(318), after client device and watch-dog receive the signaling of expectation respectively, then 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 given client device response monitoring facility information;
(403), client device sends the response signaling of notice opposite end local terminal ID number as burrowing bag to watch-dog;
(404), client device sends the signaling that request server notification service end equipment connects the local data passage to server;
(405), server carries out the signaling that data channel connects to watch-dog send server requesting client equipment to watch-dog;
(406), watch-dog carries out the data channel connection to watch-dog for server response server requesting client equipment;
(407), server connects the local data passage for 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 notice opposite end local terminal ID number to client device software;
(410), client device software is to watch-dog response notice opposite end local terminal ID number, successfully sets up signalling path;
(411), client device usefulness 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 the signaling that client device obtains the watch-dog video to watch-dog;
(414), watch-dog obtains the watch-dog video for client device software responses client device;
(415), client device is made the bag that burrows opposite end local terminal ID number to the video channel transmission notice of watch-dog regulation;
(416), watch-dog sends notice with video channel to client device software and makees the bag that burrows opposite end local terminal ID number;
(417), client device is notified opposite end local terminal ID number to the watch-dog response with video channel;
(418), after client device and watch-dog receive the signaling of expectation respectively, then 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 given client device response monitoring facility information;
(503), client device sends the signaling that request server notice watch-dog connects the local data passage to server;
(504), server carries out the signaling that data channel connects to watch-dog send server requesting client equipment to watch-dog;
(505), watch-dog is to server response " the server requests client device carries out data channel to watch-dog and connects ";
(506), server connects the local data passage for 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 notice opposite end local terminal ID number after the watch-dog successful connection to client device;
(509), client device is to watch-dog response notice opposite end local terminal ID number, successfully sets up signalling path;
(510), client device usefulness 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 the signaling that client device obtains the watch-dog video to watch-dog;
(513), watch-dog obtains the watch-dog video for 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 notice opposite end local terminal ID number after the watch-dog successful connection to client device;
(516), client device is to watch-dog response notice opposite end local terminal ID number, then 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 given 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 to client device and to notify opposite end local terminal ID number signaling;
(605), client device is to watch-dog response notice opposite end local terminal ID number, successfully sets up signalling path;
(606), client device usefulness 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 the signaling that client device obtains the watch-dog video to watch-dog;
(609), watch-dog obtains the watch-dog video for 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 to client device and notifies opposite end local terminal ID number signaling;
(612), client device is to watch-dog response notice opposite end local terminal ID number, then 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 parameters such as port, and select the communication mode of signaling and video according to the watch-dog network environment different with client device.When removing watch-dog and client device and all being in not penetrable Intranet environment, just selection is by the communication mode of forwarding server transmitting signaling and video.Other situation all is to set up the few signalling path of exchanges data by auxiliary watch-dog of server and client device, sets up the video channel that watch-dog is communicated with client device according to signalling path again.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,, realize the video communication of watch-dog and client device just by server forwards.
Advantage of the present invention has:
1, realizes the plug and play of the network equipment.
2, Installation and Debugging are convenient, but make the also safety brought of the enjoy network world of general user, feel at ease.
3, almost need not technical support and after-sale service, the cost of each side all has very big saving.
4, under network knowledge is not very universal situation, can large-scale promotion.
5, relatively entirely by the pattern of server forwards, less to the resource network resource occupation of server, saved the energy and the space helps environmental protection.
6, can be used in the network service of more existing server forwards pattern, will popularize to use to network and play huge impetus.
Description of drawings
Fig. 1 is a flow chart of the present invention;
Fig. 2 is the flow chart of IP address detected of the present invention;
The flow chart that Fig. 3 detects for network environment of the present invention.
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 installed in 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 is inserted in directly that modem goes up or router on, the start that powers on, IP Camera is by being installed in its inner software by following steps detection IP address and network environment;
(111), read the IP Camera network configuration parameters;
(112), judge whether to be then to enter next step, otherwise to skip to (114) into the dial-in direct online;
(113), judge whether dial-up success, be then to enter (116), otherwise skip to (113);
(114), obtain dynamic IP;
(115), whether obtain IP success, be then 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 then to skip to (120);
(119), network environment being set is public network;
(120), UPNP at different levels is not provided with success not, be then to enter next step, otherwise skip to
(122);
(121), network environment being set is UPNP;
(122), whether detect NAT be Full Cone NAT, be then 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 then 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 then 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 to detect the IP address and the network environment of this mobile phone at that time by following steps by being installed in its inner software;
(111A), read the cell phone network configuration parameter;
(112A), judge whether to be then to enter next step, otherwise to skip to (114A) into the dial-in direct online;
(113A), judge whether dial-up success, be then to enter (116A), otherwise skip to (113A);
(114A), obtain dynamic IP;
(115A), whether obtain IP success, be then 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 then to skip to (122A);
(119A), network environment being set is public network;
(122A), whether detect NAT be Full Cone NAT, be then 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 then 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 then 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, obtains video by mobile phone from forwarding server again;
(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 the Intranet environment of success 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 the Intranet environment of success 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 in public network environment or UPNP at different levels at the same time or separately the Intranet environment of success 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 given mobile phone response to network camera information;
(303), mobile phone carries out the signaling that data channel burrows to server transmission request server informing network camera;
(304), server carries out the signaling that data channel burrows to IP Camera send server request IP Camera to mobile phone;
(305), IP Camera carries out data channel to mobile phone for server response server request IP Camera to burrow;
(306), IP Camera sends the bag that burrows to the IP and the port of mobile phone defined;
(307), server carries out data channel to mobile phone for mobile phone response server request IP Camera to burrow;
(308), mobile phone is with the public network IP and the port connection device of IP Camera defined;
(309), IP Camera listens to behind the connection request of mobile phone the signaling that sends notice opposite end local terminal ID number to mobile phone;
(310), mobile phone is to IP Camera response notice opposite end local terminal ID number, successfully sets up signalling path;
(311), mobile phone usefulness 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 the signaling that mobile phone obtains the IP Camera video to IP Camera;
(314), IP Camera obtains the IP Camera video to cell phone software response mobile phone;
(315), mobile phone is made the bag that burrows opposite end local terminal ID number to the video channel transmission notice of IP Camera regulation;
(316), IP Camera sends notice with video channel to cell phone software and makees the bag that burrows opposite end local terminal ID number;
(317), mobile phone is notified opposite end local terminal ID number to the IP Camera response with video channel;
(318), after mobile phone and IP Camera receive the signaling of expectation respectively, then 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 given mobile phone response to network camera information;
(403), mobile phone sends the response signaling of notice opposite end local terminal ID number as burrowing bag to IP Camera;
(404), mobile phone sends the signaling that request server informing network camera connects the local data passage to server;
(405), server carries out the signaling that data channel connects to IP Camera send server request IP Camera to mobile phone;
(406), IP Camera carries out the data channel connection to mobile phone for server response server request IP Camera;
(407), server connects the local data passage for mobile phone response request server notification IP Camera;
(408), IP Camera is connected the mobile phone end with the public network IP of cell phone software regulation with port;
(409), IP Camera sends notice opposite end local terminal ID number to cell phone software;
(410), cell phone software is to IP Camera response notice opposite end local terminal ID number, successfully sets up signalling path;
(411), mobile phone usefulness 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 the signaling that mobile phone obtains the IP Camera video to IP Camera;
(414), IP Camera obtains the IP Camera video to cell phone software response mobile phone;
(415), mobile phone is made the bag that burrows opposite end local terminal ID number to the video channel transmission notice of IP Camera regulation;
(416), IP Camera sends notice with video channel to cell phone software and makees the bag that burrows opposite end local terminal ID number;
(417), mobile phone is notified opposite end local terminal ID number to the IP Camera response with video channel;
(418), after mobile phone and IP Camera receive the signaling of expectation respectively, then 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 given mobile phone response to network camera information;
(503), mobile phone sends the signaling that request server informing network camera connects the local data passage to server;
(504), server carries out the signaling that data channel connects to IP Camera send server request IP Camera to mobile phone;
(505), IP Camera is to server response " the server requests IP Camera carries out data channel to mobile phone and connects ";
(506), server connects the local data passage for 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 notice opposite end local terminal ID number after the IP Camera successful connection to mobile phone;
(509), mobile phone is to IP Camera response notice opposite end local terminal ID number, successfully sets up signalling path;
(510), mobile phone usefulness 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 the signaling that mobile phone obtains the IP Camera video to IP Camera;
(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 notice opposite end local terminal ID number after the IP Camera successful connection to mobile phone;
(516), mobile phone is to IP Camera response notice opposite end local terminal ID number, then 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 given mobile phone response to network camera information;
(603), mobile phone is connected IP Camera with the public network IP of IP Camera defined with port;
(604), IP Camera set up with being connected of mobile phone after send to mobile phone and to notify opposite end local terminal ID number signaling;
(605), mobile phone is to IP Camera response notice opposite end local terminal ID number, successfully sets up signalling path;
(606), mobile phone usefulness 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 the signaling that mobile phone obtains the IP Camera video to IP Camera;
(609), IP Camera obtains the IP Camera video to mobile phone response mobile phone;
(610), mobile phone is connected IP Camera with the public network IP of IP Camera regulation with port;
(611), IP Camera sends to mobile phone and notifies opposite end local terminal ID number signaling;
(612), mobile phone is to IP Camera response notice opposite end local terminal ID number, then successfully set up video channel, otherwise skip to (611), ten unsuccessful withdrawing from.
More than be that the network self-adapting operational mode on the 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; any change that does not deviate under the principle of the invention to be done, modification, substitute, combination, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.

Claims (8)

1. the network self-adapting operational mode on the 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:
(201), when watch-dog and client device all are in not penetrable Intranet environment, select 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 the Intranet environment of success 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 the Intranet environment of success 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 in public network environment or UPNP at different levels at the same time or separately the Intranet environment of success all are set, selecting client device or watch-dog is the TCP signaling of server mode of network and the communication mode of video.
2. the network self-adapting operational mode on the 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, Port Restricted Cone NAT, described not penetrable Intranet environment is Symmetric NAT.
3. the network self-adapting operational mode on the network monitoring system according to claim 1 is characterized in that: the detection of described IP address comprises:
(111), read network configuration parameters;
(112), judge whether to be then to enter next step, otherwise to skip to (114) into the dial-in direct online;
(113), judge whether dial-up success, be then to enter (116), otherwise skip to (113);
(114), obtain dynamic IP;
(115), whether obtain IP success, be then 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 the network monitoring system according to claim 1 is characterized in that: the detection of described network environment comprises:
(118), checkout equipment whether after NAT, otherwise enter next step, be then to skip to (120);
(119), network environment being set is public network;
(120), UPNP at different levels is not provided with success not, be then to enter next step, otherwise skip to
(122);
(121), network environment being set is UPNP;
(122), whether detect NAT be Full Cone NAT, be then 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 then 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 then 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 the 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 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 given client device response monitoring facility information;
(303), client device carries out the signaling that data channel burrows to server transmission request server notice watch-dog;
(304), server carries out the signaling that data channel burrows to watch-dog send server request watch-dog to client device;
(305), watch-dog carries out data channel to client device for server response server request watch-dog to burrow;
(306), watch-dog sends the bag that burrows to the IP and the port of client device defined;
(307), server carries out data channel to client device for client device response server request watch-dog to burrow;
(308), client device is with the public network IP and the port connection device of watch-dog defined;
(309), watch-dog listens to behind the connection request of client device the signaling that sends notice opposite end local terminal ID number to client device;
(310), client device is to watch-dog response notice opposite end local terminal ID number, successfully sets up signalling path;
(311), client device usefulness 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 the signaling that client device obtains the watch-dog video to watch-dog;
(314), watch-dog obtains the watch-dog video for client device software responses client device;
(315), client device is made the bag that burrows opposite end local terminal ID number to the video channel transmission notice of watch-dog regulation;
(316), watch-dog sends notice with video channel to client device software and makees the bag that burrows opposite end local terminal ID number;
(317), client device is notified opposite end local terminal ID number to the watch-dog response with video channel;
(318), after client device and watch-dog receive the signaling of expectation respectively, then successfully set up video channel, otherwise skip to (316), ten unsuccessful withdrawing from.
6. the network self-adapting operational mode on the 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 given client device response monitoring facility information;
(403), client device sends the response signaling of notice opposite end local terminal ID number as burrowing bag to watch-dog;
(404), client device sends the signaling that request server notice watch-dog connects the local data passage to server;
(405), server carries out the signaling that data channel connects to watch-dog send server requesting client equipment to watch-dog;
(406), watch-dog carries out the data channel connection to watch-dog for server response server requesting client equipment;
(407), server connects the local data passage for 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 notice opposite end local terminal ID number to client device software;
(410), client device software is to watch-dog response notice opposite end local terminal ID number, successfully sets up signalling path;
(411), client device usefulness 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 the signaling that client device obtains the watch-dog video to watch-dog;
(414), watch-dog obtains the watch-dog video for client device software responses client device;
(415), client device is made the bag that burrows opposite end local terminal ID number to the video channel transmission notice of watch-dog regulation;
(416), watch-dog sends notice with video channel to client device software and makees the bag that burrows opposite end local terminal ID number;
(417), client device is notified opposite end local terminal ID number to the watch-dog response with video channel;
(418), after client device and watch-dog receive the signaling of expectation respectively, then successfully set up video channel, otherwise skip to (416), ten unsuccessful withdrawing from.
7. the network self-adapting operational mode on the 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 given client device response monitoring facility information;
(503), client device sends the signaling that request server notice watch-dog connects the local data passage to server;
(504), server carries out the signaling that data channel connects to watch-dog send server requesting client equipment to watch-dog;
(505), " the server requests client device carries out data channel to watch-dog and connects watch-dog to the server response;
(506), server connects the local data passage for 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 notice opposite end local terminal ID number after the watch-dog successful connection to client device;
(509), client device is to watch-dog response notice opposite end local terminal ID number, successfully sets up signalling path;
(510), client device usefulness 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 the signaling that client device obtains the watch-dog video to watch-dog;
(513), watch-dog obtains the watch-dog video for 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 notice opposite end local terminal ID number after the watch-dog successful connection to client device;
(516), client device is to watch-dog response notice opposite end local terminal ID number, then successfully set up video channel, otherwise skip to (515), ten unsuccessful withdrawing from.
8. the network self-adapting operational mode on the 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 given 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 to client device and to notify opposite end local terminal ID number signaling;
(605), client device is to watch-dog response notice opposite end local terminal ID number, successfully sets up signalling path;
(606), client device usefulness 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 the signaling that client device obtains the watch-dog video to watch-dog;
(609), watch-dog obtains the watch-dog video for 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 to client device and notifies opposite end local terminal ID number signaling; (612), client device is to watch-dog response notice opposite end local terminal ID number, then 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 true CN101980508A (en) 2011-02-23
CN101980508B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297666A (en) * 2012-02-24 2013-09-11 中兴通讯股份有限公司 Video monitoring method, device and system achieved based on universal plug and play
CN104333727A (en) * 2013-07-22 2015-02-04 腾讯科技(深圳)有限公司 Audio-video transmission channel regulation method, device and system
WO2015184767A1 (en) * 2014-11-20 2015-12-10 中兴通讯股份有限公司 Client unit communications method and device
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
CN106685763A (en) * 2016-12-30 2017-05-17 中广热点云科技有限公司 Application platform for simultaneously supporting public network transmission and private network transmission
CN111131528A (en) * 2018-10-31 2020-05-08 杭州海康威视系统技术有限公司 Equipment network domain determining method, server and terminal

Citations (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
CN1863157A (en) * 2005-10-28 2006-11-15 华为技术有限公司 Method and apparatus for implementing network communication through NAT
CN1917512A (en) * 2005-08-18 2007-02-21 腾讯科技(深圳)有限公司 Method for establishing direct connected peer-to-peer channel
CN101035270A (en) * 2007-04-19 2007-09-12 苏州鹞鹰数据技术有限公司 Peer-to-peer video monitoring method based on the Internet
US20080198850A1 (en) * 2007-02-21 2008-08-21 Avaya Canada Corp. Peer-to-peer communication system and method
CN101267393A (en) * 2008-05-13 2008-09-17 腾讯科技(深圳)有限公司 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
CN101729862A (en) * 2008-10-21 2010-06-09 中兴通讯股份有限公司 Method and system for passing media through NAT by using video monitoring system

Patent Citations (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
CN1917512A (en) * 2005-08-18 2007-02-21 腾讯科技(深圳)有限公司 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
US20080198850A1 (en) * 2007-02-21 2008-08-21 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
CN101267393A (en) * 2008-05-13 2008-09-17 腾讯科技(深圳)有限公司 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
CN101729862A (en) * 2008-10-21 2010-06-09 中兴通讯股份有限公司 Method and system for passing media through NAT by using video monitoring system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297666A (en) * 2012-02-24 2013-09-11 中兴通讯股份有限公司 Video monitoring method, device and system achieved based on universal plug and play
CN103297666B (en) * 2012-02-24 2018-07-31 中兴通讯股份有限公司 The method, apparatus and system of video monitoring are realized based on universal plug and play
CN104333727A (en) * 2013-07-22 2015-02-04 腾讯科技(深圳)有限公司 Audio-video transmission channel regulation method, device and system
CN104333727B (en) * 2013-07-22 2019-04-12 腾讯科技(深圳)有限公司 Audio video transmission channel regulates and controls methods, devices and systems
WO2015184767A1 (en) * 2014-11-20 2015-12-10 中兴通讯股份有限公司 Client unit communications method and device
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
US11019041B2 (en) 2015-06-11 2021-05-25 Hangzhou Hikvision Digital Technology Co., Ltd. Network monitoring apparatus, and remote encryption and remote activation method, device and system thereof
US11456999B2 (en) 2015-06-11 2022-09-27 Hangzhou Hikvision Digital Technology Co., Ltd. Network monitoring apparatus, and remote encryption and remote activation method, device and system thereof
CN106685763A (en) * 2016-12-30 2017-05-17 中广热点云科技有限公司 Application platform for simultaneously supporting public network transmission and private network transmission
CN106685763B (en) * 2016-12-30 2019-11-12 中广热点云科技有限公司 Application platform that is a kind of while supporting public network transmission and private network transmission
CN111131528A (en) * 2018-10-31 2020-05-08 杭州海康威视系统技术有限公司 Equipment network domain determining method, server and terminal
CN111131528B (en) * 2018-10-31 2022-07-05 杭州海康威视系统技术有限公司 Equipment network domain determining method, server and terminal

Also Published As

Publication number Publication date
CN101980508B (en) 2013-05-15

Similar Documents

Publication Publication Date Title
CN101980508B (en) Network adaptive operation mode on network monitoring system
US7987273B2 (en) Server apparatus, mobile terminal, electric appliance, communication system, communication method, and program
CN101222519B (en) Remote activation of home devices
US8059631B2 (en) Location system and method for assisting emergency services in identifying the physical location of an IP telephony user
CN102546619B (en) Modbus protocol conversion system based on 3G (The 3rd Generation Telecommunication) Internet access
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
CN105681445B (en) The point-to-point transmission routing resource and device of data
CN101668049A (en) Method and device for reporting address, method and device for establishing connection and communication system
CN102137073B (en) Method and access equipment for preventing imitating internet protocol (IP) address to attack
CN103905579A (en) Method and system for communication between platform and terminal, platform and relevant devices
CN102932235B (en) Instant communicating method and server system under cloud computing environment
CN106604119A (en) Network penetrating method and system of intelligent TV private cloud equipment
CN102111728B (en) Network connection management module and method of mobile terminal
US20160065746A1 (en) Peer-to-peer, internet protocol telephone system with proxy interface for configuration data
CN104253980A (en) Method and device for connecting front-end equipment with background media equipment
US11082309B2 (en) Dynamic and interactive control of a residential gateway connected to a communication network
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
CN102547249A (en) 3G (3rd Generation) network-based video surveillance point-to-point access method
CN103516820A (en) Port forwarding method and apparatus based on MAC address
JP2008507156A (en) Method and system for controlling indoor equipment from outside
CN106603348B (en) A kind of method and system that simulation DHCP Offer floods
CN103139541A (en) Remote wireless video monitoring system and method thereof
CN102006465A (en) Video monitoring method and system based on fixed network and mobile wideband network
CN105634810B (en) method and system for accessing universal plug and play device and access device

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