CN104639913B - A kind of network video recorder and its method for automatically accessing IPC - Google Patents

A kind of network video recorder and its method for automatically accessing IPC Download PDF

Info

Publication number
CN104639913B
CN104639913B CN201510075933.1A CN201510075933A CN104639913B CN 104639913 B CN104639913 B CN 104639913B CN 201510075933 A CN201510075933 A CN 201510075933A CN 104639913 B CN104639913 B CN 104639913B
Authority
CN
China
Prior art keywords
ipc
address
network interface
interface card
network
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.)
Active
Application number
CN201510075933.1A
Other languages
Chinese (zh)
Other versions
CN104639913A (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 CN201510075933.1A priority Critical patent/CN104639913B/en
Publication of CN104639913A publication Critical patent/CN104639913A/en
Application granted granted Critical
Publication of CN104639913B publication Critical patent/CN104639913B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of network video recorder and its method for automatically accessing IPC, the network video recorder includes equipment discovery module, Network conf iotag module and configuration management module.The method includes the steps:ARP broadcast messages are sent, and receive the response message of each IPC feedbacks, which carries the IP address, subnet mask and port numbers of IPC oneself;According to the IPC response messages of reception, judge to send the IPC of the response message IP address whether with the IP address of itself network interface card in the same network segment, if yes then enter in next step;Otherwise on itself network interface card add one with send the response message IPC the same network segment of IP address virtual ip address, and by the IPC with increased virtual ip address be tied to the network interface card of itself, into next step;Corresponding IPC is added with mode of unicast.Access of the invention for not supporting to change the IPC of IP, goes IPization, realizes that zero configuration can interconnect use between IPC equipment and NVR equipment.

Description

A kind of network video recorder and its method for automatically accessing IPC
Technical field
The invention belongs to technical field of video monitoring, more particularly to a kind of network video recorder and its automatically access IPC Method.
Background technology
Video monitoring is the important component of safety and protection system, and video monitoring is with its directly perceived, accurate, timely and information It is abundant in content and be widely used in many occasions.In recent years, with computer, network and image procossing, transmission technology fly Speed development, the universalness trend of video monitoring are more and more obvious.IP based network becomes the most frequently used to dispose video monitoring system A kind of networking mode, in video monitoring system as shown in Figure 1, network video recorder NVR and web camera IPC connect Client can be accessed to check the video image of each IPC under egress router, also may be used by entering to same egress router, user To access NVR by mobile client in the wide area network, the video image of each IPC is checked.But supervised in video as deployment During control system, since the user of a large amount of average family video monitoring systems is for the basic conception of IP and network and using not Very clear, when mounted often there are such-and-such problem, user it is expected only to need to plug cable, opening electricity after taking equipment Source can be used.
Although it can accomplish to be linked into IPC for NVR the and IPC equipment in the video monitoring system of mainstream at present After egress router, NVR scans for find IPC after the power is turned on, and user only needs to add the management to IPC in man-machine interface .Even if IPC uses third-party equipment, NVR can also be communicated by ONVIF agreements or proprietary protocol with IPC, modification Its IP address simultaneously adds the management to IPC.But although the IPC equipment of some producers supports automatic discovery, does not support to change IP, or also need to restart after IP is changed, have to wait for, lose time in restarting process, influence the usage experience of user.
The content of the invention
The object of the present invention is to provide a kind of network video recorder and its method for automatically accessing IPC, to avoid network The problem of middle IPC is difficult to be added to NVR caused by cannot changing IP address, facilitates user to dispose video surveillance network.
To achieve these goals, technical solution of the present invention is as follows:
A kind of method that network video recorder automatically accesses IPC, applied to the NVR in video monitoring system, including step Suddenly:
Step 1, send ARP broadcast messages, and receives the response message of each IPC feedbacks, which carries IPC certainly Oneself IP address, subnet mask and port numbers;
Step 2, the IPC response messages according to reception, judge to send the IPC of the response message IP address whether with itself The IP address of network interface card is in the same network segment, if yes then enter in next step;Otherwise one is added on itself network interface card with sending the sound The virtual ip address of the same network segment of IP address of the IPC of message is answered, and the IPC and an increased virtual ip address are tied to certainly The network interface card of body, into next step;
Step 3, with mode of unicast add corresponding IPC.
Corresponding IPC is added with mode of unicast wherein described in step 3, step can also be included:
Sending device authentication information is authenticated, if not receiving authentication OK responses to the IPC for sending the response message Or response failure, then for being bundled with the network interface card of the IPC and virtual IP address, delete the binding relationship of the IPC and virtual IP address;
After the authentication is passed, configured to the IPC sending devices and obtain information, and it is matched somebody with somebody according to the response of the IPC Put, or directly it is configured according to default configuration.
Further, if the network video recorder has at least two network interface cards, the step 2 specifically further includes Step:
The IP address of the IPC of the response message will be sent compared with the IP address of each network interface card, checked whether network interface card With the IPC in the same network segment, if the IP address of only one network interface card and the IP address of the IPC should in the same network segment, binding IPC and the network interface card;If the IP address of multiple network interface cards and the IP address of the IPC are in the same network segment, then according on every piece of network interface card Binding IPC how much, carry out load balancing, select the minimum network interface card of binding IP C to bind the IPC;If none of net Card in the same network segment, then selects the minimum network interface cards of binding IP C with the IPC, and one is added on the network interface card, and the response disappears with transmission The IP address of the same network segment of IP address of the IPC of breath, and the IPC and the IP address added are tied to the network interface card.
Or:The IP address of the IPC of the response message will be sent compared with the IP address of each network interface card, checked whether Network interface card and the IPC are in the same network segment, if the IP address of the IP address of only one network interface card and the IPC in the same network segment, are tied up The fixed IPC and the network interface card;If the IP address of multiple network interface cards and the IP address of the IPC are in the same network segment, then according to every piece of net How much is the IPC of binding on card, carries out load balancing, selects the minimum network interface cards of binding IP C to bind the IPC;If without one A network interface card and the IPC then select the minimum network interface cards of binding IP C, one are added on the network interface card with sending the sound in the same network segment The virtual ip address of the same network segment of IP address of the IPC of message is answered, and the IPC and the virtual ip address added are tied to this Network interface card.
By above-mentioned steps, when network interface card is configured without IP address, add IP address, and when network interface card with being already configured with IP During location, virtual ip address is added.
Further, it is described addition one with transmission the response message IPC the same network segment of IP address IP address or Virtual ip address, including step:
An IP address is arbitrarily chosen from the network address of the same network segment of IP address for the IPC for sending the response message, The IP address is connected by ping orders, if ping is obstructed, which is added on corresponding network interface card;
Otherwise return to previous step and choose another IP address again, be added to corresponding net until choosing an IP address On card.
By above-mentioned steps, ensure that the IP address of addition does not conflict.
The invention also provides a kind of network video recorder, for automatically accessing IPC in video monitoring system, the network Video cassette recorder includes equipment discovery module, Network conf iotag module and configuration management module, wherein:
The equipment discovery module, for sending ARP broadcast messages, and receives the response message of each IPC feedbacks, will respond IP address, subnet mask and the port numbers of the IPC included in message are notified to the Network conf iotag module and configuration management module;
The Network conf iotag module, for judge send the response message IPC IP address whether with itself network interface card IP address if it is no longer configures IP address in the same network segment;Otherwise one is added on itself network interface card with sending the response The virtual ip address of the same network segment of IP address of the IPC of message, and the IPC and an increased virtual ip address are tied to itself Network interface card;
The configuration management module, for adding corresponding IPC with mode of unicast.
Wherein, the configuration management module is adding corresponding IPC with mode of unicast, is additionally operable to perform following operation:
Sending device authentication information is authenticated, if not receiving authentication OK responses to the IPC for sending the response message Or response failure, then for being bundled with the network interface card of the IPC and virtual IP address, delete the binding relationship of the IPC and virtual IP address;
After the authentication is passed, configured to the IPC sending devices and obtain information, and it is matched somebody with somebody according to the response of the IPC Put, or directly it is configured according to default configuration.
When the network video recorder has at least two network interface cards, the Network conf iotag module is additionally operable to:
The IP address of the IPC of the response message will be sent compared with the IP address of each network interface card, checked whether network interface card With the IPC in the same network segment, if the IP address of only one network interface card and the IP address of the IPC should in the same network segment, binding IPC and the network interface card;If the IP address of multiple network interface cards and the IP address of the IPC are in the same network segment, then according on every piece of network interface card Binding IPC how much, carry out load balancing, select the minimum network interface card of binding IP C to bind the IPC;If none of net Card in the same network segment, then selects the minimum network interface cards of binding IP C with the IPC, and one is added on the network interface card, and the response disappears with transmission The IP address of the same network segment of IP address of the IPC of breath, and the IPC and the IP address added are tied to the network interface card.
Or, will send the response message IPC IP address compared with the IP address of each network interface card, checked whether net Card with the IPC in the same network segment, if the IP address of the IP address of only one network interface card and the IPC in the same network segment, are bound The IPC and the network interface card;If the IP address of multiple network interface cards and the IP address of the IPC are in the same network segment, then according to every piece of network interface card On binding IPC how much, carry out load balancing, select the minimum network interface card of binding IP C to bind the IPC;If none of Network interface card and the IPC then select the minimum network interface cards of binding IP C, one are added on the network interface card with sending the response in the same network segment The virtual ip address of the same network segment of IP address of the IPC of message, and the IPC and the virtual ip address added are tied to the net Card.
Further, the Network conf iotag module is same in the IP address of one IPC with sending the response message of addition When the IP address or virtual ip address of the network segment, following operation is performed:
An IP address is arbitrarily chosen from the network address of the same network segment of IP address for the IPC for sending the response message, The IP address is connected by ping orders, if ping is obstructed, which is added on corresponding network interface card;
Otherwise return to previous step and choose another IP address again, be added to corresponding net until choosing an IP address On card.
The present invention proposes a kind of network video recorder and its method for automatically accessing IPC, for not supporting modification IP Headend equipment access, go IPization, realize between IPC equipment and NVR equipment that zero configuration can interconnect use, increase NVR is empty Intend IP and network service is carried out between IPC equipment and NVR equipment to realize, use can be interconnected so as to fulfill zero configuration.
Brief description of the drawings
Fig. 1 is embodiment video monitoring system structure diagram for the present invention;
Fig. 2 is the method flow diagram that inventive network video cassette recorder automatically accesses IPC;
Fig. 3 is the structure diagram of inventive network video cassette recorder.
Embodiment
Technical solution of the present invention is described in further details with reference to the accompanying drawings and examples, following embodiments are not formed Limitation of the invention.
The method that a kind of network video recorder of the present embodiment automatically accesses IPC, applied in video monitoring system NVR, the video monitoring system of the present embodiment can be received including being linked into the NVR of one outlet router and IPC, IPC at the same time The broadcast message of NVR, in addition video monitoring system further include video monitoring server, egress router and video monitoring server It is connected with wide area network, client accesses NVR by mobile client.Since the IPC equipment of some third party manufacturers is provided with static state IP address, if the static ip address and the NVR that set, not in the same network segment, NVR can not communicate with the IPC, Need to modify to its IP address for, in the same network segment, but the IPC of some producers may not support to carry out it with NVR IP address is changed, or needs to restart after changing its IP address, and operation is more complicated, therefore the side that the present embodiment proposes Method can need not carry out IP address modification to it, it becomes possible to access these IPC and normal use.
A kind of network video recorder of the present embodiment automatically accesses the method flow of IPC as shown in Fig. 2, including step:
Step S1, NVR sends ARP broadcast messages, and receives the response message of each IPC feedbacks, which carries IP address, subnet mask and the port numbers of IPC oneself.
Address resolution protocol, i.e. ARP (Address Resolution Protocol), are to obtain physics according to IP address One ICP/IP protocol of address.ARP request comprising target ip address is broadcast to the institute on network by host when sending information There is host, and receive return message, the physical address of target is determined with this;Receive and return after message by the IP address and physically Location is stored in the machine arp cache and retains certain time, and next time directly inquires about arp cache to economize on resources when asking.In this reality Apply in example, NVR is broadcast the message by sending ARP, and inquiry is connected to all IPC under same router.As shown in Figure 1, and NVR ARP broadcast messages can be received by being equally linked into IPC1, IPC2, IPC3 of egress router, and be responded, and be returned Response message.In the response message, the IP address, subnet mask and port numbers of IPC oneself is carried, port numbers include letter here Port numbers used by order communication, can also include Media Stream port numbers.So that in subsequent step, NVR passes through these ports Number with IPC carry out signalling communication, if including Media Stream port numbers in the lump in the response message, can also directly carry out media The request of stream.
Step S2, according to the IPC response messages of reception, judge to send the IPC of the response message IP address whether with from The IP address of body network interface card is in the same network segment, if yes then enter in next step;Otherwise one is added on itself network interface card to be somebody's turn to do with sending The virtual ip address of the same network segment of IP address of the IPC of response message, and the IPC and an increased virtual ip address are tied to The network interface card of itself, into next step.
After the response message of IPC is received, NVR gets the IP address and subnet mask of each IPC, can judge it accordingly IP address whether with the IP address of itself network interface card whether in the same network segment, if in the same network segment, then it represents that can be mutual with the IPC It is logical, directly carry out the operation of next step.Assuming that in Fig. 1 the IP address of IPC1 and IPC2 be respectively 192.168.1.8 and 192.168.1.9, with the IP address (192.168.1.10) of NVR all in the same network segment, and IPC3 (172.168.1.8) with The IP address of NVR is not in the same network segment.Then for IPC1 and IPC2, it need not be operated, be directly entered down after judgement One step.And for IPC3, since its IP address and NVR be not in the same network segment, then need to add on the network interface card of NVR one with The virtual ip address of the same network segment of IP address of IPC3, and the IP address of IPC3 and the virtual ip address added are tied to certainly Preserved after the network interface card of body, will not also to be lost after device powers down.
Specifically, according to the network interface card quantity of NVR, there are following two embodiments:
Embodiment one, Single NIC situation, i.e. NVR only have a network interface card.NVR passes through after the response message of IPC3 is received Judge to learn the IP address of IPC3 and the IP address of itself not in the same network segment, then in the identical network segments of IPC3 (172.168.1.2~171.168.1.254) chooses an IP address, for example 172.168.1.30, NVR are carried out to the IP address Continuous ping, if ping differences (no response reaches default number), then it is assumed that the IP address can use, this IP address is made It is added to the network interface card of NVR for virtual IP address, subsequently with the communication of IPC3, is carried out by the virtual ip address.If ping leads to, Change an IP and continue ping, until finding a suitable virtual IP address, or establish and distributed IP management information tables, carry out idle IP is inquired about, and searches an IP address being not used as virtual IP address, which is not described herein again.
Embodiment two, more network interface card situations, i.e. NVR have multiple network interface cards.What is different from the first embodiment is that for multiple network interface cards Situation, since NVR is there are multiple network interface cards such as network interface card 1, network interface card 2, the IP address of network interface card 1 is 192.168.1.10, but network interface card 2 IP address be 172.168.1.10.In this case, received response message is docked, first has to that the response message will be sent IPC IP address compared with the IP address of each network interface card, network interface card and the IPC have been checked whether in the same network segment, if only There are the IP address of a network interface card and the IP address of the IPC in the same network segment, then bind the IPC and the network interface card;If multiple nets The IP address of card and the IP address of the IPC in the same network segment, then according to the IPC of the binding on every piece of network interface card how much, loaded Equilibrium, selects the minimum network interface cards of binding IP C to bind the IPC.If none of network interface card and the IPC in the same network segment, then select The minimum network interface cards of binding IP C are selected, IP address or virtual IP address are added on the network interface card to bind the IPC.
Such as:For IPC1 and IPC2, its IP address is with network interface card 1 in the same network segment, IPC1 and IPC2 and NVR Normal communication can be carried out by network interface card 1, IPC1 and IPC2 are tied to network interface card 1 and communicated;The IP address of IPC3 with The IP address of network interface card 2 can carry out normal communication in the same network segment, then IPC3 and NVR by network interface card 2, and IPC3 is tied to net Card 2 is communicated.
But when network interface card 2 is not provided with IP address, or its IP address set is also the 192.168.1.* network segments, similarly IPC1 and IPC2 and NVR can carry out normal communication by network interface card 1, but the IP address of IPC3 and network interface card 1 is in the same network segment, At this time need to check the IPC that network interface card 1 and network interface card 2 are bound, select the few network interface card of binding relationship, such as network interface card 2 is come with adding IP Location or virtual ip address, IPC3, network interface card 2, the IP address of addition or virtual ip address binding are communicated.
It should be noted that if network interface card is not provided with IP address, its IP address and the IP address of IPC3 can be configured The same network segment, without adding virtual ip address.
Step S3, corresponding IPC is added with mode of unicast.
Intercommunication between IPC and NVR is established by step S2, then can be sent by mode of unicast to IPC and establish matchmaker The process of body stream connection, generally includes following process:
Pre-configured device authentication information is sent to IPC with mode of unicast, is authenticated.The device authentication that NVR is sent disappears Breath can use the standard agreement such as ONVIF or PISA, can also use proprietary protocol, using the IP of the IPC of step S1 acquisitions Location and port numbers are sent.If do not receive authentication OK responses or response failure, then it is assumed that corresponding equipment is not IPC, may It is PC office computers or other equipment, or the operating right without this IPC, for being bundled with the corresponding device and virtual IP address Network interface card, deletes the binding relationship of the corresponding device and virtual IP address, directly terminates;If it have received authentication OK responses, then it represents that right The equipment answered is IPC.
Being configured after the response that the authentication is passed is received to IPC sending devices and obtain information, IPC is responded thereto, so that The information such as equipment time and its video configuration of IPC are obtained, and the configuration of adaptability is carried out to it, or according to default configuration Directly it is configured, such as to configure its equipment time synchronous with NVR, configures its resolution ratio, code stream type, frame per second, interframe Every etc. information, or IPC configures meet demand in itself, then need not can be configured.
It should be noted that during adding corresponding IPC with mode of unicast, for the IPC ability for needing to be authenticated Pre-configured device authentication information is sent, is authenticated;Then directly it is added for the IPC that need not be authenticated.And such as The configuration information of IPC known to fruit, then directly can configure it and be added, it is not necessary to sending device by default configuration Configuration obtains information.
By the above process, NVR successfully with the addition of IPC, and following NVR can ask the various Media Streams of IPC Summation receives, to carry out follow-up Media Stream analysis or storage etc..
Fig. 3 shows the structure diagram of the present embodiment network video recorder, including equipment discovery module, network configuration Module, configuration management module.Wherein:
Equipment discovery module is used to send ARP broadcast messages, and receives the response message of each IPC feedbacks, by response message In IP address, subnet mask and the port numbers of the IPC that include notify to Network conf iotag module and configuration management module;
Network conf iotag module be used for judge transmission the response message IPC IP address whether the IP address with itself network interface card In the same network segment, do not operate if it is;Otherwise an IP with the IPC of the transmission response message is added on itself network interface card The virtual ip address of the same network segment in location, and by the IPC with increased virtual ip address be tied to the network interface card of itself;
The IPC that configuration management module is used to find to equipment discovery module adds corresponding IPC with mode of unicast.
Further, if network video recorder has at least two network interface cards, Network conf iotag module is additionally operable to:
The IP address of the IPC of the response message will be sent compared with the IP address of each network interface card, checked whether network interface card With the IPC in the same network segment, if the IP address of only one network interface card and the IP address of the IPC should in the same network segment, binding IPC and the network interface card;If the IP address of multiple network interface cards and the IP address of the IPC are in the same network segment, then according on every piece of network interface card Binding IPC how much, carry out load balancing, select the minimum network interface card of binding IP C to bind the IPC;If none of net Card in the same network segment, then selects the minimum network interface cards of binding IP C with the IPC, and one is added on the network interface card, and the response disappears with transmission The IP address of the same network segment of IP address of the IPC of breath, and the IPC and the IP address added are tied to the network interface card.
Or:The IP address of the IPC of the response message will be sent compared with the IP address of each network interface card, checked whether net Card with the IPC in the same network segment, if the IP address of the IP address of only one network interface card and the IPC in the same network segment, are bound The IPC and the network interface card;If the IP address of multiple network interface cards and the IP address of the IPC are in the same network segment, then according to every piece of network interface card On binding IPC how much, carry out load balancing, select the minimum network interface card of binding IP C to bind the IPC;If none of Network interface card and the IPC then select the minimum network interface cards of binding IP C, one are added on the network interface card with sending the response in the same network segment The virtual ip address of the same network segment of IP address of the IPC of message, and the IPC and the virtual ip address added are tied to the net Card.
After network configuration is completed, configuration management module is able to unicast and leads to IPC according to the configuration of Network conf iotag module Letter, when adding corresponding IPC with mode of unicast, performs following operation:
Sending device authentication information is authenticated, if not receiving authentication OK responses to the IPC for sending the response message Or response failure, then for being bundled with virtual IP address, delete the binding relationship with virtual IP address;
After the authentication is passed, configured to the IPC sending devices and obtain information, and it is matched somebody with somebody according to the response of the IPC Put, or directly it is configured according to default configuration.
So as to which NVR is after successfully IPC is added, medium stream request is carried out to IPC with receiving, and receive the media of IPC transmissions Stream is analyzed or stored.
The above embodiments are merely illustrative of the technical solutions of the present invention rather than is limited, without departing substantially from essence of the invention In the case of refreshing and its essence, those skilled in the art make various corresponding changes and become in accordance with the present invention Shape, but these corresponding changes and deformation should all belong to the protection domain of appended claims of the invention.

Claims (8)

1. a kind of method that network video recorder automatically accesses IPC, applied to the network video in video monitoring system Machine NVR, it is characterised in that including step:
Step 1, send ARP broadcast messages, and receives the response message of each IPC feedbacks, which carries IPC's oneself IP address, subnet mask and port numbers;
Step 2, the IPC response messages according to reception, judge to send the IPC of the response message IP address whether with itself network interface card IP address in the same network segment, if yes then enter in next step;Otherwise one is added on itself network interface card with sending the response to disappear The virtual ip address of the same network segment of IP address of the IPC of breath, and by the IPC with increased virtual ip address be tied to itself Network interface card, into next step;
Step 3, with mode of unicast add corresponding IPC.
2. the method that network video recorder according to claim 1 automatically accesses IPC, it is characterised in that described with list Broadcast mode adds corresponding IPC, including step:
Sending device authentication information is authenticated, if not receiving authentication OK responses or ringing to the IPC for sending the response message It should fail, then for being bundled with the network interface card of the IPC and virtual IP address, delete the binding relationship of the IPC and virtual IP address;
After the authentication is passed, configured to the IPC sending devices and obtain information, and it is configured according to the response of the IPC, or Directly it is configured according to default configuration.
3. the method that network video recorder according to claim 1 automatically accesses IPC, it is characterised in that the network Video cassette recorder has at least two network interface cards, then the step 2 specifically further includes step:
The IP address of the IPC of the response message will be sent compared with the IP address of each network interface card, checked whether network interface card with being somebody's turn to do IPC in the same network segment, if the IP address of the IP address of only one network interface card and the IPC in the same network segment, bind the IPC with The network interface card;If the IP address of multiple network interface cards and the IP address of the IPC are in the same network segment, then according to the binding on every piece of network interface card IPC how much, carry out load balancing, select the minimum network interface card of binding IP C to bind the IPC;If none of network interface card with being somebody's turn to do IPC then selects the minimum network interface cards of binding IP C in the same network segment, and an IPC with the transmission response message is added on the network interface card The same network segment of IP address virtual ip address, and the IPC and the virtual ip address that is added are tied to the network interface card.
4. the method that the network video recorder according to claim 1-3 any claims automatically accesses IPC, its feature It is, the IP address or virtual ip address of the same network segment of IP address of IPC of the addition one with sending the response message, bag Include step:
An IP address is arbitrarily chosen from the network address of the same network segment of IP address for the IPC for sending the response message, is passed through Ping orders connect the IP address, if ping is obstructed, which is added on corresponding network interface card;
Otherwise return to previous step and choose another IP address again, be added to corresponding network interface card until choosing an IP address On.
A kind of 5. network video recorder, for automatically accessing IPC in video monitoring system, it is characterised in that the Internet video Video recorder includes equipment discovery module, Network conf iotag module and configuration management module, wherein:
The equipment discovery module, for sending ARP broadcast messages, and receives the response message of each IPC feedbacks, by response message In IP address, subnet mask and the port numbers of the IPC that include notify to the Network conf iotag module and configuration management module;
The Network conf iotag module, for judge send the response message IPC IP address whether with the IP of itself network interface card Location if it is no longer configures IP address in the same network segment;Otherwise one is added on itself network interface card with sending the response message IPC the same network segment of IP address virtual ip address, and by the IPC with increased virtual ip address be tied to the net of itself Card;
The configuration management module, for adding corresponding IPC with mode of unicast.
6. network video recorder according to claim 5, it is characterised in that the configuration management module is with unicast side Formula adds corresponding IPC, performs following operation:
Sending device authentication information is authenticated, if not receiving authentication OK responses or ringing to the IPC for sending the response message It should fail, then for being bundled with the network interface card of the IPC and virtual IP address, delete the binding relationship of the IPC and virtual IP address;
After the authentication is passed, configured to the IPC sending devices and obtain information, and it is configured according to the response of the IPC, or Directly it is configured according to default configuration.
7. network video recorder according to claim 5, it is characterised in that the network video recorder has at least Two network interface cards, the Network conf iotag module are additionally operable to:
The IP address of the IPC of the response message will be sent compared with the IP address of each network interface card, checked whether network interface card with being somebody's turn to do IPC in the same network segment, if the IP address of the IP address of only one network interface card and the IPC in the same network segment, bind the IPC with The network interface card;If the IP address of multiple network interface cards and the IP address of the IPC are in the same network segment, then according to the binding on every piece of network interface card IPC how much, carry out load balancing, select the minimum network interface card of binding IP C to bind the IPC;If none of network interface card with being somebody's turn to do IPC then selects the minimum network interface cards of binding IP C in the same network segment, and an IPC with the transmission response message is added on the network interface card The same network segment of IP address virtual ip address, and the IPC and the virtual ip address that is added are tied to the network interface card.
8. according to the network video recorder described in claim 5-7 any claims, it is characterised in that the network configuration Module is held in the IP address or virtual ip address of the same network segment of IP address of one IPC with sending the response message of addition The following operation of row:
An IP address is arbitrarily chosen from the network address of the same network segment of IP address for the IPC for sending the response message, is passed through Ping orders connect the IP address, if ping is obstructed, which is added on corresponding network interface card;
Otherwise return to previous step and choose another IP address again, be added to corresponding network interface card until choosing an IP address On.
CN201510075933.1A 2015-02-12 2015-02-12 A kind of network video recorder and its method for automatically accessing IPC Active CN104639913B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510075933.1A CN104639913B (en) 2015-02-12 2015-02-12 A kind of network video recorder and its method for automatically accessing IPC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510075933.1A CN104639913B (en) 2015-02-12 2015-02-12 A kind of network video recorder and its method for automatically accessing IPC

Publications (2)

Publication Number Publication Date
CN104639913A CN104639913A (en) 2015-05-20
CN104639913B true CN104639913B (en) 2018-05-01

Family

ID=53218160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510075933.1A Active CN104639913B (en) 2015-02-12 2015-02-12 A kind of network video recorder and its method for automatically accessing IPC

Country Status (1)

Country Link
CN (1) CN104639913B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106470234B (en) * 2015-08-20 2021-03-26 腾讯科技(北京)有限公司 Equipment discovery method and device
CN106790733B (en) * 2015-11-25 2020-04-10 上海奕瑞光电子科技股份有限公司 Rapid pairing and retrieval method for detector and X-ray photography system
CN105681484B (en) * 2015-12-31 2019-03-08 深圳市磊科实业有限公司 A kind of IPC Auto-Sensing connection method based on ARP protocol and ONVIF standard
CN106656659B (en) * 2016-11-30 2020-12-29 浙江宇视科技有限公司 Network path selection method and network video recorder
CN109391704B (en) * 2017-08-11 2022-06-14 浙江宇视科技有限公司 Cross-private-network access method and device for video monitoring equipment
CN107919999A (en) * 2017-11-21 2018-04-17 天津英田视讯科技有限公司 The discovery of different segment digital camera and connection method in a kind of LAN
CN108184091B (en) * 2017-12-28 2020-10-20 浙江宇视科技有限公司 Video monitoring equipment deployment method and device
CN108600675B (en) * 2018-05-24 2020-07-31 普联技术有限公司 Channel path number expansion method, device, network video recorder and storage medium
CN111163245B (en) * 2018-11-08 2021-11-23 杭州海康威视数字技术股份有限公司 Method and device for adding network camera in network hard disk video recorder
CN110381178B (en) * 2019-08-02 2022-04-01 杭州巨峰科技有限公司 NVR module and drawing method thereof and POE-NVR module
CN110493337A (en) * 2019-08-16 2019-11-22 武汉麦品科技有限公司 Data access method, gateway, system, storage medium and device
CN112689025B (en) * 2020-12-04 2023-04-18 深圳市广电信义科技有限公司 Network terminal equipment IP self-adaption method, device, equipment and medium
CN114584534B (en) * 2022-03-17 2023-12-05 国家电网有限公司 Method for automatically configuring network of intelligent fixed value check instrument of relay protection device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1188983C (en) * 2002-11-01 2005-02-09 北京佳讯飞鸿电气有限责任公司 Method of altering network equipment IP address via network managing equipment
CN102333132A (en) * 2011-09-13 2012-01-25 成都华迈通信技术有限公司 Method for automatically searching cameras and solving IP conflicts
CN102348107A (en) * 2011-10-27 2012-02-08 北京汉邦高科数字技术股份有限公司 Method for realizing plug and play of network monitoring video
EP2819407B1 (en) * 2013-06-27 2019-03-13 Idis Co., Ltd. System for automatic connection between NVR and IP camera
CN104348787B (en) * 2013-07-29 2018-03-06 杭州海康威视数字技术股份有限公司 Carry out the channel attached method of network hard disk video recorder and the network hard disk video recorder
CN103873301A (en) * 2014-03-20 2014-06-18 浙江宇视科技有限公司 System and method for automatically finding and adding devices

Also Published As

Publication number Publication date
CN104639913A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN104639913B (en) A kind of network video recorder and its method for automatically accessing IPC
US20230370379A1 (en) Network Validation with Dynamic Tunneling
US11271803B2 (en) Method and apparatus for extending service capabilities in a communication network
US8050192B2 (en) Port forwarding configuration system and method for wire and wireless networks
US20040249907A1 (en) Automatic discovery and configuration of external network devices
US8543706B2 (en) Communication module for connecting application program to virtual private network
CN101953139B (en) DHCP in response to Internet connectedness initializes
US9106604B2 (en) Method and arrangement for service sharing
CN102763373B (en) The method and apparatus using the service of local network devices based on remote access
CN108683618B (en) Communication equipment and intelligent terminal
US20190182328A1 (en) Methods, systems, and devices for multiplexing service information from sensor data
CN104812021B (en) A kind of method and device of AP access AC
CN105159256A (en) Web service-based intelligent household control system
CN105681484A (en) IPC automatic detection and connection method based on ARP protocol and ONVIF standard
JP5508273B2 (en) Network location service
JP2017063417A (en) Network switch, device management system, and its device management method
CN112134866A (en) Service access control method, device, system and computer readable storage medium
CN105991679B (en) A kind of implementation method and device of network sharing
JP2006525729A (en) Ad hoc network, network device, and configuration management method thereof
US11824640B2 (en) System and method for reconfiguring a network using network traffic comparisions
US20090006590A1 (en) Method and Apparatus for Enabling a Management System to Interface with Managed Devices
WO2014015525A1 (en) Method and device for querying for user online state
CN104079326B (en) A kind of device identification method and relevant device
CN105959248B (en) The method and device of message access control
CN110351146A (en) A kind of server-side example determines method, system, client and storage medium

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