CN101841574B - Automatic IP address assignment and management method in network video monitoring system - Google Patents

Automatic IP address assignment and management method in network video monitoring system Download PDF

Info

Publication number
CN101841574B
CN101841574B CN 201010145454 CN201010145454A CN101841574B CN 101841574 B CN101841574 B CN 101841574B CN 201010145454 CN201010145454 CN 201010145454 CN 201010145454 A CN201010145454 A CN 201010145454A CN 101841574 B CN101841574 B CN 101841574B
Authority
CN
China
Prior art keywords
address
database
addresses
information
write
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
CN 201010145454
Other languages
Chinese (zh)
Other versions
CN101841574A (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.)
WISCOM SYSTEM CO., LTD.
Original Assignee
JIANGSU WISCOM SYSTEM 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 JIANGSU WISCOM SYSTEM CO Ltd filed Critical JIANGSU WISCOM SYSTEM CO Ltd
Priority to CN 201010145454 priority Critical patent/CN101841574B/en
Publication of CN101841574A publication Critical patent/CN101841574A/en
Application granted granted Critical
Publication of CN101841574B publication Critical patent/CN101841574B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an automatic IP address assignment and management method in a network video monitoring system, which relates to an automatic network IP address assignment and management technique, in particular to a technical implementation for automatically assigning and managing IP addresses for devices on a network, and the system is particularly applicable to the automatic assignment and management of IP addresses for various devices in the network video monitoring system. According to the number of IP addresses requested by MAC, the IP addresses within a specific IP address field are automatically assigned, and moreover, the IP addresses assigned for the same device are continuous IP addresses; the continuity of the IP addresses assigned for each device is ensured, and the assigned IP addresses can be manually reassigned or deleted, i.e. later-stage management.

Description

The IP address is distributed and management method automatically in the network video monitor and control system
Technical field
The present invention relates to the automatic allocation manager technology of network ip address; In particular; Be that a kind of technology that is used for being implemented in the automatic allocation manager in IP address that realizes management equipment on the network realizes, native system is particularly useful for the IP address of the various device in this particular system of Network Video Surveillance and distributes automatically and management.
Background technology
Video monitoring system is the important component part of safety and protection system, is a kind of powerful general defensive character in all files.Video monitoring is widely used in many occasions so that it is directly perceived, convenient, the information content is abundant.In recent years; Along with the particularly rapid raising of the network bandwidth, computer process ability and memory capacity and the appearance of the various usable video information processing technologies of the continuous development of modern science and technology; The video monitoring technology also has significant progress; Video monitoring has got into totally digitilized cybertimes, receives people's attention and concern day by day.
Future video supervisory control system development trend is that the monitoring scale is increasing; Networking requirement is more and more; Business is more and more abundanter; This just needs supervisory control system to turn to the basis with digitlization, networking, intelligence to make up monitoring network platform, and can solve safety, QoS, the Media Stream multicast that extensive networking brings and problem, meaningful marginalisation and network integration trend such as interconnect.
Based on network video monitoring system is the phase III of video monitoring development, the promptly digital monitoring epoch.Video is digital signal when the front end image capture device is exported; And be transmission medium with the network; Based on international ICP/IP protocol; Adopt stream media technology to realize video multiplexed transmission on the net, and through being located at online network virtual (numeral) matrix main control system (IPM), realize functions such as commander, scheduling, storage, authorization control the whole video supervisory control system.。
Just be based on international ICP/IP protocol standard, so third generation network video monitor and control system is very high for the requirement of IP address, each equipment in the network all needs independent IP address just can work normally.And along with the continuous expansion of supervisory control system scale, intrasystem various device is more and more, uniform and effective management is carried out in the IP address of intrasystem each equipment will become particularly important.
Present LAN IP address distributorship agreement mainly is the DHCP agreement; In the local area network (LAN) all need the equipment of distributing IP address; After powering on, will get in touch through DHCP agreement and Dynamic Host Configuration Protocol server, distribute corresponding IP address information to give equipment by Dynamic Host Configuration Protocol server.
Because general DHCP service agreement must start server program earlier before each device start, and equipment is each all need ask the distributing IP address when starting, and each IP address allocated maybe be different.And the process of distributing IP address all is automatic completion, after the distribution, and manual work have no idea to carry out again secondary distribution and management.Simultaneously, if Dynamic Host Configuration Protocol server paralysis in a single day, all devices in the whole system can not be worked.On the other hand, because the comfortable particular requirement of present networks video monitoring system itself, each MAC Address possibly need a plurality of IP of distribution address, and same equipment institute IP address allocated need keep relative continuity.Based on above-mentioned various reasons, traditional DHCP service can not be satisfied the IP address assignment and the management of this particular system of network video monitor and control system.So,, develop the IP address assignment of this particular system of adaptation Network Video Surveillance and the system of management and just arisen at the historic moment according to existing DHCP agreement.
Summary of the invention
Technical problem: the objective of the invention is to; Provide a kind of proprietary; Can distribute a plurality of IP address by a MAC, and the IP address allocated maintenance of same equipment institute is continuous relatively, and in case distributes the IP address automatic allocating method of relatively-stationary adaptation self network video monitor and control system.In addition; This IP address automatic allocation manager system is except realizing the automatic distribution of IP address in the new networking of equipment; The system reform in the later stage is perhaps during upgrading; Revise equipment IP address allocated if desired, system will provide manual amendment's interface, and unified management of IP address and reallocation and deletion are provided.
Technical scheme: the automatic allocation manager in IP of the present invention address system comprises following technical essential:
IP number of addresses according to the MAC request is distributed the IP address of particular ip address section automatically, and same equipment institute IP address allocated is one section continuous IP address; Guarantee the continuity of each equipment institute distributing IP address, for the IP address of having distributed, manual work is reallocated and is adjusted or deletion i.e. final-period management.
After the IP address assignment success,, then read original IP address allocated and return to the request end if ask IP address assignment once more;
If there is not continuous assignable IP address, when perhaps available IP number of addresses is not enough, system will point out the user to need artificial adjustment to redistribute;
The IP address of system assignment will write background data base, if write failure, system provides manual work to write database manipulation, can preserve miss data automatically simultaneously;
Write the IP address information of database, system can automatically preserve backup, simultaneously, the artificial function that imports derived data storehouse IP address information is provided also, prevents that system crash IP address information from losing;
For the IP address of having distributed, the IP number of addresses of having distributed can be freely adjusted in manual work, in the time of adjustment, also is that an all IP address of equipment is adjusted together, guarantees the continuity of the IP address of an equipment;
For the IP address that need not use,, delete unnecessary IP address information through manual type.
The step of handling automatic distribution of various terminal device IP address and later stage labor management is following:
Steps A .IP address allocation system is received the IP address request;
Whether step B.IP address allocation system see and distribute according to the content search database in the request message, if distribute, reading database then sends IP address allocated information once more and gives the request end;
If step C. does not distribute, then Query Database sees whether have in available continuous IP address or the database whether have enough IP available number of addresses;
If step D. does not exist available continuous IP address information or available IP number of addresses not enough, system will point out the user to distribute failure, need artificial adjustment before IP address allocated carry out manual allocation again;
If step e. there is available IP address information, then distributes the IP address automatically and form to receive the response accordingly and send to the request end;
Step F. send after the completion of IP address assignment message, system will carry out database and write operation, and IP address allocated information is write background data base;
Step G. reads the database information that has just write, and whether writes success with the inspection database;
If step H. writes failure, then carry out F, two step 3 of G are inferior;
If step I. fails for three times, then point out customer data base to write failure, need artificial warehouse-in;
Step J. system will distribute the IP address of success to be presented at the interface in real time automatically, when the user double-clicks a certain IP address of equipment, can revise the IP address of having distributed once more through manual type;
Step K. if a certain device damage, its IP address are not being used, and the user deletes the IP address information of having distributed through successful IP address allocated interface;
Step L. is for the IP address information of automatic distribution failure, and system is shown to the interface of automatic distribution failure in real time with request message, when the user double-clicks a certain message, and will be through manual type distributing IP address information;
Step M. is if automatic IP address allocation the time; Write failed database; System will be shown to this IP address information the interface of warehouse-in failure in real time, when the user double-clicks a certain IP address information, will this IP address be put in storage once more through the mode of manual work.
Beneficial effect: compared with prior art; The present invention has introduced a MAC Address can distribute a plurality of IP addressing mechanisms simultaneously, simultaneously, and to the IP address of same devices allocation; Guarantee its continuity; And in a single day after distributing successfully, relative fixed, this has well adapted to the video network supervisory control system.
In addition; The present invention also provides the artificial operation of redistributing the IP address; Help can revising IP address allocated easily when later upgrading of system and networking mode change, provide automatic distribution failure to need the interface of distributing manually simultaneously, the warehouse-in failure needs the interface of artificial in-stockroom operation; Improved the degree of flexibility of system to a certain extent greatly; Can be according to the subsequent user different demands, the upgrade requirement of system, the change of networking mode is from new settings IP address and unified IP address maintenance management.
And, in case after the maximum benefit of the present invention is to distribute successfully, will ask the IP address no longer again in the time of device start, so, also do not influence the normal operation of the equipment of having distributed the IP address even service end IP address assignment system does not move.Guaranteed the relative independentability of system.Simultaneously, the IP address of IP address of having distributed and warehouse-in failure, system will be saved in file automatically, and when collapse takes place in system, system will be written into the IP address information of backup automatically.
Description of drawings
Fig. 1 is a program circuit of the present invention;
Embodiment
Below in conjunction with accompanying drawing IP automatic distribution system handling process of the present invention and data processing method thereof are described.
According to the requirement of network video monitor and control system itself, the field of database design of the present invention mainly comprises:
The veneer MAC Address mainly is used for preserving the MAC Address of request end;
The IP address mainly is used for preserving IP address allocated information;
PCBID refers to ID number an of equipment, in the system the inside mainly in order to distinguish different equipment, can reach the continuity requirement of satisfying same PCBID institute IP address allocated;
DeviceID, product IDs is used for distinguishing different device numberings;
ChiefID, machine frame ID, the machine frame at this place, IP address of distributing with difference is because different machine frame IP addresses can duplicate allocation;
The message structure of design request IP address comprises among the present invention:
The IP address information structure of each MAC request:
UcMacId represents MAC Address;
On behalf of this MAC, dwNeedIp ask the number of IP;
The message structure of each device request:
UcPcbId, PCBID number of representing an equipment, system distributes one section continuous IP address with this;
UcDeviceId represents the numbering of an equipment;
DwMpIp, the MP IP address of representing this equipment to belong to is used for distinguishing the machine frame that belongs to different;
DwMacNum, the MAC number that this equipment had is supported 8 at most;
How many IP addresses tMacNeedIp, each MAC Address need apply for, the IP address information structure of concrete corresponding each MAC request;
The structure of receiveing the response of design I P address distribution system mainly comprises among the present invention:
The IP address information structure that each MAC responds:
DwIpCnt, effective I P number, maximum 8;
UcMacId, MAC Address;
DwIpAddr, the IP address of system assignment, that does not distribute fills out 0;
The message structure that system responds:
UcPcbId, PCBID number of representing an equipment, system distributes one section continuous IP address with this;
UcDeviceId represents the numbering of an equipment
DwMacCnt distributes address MAC number, maximum 8;
TAllocIp, the IP address of each MAC Address actual allocated, the IP address information structure that concrete corresponding each MAC responds;
As shown in Figure 1, the program circuit of IP address assignment management system and flow chart of data processing comprise following step:
Step 1: the request of receiving distributes address message, and this stage is mainly dealt with by a receiving thread.Receiving thread mainly is responsible for the receiving terminal request message; Add storage queue to request message then; Judge simultaneously should request whether in request queue, be correspondingly processed:, promptly be in the initial condition in the formation if medium pending in formation; Then abandon this message, show repetitive requests information simultaneously; If in formation, but user's manual allocation is then pointed out in the failure of distributing IP address; If in IP warehouse-in failure formation, then point out the user not put success in storage; If not in formation, but formation fill it up with, then point out the user;
Step 2: whether inquiry distributes, if distribute, then retransmits, and withdraws from; If do not distribute, then carry out step 3;
Step 3: confirm machine frame ID according to MP IP, need in the request to confirm the IP number of distribution;
Step 4: according to the IP number that machine frame ID can use to this frame of data base querying, if not enough, manual allocation is carried out in prompting, withdraws from, if enough, carry out step 5;
Step 5: automatic IP address allocation, form response consumption and return to the request end;
Step 6: write database, whether need save as file and depend on whether successfully to write database.
Step 7: reading database, see whether step 6 writes success, if not success is then carried out writing for three times;
Above-mentioned 2-7 step is mainly operated by processing threads.Processing threads mainly is responsible for handling pending request message in the storage queue; After finishing dealing with, remove the request message in the storage queue: at first, the processing threads Query Database; See whether this MAC distributes; If distribute, then send the IP configuration information once more, delete the request message in the storage queue simultaneously; If there is not the distributing IP address, then according to request message, Query Database, confirm the IP address allocated number of wanting and current available IP address; If the failure of IP address lookup then points out the user to confirm that database connects, and changes state into distributing IP address status of fail simultaneously; If IP address number is not enough, then point out IP number of addresses that the user can use less than request IP address allocated number, change state into distributing IP address status of fail simultaneously; If IP address sum is enough, but is contiguous ip address, then point out the user to need artificial the setting, change state into distributing IP address status of fail simultaneously; If distribute successfully, then return distributing IP address success message and give the terminal; Write database manipulation, write afterwards the data that retaking of a year or grade has more just write, look at whether put success in storage: if put in storage successfully, then point out the user, the IP address assignment success.Delete the request message in the storage queue simultaneously.If three operations are then carried out in the warehouse-in failure continuously, if three times are all failed, then point out the user, the warehouse-in failure of IP address.Simultaneously this information is write warehouse-in failure IP message queue and temporary file, delete the request message in the storage queue simultaneously.
Simultaneously, the present invention has also designed two Timing Processing, the automated back-up of a process database, and a processing is not put the timing warehouse-in of successful IP information in storage and is write temporary file; Be responsible for putting in storage again at set intervals once reaching warehouse-in failure IP is write temporary file.And carry out DB Backup at set intervals.
For the operation at interface, the invention provides main frame prompting and show, reach successfully and handle, need artificial treatment and three interfaces of warehouse-in failure with all process informations, result is presented to the user respectively.And on corresponding interface, the user can be through double-clicking or right-click menu, carry out easily the IP address sub-distribution again, manual allocation, artificially operation such as put, import and export in storage.

Claims (1)

1. the IP address is distributed and management method automatically in the network video monitor and control system, it is characterized in that distributing the IP address of particular ip address section automatically according to the IP number of addresses of MAC request, and same equipment institute IP address allocated is one section continuous IP address; Guarantee the continuity of each equipment institute distributing IP address, for the IP address of having distributed, manual work is reallocated and is adjusted or deletion i.e. final-period management;
After the IP address assignment success,, then read original IP address allocated and return to the request end if ask IP address assignment once more;
If there is not continuous assignable IP address, when perhaps available IP number of addresses is not enough, system will point out the user to need artificial adjustment to redistribute;
The IP address of system assignment will write background data base, if write failure, system provides manual work to write database manipulation, can preserve miss data automatically simultaneously;
Write the IP address information of database, system can automatically preserve backup, simultaneously, the artificial function that imports derived data storehouse IP address information is provided also, prevents that system crash IP address information from losing;
For the IP address of having distributed, the IP number of addresses of having distributed is freely adjusted in manual work, in the time of adjustment, also is that an all IP address of equipment is adjusted together, guarantees the continuity of the IP address of an equipment;
For the IP address that need not use,, delete unnecessary IP address information through manual type;
The step of handling automatic distribution of various terminal device IP address and later stage labor management is following:
Steps A .IP address allocation system is received the IP address request;
Whether step B.IP address allocation system see and distribute according to the content search database in the request message, if distribute, reading database then sends IP address allocated information once more and gives the request end;
If step C. does not distribute, then Query Database sees whether have in available continuous IP address or the database whether have enough IP available number of addresses;
If step D. does not exist available continuous IP address information or available IP number of addresses not enough, system will point out the user to distribute failure, need artificial adjustment before IP address allocated carry out manual allocation again;
If step e. there is available IP address information, then distributes the IP address automatically and form to receive the response accordingly and send to the request end;
Step F. send after the completion of IP address assignment message, system will carry out database and write operation, and IP address allocated information is write background data base;
Step G. reads the database information that has just write, and whether writes success with the inspection database;
If step H. writes failure, then carry out F, two step 3 of G are inferior;
If step I. fails for three times, then point out customer data base to write failure, need artificial warehouse-in;
Step J. system will distribute the IP address of success to be presented at the interface in real time automatically, when the user double-clicks a certain IP address of equipment, will revise the IP address of having distributed once more through manual type;
Step K. if a certain device damage, its IP address are not being used, and the user deletes the IP address information of having distributed through successful IP address allocated interface;
Step L. is for the IP address information of automatic distribution failure, and system is shown to the interface of automatic distribution failure in real time with request message, when the user double-clicks a certain message, and will be through manual type distributing IP address information;
Step M. is if automatic IP address allocation the time; Write failed database; System will be shown to this IP address information the interface of warehouse-in failure in real time, when the user double-clicks a certain IP address information, will this IP address be put in storage once more through the mode of manual work.
CN 201010145454 2010-04-09 2010-04-09 Automatic IP address assignment and management method in network video monitoring system Active CN101841574B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010145454 CN101841574B (en) 2010-04-09 2010-04-09 Automatic IP address assignment and management method in network video monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010145454 CN101841574B (en) 2010-04-09 2010-04-09 Automatic IP address assignment and management method in network video monitoring system

Publications (2)

Publication Number Publication Date
CN101841574A CN101841574A (en) 2010-09-22
CN101841574B true CN101841574B (en) 2012-12-26

Family

ID=42744693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010145454 Active CN101841574B (en) 2010-04-09 2010-04-09 Automatic IP address assignment and management method in network video monitoring system

Country Status (1)

Country Link
CN (1) CN101841574B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102201222A (en) * 2011-05-20 2011-09-28 广东威创视讯科技股份有限公司 Splicing method, device and system of multi-screen splicing system
CN102332993B (en) * 2011-09-21 2014-05-14 国家计算机网络与信息安全管理中心 IP address register information verifying method and system
CN103312836B (en) * 2013-06-28 2016-08-10 国家电网公司 A kind of large-scale local network ip address management method
CN104363137A (en) * 2014-11-14 2015-02-18 浪潮(北京)电子信息产业有限公司 In-local-area-network IP address distribution information monitoring method and device
CN104506669B (en) * 2014-12-30 2018-02-16 中国科学院信息工程研究所 The IP address distribution system and method for a kind of Based on Distributed network simulation platform
CN109743540A (en) * 2018-12-11 2019-05-10 深圳市天视通电子科技有限公司 A kind of automatic method for retrieving of network camera-shooting and recording device and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992736A (en) * 2005-12-30 2007-07-04 西门子(中国)有限公司 IP address distribution method and use thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1266882C (en) * 2002-12-04 2006-07-26 华为技术有限公司 A management method of network device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992736A (en) * 2005-12-30 2007-07-04 西门子(中国)有限公司 IP address distribution method and use thereof

Also Published As

Publication number Publication date
CN101841574A (en) 2010-09-22

Similar Documents

Publication Publication Date Title
CN101841574B (en) Automatic IP address assignment and management method in network video monitoring system
CN109213555B (en) Resource dynamic scheduling method for virtual desktop cloud
CN104239227B (en) A kind of virtualization storage managing device, local virtual memory management unit and method
CN103078965B (en) The IP address management method of virtual machine
CN114070822B (en) Kubernetes Overlay IP address management method
CN102025798A (en) Address allocation processing method, device and system
CN103200350B (en) A kind of nonlinear cloud edit methods
CN101420458B (en) Multimedia content monitoring system, method and device based on content distributing network
CN101090309A (en) Method for implementing DHCP service redundant and DHCP server
CN111585887B (en) Communication method and device based on multiple networks, electronic equipment and storage medium
CN109085999A (en) data processing method and processing system
JP2008004092A (en) Method for dynamic information technology infrastructure provisioning
CN105635311A (en) Method for synchronizing resource pool information in cloud management platform
CN101241365A (en) Method and apparatus for automatically recognizing a connection of a device to a building management system
CN114500523A (en) Fixed IP application release method based on container cloud platform
CN106790403A (en) Realize the method for mobile cloud computing halfpace and realize distributed method
CN111131445B (en) DHCP cluster scheduling method and DHCP cluster system
CN110798507B (en) Method and system for DHCP address allocation memory
CN103684861A (en) Method and device for processing network configuration and communication system
WO2015192583A1 (en) Internet protocol (ip) address allocation method and apparatus, server and terminal
CN101304372B (en) Method, equipment and system for collocating access control list
CN102710790A (en) Memcached implementation method and system based on metadata management
CN102292941A (en) Protection method for subscriber access network and equipment thereof
KR102289100B1 (en) Container-based cluster construction method and cluster device for big data analysis
CN110019475A (en) Data persistence processing method, apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: JIANGSU DONGDA JINZHI INFORMATION SYSTEM CO., LTD.

Free format text: FORMER NAME: JIANGSU WISCOM SYSTEM CO., LTD.

CP03 Change of name, title or address

Address after: 211100, No. 100, general road, Jiangning Economic Development Zone, Jiangsu, Nanjing

Patentee after: WISCOM SYSTEM CO., LTD.

Address before: 212213, No. 100, general road, Jiangning economic and Technological Development Zone, Nanjing, Jiangsu

Patentee before: Jiangsu Wiscom System Co., Ltd.