CN105721833A - Social monitoring resource access method and device - Google Patents

Social monitoring resource access method and device Download PDF

Info

Publication number
CN105721833A
CN105721833A CN201610151532.4A CN201610151532A CN105721833A CN 105721833 A CN105721833 A CN 105721833A CN 201610151532 A CN201610151532 A CN 201610151532A CN 105721833 A CN105721833 A CN 105721833A
Authority
CN
China
Prior art keywords
society
box
monitoring resource
address
access
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
CN201610151532.4A
Other languages
Chinese (zh)
Other versions
CN105721833B (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201610151532.4A priority Critical patent/CN105721833B/en
Publication of CN105721833A publication Critical patent/CN105721833A/en
Application granted granted Critical
Publication of CN105721833B publication Critical patent/CN105721833B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The invention provides a social monitoring resource access method and device. The method comprises that when an access box receives an address resolution protocol ARP request message sent by an access server through a tunnel, and the destination IP address of the ARP request message is the IP address of the social monitoring resource in a social monitoring resource network accessed by the access box, the access box returns an ARP response message containing the media access control MAC address of the access box to the access server; and when the access box receives the ARP request message sent by the social monitoring resource and the destination IP address of the ARP request message is the tunnel interface address of the access server, the access box returns the ARP response message containing the MAC address of the access box to the social monitoring resource. Through application of the embodiment of the invention, the access of the social monitoring resource is realized on the premise of not changing a user network; and the access box is prevented from being the fault point or a bandwidth bottleneck point of the user network.

Description

A kind of society monitoring resource access method and device
Technical field
The present invention relates to technical field of video monitoring, particularly relate to a kind of society monitoring resource access method and device.
Background technology
Constantly advance along with what video monitoring system was built and go deep into, the construction scale of video monitoring probe and coverage expanding day, wherein, total monitoring probe quantity 92.5% is accounted for by the video monitoring probe of society's unit (Party and government offices, enterprises and institutions, sociogroup and other social organizatioies and individual citizens) investment construction voluntarily, while greatly having ensured unit safe, effectively compensate for common monitoring point inadequate resource, the monitoring problems such as blind spot is more.
Society unit build video monitoring system quantity many, but form dissipate, not architectonical, do not network, separate, there is the problems such as video monitoring resource-sharing difficulty, repeated construction to a certain extent.
For the problems referred to above, in existing video monitoring system, by using special social resources to access box (hereinafter referred to as accessing box), society is monitored resource and accesses public administration platform.And conventional access way generally comprises and is connected on by access case substring between DVR (DigitalVideoRecorder, digital video recorder) and switch, or other extension is on switches, and adds static routing on switches.
But practice finds, in above-mentioned society monitoring resource access way, the mode between DVR and switch that is connected on by access case substring can change user network, and access box may become the trouble point in user network and bandwidth bottleneck point;Accessing the other extension mode of box and need to do routing configuration on subscriber exchange, increasing the message down hop that destination address is proxy for equipment is access box, and is published in user network, is namely also required to change user network.
Summary of the invention
The present invention provides a kind of society monitoring resource access method and device, with the problem solving to need in existing society monitoring resource access scheme to change user network.
First aspect according to embodiments of the present invention, a kind of society monitoring resource access method is provided, it is applied to include access server, accesses box and the video monitoring system of society's monitoring resource network, described access box is linked into described society monitoring resource network in the way of the extension of side, setting up between described access box and described access server has tunnel to be connected, and the interface IP address at two ends, described tunnel is the internet protocol address in described society monitoring resource network;Described method includes:
The ARP request message that access server is sent is received by tunnel when accessing box, and during IP address that the purpose IP address of described ARP request message is society's monitoring resource in society's monitoring resource network that described access box accesses, described access box returns the arp reply message of the MAC address including described access box to described access server, so that described access server generates the ARP that the MAC Address of described access box is corresponding with the IP address of described social monitoring resource, and send message according to this ARP to described society monitoring resource;
When described access box receives the ARP request message that described society monitoring resource sends, and during the tunnel interface address that purpose IP address is described access server of described ARP request message, described access box returns the arp reply message of the MAC Address including described access box to described society monitoring resource, so that the ARP that the MAC Address of the described society monitoring resource described access box of generation is corresponding with the tunnel interface address of described access server, and send message according to this ARP to described access server.
Second aspect according to embodiments of the present invention, a kind of society monitoring resource access method is provided, it is applied to include access server, accesses box and the video monitoring system of society's monitoring resource network, described access box is linked into described society monitoring resource network in the way of the extension of side, setting up between described access box and described access server has tunnel to be connected, and the interface IP address at two ends, described tunnel is the internet protocol address in described society monitoring resource network;Described method includes:
Message is sent when access server needs to monitor resource to society, and when not inquiring the ARP list item corresponding to IP address of described society monitoring resource, described access server accesses box by tunnel to the target that society's monitoring resource network belonging to described society monitoring resource accesses and sends APR request, so that described target accesses box and returns the arp reply message including self MAC address;
Described access server generates corresponding ARP according to the MAC Address of described target access box and the IP address of described society monitoring resource, and sends message according to this ARP to described social resource of monitoring.
The third aspect according to embodiments of the present invention, a kind of society monitoring resource access device is provided, it is applied to include access server, accesses box and in the access box of the video monitoring system of society's monitoring resource network, described access box is linked into described society monitoring resource network in the way of the extension of side, setting up between described access box and described access server has tunnel to be connected, and the interface IP address at two ends, described tunnel is the internet protocol address in described society monitoring resource network;Described device includes:
Receive unit, for receiving access server or the ARP request message of society's monitoring resource transmission;
Response unit, for receiving, when described reception unit, the ARP request message that access server is sent by tunnel, and during IP address that the purpose IP address of described ARP request message is society's monitoring resource in society's monitoring resource network that described access box accesses, described access box returns the arp reply message of the MAC address including described access box to described access server, so that described access server generates the ARP that the MAC Address of described access box is corresponding with the IP address of described social monitoring resource, and send message according to this ARP to described society monitoring resource;When described reception unit receives the ARP request message that described society monitoring resource sends, and during the tunnel interface address that purpose IP address is described access server of described ARP request message, described access box returns the arp reply message of the MAC Address including described access box to described society monitoring resource, so that the ARP that the MAC Address of the described society monitoring resource described access box of generation is corresponding with the tunnel interface address of described access server, and send message according to this ARP to described access server.
Fourth aspect according to embodiments of the present invention, a kind of society monitoring resource access device is provided, it is applied to include access server, accesses box and in the access server of the video monitoring system of society's monitoring resource network, described access box is linked into described society monitoring resource network in the way of the extension of side, setting up between described access box and described access server has tunnel to be connected, and the interface IP address at two ends, described tunnel is the internet protocol address in described society monitoring resource network;Described device includes:
Transmitting element, for when needing to society's monitoring resource transmission message, and when not inquiring the ARP list item corresponding to IP address of described society monitoring resource, access box by tunnel to the target that society's monitoring resource network belonging to described society monitoring resource accesses and send APR request, so that described target accesses box and returns the arp reply message including self MAC address;
Receive unit, access, for receiving described target, the arp reply message that box sends;
Generating unit, the IP address that the MAC Address for accessing box according to described target monitors resource with described society generates corresponding ARP;
Described transmitting element, is additionally operable to send message according to this ARP to described society monitoring resource.
The application embodiment of the present invention, by accessing society's monitoring resource network in the way of the extension of side by accessing box, and monitor, with society, the tunnel that the IP address in resource network is tunnel interface address be connected accessing to set up between box and access server, and accessing, box enables ARP proxy function, when access box receives the ARP request of the IP address that purpose IP address is society's monitoring resource that access server sends or when receiving the social ARP request message monitoring the tunnel interface address that purpose IP address is access server that resource sends, access box and respond arp reply message as proxy ARP, so that access server or society's monitoring resource generate corresponding ARP according to arp reply message, and send message according to this ARP, under the premise not changing user network, achieve the access of society's monitoring resource, and avoid and access box and can become trouble point or the bandwidth bottleneck point of user network.
Accompanying drawing explanation
Fig. 1 is the network architecture schematic diagram that a kind of society monitoring resource that the embodiment of the present invention provides accesses;
Fig. 2 is the schematic flow sheet of a kind of society monitoring resource access method that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of the another kind of society monitoring resource access method that the embodiment of the present invention provides;
Fig. 4 is the configuration diagram of a kind of concrete application scenarios that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of society monitoring resource access device that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the another kind of society monitoring resource access device that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the another kind of society monitoring resource access device that the embodiment of the present invention provides;
Fig. 8 is the structural representation of a kind of society monitoring resource access device that the embodiment of the present invention provides;
Fig. 9 is the structural representation of the another kind of society monitoring resource access device that the embodiment of the present invention provides.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the technical scheme in the embodiment of the present invention, and it is understandable to enable the above-mentioned purpose of the embodiment of the present invention, feature and advantage to become apparent from, below in conjunction with accompanying drawing, technical scheme in the embodiment of the present invention is described in further detail.
The network architecture first embodiment of the present invention being suitable for below is described.
Refer to the network architecture schematic diagram that Fig. 1, Fig. 1 access for a kind of society monitoring resource that the embodiment of the present invention provides.As it is shown in figure 1, this network architecture schematic diagram can include access server, access box and society's monitoring resource network;Wherein, access box in the way of the extension of side, be linked into society's monitoring resource network, and access and set up tunnel between box and access server and is connected, the interface IP address at two ends, tunnel is IP (InternetProtocol, the Internet protocol) address that society monitors in resource network.In the network architecture, access box and enable ARP (AddressResolutionProtocol, address resolution protocol) agent functionality, when accessing the ARP request that box receives the IP address for the society's monitoring resource in society's monitoring resource network of access server transmission, or receive society monitoring resource send for the ARP request of the tunnel interface address of access server time, access the box MAC (MediaAccessControl with self, media interviews control) carry out arp reply, access server is made to generate the ARP that the IP address of society's monitoring resource is corresponding with the MAC Address of access box, or society monitors the tunnel interface address of the access server that resource generates and the ARP that the MAC Address accessing box is corresponding, and carry out message transmission according to the ARP generated, under the premise not changing user network, achieve the access of society's monitoring resource, and access society's monitoring resource network owing to accessing box by the other mode hung, trouble point or the bandwidth bottleneck point of user network will not be become.
Based on the network architecture shown in Fig. 1, embodiments provide a kind of society monitoring resource access method.Refer to the schematic flow sheet of a kind of society monitoring resource access method that Fig. 2, Fig. 2 provide for the embodiment of the present invention, as in figure 2 it is shown, this society monitoring resource access method may comprise steps of:
Step 201, when access box receive the ARP request message that access server is sent by tunnel, and the purpose IP address of this ARP request message be access box access society monitoring resource network in society monitoring resource IP address time, access box and return the arp reply message including accessing the MAC Address of box to access server, so that access server generates the ARP that the MAC Address accessing box is corresponding with the IP address of social monitoring resource, and send message according to this ARP to society's monitoring resource.
In the embodiment of the present invention, resource is monitored (such as NVR when access server needs to monitor the society in resource network to society, hereinafter referred to as target society monitor resource) send message time, whether access server can first be inquired about exists the ARP that this target society monitoring resource is corresponding, if being absent from, access server can by the tunnel between access box to accessing the ARP request that the IP address of resource is monitored in box transmission for this target society.
After accessing the ARP request that box receives access server transmission, find the IP address that purpose IP address is the target society monitoring resource in the society's monitoring resource network self accessed of this ARP request, now, accessing box can as ARP proxy, responding arp reply message to access server, this arp reply message includes the MAC Address accessing box self.
Access server receives after accessing the arp reply message that box sends, the MAC Address and the target society that access box can be generated according to this arp reply message and monitor the ARP that the IP address of resource is corresponding, and monitor resource according to this ARP to target society and send message.Wherein, access server according to ARP to target society monitor resource send message time, can first pass through that tunnel is existing is sent to access box by message, access case daughter root forward the message to target society monitoring resource according to the purpose IP address of message.
As the optional embodiment of one, in embodiments of the present invention, the tunnel foundation accessed between box and access server may include that
Access box and obtain two local ip address from society's monitoring resource network that self accesses;
Access box tunnel interface address using two local ip address as local tunnel interface address and access server respectively, set up tunnel with access server and be connected.
In this embodiment, access box after being linked in society's monitoring resource network in the way of the extension of side, two local ip address of acquisition resource network can be monitored from society, as by DHCP (DynamicHostConfigurationProtocol, DHCP) mode of agreement obtains IP address, and set up tunnel with access server and be connected, using in two local ip address getting as local tunnel address, another is distributed to the access server tunnel interface address as access server.
Further, in embodiments of the present invention, after setting up tunnel connection between access box and access server, tunnel can be passed through and send, to access server, society's monitoring resource information that society's monitoring resource network of access box access includes, so that access server monitors resource list item according to the society's monitoring maintenance of information received;Wherein, this society monitoring resource information includes device id and the IP address of society's monitoring resource;Society's monitoring resource list item includes the server interface of society's monitoring device id of resource, IP address and correspondence, and then, when access server needs to monitor resource transmission message to society, resource list item can be monitored according to the society of self maintained and determine the IP address of target society monitoring resource and the server interface of correspondence, and send message by the tunnel that this server interface is corresponding.
Step 202, when access box receive society monitoring resource send ARP request message, and during the tunnel interface address that purpose IP address is access server of this ARP request message, access box and monitor, to society, the arp reply message that resource return includes the MAC Address of access box, so that society's monitoring resource generates the ARP that the MAC Address accessing box is corresponding with the tunnel interface address of access server, and send message according to this ARP to access server.
In the embodiment of the present invention, need to send message to access server when society monitors resource, when sending response message after receiving, such as society's monitoring resource, the message that access server sends, society's monitoring resource can inquire about whether there is the ARP that access server is corresponding, if being absent from, then this society monitoring resource can monitor, in society, the ARP request message broadcasting the tunnel interface address for access server in resource network.
After access box receives this ARP request message, find the tunnel interface address that purpose IP address is access server of this ARP request message, now, accessing box can as ARP proxy, monitoring resource response arp reply message to society, this arp reply message includes the MAC Address accessing box self.
Society's monitoring resource receives after accessing the arp reply message that box sends, can generate, according to this arp reply message, the ARP that the MAC Address accessing box is corresponding with the tunnel interface address of access server, and send message according to this ARP to access server.Wherein, the message that society's monitoring resource sends according to ARP can first be sent to access box, by tunnel, message is sent to access server by accessing box.
Visible, in the method flow shown in Fig. 2, by accessing society's monitoring resource network in the way of the extension of side by accessing box, and monitor, with society, the tunnel that the IP address in resource network is tunnel interface address be connected accessing to set up between box and access server, and accessing, box enables ARP proxy function, under the premise not changing user network, it is achieved that the access of society's monitoring resource, and avoid and access box and can become trouble point or the bandwidth bottleneck point of user network
Based on the network architecture shown in Fig. 1, embodiments provide another kind of society monitoring resource access method.Refer to the schematic flow sheet of the another kind of society monitoring resource access method that Fig. 3, Fig. 3 provide for the embodiment of the present invention, as it is shown on figure 3, this society monitoring resource access method may comprise steps of:
Step 301, when access server need to society monitor resource send message, and when not inquiring the ARP corresponding to IP address of this society monitoring resource, access server accesses box transmission APR request by tunnel to the target that society's monitoring resource network belonging to this society monitoring resource accesses, so that target accesses box and returns the arp reply message including own MAC address.
In the embodiment of the present invention, when access server needs society's monitoring resource (monitoring resource hereinafter referred to as target society) monitoring in resource network to society to send message, whether access server can first be inquired about exists the ARP that this target society monitoring resource is corresponding, if being absent from, access server can access box by the tunnel between access box (accessing box referred to herein as target) to target and send the ARP request of the IP address monitoring resource for this target society.
After target accesses the ARP request that box receives access server transmission, find the IP address that purpose IP address is the target society monitoring resource in the society's monitoring resource network self accessed of this ARP request, now, target accesses box can as ARP proxy, responding arp reply message to access server, this arp reply message includes target and accesses the MAC Address of box self.
Step 302, access server generate corresponding ARP according to the IP address of MAC Address and social monitoring resource that target accesses box, and send message according to this ARP to society's monitoring resource.
In the embodiment of the present invention, after access server receives the arp reply message that target accesses box transmission, target can be generated according to this arp reply message to access MAC Address and the target society of box and monitor the ARP that the IP address of resource is corresponding, and monitor resource according to this ARP to target society and send message.Wherein, access server according to ARP to target society monitor resource send message time, the existing target that is sent to by message in tunnel can be first passed through and access box, target access case daughter root forward the message to target society monitoring resource according to the purpose IP address of message.
Further, consider when there being multiple societies monitoring resource network to access public administration platform, the different tunnel interface addresses that box is access server distribution of accessing would be likely to occur repetition, the IP address of the society's monitoring resource in the resource network of different society monitoring simultaneously also likely to be present repetition, thus, as the optional embodiment of one, in embodiments of the present invention, tunnel is had to be connected when access server accesses box foundation respectively with at least two, and this at least two accesses box respectively in time accessing different society's monitoring resource networks in the way of the extension of side, can also include:
Access server respectively at least two accesses box and generates corresponding example, and sets up the binding relationship of the example tunnel interface corresponding with at least two access box;
According to this binding relationship, and access society's monitoring resource information generation social monitoring resource list item that box sends;Wherein, this society monitoring resource list item includes the server interface of society's monitoring device id of resource, affiliated example, IP address and correspondence.
As an example it is assumed that society's monitoring resource network 1 and society's monitoring resource network 2 all need to access public administration platform, the other access box hung of society's monitoring resource network 1 is for accessing box 1, and the other access box hung of society's monitoring resource network 2 is for accessing box 2.The tunnel interface address that access box 1 and access box 2 distribute for access server is 192.168.1.5.
Access server is set up after tunnel is connected with accessing box, can respectively access box 1 and access box 2 generates corresponding example, as accessed the corresponding social resources example 1 of box 1, access the corresponding social resources example 2 of box 2, and set up the binding relationship of example and corresponding tunnel interface, such as social resources example 1 binding server interface PPP0, social resources example 2 binding server interface PPP1.
Access box 1 (accessing box 2) and set up with access server after tunnel is connected, access box 1 (accessing box 2) society can monitor society's monitoring resource information that resource network 1 (society's monitoring resource network 2) includes be sent to access server, so that access server generates corresponding social resources list item.
Assume that society's monitoring resource network 1 includes DVR1 and DVR2, its IP address respectively 192.168.1.2 and 192.168.1.3;Society's monitoring resource network 2 includes DVR3 and DVR3, its IP address respectively 192.168.1.2 and 192.168.1.3, then the social resources list item that access server generates can be as shown in table 1:
Table 1
Device id Affiliated example IP address Interface
DVR1 Social resources example 1 192.168.1.2 PPP0
DVR2 Social resources example 1 192.168.1.3 PPP0
DVR3 Social resources example 2 192.168.1.2 PPP1
DVR4 Social resources example 2 192.168.1.3 PPP1
Wherein, according to the information of record in table 1, when access server needs to communicate with the DVR1 in social monitoring resource network 1, inquiring about example corresponding for this DVR is social resources example 1, thus the route of correspondence searched by access server in the routing table of social resources example 1, message all can process in social resources example 1, as when needing to send for the ARP request message of the purpose IP address of DVR1, access server can be sent to the access box (accessing box 1) of correspondence by the tunnel that interface PPP0 is corresponding.
In like manner, access server also can be processed by the interface PPP0 message received in social resources example 1, and can be processed in social resources example 2 by the interface PPP1 message received.
In order to make those skilled in the art be more fully understood that the technical scheme that the embodiment of the present invention provides, the technical scheme embodiment of the present invention provided below in conjunction with concrete application scenarios illustrates.
Refer to Fig. 4, the configuration diagram of a kind of concrete application scenarios that Fig. 4 provides for the embodiment of the present invention, as shown in Figure 4, this application scenarios can include access server (access server of public administration platform), access box and society's monitoring resource network;Wherein, society's monitoring resource network includes DVR1 and DVR2, IP address respectively 192.169.1.2 and 192.168.1.3, and gateway ip address is 192.168.1.1.
Society's monitoring resource access process under this application scenarios is as follows:
1, box is accessed to be linked in society's monitoring resource network in the way of the extension of side, and start DHCPclient (client), monitor from society and resource network obtains 2 local ip address, such as 192.168.1.4 and 192.168.1.5, mask is 255.255.255.0, gateway is 192.168.1.1, and using 192.168.1.4,255.255.255.0/192.168.1.1 therein as local interface address, mask and gateway.
2, access box to set up tunnel with access server and be connected, and 192.168.1.4 is multiplexed with this locality tunnel address, 192.168.1.5/255.255.255.0 is distributed to the access server tunnel interface address as access server.
3, access and box starts ARP proxy function.
4, when access server (192.168.1.5) needs to send message to DVR1 (192.168.1.2), and when not inquiring ARP corresponding for 192.168.1.2, access server can send the ARP request message for 192.168.1.2 on tunnel interface, ARP request message is arrived by tunnel after accessing box, accessing box and respond arp reply message as ARP proxy, this arp reply message includes the MAC Address accessing box.
5, after access server receives arp reply message, generate the ARP that the MAC Address accessing box is corresponding with 192.168.1.2, and according to this ARP, the message being sent to DVR1 is sent to access box, access box forwards it to DVR1 according to purpose IP address (192.168.1.2) after receiving this message.
6, after DVR1 receives message, before sending response message, if the ARP that the tunnel interface address (192.168.1.5) not inquiring access server is corresponding, then it is also required to first broadcast the ARP request message for 192.168.1.5;After access box receives this ARP request message, responding arp reply message as ARP proxy, this arp reply message includes the MAC Address accessing box.
7, after DVR1 receives arp reply message, generate the ARP that the MAC Address accessing box is corresponding with 192.168.1.5, and the message being sent to access server is sent to access box, forwarded it to access server by accessing box by tunnel.
Be can be seen that by above description, in embodiments of the present invention, by accessing society's monitoring resource network in the way of the extension of side by accessing box, and monitor, with society, the tunnel that the IP address in resource network is tunnel interface address be connected accessing to set up between box and access server, and accessing, box enables ARP proxy function, when access box receives the ARP request of the IP address that purpose IP address is society's monitoring resource that access server sends or when receiving the social ARP request message monitoring the tunnel interface address that purpose IP address is access server that resource sends, access box and respond arp reply message as proxy ARP, so that access server or society's monitoring resource generate corresponding ARP according to arp reply message, and send message according to this ARP, under the premise not changing user network, achieve the access of society's monitoring resource, and avoid and access box and can become trouble point or the bandwidth bottleneck point of user network.
Refer to Fig. 5, for the structural representation of a kind of society monitoring resource access device that the embodiment of the present invention provides, wherein, this society monitoring access device can apply to the access box in the network architecture shown in Fig. 1, as it is shown in figure 5, this society monitoring resource access device may include that
Receive unit 510, for receiving access server or the ARP request message of society's monitoring resource transmission;
Response unit 520, for receiving, when described reception unit 510, the ARP request message that access server is sent by tunnel, and during IP address that the purpose IP address of described ARP request message is society's monitoring resource in society's monitoring resource network that described access box accesses, described access box returns the arp reply message of the MAC address including described access box to described access server, so that described access server generates the ARP that the MAC Address of described access box is corresponding with the IP address of described social monitoring resource, and send message according to this ARP to described society monitoring resource;When described reception unit receives the ARP request message that described society monitoring resource sends, and during the tunnel interface address that purpose IP address is described access server of described ARP request message, described access box returns the arp reply message of the MAC Address including described access box to described society monitoring resource, so that the ARP that the MAC Address of the described society monitoring resource described access box of generation is corresponding with the tunnel interface address of described access server, and send message according to this ARP to described access server.
Seeing also Fig. 6, for the structural representation of the another kind of society monitoring resource access device that the embodiment of the present invention provides, this embodiment is on the basis of aforementioned embodiment illustrated in fig. 5, and the resource access device of society's monitoring shown in Fig. 6 can also include:
Acquiring unit 530, the society for accessing from described access box monitors and obtains two local ip address resource network;
Set up unit 540, be used for the tunnel interface address respectively using said two local ip address as local tunnel interface address and access server, set up tunnel with described access server and be connected.
See also Fig. 7, structural representation for the another kind of society monitoring resource access device that the embodiment of the present invention provides, this embodiment is (Fig. 7 to be optimized for example on the embodiment basis shown in Fig. 6) on the basis of earlier figures 5 or 6 illustrated embodiment, and the resource access device of society's monitoring shown in Fig. 6 can also include:
Transmitting element 550, for sending, to described access server, society's monitoring resource information that society's monitoring resource network of described access box access includes by tunnel, so that described access server monitors resource list item according to monitoring maintenance of information society of described society;Wherein, described society monitoring resource information includes device id and the IP address of society's monitoring resource;Described society monitoring resource list item includes the server interface of society's monitoring device id of resource, IP address and correspondence.
Refer to Fig. 8, for the structural representation of a kind of society monitoring resource access device that the embodiment of the present invention provides, wherein, this society monitoring access device can apply to the access server in the network architecture shown in Fig. 1, as shown in Figure 8, this society monitoring resource access device may include that
Transmitting element 810, for when needing to society's monitoring resource transmission message, and when not inquiring the ARP list item corresponding to IP address of described society monitoring resource, access box by tunnel to the target that society's monitoring resource network belonging to described society monitoring resource accesses and send APR request, so that described target accesses box and returns the arp reply message including self MAC address;
Receive unit 820, access, for receiving described target, the arp reply message that box sends;
Generating unit 830, the IP address that the MAC Address for accessing box according to described target monitors resource with described society generates corresponding ARP;
Described transmitting element 810, is additionally operable to send message according to this ARP to described society monitoring resource.
In an alternative embodiment, described access server accesses box foundation respectively with at least two has tunnel to be connected, and described at least two accesses box and accesses different society's monitoring resource networks respectively in the way of the extension of side;
Generate unit 830, be additionally operable to respectively described at least two and access the example that box generation is corresponding;
Correspondingly, seeing also Fig. 9, for the structural representation of the another kind of society monitoring resource access device that the embodiment of the present invention provides, this embodiment is on the basis of aforementioned embodiment illustrated in fig. 8, and the resource access device of society's monitoring shown in Fig. 9 can also include:
Set up unit 840, access the binding relationship of tunnel interface corresponding to box for setting up described example with described at least two;
Described generation unit 830, it is additionally operable to according to described binding relationship, and access society's monitoring resource information generation social monitoring resource list item that box sends, wherein, described society monitoring resource list item includes the social server interface monitoring the device id of resource, affiliated example, IP address and correspondence.
What in said apparatus, the function of unit and the process that realizes of effect specifically referred in said method corresponding step realizes process, does not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part illustrates referring to the part of embodiment of the method.Device embodiment described above is merely schematic, the wherein said unit illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs to realize the purpose of the present invention program.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
As seen from the above-described embodiment, by accessing society's monitoring resource network in the way of the extension of side by accessing box, and monitor, with society, the tunnel that the IP address in resource network is tunnel interface address be connected accessing to set up between box and access server, and accessing, box enables ARP proxy function, when access box receives the ARP request of the IP address that purpose IP address is society's monitoring resource that access server sends or when receiving the social ARP request message monitoring the tunnel interface address that purpose IP address is access server that resource sends, access box and respond arp reply message as proxy ARP, so that access server or society's monitoring resource generate corresponding ARP according to arp reply message, and send message according to this ARP, under the premise not changing user network, achieve the access of society's monitoring resource, and avoid and access box and can become trouble point or the bandwidth bottleneck point of user network.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to other embodiment of the present invention.The application is intended to any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed the general principle of the present invention and include the undocumented known general knowledge in the art of the present invention or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the present invention and spirit are pointed out by claim below.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (10)

1. society's monitoring resource access method, it is applied to include access server, accesses box and the video monitoring system of society's monitoring resource network, it is characterized in that, described access box is linked into described society monitoring resource network in the way of the extension of side, setting up between described access box and described access server has tunnel to be connected, and the interface IP address at two ends, described tunnel is the internet protocol address in described society monitoring resource network;Described method includes:
The ARP request message that access server is sent is received by tunnel when accessing box, and during IP address that the purpose IP address of described ARP request message is society's monitoring resource in society's monitoring resource network that described access box accesses, described access box returns the arp reply message of the MAC address including described access box to described access server, so that described access server generates the ARP that the MAC Address of described access box is corresponding with the IP address of described social monitoring resource, and send message according to this ARP to described society monitoring resource;
When described access box receives the ARP request message that described society monitoring resource sends, and during the tunnel interface address that purpose IP address is described access server of described ARP request message, described access box returns the arp reply message of the MAC Address including described access box to described society monitoring resource, so that the ARP that the MAC Address of the described society monitoring resource described access box of generation is corresponding with the tunnel interface address of described access server, and send message according to this ARP to described access server.
2. method according to claim 1, it is characterised in that described method also includes:
Described access box obtains two local ip address from society's monitoring resource network that self accesses;
Described access box tunnel interface address using said two local ip address as local tunnel interface address and access server respectively, sets up tunnel with described access server and is connected.
3. method according to claim 1 and 2, it is characterised in that described method also includes:
Described access box sends, to described access server, society's monitoring resource information that society's monitoring resource network of described access box access includes by tunnel, so that described access server monitors resource list item according to monitoring maintenance of information society of described society;Wherein, described society monitoring resource information includes device id and the IP address of society's monitoring resource;Described society monitoring resource list item includes the server interface of society's monitoring device id of resource, IP address and correspondence.
4. society's monitoring resource access method, it is applied to include access server, accesses box and the video monitoring system of society's monitoring resource network, it is characterized in that, described access box is linked into described society monitoring resource network in the way of the extension of side, setting up between described access box and described access server has tunnel to be connected, and the interface IP address at two ends, described tunnel is the internet protocol address in described society monitoring resource network;Described method includes:
Message is sent when access server needs to monitor resource to society, and when not inquiring the ARP list item corresponding to IP address of described society monitoring resource, described access server accesses box by tunnel to the target that society's monitoring resource network belonging to described society monitoring resource accesses and sends APR request, so that described target accesses box and returns the arp reply message including self MAC address;
Described access server generates corresponding ARP according to the MAC Address of described target access box and the IP address of described society monitoring resource, and sends message according to this ARP to described social resource of monitoring.
5. method according to claim 4, it is characterised in that described access server accesses box foundation respectively with at least two has tunnel to be connected, described at least two accesses box and accesses different society's monitoring resource networks respectively in the way of the extension of side;
Described method also includes:
Described access server respectively described at least two accesses box and generates corresponding example, and sets up the binding relationship of the described example tunnel interface corresponding with described at least two access box;
Described access server is according to described binding relationship, and access society's monitoring resource information generation social monitoring resource list item that box sends, wherein, described society monitoring resource list item includes the server interface of society's monitoring device id of resource, affiliated example, IP address and correspondence.
6. society's monitoring resource access device, it is applied to include access server, accesses box and in the access box of the video monitoring system of society's monitoring resource network, it is characterized in that, described access box is linked into described society monitoring resource network in the way of the extension of side, setting up between described access box and described access server has tunnel to be connected, and the interface IP address at two ends, described tunnel is the internet protocol address in described society monitoring resource network;Described device includes:
Receive unit, for receiving access server or the ARP request message of society's monitoring resource transmission;
Response unit, for receiving, when described reception unit, the ARP request message that access server is sent by tunnel, and during IP address that the purpose IP address of described ARP request message is society's monitoring resource in society's monitoring resource network that described access box accesses, described access box returns the arp reply message of the MAC address including described access box to described access server, so that described access server generates the ARP that the MAC Address of described access box is corresponding with the IP address of described social monitoring resource, and send message according to this ARP to described society monitoring resource;When described reception unit receives the ARP request message that described society monitoring resource sends, and during the tunnel interface address that purpose IP address is described access server of described ARP request message, described access box returns the arp reply message of the MAC Address including described access box to described society monitoring resource, so that the ARP that the MAC Address of the described society monitoring resource described access box of generation is corresponding with the tunnel interface address of described access server, and send message according to this ARP to described access server.
7. device according to claim 6, it is characterised in that described device also includes:
Acquiring unit, the society for accessing from described access box monitors and obtains two local ip address resource network;
Set up unit, be used for the tunnel interface address respectively using said two local ip address as local tunnel interface address and access server, set up tunnel with described access server and be connected.
8. the device according to claim 6 or 7, it is characterised in that described device also includes:
Transmitting element, for sending, to described access server, society's monitoring resource information that society's monitoring resource network of described access box access includes by tunnel, so that described access server monitors resource list item according to monitoring maintenance of information society of described society;Wherein, described society monitoring resource information includes device id and the IP address of society's monitoring resource;Described society monitoring resource list item includes the server interface of society's monitoring device id of resource, IP address and correspondence.
9. society's monitoring resource access device, it is applied to include access server, accesses box and in the access server of the video monitoring system of society's monitoring resource network, it is characterized in that, described access box is linked into described society monitoring resource network in the way of the extension of side, setting up between described access box and described access server has tunnel to be connected, and the interface IP address at two ends, described tunnel is the internet protocol address in described society monitoring resource network;Described device includes:
Transmitting element, for when needing to society's monitoring resource transmission message, and when not inquiring the ARP list item corresponding to IP address of described society monitoring resource, access box by tunnel to the target that society's monitoring resource network belonging to described society monitoring resource accesses and send APR request, so that described target accesses box and returns the arp reply message including self MAC address;
Receive unit, access, for receiving described target, the arp reply message that box sends;
Generating unit, the IP address that the MAC Address for accessing box according to described target monitors resource with described society generates corresponding ARP;
Described transmitting element, is additionally operable to send message according to this ARP to described society monitoring resource.
10. device according to claim 9, it is characterised in that described access server accesses box foundation respectively with at least two has tunnel to be connected, described at least two accesses box and accesses different society's monitoring resource networks respectively in the way of the extension of side;
Described generation unit, is additionally operable to respectively described at least two and accesses the example that box generation is corresponding;
Described device also includes:
Set up unit, access the binding relationship of tunnel interface corresponding to box for setting up described example with described at least two;
Described generation unit, it is additionally operable to according to described binding relationship, and access society's monitoring resource information generation social monitoring resource list item that box sends, wherein, described society monitoring resource list item includes the social server interface monitoring the device id of resource, affiliated example, IP address and correspondence.
CN201610151532.4A 2016-03-16 2016-03-16 A kind of society's monitoring resource access method and device Active CN105721833B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610151532.4A CN105721833B (en) 2016-03-16 2016-03-16 A kind of society's monitoring resource access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610151532.4A CN105721833B (en) 2016-03-16 2016-03-16 A kind of society's monitoring resource access method and device

Publications (2)

Publication Number Publication Date
CN105721833A true CN105721833A (en) 2016-06-29
CN105721833B CN105721833B (en) 2019-01-11

Family

ID=56157699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610151532.4A Active CN105721833B (en) 2016-03-16 2016-03-16 A kind of society's monitoring resource access method and device

Country Status (1)

Country Link
CN (1) CN105721833B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559271A (en) * 2016-12-02 2017-04-05 浙江宇视科技有限公司 A kind of resource access method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120240226A1 (en) * 2011-03-15 2012-09-20 Weichen Li Network routers and network traffic routing methods
CN103002065A (en) * 2012-12-14 2013-03-27 大唐移动通信设备有限公司 Method and device for sharing internet protocol (IP) address by host device and standby device
CN103973570A (en) * 2013-01-31 2014-08-06 华为技术有限公司 Message transmission method, AP (access point) and message transmission system
CN104022936A (en) * 2014-06-20 2014-09-03 杭州华三通信技术有限公司 Method and device for establishing tunnel
CN105163062A (en) * 2015-06-16 2015-12-16 浙江宇视科技有限公司 System and method for accessing social resources to public platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120240226A1 (en) * 2011-03-15 2012-09-20 Weichen Li Network routers and network traffic routing methods
CN103002065A (en) * 2012-12-14 2013-03-27 大唐移动通信设备有限公司 Method and device for sharing internet protocol (IP) address by host device and standby device
CN103973570A (en) * 2013-01-31 2014-08-06 华为技术有限公司 Message transmission method, AP (access point) and message transmission system
CN104022936A (en) * 2014-06-20 2014-09-03 杭州华三通信技术有限公司 Method and device for establishing tunnel
CN105163062A (en) * 2015-06-16 2015-12-16 浙江宇视科技有限公司 System and method for accessing social resources to public platform

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559271A (en) * 2016-12-02 2017-04-05 浙江宇视科技有限公司 A kind of resource access method and system
CN106559271B (en) * 2016-12-02 2019-10-18 浙江宇视科技有限公司 A kind of resource access method and system

Also Published As

Publication number Publication date
CN105721833B (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN105656680B (en) Network camera control method and device
US20160006822A1 (en) Service discovery within multi-link networks
US8363663B2 (en) Methods and apparatus for routing data to nodes
CN102845123B (en) Virtual private cloud connection method and tunnel proxy server
EP2579519A1 (en) Method, network device and system for automatically configuring network device in internet protocol version 6 network
US9866522B2 (en) Method to control dynamic host configuration protocol pool exhaustion in dynamic network environments
CN102055816A (en) Communication method, business server, intermediate equipment, terminal and communication system
CN101873320B (en) Client information verification method based on DHCPv6 relay and device thereof
CN105245629A (en) DHCP-based host communication method and device
CN102739541A (en) Method, device and system for starting routing function and transmitting data
CN102185766A (en) Unicast forwarding method and forwarding equipment for responding messages by DHCP (Dynamic host configuration protocol) server
EP2765743A1 (en) Layer 2 inter-connecting method, apparatus and system based on ipv6
CN109379291A (en) The processing method and processing device of service request in a kind of networking
CN105979202B (en) Data transmission method and device
CN101001264A (en) Method, device, network edge equipment and addressing server for L1VPN address distribution
CN102594839B (en) Method for distinguishing pseudo dynamic host configuration protocol (DHCP) servers and switchboards
CN102918817B (en) The method of IPv6 address assignment and equipment
CN106878481B (en) Method, device and system for acquiring Internet Protocol (IP) address
CN107659930A (en) A kind of AP connection control methods and device
CN103780494A (en) User information obtaining method and device
US20040042446A1 (en) Maintaining routing information in a passive optical network
CN102957755B (en) A kind of address resolution method, device and information transferring method
CN105721833A (en) Social monitoring resource access method and device
CN104935677B (en) A kind of NAT64 resource acquiring method and acquisition/distributor
EP3890249A1 (en) A method and a system for routing data packets in a network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant