CN102333132A - Method for automatically searching cameras and solving IP conflicts - Google Patents

Method for automatically searching cameras and solving IP conflicts Download PDF

Info

Publication number
CN102333132A
CN102333132A CN201110269205A CN201110269205A CN102333132A CN 102333132 A CN102333132 A CN 102333132A CN 201110269205 A CN201110269205 A CN 201110269205A CN 201110269205 A CN201110269205 A CN 201110269205A CN 102333132 A CN102333132 A CN 102333132A
Authority
CN
China
Prior art keywords
address
video camera
client
conflict
message
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.)
Pending
Application number
CN201110269205A
Other languages
Chinese (zh)
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.)
CHENGDU HUAMAI COMMUNICATION TECHNOLOGY Co Ltd
Original Assignee
CHENGDU HUAMAI COMMUNICATION TECHNOLOGY 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 CHENGDU HUAMAI COMMUNICATION TECHNOLOGY Co Ltd filed Critical CHENGDU HUAMAI COMMUNICATION TECHNOLOGY Co Ltd
Priority to CN201110269205A priority Critical patent/CN102333132A/en
Publication of CN102333132A publication Critical patent/CN102333132A/en
Pending legal-status Critical Current

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method for automatically searching cameras and solving IP (Internet Protocol) conflicts, which relates to the technical field of network cameras and aims at providing a method for automatically searching cameras and solving IP address conflicts of the cameras. The method comprises the following technical main points that: a client transmits a discover message to the cameras in a manner of multicasting, after receiving the discover message, the cameras packages own information including IP address, sequence serial number and the like and transmit the packaged information to the client; the client compares the received camera device information, screens out the cameras with IP conflicts, and transmits a piece of conflictip message to the cameras with conflicts so as to notify the cameras to modify the IP; after receiving the conflictip message, the cameras modify own device IP, and then, transmit the device information back to the client; the client compares the received device information again, and repeatedly executes an IP conflict verification process, until all the camera IP conflicts are solved.

Description

A kind of automatic search video camera and the method that solves the IP conflict
Technical field
The present invention relates to the web camera technical field, relate at the same physics network segment and search for video camera and the technology that solves video camera IP collision problem automatically.
Background technology
In the prior art, web camera be through with the direct-connected configuration information of revising video camera of computer.Video camera all has a fixed ip address 192.168.244.244, and the user need directly couple together video camera and computer with netting twine when video camera is installed, carries out the modification of IP address.If the user has only a web camera; How long the operation of the direct-connected modification IP address that is so does not very simply need yet; If but when the user had 10 or even up to a hundred video cameras, the operation that video camera IP address is revised in one one tableland of so direct-connected computer was a loaded down with trivial details and very job of spended time.
Summary of the invention
In order to practice thrift effectively user's time, the present invention proposes a kind of video camera and method that solves the video camera IP address conflict of in the same physics network segment, searching for automatically.
The technical scheme that the present invention adopts is such:
A kind of automatic search video camera and the method that solves the IP conflict is characterized in that, may further comprise the steps:
Step 1: all give tacit consent to an IP address in the network segment for all video cameras, said video camera number is at least 1;
Step 2: with the whole access network circuits of all video cameras; Whether video camera IP address network segment is identical to confirm the client router network segment; If it is inequality; The network segment of then revising the network segment of client router or revising video camera IP address makes that the network segment of client router is consistent with video camera IP address network segment, and client is set up point-to-multipoint delivery with said video camera and is connected then;
Step 3: client initiates a message 1 to video camera;
Step 4: after each video camera is received message 1, send IP address and the sequence number of oneself to client;
Step 5: client receives IP address and the sequence number that said video camera sends, and the IP address that is received is compared; If when finding there is conflicting IP address, client filters out the video camera of IP address conflict according to sequence number, and client is revised the IP address to the video camera that sends message 2 order IP address conflicts afterwards, forwards step 6 afterwards to; If when not having conflicting IP address, directly forward step 7 to;
Step 6: video camera receives message 2, and the video camera of IP address conflict is revised the IP address, and client is issued in amended IP address; Again execution in step 5 afterwards;
Step 7: execution in step 3 ~ 5 regularly circulates.
Preferably, in the said step 7, when client regularly had in the new video camera access network circuit in the time interval of video camera transmission message 1, new video camera initiatively sent to client with oneself IP address and sequence number.
Preferably, the default ip address of said video camera is the IP address in 1 network segment.
Preferably, in the said step 2, client is set up point-to-multipoint through the multicast mode with each video camera and is connected.
Preferably; In the said step 5; When there is conflicting IP address in client terminal to discover; Client filters out the video camera of IP address conflict according to the sequence number of each video camera, initiates a message 2 with the multicast mode more afterwards, includes the camera sequence number of IP address conflict in the message 2 and revises the instruction of IP address automatically.
Preferably, in the said step 6, the video camera of IP address conflict generates an available IP address at random in the network segment identical with former IP address.
Preferably; In the said step 5; When there was conflicting IP address in client terminal to discover, client filtered out the video camera of IP address conflict according to the sequence number of each video camera, was that the video camera of IP address conflict distributes an available IP address respectively according to sequence number; Client initiates a message 2 with the multicast mode again, comprises the sequence number and the corresponding amended IP address thereof of the video camera of all IP address conflicts in the message 2.
Preferably, in the said step 6, the video camera of IP address conflict finds the corresponding amended IP address of sequence number of self in said message 2, and revises its own IP address.
In sum, owing to adopted technique scheme, the invention has the beneficial effects as follows:
1. the user opens client and just can search video camera automatically;
2. when client terminal to discover video camera IP has conflict, can notify video camera automatic or manual modification IP rapidly, the IP conflict can not rely on human intervention just can be resolved basically.
Above-mentioned effect more can embody when tens of, up to a hundred video cameras insert; The user need not manually revise the IP address of video camera one by one; The present invention just can all video cameras of Rapid Realization automatic search, and automatically or the conflicting IP of manual modification address.
Description of drawings
Fig. 1 is a method flow diagram of the present invention.
Embodiment
Disclosed all characteristics in this specification, or the step in disclosed all methods or the process except mutually exclusive characteristic and/or the step, all can make up by any way.
Disclosed arbitrary characteristic in this specification (comprising any accessory claim, summary and accompanying drawing) is only if special narration all can be replaced by other equivalences or the alternative features with similar purpose.That is, only if special narration, each characteristic is an example in a series of equivalences or the similar characteristics.
At first when video camera dispatches from the factory to the IP address of a network segment of video camera acquiescence; This network segment can be set arbitrarily; But the router gateway acquiescence of considering present most of client is 1 network segment (the gateway major part is 192.168.1.1); Therefore preferably distribute one 1 network segment IP address (, can certainly be modified as the network segment the same to video camera in video camera with router if silent 1 network segment that admits a fault of certain router gateway then will be arranged to 1 network segment to router; If but the quantity of video camera is more cumbersome like this, has run counter to original intention of the present invention).When the user had up to a hundred video camera, one one direct-connected video camera of seeking in tableland had again been practiced thrift user's time cost so greatly.
But because the IP address of acquiescence 1 network segment of video camera all is identical when dispatching from the factory; When in the time of multiple cameras, being connected into network; The IP address that some video cameras will occur is identical; IP address conflict can appear in same logical segment; Cause the video of video camera can not normal viewing, the problem of the video camera cisco unity malfunction that causes in order to solve IP address conflict, method provided by the invention also comprise through the IP address of revising repetition and realize that client and video camera set up the information step of connecting.
As shown in Figure 1, step of the present invention comprises:
Step 1: the IP address of all giving tacit consent to one 1 network segment for all video cameras, said video camera number is at least 1;
Step 2: with the whole access network circuits of all video cameras; Whether video camera IP address network segment is identical to confirm the client router network segment; If it is inequality; Then revise the network segment of client router or revise the network segment of video camera IP address, make that the network segment of client router is consistent with video camera IP address network segment, client is set up point-to-multipoint delivery with said video camera and is connected then;
Step 3: client is sent discover message to video camera and is sought the video camera in the network;
Step 4: after each video camera is received discover message, send the information such as IP address and sequence number of oneself to client; The sequence number of video camera is the numbering of when dispatching from the factory, setting, and the sequence number of each video camera is different;
Step 5: client receives IP address and the sequence number that said video camera sends, and the IP address that is received is compared; If when finding there is conflicting IP address, client filters out the video camera of IP address conflict according to sequence number, sends conflictip message with the multicast mode once more, and the video camera of order IP address conflict is revised the IP address, forwards step 6 afterwards to; If when not having conflicting IP address, directly forward step 7 to;
Step 6: after receiving conflictip message, the video camera of IP address conflict is revised the IP address with manual or automatic mode, and client is issued in amended IP address; Again execution in step 5 afterwards;
Step 7: execution in step 3 ~ 5 regularly circulates.
The method that the video camera of IP address conflict is revised the IP address with automated manner is: include the camera sequence number of IP address conflict in the message 2 and revise the instruction of IP address automatically; Each video camera receives message 2 backs confirm oneself whether to list in the video camera " list " of IP address conflict; If therein, video camera then regenerates an available IP address at random in the network segment identical with former IP address.
The method that the video camera of IP address conflict is revised the IP address with manual mode is: client is that the video camera of IP address conflict distributes an available IP address respectively according to sequence number; Client again with the multicast mode initiate a message 2 the order IP address conflicts video camera manual modification IP address; The sequence number and the corresponding amended IP address thereof of the video camera of all IP address conflicts contained in message 2 the insides; After the video camera of IP address conflict is received message 2; Find the corresponding amended IP address of sequence number of self, and revise its own IP address.
In the process of execution in step 7; If in client is regularly loosened time interval of discover message with the multicast mode, new video camera access network is arranged; The video camera of these new accesses is at first issued client to facility informations such as the IP address of oneself, sequence numbers; So just can let the family end can search video camera timely, thereby accelerate the search speed of client video camera.
The reason of design is like this; If new video camera does not initiatively send oneself IP address, sequence number and gives client; Then can only wait until and send client next time discover message, execution in step 3 ~ 5 o'clock could with the video camera that newly finds new access, be linked into next client from new video camera and send between the discover message life period at interval; Thereby cause time delay to a certain degree, above-mentioned design just can be eliminated such time delay.
The present invention is not limited to aforesaid embodiment.The present invention expands to any new feature or any new combination that discloses in this manual, and the arbitrary new method that discloses or step or any new combination of process.

Claims (8)

1. search for video camera and the method that solves the IP conflict automatically for one kind, it is characterized in that, may further comprise the steps:
Step 1: all give tacit consent to an IP address in the network segment for all video cameras, said video camera number is at least 1;
Step 2: with the whole access network circuits of all video cameras; Whether video camera IP address network segment is identical to confirm the client router network segment; If it is inequality; The network segment of then revising the network segment of client router or revising video camera IP address makes that the network segment of client router is consistent with video camera IP address network segment, and client is set up point-to-multipoint delivery with said video camera and is connected then;
Step 3: client initiates a message 1 to video camera;
Step 4: after each video camera is received message 1, send IP address and the sequence number of oneself to client;
Step 5: client receives IP address and the sequence number that said video camera sends, and the IP address that is received is compared; If when finding there is conflicting IP address, client filters out the video camera of IP address conflict according to sequence number, and client is revised the IP address to the video camera that sends message 2 order IP address conflicts afterwards, forwards step 6 afterwards to; If when not having conflicting IP address, directly forward step 7 to;
Step 6: video camera receives message 2, and the video camera of IP address conflict is revised the IP address, and client is issued in amended IP address; Again execution in step 5 afterwards;
Step 7: execution in step 3 ~ 5 regularly circulates.
2. a kind of automatic search video camera according to claim 1 and the method that solves the IP conflict; It is characterized in that; In the said step 7; When client regularly had in the new video camera access network circuit in the time interval of video camera transmission message 1, new video camera initiatively sent to client with oneself IP address and sequence number.
3. a kind of automatic search video camera according to claim 1 and the method that solves the IP conflict is characterized in that the default ip address of said video camera is the IP address in 1 network segment.
4. a kind of automatic search video camera according to claim 1 and the method that solves the IP conflict is characterized in that in the said step 2, client is set up point-to-multipoint through the multicast mode with each video camera and is connected.
5. according to claim 1 or 4 described a kind of automatic search video cameras and the method that solves the IP conflict; It is characterized in that; In the said step 5, when there was conflicting IP address in client terminal to discover, client filtered out the video camera of IP address conflict according to the sequence number of each video camera; Initiate a message 2 with the multicast mode more afterwards, include the camera sequence number of IP address conflict in the message 2 and revise the instruction of IP address automatically.
6. a kind of automatic search video camera according to claim 5 and the method that solves the IP conflict is characterized in that in the said step 6, the video camera of IP address conflict generates an available IP address at random in the network segment identical with former IP address.
7. according to claim 1 or 4 described a kind of automatic search video cameras and the method that solves the IP conflict; It is characterized in that; In the said step 5; When there was conflicting IP address in client terminal to discover, client filtered out the video camera of IP address conflict according to the sequence number of each video camera, was that the video camera of IP address conflict distributes an available IP address respectively according to sequence number; Client initiates a message 2 with the multicast mode again, comprises the sequence number and the corresponding amended IP address thereof of the video camera of all IP address conflicts in the message 2.
8. a kind of automatic search video camera according to claim 7 and the method that solves the IP conflict; It is characterized in that; In the said step 6, the video camera of IP address conflict finds the corresponding amended IP address of sequence number of self in said message 2, and revises its own IP address.
CN201110269205A 2011-09-13 2011-09-13 Method for automatically searching cameras and solving IP conflicts Pending CN102333132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110269205A CN102333132A (en) 2011-09-13 2011-09-13 Method for automatically searching cameras and solving IP conflicts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110269205A CN102333132A (en) 2011-09-13 2011-09-13 Method for automatically searching cameras and solving IP conflicts

Publications (1)

Publication Number Publication Date
CN102333132A true CN102333132A (en) 2012-01-25

Family

ID=45484733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110269205A Pending CN102333132A (en) 2011-09-13 2011-09-13 Method for automatically searching cameras and solving IP conflicts

Country Status (1)

Country Link
CN (1) CN102333132A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763632A (en) * 2014-01-10 2014-04-30 济南中维世纪科技有限公司 Method for identifying self-adaption network of network equipment
CN103873301A (en) * 2014-03-20 2014-06-18 浙江宇视科技有限公司 System and method for automatically finding and adding devices
CN104284134A (en) * 2013-07-01 2015-01-14 中兴通讯股份有限公司 Interconnection video monitoring system and method thereof
CN104410841A (en) * 2014-12-19 2015-03-11 深圳市天视通电子科技有限公司 MAC (media access control) layer based connection method and device
CN104539749A (en) * 2014-12-19 2015-04-22 深圳市天视通电子科技有限公司 Connecting method and device based on virtual IP address
CN104539907A (en) * 2015-01-13 2015-04-22 济南中维世纪科技有限公司 Method for fast searching in network and management of video monitoring equipment
CN104639913A (en) * 2015-02-12 2015-05-20 浙江宇视科技有限公司 Network video recorder (NVR) and automatic IPC (Internet Protocol Camera) access method thereof
CN105407478A (en) * 2015-10-22 2016-03-16 深圳一电科技有限公司 Shooting equipment control method, shooting equipment and control terminal
CN106603745A (en) * 2016-12-22 2017-04-26 北京东土科技股份有限公司 Method and device for modifying protocol address
CN106790733A (en) * 2015-11-25 2017-05-31 上海奕瑞光电子科技有限公司 The quick pairing of a kind of detector and X-ray shooting system and recover method
CN108111636A (en) * 2017-12-11 2018-06-01 日立楼宇技术(广州)有限公司 IP address setting method, the device and system of network camera instrument for mining
CN109194754A (en) * 2018-09-11 2019-01-11 深圳市比特跳动技术有限公司 Equipment searching method and device
CN112398964A (en) * 2020-11-04 2021-02-23 杭州萤石软件有限公司 Internet of things equipment processing method, device and equipment
CN112887439A (en) * 2019-11-29 2021-06-01 株洲中车时代电气股份有限公司 CAN address configuration method and system for air conditioning unit frequency converter
CN114422481A (en) * 2021-12-13 2022-04-29 科华数据股份有限公司 Network equipment management method and related device
CN116915777A (en) * 2023-09-13 2023-10-20 杭州立方控股股份有限公司 Intelligent parking management system and method for seat personnel cooperation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399693A (en) * 2007-09-24 2009-04-01 上海宝信软件股份有限公司 Internal network IP address protection method based on ARP responce
CN101500023A (en) * 2008-02-03 2009-08-05 北京艾德斯科技有限公司 Automatic configuration method for network appliance IP address
CN101656763A (en) * 2009-09-11 2010-02-24 华为技术有限公司 IP address automatic distribution method, client and server
WO2010041914A2 (en) * 2008-10-10 2010-04-15 Samsung Electronics Co., Ltd. Method and apparatus for resolving ip address collision in remote access service
CN102123181A (en) * 2010-12-09 2011-07-13 广东高新兴通信股份有限公司 Method for automatically configuring IP address to network device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399693A (en) * 2007-09-24 2009-04-01 上海宝信软件股份有限公司 Internal network IP address protection method based on ARP responce
CN101500023A (en) * 2008-02-03 2009-08-05 北京艾德斯科技有限公司 Automatic configuration method for network appliance IP address
WO2010041914A2 (en) * 2008-10-10 2010-04-15 Samsung Electronics Co., Ltd. Method and apparatus for resolving ip address collision in remote access service
CN101656763A (en) * 2009-09-11 2010-02-24 华为技术有限公司 IP address automatic distribution method, client and server
CN102123181A (en) * 2010-12-09 2011-07-13 广东高新兴通信股份有限公司 Method for automatically configuring IP address to network device

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104284134A (en) * 2013-07-01 2015-01-14 中兴通讯股份有限公司 Interconnection video monitoring system and method thereof
CN103763632A (en) * 2014-01-10 2014-04-30 济南中维世纪科技有限公司 Method for identifying self-adaption network of network equipment
CN103873301A (en) * 2014-03-20 2014-06-18 浙江宇视科技有限公司 System and method for automatically finding and adding devices
CN104539749B (en) * 2014-12-19 2018-02-16 深圳市天视通电子科技有限公司 A kind of connection method and device based on virtual ip address
CN104410841A (en) * 2014-12-19 2015-03-11 深圳市天视通电子科技有限公司 MAC (media access control) layer based connection method and device
CN104539749A (en) * 2014-12-19 2015-04-22 深圳市天视通电子科技有限公司 Connecting method and device based on virtual IP address
CN104410841B (en) * 2014-12-19 2018-04-10 深圳市天视通电子科技有限公司 A kind of connection method and device based on MAC layer
CN104539907A (en) * 2015-01-13 2015-04-22 济南中维世纪科技有限公司 Method for fast searching in network and management of video monitoring equipment
CN104539907B (en) * 2015-01-13 2018-04-03 济南中维世纪科技有限公司 A kind of fast search in a network and the method for managing video monitoring equipment
CN104639913A (en) * 2015-02-12 2015-05-20 浙江宇视科技有限公司 Network video recorder (NVR) and automatic IPC (Internet Protocol Camera) access method thereof
CN105407478A (en) * 2015-10-22 2016-03-16 深圳一电科技有限公司 Shooting equipment control method, shooting equipment and control terminal
CN106790733A (en) * 2015-11-25 2017-05-31 上海奕瑞光电子科技有限公司 The quick pairing of a kind of detector and X-ray shooting system and recover method
CN106603745A (en) * 2016-12-22 2017-04-26 北京东土科技股份有限公司 Method and device for modifying protocol address
CN106603745B (en) * 2016-12-22 2019-09-24 北京东土科技股份有限公司 A kind of method and device for modifying protocol address
CN108111636B (en) * 2017-12-11 2021-12-24 日立楼宇技术(广州)有限公司 IP address setting method, device and system for mining network camera
CN108111636A (en) * 2017-12-11 2018-06-01 日立楼宇技术(广州)有限公司 IP address setting method, the device and system of network camera instrument for mining
CN109194754A (en) * 2018-09-11 2019-01-11 深圳市比特跳动技术有限公司 Equipment searching method and device
CN112887439A (en) * 2019-11-29 2021-06-01 株洲中车时代电气股份有限公司 CAN address configuration method and system for air conditioning unit frequency converter
CN112398964A (en) * 2020-11-04 2021-02-23 杭州萤石软件有限公司 Internet of things equipment processing method, device and equipment
CN112398964B (en) * 2020-11-04 2022-04-26 杭州萤石软件有限公司 Internet of things equipment processing method, device and equipment
CN114422481A (en) * 2021-12-13 2022-04-29 科华数据股份有限公司 Network equipment management method and related device
CN114422481B (en) * 2021-12-13 2024-03-15 科华数据股份有限公司 Network equipment management method and related device
CN116915777A (en) * 2023-09-13 2023-10-20 杭州立方控股股份有限公司 Intelligent parking management system and method for seat personnel cooperation
CN116915777B (en) * 2023-09-13 2023-12-05 杭州立方控股股份有限公司 Intelligent parking management system and method for seat personnel cooperation

Similar Documents

Publication Publication Date Title
CN102333132A (en) Method for automatically searching cameras and solving IP conflicts
DE102014012257B4 (en) UPDATE MANAGEMENT
CN105099739B (en) One kind being based on plug-in type software deployment method, apparatus and application server
JP2022513083A (en) Time-dependent networking Communication methods and equipment
CN111865736B (en) Equipment control method and device
CN106484858A (en) Hot Contents method for pushing and device
CN112272230A (en) Multi-gateway scene linkage control method
WO2016173280A1 (en) Monitoring management method and apparatus
JP2006340361A (en) Method for determining connection topology of home network
CN103281261B (en) A kind of ethernet communication method and system
JP6265058B2 (en) Network transmission system, its master node, slave node
CN106713420B (en) The dispositions method and device of monitoring
US20180109398A1 (en) Master communication device for a token network
CN113625589A (en) Equipment control method and device, electronic equipment and storage medium
CN107087032B (en) Realize the method and apparatus that cluster is set up
CN105389278A (en) CAN bus based serial communication method for master and slave machines
CN105099774B (en) A kind of router software upgrade method and system
CN104038557B (en) Device software batch upgrading method in a kind of tree network structure of optical fiber connection
CN109412890B (en) DDS-based joint test platform middleware node state detection method
CN107396417B (en) Network communication method for network system
CN113382065A (en) File downloading method, device, system, equipment and storage medium
CN105897840A (en) Advertisement data transmission method, device and system
TWI740210B (en) Method for terminal device management and server
CN113132506B (en) Message processing method and device based on super virtual local area network
CN111200578A (en) Communication method, client device and server device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120125