CN110266831A - IP Camera address configuration method, device, system and the storage medium of video recorder - Google Patents

IP Camera address configuration method, device, system and the storage medium of video recorder Download PDF

Info

Publication number
CN110266831A
CN110266831A CN201910530123.9A CN201910530123A CN110266831A CN 110266831 A CN110266831 A CN 110266831A CN 201910530123 A CN201910530123 A CN 201910530123A CN 110266831 A CN110266831 A CN 110266831A
Authority
CN
China
Prior art keywords
vlan
port
camera
address
video recorder
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
CN201910530123.9A
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.)
XIAMEN FOUR-FAITH COMMUNICATION TECHNOLOGY CO LTD
Original Assignee
XIAMEN FOUR-FAITH 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 XIAMEN FOUR-FAITH COMMUNICATION TECHNOLOGY CO LTD filed Critical XIAMEN FOUR-FAITH COMMUNICATION TECHNOLOGY CO LTD
Priority to CN201910530123.9A priority Critical patent/CN110266831A/en
Publication of CN110266831A publication Critical patent/CN110266831A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5069Address allocation for group communication, multicast communication or broadcast communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5076Update or notification mechanisms, e.g. DynDNS

Abstract

The invention discloses IP Camera address configuration method, device, system and the computer storage medium of a kind of video recorder, method includes: the vlan table for configuring interchanger;Wherein, the vlan table includes at least one vlan configuration information, and the vlan configuration information includes vlan type, vlan id and port list;Configure internal network interface list;Wherein, the internal network interface list includes at least one virtual network port information, and each virtual network port information includes vlan type, vlan id, network interface list and IP address;The multicast packets of virtual network port information including binding are sent to the interchanger, so that the interchanger searches IP Camera under corresponding port list according to the vlan id in the virtual network port information and is connected to the IP address of the IP Camera of corresponding ports according to the IP address modification in the virtual network port information, the IP and IP Camera IP that Network Personal Video Recorder channel can be automatically configured, keep deployed with devices easy to use.

Description

IP Camera address configuration method, device, system and the storage medium of video recorder
Technical field
The present invention relates to the IP Camera address configuration method of field of computer technology more particularly to a kind of video recorder, Device, system and storage medium.
Background technique
In recent years, the rapid development of Internet technology, Video Surveillance Industry also entered network times.Network times Video Surveillance Industry just gradually showing the feature of internet industry.Video Surveillance Industry is more next to monitoring image quality now It is higher, as image resolution ratio is strided forward to high definition gradually.Traditional Analogvideotransmission can not meet in industry to high Qinghua Tight demand, therefore Network Personal Video Recorder based on network application and web camera in industry occupy certain ground Position is transmitted compared to analog signal used by digital hard disc video recorder (DVR) by coaxial cable, the network of Network Personal Video Recorder Digital data transmission has the feature of fine definition and low cost.
Although Network Personal Video Recorder has above some advantages, some shortcomings are existed simultaneously.For example, network video is recorded In camera, the IP address of every manual configuration camera is needed for multi-path digital camera, while being configured often in video recorder The IP parameter of the camera in a channel will lead to friendship if the network interface that the IP of corresponding channel configuration is accessed with camera is inconsistent Change planes port camera it is inconsistent with channel corresponding in video recorder, then it is complicated to there is configuration, installation, while being not easy to distinguish Channel in the correspondence video recorder of each camera input, which switch port pair PASS VIDEO bad positioning of having gone wrong is The camera answered goes wrong.
Summary of the invention
In view of the above-mentioned problems, the purpose of the present invention is to provide a kind of IP Camera address configuration method of video recorder, Device, system and storage medium can automatically configure the IP and IP Camera IP in Network Personal Video Recorder channel, keep deployed with devices simple It is single easy-to-use.
The embodiment of the invention provides a kind of IP Camera address configuration methods of video recorder, comprising:
Configure the vlan table of interchanger;Wherein, the vlan table includes at least one vlan configuration information, and the vlan matches Confidence breath includes vlan type, vlan id and port list;
Configure internal network interface list;Wherein, the internal network interface list includes at least one virtual network port information, Mei Gexu Quasi- network interface information includes vlan type, vlan id, network interface list and IP address;
To include that the multicast packets of virtual network port information of binding are sent to the interchanger so that the interchanger according to Vlan id in the virtual network port information searches IP Camera under corresponding port list and according to the virtual net IP address modification in message breath is connected to the IP address of the IP Camera of corresponding ports.
Preferably, comprising:
When the vlan type is port vlan type, the port in the port list includes multiple is used for and net The first kind port and a Second Type port for being connect with video recorder of network camera connection;
When the vlan type is tag vlan type, the port in the port list includes one and is used for and network The first kind port and a Second Type port for being connect with video recorder of camera connection;Wherein, different The first kind port of vlan configuration information is different, and the Second Type port of different vlan configuration informations is identical.
Preferably, internal network interface list is configured, specially
Virtual network port is created, and configures the virtual network port information of the virtual network port;Wherein, the virtual network port packet Include vlan type, vlan id, network interface list and IP address;
The IP address of the virtual network port and network interface list and the vlan id are bound respectively unique to determine Relationship.
The embodiment of the invention also provides a kind of IP Camera address configuration methods of video recorder, comprising:
Obtain the vlan table generated by video recorder configuration;Wherein, the vlan table includes at least one vlan configuration information, The vlan configuration information includes vlan type, vlan id and port list;
Receive the multicast packets including virtual network port information that video recorder is sent;Wherein, the virtual network port information includes Vlan type, vlan id, network interface list and IP address;
The IP Camera and root under corresponding port list are searched according to the vlan id in the virtual network port information The IP address of the IP Camera of corresponding ports is connected to according to the IP address modification in the virtual network port information.
The embodiment of the invention also provides a kind of IP Camera address configuration means of video recorder, comprising:
Vlan table configuration unit, for configuring the vlan table of interchanger;Wherein, the vlan table includes at least one vlan Configuration information, the vlan configuration information include vlan type, vlan id and port list;
Internal network interface list configuration unit, for configuring internal network interface list;Wherein, the internal network interface list includes extremely Few virtual network port information, each virtual network port information includes vlan type, vlan id, network interface list and IP address;
Multicast packets transmission unit, for will include that the multicast packets of virtual network port information of binding are sent to the interchanger, So that the interchanger searches the network shooting under corresponding port list according to the vlan id in the virtual network port information Head and according in the virtual network port information IP address modification be connected to corresponding ports IP Camera IP address.
Preferably, comprising:
When the vlan type is port vlan type, the port in the port list includes multiple is used for and net The first kind port and a Second Type port for being connect with video recorder of network camera connection;
When the vlan type is tag vlan type, the port in the port list includes one and is used for and network The first kind port and a Second Type port for being connect with video recorder of camera connection;Wherein, different The first kind port of vlan configuration information is different, and the Second Type port of different vlan configuration informations is identical.
Preferably, internal network interface list configuration unit, is specifically used for
Virtual network port creation module for creating virtual network port, and configures the virtual network port information of the virtual network port;Its In, the virtual network port information includes vlan type, vlan id, network interface list and IP address;
Binding module, for respectively carrying out the IP address of the virtual network port and network interface list and the vlan id Binding is to determine unique relationships.
The embodiment of the invention also provides a kind of IP Camera address configuration means of video recorder, comprising:
Vlan table acquiring unit, for obtaining the vlan table generated by video recorder configuration;Wherein, the vlan table includes extremely A few vlan configuration information, the vlan configuration information includes vlan type, vlan id and port list;
Internal network interface list acquiring unit, for obtaining the inside network interface list generated by video recorder configuration;Wherein, described Internal network interface list includes at least one virtual network port information, and each virtual network port information includes vlan type, vlan id, net Mouth list and IP address;
Multicast packets receiving unit, for receiving the multicast packets including virtual network port information of video recorder transmission;Wherein, virtually Network interface information includes vlan type, vlan id, network interface list and IP address;
Searching unit, for searching the net under corresponding port list according to the vlan id in the virtual network port information Network camera and according in the virtual network port information IP address modification be connected to corresponding ports IP Camera IP Address.
The embodiment of the invention also provides a kind of IP Camera address configuration systems of video recorder, comprising: includes video recording The video recorder of machine core piece, the interchanger and camera for including interchanger;
The video recorder, for configuring the vlan table of interchanger and configuring internal network interface list;Wherein, the vlan table Including at least one vlan configuration information, the vlan configuration information includes vlan type, vlan id and port list;Its In, the internal network interface list includes at least one virtual network port information, and each virtual network port information includes vlan type, vlan Id, network interface list and IP address;The multicast packets of virtual network port information including binding are sent to the interchanger;
The interchanger, the multicast packets including virtual network port information sent for receiving the video recorder, and according to institute It states the vlan id in virtual network port information and searches IP Camera under corresponding port list and according to the virtual network port IP address modification in information is connected to the IP address of the IP Camera of corresponding ports.
Preferably, the interchanger includes at least eight first kind port and one for connecting with IP Camera A Second Type port for being connect with video recorder.
Preferably, the video recorder chip is hi3536c, and the exchanger chip is rt18309M.
The embodiment of the invention also provides a kind of computer readable storage medium, the computer readable storage medium includes The computer program of storage, wherein control in computer program operation and set where the computer readable storage medium The standby IP Camera address configuration method for executing the video recorder as described in above-described embodiment.
In said one embodiment, vlan table and the inside network interface list of interchanger are configured by video recorder first, so The multicast packets including binding vlan table and internal network interface list are sent to the interchanger afterwards, so that the interchanger root IP Camera under corresponding port list is searched according to the vlan id in portion's network interface list and according in portion's network interface list IP address modification is connected to the IP address of the IP Camera of corresponding ports, IP and network without manual configuration IP Camera The IP of the recording channel of video recorder, ease for use greatly increase.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, attached drawing needed in embodiment will be made below Simply introduce, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the structural representation of the IP Camera address configuration system for the video recorder that first embodiment of the invention provides Figure.
Fig. 2 is that a kind of process of the IP Camera address configuration method for the video recorder that second embodiment of the invention provides is shown It is intended to.
Fig. 3 is that a kind of process of the IP Camera address configuration method for the video recorder that third embodiment of the invention provides is shown It is intended to.
Fig. 4 is that a kind of structure of the IP Camera address configuration means for the video recorder that fourth embodiment of the invention provides is shown It is intended to.
Fig. 5 is that a kind of structure of the IP Camera address configuration means for the video recorder that fifth embodiment of the invention provides is shown It is intended to.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, first embodiment of the invention provides a kind of IP Camera address configuration system of video recorder, packet It includes: the interchanger 2 and IP Camera 3 for including the video recorder of video recorder chip, including interchanger;
The video recorder, for configuring the vlan table of interchanger and configuring internal network interface list;Wherein, the vlan table Including at least one vlan configuration information, the vlan configuration information includes vlan type, vlan id and port list;Its In, the internal network interface list includes at least one virtual network port information, and each virtual network port information includes vlan type, vlan Id, network interface list and IP address;The multicast packets of virtual network port information including binding are sent to the interchanger.
The interchanger 2, the multicast packets including virtual network port information sent for receiving the video recorder, and according to institute It states the vlan id in virtual network port information and searches IP Camera 3 under corresponding port list and according to the virtual net IP address modification in message breath is connected to the IP address of the IP Camera 3 of corresponding ports.
In the present embodiment, the interchanger 2 includes at least eight first kind end for connecting with IP Camera 3 Mouth and a Second Type port for being connect with video recorder.Wherein, in order to make it easy to understand, with the friendship in the present embodiment It changes planes and 2 is used for at least eight for the first kind ports that connects with IP Camera 3 for lan1 to lan8 and one The Second Type port connecting with video recorder is that Lan9 carries out exemplary description.
Referring to table 1, in the present embodiment, video recorder 1 configures the vlan table of interchanger 2 by mii interface, specifically:
1, by creation port vlan group vlan 1, Lan1~Lan9 to vlan1 is added, so that the number that video recorder 1 is sent When according to packet without vlan tag, data will be transmitted according to the configuration of port vlan group vlan1, each Lan mouthfuls of (lan1 It can be communicated with each other to lan9).
2, by creation tag vlan group vlan100, Lan1, Lan9 to vlan100 are added, creates tag vlan group Vlan101 adds Lan2, Lan9 to vlan101, creates tag vlan group vlan102, adds Lan3, Lan9 to vlan102; Tag vlan group vlan103 is created, Lan4, Lan9 to vlan103 are added;Tag vlan group vlan104 is created, Lan5 is added, Lan9 to vlan104;Tag vlan group vlan105 is created, Lan6, Lan9 to vlan105 are added;Create tag vlan group Vlan106 adds Lan7, Lan9 to vlan106;Tag vlan group vlan107 is created, Lan8, Lan9 to vlan107 are added, So that vlan tag head on the data packet band that video recorder is sent, data will be passed according to the port in the vlan group where vlan id It is defeated, the transmission of other ports is isolated, i.e. tag vlan is in the corresponding tag id of the data packet band that video recorder is sent, then only Corresponding vlan table middle port can be sent to go, for example, tag vlan 100 is configured by video recorder, if that being that video recorder is sent Data packet inside band this field of tag id 100, then data can only just walk the specified port vlan 100.
Table 1:
In the present embodiment, it referring to table 2, after video recorder creates the tag vlan of vlan100-107, needs to create void Quasi- network interface, and configure the virtual network port information of the virtual network port;Wherein, the virtual network port information include vlan type, Vlan id, network interface list and IP address;Then respectively by the IP address of the virtual network port and network interface list with it is described Vlan id is bound to determine unique relationships.
Specifically, virtual network port eth1.100~eth1.107 is created by vconfig, so that the number that video recorder is sent It is bound according to packet with virtual network port to establish unique relationships, so that the data packet that video recorder is sent carries tag id, For example, video recorder binds eth1.100 when sending data, the data core of transmission will add upper tag id to corresponding 100.Concrete operations mode: creation vlan100 and configuration of IP: vconfig add eth1 100;ifconfig eth1.100 192.168.64.100;Create vlan101 and configuration of IP;vconfig add eth1 101;ifconfig eth1.101 192.168.64.101;Create vlan102 and configuration of IP;vconfig add eth1 102;ifconfig eth1.102 192.168.64.102;Create vlan103 and configuration of IP;vconfig add eth1 103;ifconfig eth1.103 192.168.64.103;Create vlan104 and configuration of IP;vconfig add eth1 104;ifconfig eth1.104 192.168.64.104;Create vlan105 and configuration of IP;vconfig add eth1 105;ifconfig eth1.105 192.168.64.105;Create vlan106 and configuration of IP;vconfig add eth1 106;ifconfig eth1.106 192.168.64.106;Create vlan107 and configuration of IP;vconfig add eth1 107;ifconfig eth1.107 192.168.64.107.According to above-mentioned configuration, if the data packet that video recorder is sent binds corresponding virtual network port, the number of transmission It will be labeled with corresponding vlan tag id according to packet, according to above-mentioned configuration, data packet will constrain in vlan id and correspond to vlan group In port transmission.
Table 2:
In this example, it is assumed that Configuration network camera, then need to bind corresponding virtual network port in advance, then send Multicast packets (multicast packets carry corresponding tag id) to interchanger, interchanger is searched the port in vlan table according to tag id and is arranged The corresponding IP Camera in port under table, for example, then needing to bind in advance if necessary to the IP Camera for configuring network interface 1 Then virtual port eth1.100 sends multicast packets (multicast packets carry tag id 100) to interchanger, interchanger is according to institute State the corresponding IP Camera under the port vlan100 in the lookup vlan table of tag id 100.
Specifically, the network interface of video recorder binding eth1.100, that is, vlan100 sends multicast packets, and the data packet of transmission is stamped The vlan tag head that vlan id is 100, interchanger is by according to above-mentioned configuration, by end of the data constraint in the group of vlan100 Port transmission, i.e. data can only be sent to Lan1, and Lan9 (Lan9 filters itself multicast packets), other ports will not receive multicast packets. The IP Camera of Lan1 access can respond searching request, feed back the network configuration of itself and be sent to exchange with multicast mode Machine, and default network camera is will not to stamp vlan tag head for data packet, at this point, interchanger will be according to above-mentioned configuration Port vlan group vlan1 is sent to the network interface of interchanger, and video recorder carries out multicast by the network interface eth1 where binding Lan9 Reception, record the IP Camera information of Lan1.Configuration network is sent by eth1.100 according to same principle video recorder Multicast bag data, configure Lan1 on camera network, default configuration is at 192.168.63.2.System records video channel 1 corresponding IP is 192.168.63.2.
The IP Camera repeated on aforesaid operations Lan2, Lan3, Lan4, Lan5, Lan6, Lan7, Lan8 is used respectively Eth1.101, eth1.102, eth103, eth104, eth105, eth106, eth107 send multicast search packet and Configuration network Information defaults IP Camera on Lan2 and is configured to 192.168.63.3, and Lan3 IP Camera is configured to 192.168.63.4, Lan4 IP Camera is configured to 192.168.63.5, and Lan5 IP Camera is configured to 192.168.63.5, and Lan6 network is taken the photograph As head is configured to 192.168.63.6, Lan7 IP Camera is configured to 192.168.63.7, and Lan8 IP Camera is configured to 192.168.63.8, so far the IP Camera of all access switch can all be configured to the IP of default.
After configuring Lan1~Lan8 camera IP, according to above-mentioned configuration rule data packet without vlan tag head, interchanger According to the regular communication of port vlan.Video recorder network interface can pass through the eth1:IP of the vlan1 of port vlan group 192.168.63.1 the data packet sent without vlan tag accesses all camera interface Lan1~Lan8, all subsequent views Defeated equal communications are kept pouring in all to transmit by this way.
In conclusion the application realizes the vlan function of vlan technology and interchanger based on LINUX system to Lan mouthfuls of numbers According to isolation and multicast packets transmission cross-network segment, transmit multicast packet data streams according to pre-set vlan, it is real Now each lan mouthfuls of digital camera is scanned for and automatically configured.Network Personal Video Recorder channel can be automatically configured simultaneously IP and IP Camera IP, keeps deployed with devices easy to use.In addition, in the port and Network Personal Video Recorder of IP Camera access Channel sequence consensus is checked convenient for later maintenance and problem.
On the basis of first embodiment, in one embodiment of the present invention, vlan type include port vlan type with And tag vlan type etc., it is to be understood that when the vlan type is port vlan type, in the port list Port include multiple first kind ports for being connect with IP Camera and one for being connect with video recorder the Two type ports;When the vlan type is tag vlan type, the port in the port list include one for The first kind port and a Second Type port for being connect with video recorder of IP Camera connection;Wherein, different Vlan configuration information first kind port it is different, the Second Type port of different vlan configuration informations is identical.Pass through The port isolation of interchanger may be implemented in vlan technology, is divided in the same broadcast domain same group of port point, realizes different The data flow independence of port grouping.This is logically to divide, rather than physically divide, and provides and can grasp for customized grouping The property made.
On the basis of first embodiment, in one embodiment of the present invention, the video recorder chip is hi3536c, institute Stating exchanger chip is rt18309M, certainly, it should be noted that the model of the video recorder chip and interchanger is according to reality The setting of border situation, the present invention repeats no more herein.
Second embodiment of the invention:
Referring to Fig. 2, second embodiment of the invention provides a kind of IP Camera address configuration method of video recorder, it can It realizes applied in video recorder to specified IP Camera address configuration, can be executed by video recorder, particularly, by recording a video One or more processors in machine execute, and include at least following steps:
S101 configures the vlan table of interchanger;Wherein, the vlan table includes at least one vlan configuration information, described Vlan configuration information includes vlan type, vlan id and port list.,
S102 configures internal network interface list;Wherein, the internal network interface list includes at least one virtual network port information, Each virtual network port information includes vlan type, vlan id, network interface list and IP address;
The multicast packets of virtual network port information including binding are sent to the interchanger, so that the exchange by S103 Machine according to the vlan id in the virtual network port information searches IP Camera under corresponding port list and according to described IP address modification in virtual network port information is connected to the IP address of the IP Camera of corresponding ports.
On the basis of first embodiment, in one embodiment of the present invention, comprising:
When the vlan type is port vlan type, the port in the port list includes multiple is used for and net The first kind port and a Second Type port for being connect with video recorder of network camera connection;
When the vlan type is tag vlan type, the port in the port list includes one and is used for and network The first kind port and a Second Type port for being connect with video recorder of camera connection;Wherein, different The first kind port of vlan configuration information is different, and the Second Type port of different vlan configuration informations is identical.
On the basis of first embodiment, in one embodiment of the present invention, internal network interface list is configured, specially
Virtual network port is created, and configures the virtual network port information of the virtual network port;Wherein, the virtual network port packet Include vlan type, vlan id, network interface list and IP address;
The IP address of the virtual network port and network interface list and the vlan id are bound respectively unique to determine Relationship.
Third embodiment of the invention:
Referring to Fig. 3, second embodiment of the invention provides a kind of IP Camera address configuration method of video recorder, It can be executed by interchanger, particularly, be executed by the one or more processors in interchanger, and include at least following step It is rapid:
S201 obtains the vlan table generated by video recorder configuration;Wherein, the vlan table is configured including at least one vlan Information, the vlan configuration information include vlan type, vlan id and port list;
S202 receives the multicast packets including virtual network port information that video recorder is sent;Wherein, the virtual network port packet Include vlan type, vlan id, network interface list and IP address;
S203 searches the IP Camera under corresponding port list according to the vlan id in the virtual network port information And the IP address of the IP Camera of corresponding ports is connected to according to the IP address modification in the virtual network port information.
To sum up, vlan table and the inside network interface list for configuring interchanger by video recorder first, then will include binding Vlan table and the multicast packets of internal network interface list are sent to the interchanger, so that the interchanger is according to portion's network interface list In vlan id search IP Camera under corresponding port list and connected according to the IP address modification in portion's network interface list It is connected to the IP address of the IP Camera of corresponding ports, the video recording of IP and network video recorder without manual configuration IP Camera The IP in channel, ease for use greatly increase.
Fourth embodiment of the invention:
Referring to fig. 4, third embodiment of the invention additionally provides a kind of IP Camera address configuration means of video recorder, packet It includes:
Vlan table configuration unit 101, for configuring the vlan table of interchanger;Wherein, the vlan table includes at least one Vlan configuration information, the vlan configuration information include vlan type, vlan id and port list;
Internal network interface list configuration unit 102, for configuring internal network interface list;Wherein, the internal network interface list packet Include at least one virtual network port information, each virtual network port information includes vlan type, vlan id, network interface list and IP Location;
Multicast packets transmission unit 103, for will include that the multicast packets of virtual network port information of binding are sent to the exchange Machine, so that the interchanger searches the network under corresponding port list according to the vlan id in the virtual network port information Camera and be connected to according to the IP address modification in the virtual network port information corresponding ports IP Camera IP Location.
Preferably, comprising:
When the vlan type is port vlan type, the port in the port list includes multiple is used for and net The first kind port and a Second Type port for being connect with video recorder of network camera connection;
When the vlan type is tag vlan type, the port in the port list includes one and is used for and network The first kind port and a Second Type port for being connect with video recorder of camera connection;Wherein, different The first kind port of vlan configuration information is different, and the Second Type port of different vlan configuration informations is identical.
Preferably, internal network interface list configuration unit 102, is specifically used for
Virtual network port creation module for creating virtual network port, and configures the virtual network port information of the virtual network port;Its In, the virtual network port information includes vlan type, vlan id, network interface list and IP address;
Binding module, for respectively carrying out the IP address of the virtual network port and network interface list and the vlan id Binding is to determine unique relationships.
Fifth embodiment of the invention:
Referring to Fig. 5, fourth embodiment of the invention additionally provides a kind of IP Camera address configuration means of video recorder, packet It includes:
Vlan table obtains single 201, for obtaining the vlan table generated by video recorder configuration;Wherein, the vlan table includes At least one vlan configuration information, the vlan configuration information include vlan type, vlan id and port list;
Multicast packets receiving unit 202, for receiving the multicast packets including virtual network port information of video recorder transmission, wherein Virtual network port information includes vlan type, vlan id, network interface list and IP address;
Searching unit 203, for being searched under corresponding port list according to the vlan id in the virtual network port information IP Camera and the IP Camera that corresponding ports are connected to according to the IP address modification in the virtual network port information IP address.
Sixth embodiment of the invention:
Sixth embodiment of the invention additionally provides a kind of video recorder, including processor, memory and is stored in described deposit Computer program in reservoir, the computer program can be executed by the processor to realize record described in above-described embodiment The IP Camera address configuration method of camera.
Seventh embodiment of the invention:
Seventh embodiment of the invention additionally provides a kind of interchanger, including processor, memory and is stored in described deposit Computer program in reservoir, the computer program can be executed by the processor to realize as described in above-described embodiment The IP Camera address configuration method of video recorder.
Eighth embodiment of the invention:
Eighth embodiment of the invention provides a kind of computer readable storage medium, the computer readable storage medium packet Include the computer program of storage, wherein where controlling the computer readable storage medium in computer program operation Equipment executes the IP Camera address configuration method such as above-mentioned video recorder.
Illustratively, the computer program can be divided into one or more units, one or more of lists Member is stored in the memory, and is executed by the processor, to complete the present invention.One or more of units can be with It is the series of computation machine program instruction section that can complete specific function, which is recording for describing the computer program Implementation procedure in the IP Camera address configuration equipment of camera.
The IP Camera address configuration equipment of the video recorder may include, but are not limited to processor, memory.Ability Field technique personnel are appreciated that the schematic diagram is only the example of the IP Camera address configuration equipment of video recorder, not The restriction to the IP Camera address configuration equipment of video recorder is constituted, may include components more more or fewer than diagram, or Person combines certain components or different components, such as the IP Camera address configuration equipment of the video recorder can also wrap Include input-output equipment, network access equipment, bus etc..
Alleged processor can be central processing unit (Central Processing Unit, video recorder chip), may be used also To be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng the control centre of the IP Camera address configuration equipment of the video recorder is entirely recorded using various interfaces and connection The various pieces of the IP Camera address configuration equipment of camera.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization The various functions of the IP Camera address configuration equipment of video recorder.The memory can mainly include storing program area and storage Data field, wherein storing program area can application program needed for storage program area, at least one function (for example sound plays Function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio number according to mobile phone According to, phone directory etc.) etc..In addition, memory may include high-speed random access memory, it can also include non-volatile memories Device, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatibility are solid State memory device.
Wherein, if the unit of the IP Camera address configuration integration of equipments of the video recorder is with SFU software functional unit Form realize and when sold or used as an independent product, can store in a computer readable storage medium.Base In such understanding, the present invention realizes all or part of the process in above-described embodiment method, can also pass through computer program It is completed to instruct relevant hardware, the computer program can be stored in a computer readable storage medium, the calculating Machine program is when being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes Computer program code, the computer program code can for source code form, object identification code form, executable file or certain A little intermediate forms etc..The computer-readable medium may include: any entity that can carry the computer program code Or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software Distribution medium etc..It should be noted that the content that the computer-readable medium includes can be according to making laws in jurisdiction Requirement with patent practice carries out increase and decrease appropriate, such as in certain jurisdictions, according to legislation and patent practice, computer Readable medium does not include electric carrier signal and telecommunication signal.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention In embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one or A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand And implement.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (10)

1. a kind of IP Camera address configuration method of video recorder characterized by comprising
Configure the vlan table of interchanger;Wherein, the vlan table includes at least one vlan configuration information, and the vlan matches confidence Breath includes vlan type, vlan id and port list;
Configure internal network interface list;Wherein, the internal network interface list includes at least one virtual network port information, each virtual net Message breath includes vlan type, vlan id, network interface list and IP address;
The multicast packets of virtual network port information including binding are sent to the interchanger, so that the interchanger is according to Vlan id in virtual network port information searches IP Camera under corresponding port list and according to the virtual net message IP address modification in breath is connected to the IP address of the IP Camera of corresponding ports.
2. the IP Camera address configuration method of video recorder according to claim 1 characterized by comprising
When the vlan type is port vlan type, the port in the port list includes multiple for taking the photograph with network The first kind port and a Second Type port for being connect with video recorder connected as head;
When the vlan type is tag vlan type, the port in the port list includes one and is used for and network shooting The first kind port and a Second Type port for being connect with video recorder of head connection;Wherein, different vlan matches The first kind port of confidence breath is different, and the Second Type port of different vlan configuration informations is identical.
3. the IP Camera address configuration method of video recorder according to claim 1, which is characterized in that configuration intranet Mouth list, specially
Virtual network port is created, and configures the virtual network port information of the virtual network port;Wherein, the virtual network port information includes Vlan type, vlan id, network interface list and IP address;
The IP address of the virtual network port and network interface list and the vlan id are bound respectively to determine unique close System.
4. a kind of IP Camera address configuration method of video recorder characterized by comprising
Obtain the vlan table generated by video recorder configuration;Wherein, the vlan table includes at least one vlan configuration information, described Vlan configuration information includes vlan type, vlan id and port list;
Receive the multicast packets including virtual network port information that video recorder is sent;Wherein, the virtual network port information includes vlan class Type, vlan id, network interface list and IP address;
IP Camera under corresponding port list is searched according to the vlan id in the virtual network port information and according to institute State the IP address that the IP address modification in virtual network port information is connected to the IP Camera of corresponding ports.
5. a kind of IP Camera address configuration means of video recorder characterized by comprising
Vlan table configuration unit, for configuring the vlan table of interchanger;Wherein, the vlan table is configured including at least one vlan Information, the vlan configuration information include vlan type, vlan id and port list;
Internal network interface list configuration unit, for configuring internal network interface list;Wherein, the internal network interface list includes at least one A virtual network port information, each virtual network port information include vlan type, vlan id, network interface list and IP address;
Multicast packets transmission unit, the multicast packets of virtual network port information of binding are sent to the interchanger for will include, so that The interchanger according to the vlan id in the virtual network port information search the IP Camera under corresponding port list with And the IP address of the IP Camera of corresponding ports is connected to according to the IP address modification in the virtual network port information.
6. a kind of IP Camera address configuration means of video recorder characterized by comprising
Vlan table acquiring unit, for obtaining the vlan table generated by video recorder configuration;Wherein, the vlan table includes at least one Vlan configuration information, the vlan configuration information includes vlan type, vlan id and port list;
Multicast packets receiving unit, for receiving the multicast packets including virtual network port information of video recorder transmission;Wherein, described virtual Network interface information includes vlan type, vlan id, network interface list and IP address;
Searching unit is taken the photograph for searching the network under corresponding port list according to the vlan id in the virtual network port information The IP address of the IP Camera of corresponding ports is connected to as head and according to the IP address modification in the virtual network port information.
7. a kind of IP Camera address configuration system of video recorder characterized by comprising include the video recording of video recorder chip Machine, the interchanger and camera for including exchanger chip;
The video recorder, for configuring the vlan table of interchanger and configuring internal network interface list;Wherein, the vlan table includes At least one vlan configuration information, the vlan configuration information include vlan type, vlan id and port list;Wherein, institute Stating internal network interface list includes at least one virtual network port information, each virtual network port information include vlan type, vlan id, Network interface list and IP address;The multicast packets of virtual network port information including binding are sent to the interchanger;
The interchanger, the multicast packets including virtual network port information sent for receiving the video recorder, and according to the void Vlan id in quasi- network interface information searches IP Camera under corresponding port list and according to the virtual network port information In IP address modification be connected to corresponding ports IP Camera IP address.
8. a kind of IP Camera address configuration system of video recorder according to claim 7, which is characterized in that the friendship It changes planes and including at least eight is used to connect with video recorder for the first kind port that connect with IP Camera and one Second Type port.
9. a kind of IP Camera address configuration system of video recorder according to claim 5, which is characterized in that the record Camera chip is hi3536c, and the exchanger chip is rt18309M.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes the calculating of storage Machine program, wherein equipment where controlling the computer readable storage medium in computer program operation is executed as weighed Benefit require any one of 1 to 4 described in video recorder IP Camera address configuration method.
CN201910530123.9A 2019-06-19 2019-06-19 IP Camera address configuration method, device, system and the storage medium of video recorder Pending CN110266831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910530123.9A CN110266831A (en) 2019-06-19 2019-06-19 IP Camera address configuration method, device, system and the storage medium of video recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910530123.9A CN110266831A (en) 2019-06-19 2019-06-19 IP Camera address configuration method, device, system and the storage medium of video recorder

Publications (1)

Publication Number Publication Date
CN110266831A true CN110266831A (en) 2019-09-20

Family

ID=67919252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910530123.9A Pending CN110266831A (en) 2019-06-19 2019-06-19 IP Camera address configuration method, device, system and the storage medium of video recorder

Country Status (1)

Country Link
CN (1) CN110266831A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553833A (en) * 2022-04-28 2022-05-27 广东电网有限责任公司佛山供电局 Camera address generation method and related device for main network equipment of transformer substation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123510A (en) * 2007-07-11 2008-02-13 中兴通讯股份有限公司 Method, switch and switching chip for port separation of switch
CN103501356A (en) * 2013-09-18 2014-01-08 中安消技术有限公司 Network address configuration method and system of network camera
CN104301652A (en) * 2013-07-19 2015-01-21 杭州海康威视数字技术股份有限公司 Method for network camera access configuration and network video recorder
CN105634903A (en) * 2015-12-31 2016-06-01 深圳市磊科实业有限公司 NVR and IPC port corresponding method
US20180375821A1 (en) * 2017-06-21 2018-12-27 D-Link Corporation Method for identifying ip camera and enhancing transmission quality by packet transmission based on onvif specifications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123510A (en) * 2007-07-11 2008-02-13 中兴通讯股份有限公司 Method, switch and switching chip for port separation of switch
CN104301652A (en) * 2013-07-19 2015-01-21 杭州海康威视数字技术股份有限公司 Method for network camera access configuration and network video recorder
CN103501356A (en) * 2013-09-18 2014-01-08 中安消技术有限公司 Network address configuration method and system of network camera
CN105634903A (en) * 2015-12-31 2016-06-01 深圳市磊科实业有限公司 NVR and IPC port corresponding method
US20180375821A1 (en) * 2017-06-21 2018-12-27 D-Link Corporation Method for identifying ip camera and enhancing transmission quality by packet transmission based on onvif specifications

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553833A (en) * 2022-04-28 2022-05-27 广东电网有限责任公司佛山供电局 Camera address generation method and related device for main network equipment of transformer substation
CN114553833B (en) * 2022-04-28 2022-07-19 广东电网有限责任公司佛山供电局 Camera address generation method and related device for main network equipment of transformer substation

Similar Documents

Publication Publication Date Title
CN105264834B (en) A kind of method, apparatus and NVO3 network of the processing multicast message in NVO3 network
CN104426680B (en) Data transmission method, device and system
CN102158421B (en) Method and unit for creating layer three interface
CN103532878A (en) Data packet processing method, and method, device and system for managing network flow
CN105763385B (en) Traffic scheduling method and device
WO2003038633A1 (en) System, method, and data structure for multimedia communications
CN107104782A (en) Data transmission method and device
CN105144639A (en) Efficient multicast delivery to dually connected (VPC) hosts in overlay networks
CN103812746B (en) Bridging device based on linux operating systems and its communication means
CN105812221B (en) The device and method of data transmission in virtual expansible Local Area Network
CN105743780B (en) Message transmitting method and device
CN106688213A (en) Router fabric
US8358791B2 (en) Distributed audio signal processing system having logical channel groups
CN110266831A (en) IP Camera address configuration method, device, system and the storage medium of video recorder
CN106713010B (en) A kind of communication means and system of avionics network system
US20140281028A1 (en) Delivery device, delivery method, association information generation device, association information generation method, control program, and recording medium
CN104836746B (en) The method and device of PPPoE network message forwarding
CN106953752A (en) Realize multi-network coexisted and simultaneously accessed system and method
US8422701B2 (en) Distributed audio signal processing system
CN109873716A (en) Processing method, device and the storage medium of data
CN108449562A (en) A kind of method and device for adding web camera in network hard disk video recorder
CN108900422A (en) Multicast forward method, device and electronic equipment
CN104579959B (en) The method and apparatus for establishing the label switched path of SDN streams in an mpls network
Cisco Cisco Systems Users Magazine
Cisco Cisco Systems Users Magazine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 361024 3f-a129, Zone C, innovation building, software park, torch high tech Zone, Xiamen City, Fujian Province

Applicant after: XIAMEN FOUR-FAITH COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: Unit 501-502, 57 Chengyi North Street, Xiamen Software Park Phase III, Fujian Province

Applicant before: XIAMEN FOUR-FAITH COMMUNICATION TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190920