CN105656680A - Method and device for controlling web camera - Google Patents

Method and device for controlling web camera Download PDF

Info

Publication number
CN105656680A
CN105656680A CN201610070403.2A CN201610070403A CN105656680A CN 105656680 A CN105656680 A CN 105656680A CN 201610070403 A CN201610070403 A CN 201610070403A CN 105656680 A CN105656680 A CN 105656680A
Authority
CN
China
Prior art keywords
address
video camera
network video
objective network
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.)
Granted
Application number
CN201610070403.2A
Other languages
Chinese (zh)
Other versions
CN105656680B (en
Inventor
岳越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201610070403.2A priority Critical patent/CN105656680B/en
Publication of CN105656680A publication Critical patent/CN105656680A/en
Application granted granted Critical
Publication of CN105656680B publication Critical patent/CN105656680B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/661Transmitting camera control signals through networks, e.g. control via the Internet

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a method and a device for controlling a web camera. The method comprises the following steps of broadcasting an RARP (Reverse Address Resolution Protocol) request message; receiving an RARP response message and obtaining an IP (Internet Protocol) address of message sender equipment according to the RARP response message; as for any message sender equipment, sending a resource service address acquisition request message to the message sender equipment according to the IP address of the message sender equipment; and when the resource service address acquisition request message sent by the message sender equipment is received, determining that the message sender equipment is the web camera and adding the web camera into management service. By applying the embodiments of the invention, discovery and management of the web camera can be realized in networking that a management server serving as a router.

Description

A kind of web camera control method and device
Technical field
The present invention relates to technical field of video monitoring, particularly relate to a kind of web camera control method and device.
Background technology
Having a lot of security protection network environment at present is all that (common equipment is NVR (NetworkVideoRecorder such as existence management server, network hard disk video recorder) etc.) and headend equipment (i.e. IPC (IPCamera, web camera)) combine. How fast, promptly the administrative relationships between equipment and subordinate are configured the difficult problem being to face in technical field of video monitoring.
For an above-mentioned difficult problem, solution the more commonly used at present is ONVIF (OpenNetworkVideoInterfaceForum, opening Internet video Interface Forum) device discovery protocol, in the protocol, NVR is by multicasting UDP (UserDatagramProtocol, User Data Protocol) find request message, so that receiving this UDP to find the IPC clean culture UDP response message of request message, so that NVR finds the IPC in networking, and it is added and manages operation.
But practice finds, ONVIF device discovery protocol needs to rely on network environment and supports IP (InternetProtocol, Internet protocol) layer multicast, need the gateway devices such as router to realize message distribution, just cannot realize for only NVR and IPC networking (namely NVR serves as the environment of router).
Summary of the invention
The present invention provides a kind of web camera control method and device, to realize serving as discovery and the management of web camera in the networking of router role at management server.
First aspect according to embodiments of the present invention, it is provided that a kind of web camera control method, including:
Broadcast reverse address resolution protocol RARP request message;
Receive RARP response message, and obtain the internet protocol address of message transmitting party equipment according to described RARP response message;
For arbitrary message transmitting party equipment, send resource service address acquisition request message according to the IP address of this message transmitting party equipment to this message transmitting party equipment;
When receiving the resource service address acquisition response message that this message transmitting party equipment sends, it is determined that this message transmitting party equipment is web camera, and this web camera is added management service.
Second aspect according to embodiments of the present invention, it is provided that a kind of web camera controls device, including:
Transmitting element, is used for broadcasting reverse address resolution protocol RARP request message;
Receive unit, be used for receiving RARP response message;
Acquiring unit, for obtaining the internet protocol address of message transmitting party equipment according to described RARP response message;
Described transmitting element, is additionally operable to for arbitrary message transmitting party equipment, sends resource service address acquisition request message according to the IP address of this message transmitting party equipment to this message transmitting party equipment;
Control unit, for when described reception unit receives the resource service address acquisition response message that this message transmitting party equipment sends, it is determined that this message transmitting party equipment is web camera, and adds management service by this web camera.
The application embodiment of the present invention, by broadcasting RARP request message, and the IP address of message transmitting party equipment is obtained according to the RARP response message received, and then, resource service address acquisition request message is sent to corresponding message transmitting party equipment according to the IP address got, and when receiving resource service address acquisition response message, determine that this message transmitting party equipment is web camera, and this web camera is added management service, message is forwarded owing to RARP broadcasting packet needs not rely on router, thus, serve as in the networking of router role at management server, it also is able to realize the discovery of web camera and management.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of web camera control method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of web camera control method that the embodiment of the present invention provides;
Fig. 3 is the structural representation that a kind of web camera that the embodiment of the present invention provides controls device;
Fig. 4 is the structural representation that the another kind of web camera that the embodiment of the present invention provides controls device;
Fig. 5 is the structural representation that the another kind of web camera that the embodiment of the present invention provides controls device;
Fig. 6 is the structural representation that the another kind of web camera that the embodiment of the present invention provides controls device.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the technical scheme in the embodiment of the present invention, and it is understandable to enable the above-mentioned purpose of the embodiment of the present invention, feature and advantage to become apparent from, below in conjunction with accompanying drawing, technical scheme in the embodiment of the present invention is described in further detail.
Refer to the schematic flow sheet of a kind of web camera control method that Fig. 1, Fig. 1 provide for the embodiment of the present invention, as it is shown in figure 1, this web camera control method may comprise steps of:
Step 101, broadcast RARP request message.
In the embodiment of the present invention, the executive agent of said method can be the management server in video monitoring system, such as NVR etc. For ease of describing, the executive agent of following method described above is NVR is that example is described.
In the embodiment of the present invention, video monitoring system initializes when running, and namely NVR detects that the equipment of self-management is for time empty, and NVR can pass through to broadcast the mode of RARP request message, with the headend equipment (such as IPC) in discovery system.
After system Inner Front End equipment receives the NVR RARP request message sent, it is possible to return RARP response message to NVR, this RARP response message carries the IP address of message transmitting party equipment (namely sending the headend equipment of RARP response message).
Step 102, reception RARP response message, and the IP address of message transmitting party equipment is obtained according to this RARP response message.
In the embodiment of the present invention, after NVR broadcasts RARP request message, it is possible to according to the RARP response message received, obtain the IP address of message transmitting party equipment.
Step 103, for arbitrary message transmitting party equipment, according to the IP address of this message transmitting party equipment to this message transmitting party equipment send resource service address acquisition request message.
In the embodiment of the present invention, NVR gets according to the RARP response message received after the IP address of each message transmitting party equipment, it is possible to sends resource service according to the IP address of each message transmitting party equipment to corresponding message transmitting party equipment respectively and obtains request message.
After each message transmitting party equipment receives the request of this resource service address acquisition, if self can provide video resource service, such as IPC, this message transmitting party equipment can send, to NVR, the resource service address acquisition response message carrying own resource address of service.
In the embodiment of the present invention, resource service address refers to the address of the video monitoring services such as live monitoring, video profile cut, such as, this resource service address can be the URL (UniformResourceLocator, URL) etc. for obtaining live monitor video.
Step 104, when receive this message transmitting party equipment send resource service address acquisition response message time, it is determined that this message transmitting party equipment is web camera, and by this web camera add management equipment.
In the embodiment of the present invention, after NVR sends resource service acquisition request message to each message transmitting party equipment, when receiving the resource service address acquisition response message that message transmitting party equipment sends, it is believed that this message transmitting party equipment is web camera, thus NVR can obtain the resource service address carried in this resource service address acquisition response message, and this web camera is added management service.
Further, in embodiments of the present invention, NVR according to the resource service address acquisition response message received by corresponding web camera add management service after, it is also possible to comprise the following steps:
Show the device identification list adding management service;
When receiving the deletion instruction of target device mark in for device identification list, equipment corresponding for this target device mark is deleted from management service.
In embodiments of the present invention, in order to avoid the equipment that need not add video server management is joined management system, web camera is added after management by NVR, can show, to user, the device identification list adding management service, user judge whether to add the equipment of management system according to this device identification list; If existing, user can send to NVR need not add the deletion instruction of device identification (target device mark) of equipment of management system for this; When NVR receives this deletion instruction, it is possible to equipment corresponding for this target device mark is deleted from management service.
Further, in embodiments of the present invention, above-mentioned web camera is added after management service by NVR, it is possible to obtain and record the information such as MAC (MediaAccessControl, media interviews control) address of the web camera adding management service. Such as, NVR can pass through to obtain the relevant information (such as MAC Address, device type etc.) of the equipment adding management based on ONVIF standard interface GetDeviceInformation (acquisition facility information) interface and record maintenance.
Visible, in the method flow shown in Fig. 1, by broadcasting RARP request message, and the IP address of message transmitting party equipment is obtained according to the RARP response message received, and then, resource service address acquisition request message is sent to corresponding message transmitting party equipment according to the IP address got, and when receiving resource service address acquisition response message, determine that this message transmitting party equipment is web camera, and this web camera is added management service, message is forwarded owing to RARP broadcasting packet needs not rely on router, thus, serve as in the networking of router role at management server, it also is able to realize the discovery of web camera and management.
Refer to the schematic flow sheet of the another kind of web camera control method that Fig. 2, Fig. 2 provide for the embodiment of the present invention, as in figure 2 it is shown, this web camera control method may comprise steps of:
Step 201, broadcast RARP request message
Step 202, reception RARP response message, and the IP address of message transmitting party equipment is obtained according to this RARP response message.
Step 203, for arbitrary message transmitting party equipment, according to the IP address of this message transmitting party equipment to this message transmitting party equipment send resource service address acquisition request message.
Step 204, when receive this message transmitting party equipment send resource service address acquisition response message time, it is determined that this message transmitting party equipment is web camera, and by this web camera add management equipment.
In the embodiment of the present invention, step 201��step 204 implement the associated description that may refer in above-mentioned steps 101��step 104, the embodiment of the present invention does not repeat them here.
Step 205, when detect arbitrary add management service objective network video camera off-line time, the MAC Address clean culture RARP request message according to this objective network video camera.
In the embodiment of the present invention, when NVR detects arbitrary web camera off-line adding management service (below the web camera of this off-line being called objective network video camera), NVR can according to the MAC Address clean culture RARP request message of this objective network video camera.
The RARP response message that step 206, basis receive obtains the IP address of this objective network video camera.
In the embodiment of the present invention, when NVR receives the RARP response message that objective network video camera sends, NVR can obtain the IP address of this objective network video camera according to this RARP response message. Wherein, this IP address is likely to identical with the IP address of this objective network video camera got before NVR (web camera is due to power-off off-line), the IP address of this objective network video camera being likely to and get before NVR is different (causing that IP address change caused web camera off-line as DHCP (DynamicHostConfigurationProtocol, DHCP) loses efficacy).
It should be noted that, if NVR is after objective network video camera clean culture RARP request message, in Preset Time, do not receive RARP response message, then NVR can according to certain time interval clean culture RARP request message again, till receiving RARP response message.
Wherein, if the number of times of NVR clean culture RARP request message reaches certain threshold value, then NVR mono-aspect can continue according to prefixed time interval clean culture RARP request message, on the other hand, can send a warning message, to notify that related personnel's (such as operation maintenance personnel) carries out respective handling, such as breakdown maintenance etc.
Step 207, judge the IP address of this objective network video camera whether up to. If so, step 208 is gone to; Otherwise, step 209 is gone to.
In the embodiment of the present invention, after NVR gets the IP address of target sender's equipment, in addition it is also necessary to determine whether the IP address of this objective network video camera whether up to.
As the optional embodiment of one, in embodiments of the present invention, it is judged that the IP address of objective network video camera whether up to, it is possible to including:
For the purpose of the IP address of objective network video camera, IP address sends HTTP (HyperTextTransferProtocol, HTML (Hypertext Markup Language)) request message;
If receiving http response message in Preset Time, then judge the IP address of this objective network video camera up to;
Otherwise, it is judged that the IP address of this objective network video camera is unreachable.
In this embodiment, after NVR gets the IP address of objective network video camera, it is possible to send HTTP request message with this IP address for target ip address to objective network video camera; If NVR receives the http response message that objective network video camera sends in Preset Time, then judge the IP address of this objective network video camera up to; Otherwise, namely NVR does not receive the http response message that objective network video camera sends in Preset Time, then judge that the IP address of this objective network video camera is unreachable. Such as, the IP address of NVR and the IP address of objective network video camera are not at the same network segment, and the IP address of the gateway of the IP address of the gateway of NVR and objective network video camera is not at the same network segment.
It should be noted that, in embodiments of the present invention, above by sending HTTP request message, and the mode receiving http response message judge the IP address of objective network video camera whether up to mode be only the embodiment of the present invention judges IP address whether up to the one of implementation implement, in embodiments of the present invention, can also judge otherwise IP address whether up to, such as, NVR can send TCP (TransmissionControlProtocol in IP address for the purpose of objective network video camera IP address, transmission control protocol) request message, and according to whether the mode that receives TCP response message in Preset Time determine the IP address of objective network video camera whether up to, it implements and does not repeat them here.
Step 208, again by this objective network video camera add management service.
In the embodiment of the present invention, when NVR determines that the IP address of objective network video camera can then, this objective network video camera can be added management service by NVR again, as updated the relevant information of the objective network video camera of self record.
Step 209, send the amendment instruction of IP address according to the MAC Address of this objective network video camera, the amendment instruction of this IP address includes target ip address and intended gateway IP address, so that objective network video camera receives, and the IP address of self is revised as after instruction is revised in this IP address this target ip address, and gateway address is revised as this intended gateway IP address.
In the embodiment of the present invention, when the IP address that NVR determines objective network video camera is unreachable, NVR can send the amendment instruction of IP address to this objective network video camera, so that own IP address and gateway ip address are modified by the amendment instruction of this objective network video camera IP address.
Such as, NVR can pass through udp broadcast agreement, send the udp broadcast message for the IP address amendment instruction specifying MAC Address (i.e. the MAC Address of objective network video camera), so that the headend equipment receiving this udp broadcast message finds, when own MAC address is identical with the appointment MAC Address that this udp broadcast message includes, to carry out the amendment of IP address.
After objective network video camera receives the amendment instruction of this IP address, target ip address and intended gateway IP address that the amendment instruction of this IP address includes can be obtained, and own IP address is revised as this target ip address, gateway ip address is revised as this intended gateway IP address.
Wherein, the target ip address that the amendment instruction of IP address includes and the IP address adding other web camera that management services are in same gateway, and different; The gateway ip address of intended gateway IP address and NVR is in the same network segment.
For example, the IP address assuming NVR is 192.168.1.100, the gateway ip address of NVR is 192.168.1.1, the IP address of objective network video camera is 200.168.1.100, the gateway ip address of objective network video camera is 200.168.1.1, after then NVR gets the IP address of this objective network video camera, may determine that this IP address is by unreachable, and then, NVR can determine, according to the IP address of other web camera and gateway ip address that add NVR, the target ip address and intended gateway IP address that objective network video camera needs revise, after ensureing object message method apparatus modifications IP address, the IP address of the web camera that own IP address has added management service with other is in the same network segment, and different (the amended IP address of objective network video camera and NVR its IP address also differ), the gateway ip address of gateway ip address and NVR is in the same network segment, and (hypothetical target IP address is 192.168.1.150, intended gateway IP address is 192.168.1.1), and send the amendment instruction of IP address to objective network video camera, the amendment instruction of this IP address includes target ip address and intended gateway IP address. after objective network video camera receives the amendment instruction of this IP address, own IP address and gateway ip address are respectively modified as target ip address and intended gateway IP address, it is revised as 192.168.1.150 by own IP address, gateway ip address is revised as 192.168.1.1.
Step 210, again by this objective network video camera add management service.
In the embodiment of the present invention, after NVR have modified IP address and the gateway ip address of object message sender, it is possible to again this objective network video camera is added management service.
Visible, in the method flow shown in Fig. 2, when the IP address of objective network video camera is unreachable, management server can pass through the IP address of IP address amendment instruction modification objective network video camera, overcome the clean culture caused due to spanning gateway between management server and managed devices unreachable, and IP address sends in the scene changed when again reaching the standard grade after managed devices off-line, the managed devices plug and play again reached the standard grade can be realized, reduce manual maintenance to interfere, improve the robustness of system.
Be can be seen that by above description, in the technical scheme that the embodiment of the present invention provides, by broadcasting RARP request message, and the IP address of message transmitting party equipment is obtained according to the RARP response message received, and then, resource service address acquisition request message is sent to corresponding message transmitting party equipment according to the IP address got, and when receiving resource service address acquisition response message, determine that this message transmitting party equipment is web camera, and this web camera is added management service, message is forwarded owing to RARP broadcasting packet needs not rely on router, thus, serve as in the networking of router role at management server, it also is able to realize the discovery of web camera and management.
Refer to Fig. 3, for the embodiment of the present invention provide a kind of web camera control device structural representation, wherein, this web camera controls device and can apply to the management server in said method embodiment, such as NVR, may include that as it is shown on figure 3, this web camera controls device
Transmitting element 310, is used for broadcasting reverse address resolution protocol RARP request message;
Receive unit 320, be used for receiving RARP response message;
Acquiring unit 330, for obtaining the internet protocol address of message transmitting party equipment according to described RARP response message;
Described transmitting element 310, is additionally operable to for arbitrary message transmitting party equipment, sends resource service address acquisition request message according to the IP address of this message transmitting party equipment to this message transmitting party equipment;
Control unit 340, for when described reception unit 320 receives the resource service address acquisition response message that this message transmitting party equipment sends, it is determined that this message transmitting party equipment is web camera, and adds management service by this web camera.
In an alternative embodiment, described acquiring unit 330, it is also possible to for obtaining the MAC address of the web camera adding management service;
Correspondingly, please also refer to Fig. 4, structural representation for the another kind of web camera control device that the embodiment of the present invention provides, this embodiment is on the basis of aforementioned embodiment illustrated in fig. 3, web camera shown in Fig. 4 controls device and can also include: record unit 350 and judging unit 360, wherein:
Record unit 350, for recording the MAC Address of the web camera adding management service;
Described transmitting element 310, is additionally operable to when described device detects arbitrary objective network video camera off-line adding management service, the MAC Address clean culture RARP request message according to this objective network video camera;
Described acquiring unit 330, is additionally operable to obtain the IP address of this objective network video camera according to the RARP response message received;
Judging unit 360, for judge the IP address of this objective network video camera whether up to;
Described control unit 340, if be additionally operable to described judging unit 360 be judged as up to, then again by this objective network video camera add management service.
In an alternative embodiment, described transmitting element 310, if can be also used for described judging unit 360 and being judged as unreachable, then send the amendment instruction of IP address according to the MAC Address of this objective network video camera, the amendment instruction of described IP address includes target ip address and intended gateway IP address, so that objective network video camera receives, and the IP address of self is revised as after instruction is revised in this IP address this target ip address, and gateway address is revised as this intended gateway IP address; Wherein, described target ip address and the IP address adding other web camera that management services are in the same network segment, and different; Described intended gateway IP address and the gateway ip address managing server are in the same network segment;
Described control unit 340, it is also possible to for again this objective network video camera being added management service.
Please also refer to Fig. 5, for the structural representation of the another kind of web camera control device that the embodiment of the present invention provides, this embodiment is on the basis of aforementioned embodiment illustrated in fig. 4, and web camera shown in Fig. 5 controls in device, it is judged that unit 360 may include that
Send subelement 361, send HTTP request message for IP address for the purpose of the IP address of described objective network video camera;
Receive subelement 362, for receiving the http response message that objective network video camera sends;
Judgment sub-unit 363, if receiving, for described reception subelement 362, the http response message that objective network video camera sends in Preset Time, then judge the IP address of this objective network video camera up to;Otherwise, it is judged that the IP address of this objective network video camera is unreachable.
Please also refer to Fig. 6, for the structural representation of the another kind of web camera control device that the embodiment of the present invention provides, this embodiment is on the basis of aforementioned embodiment illustrated in fig. 3, and web camera shown in Fig. 6 controls device and can also include: display unit 370; Wherein:
Display unit 370, for showing the device identification list adding management service;
Described control unit 340, it is also possible to for when described reception unit 320 receives the deletion instruction that in for described device identification list, target device identifies, by equipment corresponding for described target device mark deletion from management service.
What in said apparatus, the function of unit and the process that realizes of effect specifically referred in said method corresponding step realizes process, does not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part illustrates referring to the part of embodiment of the method. Device embodiment described above is merely schematic, the wherein said unit illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE. Some or all of module therein can be selected according to the actual needs to realize the purpose of the present invention program. Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
As seen from the above-described embodiment, by broadcasting RARP request message, and the IP address of message transmitting party equipment is obtained according to the RARP response message received, and then, resource service address acquisition request message is sent to corresponding message transmitting party equipment according to the IP address got, and when receiving resource service address acquisition response message, determine that this message transmitting party equipment is web camera, and this web camera is added management service, message is forwarded owing to RARP broadcasting packet needs not rely on router, thus, serve as in the networking of router role at management server, it also is able to realize the discovery of web camera and management.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to other embodiment of the present invention. The application is intended to any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed the general principle of the present invention and include the undocumented known general knowledge in the art of the present invention or conventional techniques means. Description and embodiments is considered only as exemplary, and the true scope of the present invention and spirit are pointed out by claim below.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can carried out without departing from the scope. The scope of the present invention is only limited by appended claim.

Claims (10)

1. a web camera control method, it is characterised in that including:
Broadcast reverse address resolution protocol RARP request message;
Receive RARP response message, and obtain the internet protocol address of message transmitting party equipment according to described RARP response message;
For arbitrary message transmitting party equipment, send resource service address acquisition request message according to the IP address of this message transmitting party equipment to this message transmitting party equipment;
When receiving the resource service address acquisition response message that this message transmitting party equipment sends, it is determined that this message transmitting party equipment is web camera, and this web camera is added management service.
2. method according to claim 1, it is characterised in that described method also includes:
Obtain and record the MAC address of the web camera adding management service;
When arbitrary objective network video camera off-line adding management service being detected, the MAC Address clean culture RARP request message according to this objective network video camera;
The IP address of this objective network video camera is obtained according to the RARP response message received;
Judge the IP address of this objective network video camera whether up to;
If up to, then again this objective network video camera is added management service.
3. method according to claim 2, it is characterised in that whether the described IP address judging this objective network video camera, up to afterwards, also includes:
If it is unreachable, then send the amendment instruction of IP address according to the MAC Address of this objective network video camera, the amendment instruction of described IP address includes target ip address and intended gateway IP address, so that objective network video camera receives, and the IP address of self is revised as after instruction is revised in this IP address this target ip address, and gateway address is revised as this intended gateway IP address; Wherein, described target ip address and the IP address adding other web camera that management services are in the same network segment, and different; Described intended gateway IP address and the gateway ip address managing server are in the same network segment;
Again this objective network video camera is added management service.
4. the method according to any one of Claims 2 or 3, it is characterised in that the described IP address judging this objective network video camera whether up to, including:
For the purpose of the IP address of described objective network video camera, IP address sends HTTP request message;
If receiving the http response message that objective network video camera sends in Preset Time, then judge the IP address of this objective network video camera up to;
Otherwise, it is judged that the IP address of this objective network video camera is unreachable.
5. method according to claim 1, it is characterised in that described will this web camera add management service after, also include:
Show the device identification list adding management service;
When receiving the deletion instruction of target device mark in for described device identification list, equipment corresponding for described target device mark is deleted from management service.
6. a web camera controls device, it is characterised in that including:
Transmitting element, is used for broadcasting reverse address resolution protocol RARP request message;
Receive unit, be used for receiving RARP response message;
Acquiring unit, for obtaining the internet protocol address of message transmitting party equipment according to described RARP response message;
Described transmitting element, is additionally operable to for arbitrary message transmitting party equipment, sends resource service address acquisition request message according to the IP address of this message transmitting party equipment to this message transmitting party equipment;
Control unit, for when described reception unit receives the resource service address acquisition response message that this message transmitting party equipment sends, it is determined that this message transmitting party equipment is web camera, and adds management service by this web camera.
7. device according to claim 6, it is characterised in that
Described acquiring unit, is additionally operable to obtain the MAC address of the web camera adding management service;
Described device also includes:
Record unit, for recording the MAC Address of the web camera adding management service;
Described transmitting element, is additionally operable to when described device detects arbitrary objective network video camera off-line adding management service, the MAC Address clean culture RARP request message according to this objective network video camera;
Described acquiring unit, is additionally operable to obtain the IP address of this objective network video camera according to the RARP response message received;
Judging unit, for judge the IP address of this objective network video camera whether up to;
Described control unit, if be additionally operable to described judging unit be judged as up to, then again by this objective network video camera add management service.
8. device according to claim 7, it is characterised in that
Described transmitting element, if being additionally operable to described judging unit and being judged as unreachable, then send the amendment instruction of IP address according to the MAC Address of this objective network video camera, the amendment instruction of described IP address includes target ip address and intended gateway IP address, so that objective network video camera receives, and the IP address of self is revised as after instruction is revised in this IP address this target ip address, and gateway address is revised as this intended gateway IP address; Wherein, described target ip address and the IP address adding other web camera that management services are in the same network segment, and different; Described intended gateway IP address and the gateway ip address managing server are in the same network segment;
Described control unit, is additionally operable to again be added by this objective network video camera management service.
9. the device according to any one of claim 7 or 8, it is characterised in that described judging unit includes:
Send subelement, send HTTP request message for IP address for the purpose of the IP address of described objective network video camera;
Receive subelement, for receiving the http response message that objective network video camera sends;
Judgment sub-unit, if receiving, for described reception subelement, the http response message that objective network video camera sends in Preset Time, then judge the IP address of this objective network video camera up to; Otherwise, it is judged that the IP address of this objective network video camera is unreachable.
10. device according to claim 6, it is characterised in that described device also includes:
Display unit, for showing the device identification list adding management service;
Described control unit, is additionally operable to, when described reception unit receives the deletion instruction of target device mark in for described device identification list, be deleted by equipment corresponding for described target device mark from management service.
CN201610070403.2A 2016-01-29 2016-01-29 Network camera control method and device Active CN105656680B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610070403.2A CN105656680B (en) 2016-01-29 2016-01-29 Network camera control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610070403.2A CN105656680B (en) 2016-01-29 2016-01-29 Network camera control method and device

Publications (2)

Publication Number Publication Date
CN105656680A true CN105656680A (en) 2016-06-08
CN105656680B CN105656680B (en) 2019-12-13

Family

ID=56489131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610070403.2A Active CN105656680B (en) 2016-01-29 2016-01-29 Network camera control method and device

Country Status (1)

Country Link
CN (1) CN105656680B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412142A (en) * 2016-08-30 2017-02-15 浙江宇视科技有限公司 Resource device address obtaining method and device
CN106453370A (en) * 2016-10-27 2017-02-22 浙江宇视科技有限公司 Method and device for allowing IPC to register to NVR
CN108337333A (en) * 2018-03-23 2018-07-27 普联技术有限公司 IP address management method, management equipment, Network Personal Video Recorder and storage medium
CN108989896A (en) * 2017-06-12 2018-12-11 北京视联动力国际信息技术有限公司 A kind of video on-demand request treating method and apparatus
CN111757000A (en) * 2020-06-29 2020-10-09 江苏邦融微电子有限公司 Camera ad hoc network in local area network and video transmission method
CN111782664A (en) * 2019-10-12 2020-10-16 西安宇视信息科技有限公司 Camera management method, device, equipment and medium
CN112436950A (en) * 2020-10-19 2021-03-02 中标慧安信息技术股份有限公司 Method for discovering equipment in local area network based on UDP broadcast
CN112601024A (en) * 2020-12-14 2021-04-02 中标慧安信息技术股份有限公司 Management processing method and system for automatic intelligent monitoring video
CN112672140A (en) * 2020-11-30 2021-04-16 新华三技术有限公司 Camera identification method and device
CN112689167A (en) * 2020-12-18 2021-04-20 杭州迪普科技股份有限公司 Method and device for detecting change of network camera
CN112910986A (en) * 2021-01-28 2021-06-04 浙江大华技术股份有限公司 Network video recorder channel management method and network video recorder
CN113055217A (en) * 2019-12-28 2021-06-29 浙江宇视科技有限公司 Equipment offline repair method and device
CN113556467A (en) * 2021-07-21 2021-10-26 中国电信股份有限公司 Control method, control system, storage medium and electronic device of network camera
US20230198934A1 (en) * 2020-05-30 2023-06-22 Huawei Technologies Co., Ltd. Reverse address resolution method and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050068969A1 (en) * 2003-09-25 2005-03-31 Ji-Hyun Park Managing Internet protocol address based on dynamic host configuration protocol
EP2290884A1 (en) * 2008-07-17 2011-03-02 Huawei Technologies Co., Ltd. Method, terminal and system for implementing address resolution of service server
CN102025799A (en) * 2010-12-17 2011-04-20 北京东土科技股份有限公司 Method for discovery and automatic configuration for IP address of device
CN102348107A (en) * 2011-10-27 2012-02-08 北京汉邦高科数字技术股份有限公司 Method for realizing plug and play of network monitoring video
CN103327130A (en) * 2012-03-22 2013-09-25 中兴通讯股份有限公司 Method, terminal and system for reusing MAC address
CN104104926A (en) * 2014-07-30 2014-10-15 浙江宇视科技有限公司 Universal plug and play (UPnP) monitoring terminal access method and access device
CN104539902A (en) * 2014-12-29 2015-04-22 浙江宇视科技有限公司 IPC remote access method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050068969A1 (en) * 2003-09-25 2005-03-31 Ji-Hyun Park Managing Internet protocol address based on dynamic host configuration protocol
EP2290884A1 (en) * 2008-07-17 2011-03-02 Huawei Technologies Co., Ltd. Method, terminal and system for implementing address resolution of service server
CN102025799A (en) * 2010-12-17 2011-04-20 北京东土科技股份有限公司 Method for discovery and automatic configuration for IP address of device
CN102348107A (en) * 2011-10-27 2012-02-08 北京汉邦高科数字技术股份有限公司 Method for realizing plug and play of network monitoring video
CN103327130A (en) * 2012-03-22 2013-09-25 中兴通讯股份有限公司 Method, terminal and system for reusing MAC address
CN104104926A (en) * 2014-07-30 2014-10-15 浙江宇视科技有限公司 Universal plug and play (UPnP) monitoring terminal access method and access device
CN104539902A (en) * 2014-12-29 2015-04-22 浙江宇视科技有限公司 IPC remote access method and system

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412142A (en) * 2016-08-30 2017-02-15 浙江宇视科技有限公司 Resource device address obtaining method and device
CN106453370A (en) * 2016-10-27 2017-02-22 浙江宇视科技有限公司 Method and device for allowing IPC to register to NVR
CN106453370B (en) * 2016-10-27 2020-10-20 浙江宇视科技有限公司 Method and device for registering IPC (inter-programmable logic controller) to NVR (network video recorder)
CN108989896A (en) * 2017-06-12 2018-12-11 北京视联动力国际信息技术有限公司 A kind of video on-demand request treating method and apparatus
CN108989896B (en) * 2017-06-12 2020-02-21 视联动力信息技术股份有限公司 Video-on-demand request processing method and device
CN108337333A (en) * 2018-03-23 2018-07-27 普联技术有限公司 IP address management method, management equipment, Network Personal Video Recorder and storage medium
CN108337333B (en) * 2018-03-23 2021-10-15 普联技术有限公司 IP address management method, management device, network video recorder and storage medium
CN111782664A (en) * 2019-10-12 2020-10-16 西安宇视信息科技有限公司 Camera management method, device, equipment and medium
CN113055217B (en) * 2019-12-28 2023-03-24 浙江宇视科技有限公司 Equipment offline repair method and device
CN113055217A (en) * 2019-12-28 2021-06-29 浙江宇视科技有限公司 Equipment offline repair method and device
US12041026B2 (en) * 2020-05-30 2024-07-16 Huawei Technologies Co., Ltd. Reverse address resolution method and electronic device
US20230198934A1 (en) * 2020-05-30 2023-06-22 Huawei Technologies Co., Ltd. Reverse address resolution method and electronic device
CN111757000B (en) * 2020-06-29 2021-12-28 江苏邦融微电子有限公司 Camera ad hoc network in local area network and video transmission method
CN111757000A (en) * 2020-06-29 2020-10-09 江苏邦融微电子有限公司 Camera ad hoc network in local area network and video transmission method
CN112436950A (en) * 2020-10-19 2021-03-02 中标慧安信息技术股份有限公司 Method for discovering equipment in local area network based on UDP broadcast
CN112436950B (en) * 2020-10-19 2022-07-12 中标慧安信息技术股份有限公司 Method for discovering equipment in local area network based on UDP broadcast
CN112672140A (en) * 2020-11-30 2021-04-16 新华三技术有限公司 Camera identification method and device
CN112601024A (en) * 2020-12-14 2021-04-02 中标慧安信息技术股份有限公司 Management processing method and system for automatic intelligent monitoring video
CN112689167A (en) * 2020-12-18 2021-04-20 杭州迪普科技股份有限公司 Method and device for detecting change of network camera
CN112910986B (en) * 2021-01-28 2022-07-08 浙江大华技术股份有限公司 Network video recorder channel management method and network video recorder
CN112910986A (en) * 2021-01-28 2021-06-04 浙江大华技术股份有限公司 Network video recorder channel management method and network video recorder
CN113556467A (en) * 2021-07-21 2021-10-26 中国电信股份有限公司 Control method, control system, storage medium and electronic device of network camera

Also Published As

Publication number Publication date
CN105656680B (en) 2019-12-13

Similar Documents

Publication Publication Date Title
CN105656680A (en) Method and device for controlling web camera
US7991856B2 (en) Network system
CN108040268B (en) Video monitoring network security control method and system based on SDN
US11032122B2 (en) Multicast delay diagnosis method and apparatus
CN106716939B (en) QOS improvement in data stream delivery
EP2819407B1 (en) System for automatic connection between NVR and IP camera
CN101611608A (en) Be used for limiting node of broadcast domain of IP (Internet Protocol) network and the method and system that other nodes communicate
CN103312593B (en) A kind of message distributing system and method
CN102340409A (en) Network equipment management method
CN108965428A (en) The transmission method of live data, device, electronic equipment, system
CN105979202B (en) Data transmission method and device
US7325072B2 (en) Inter-subnet multicast relaying service-a network infrastructure independent solution to cross subnet multicasting
KR20110046837A (en) Method for managing network based on data distribution service
CN103516599A (en) Host finding method, network device, and host
CN101325587A (en) Method for monitoring DHCP conversation
CN102907044B (en) Business scheduling method and device under many wideband network gateways
US7620708B2 (en) Automatic discovery of controlling policy enforcement point in a policy push model
CN102630377B (en) Method, apparatus and system for processing quality parameters of multicast streams
CN105323128A (en) Method, device and system for connecting front-end device to server
CN102710810A (en) Method for automatically assigning internet protocol (IP) address and relay equipment
CN111147817A (en) Video processing method and device, electronic equipment and storage medium
CN102904761A (en) NVR (network video recorder) stacking method and NVR
JP2008312095A (en) Relay apparatus, relay method, and relay program
WO2008074381A1 (en) Method and system for ensuring data exchange between a server system and client system
KR20140122171A (en) Apparatus and method for network monitoring and packet inspection

Legal Events

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