CN111614953A - Restarting control method and system for fault IP camera - Google Patents

Restarting control method and system for fault IP camera Download PDF

Info

Publication number
CN111614953A
CN111614953A CN201910141952.8A CN201910141952A CN111614953A CN 111614953 A CN111614953 A CN 111614953A CN 201910141952 A CN201910141952 A CN 201910141952A CN 111614953 A CN111614953 A CN 111614953A
Authority
CN
China
Prior art keywords
camera
fault
switch
target
target port
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
CN201910141952.8A
Other languages
Chinese (zh)
Other versions
CN111614953B (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 CN201910141952.8A priority Critical patent/CN111614953B/en
Publication of CN111614953A publication Critical patent/CN111614953A/en
Application granted granted Critical
Publication of CN111614953B publication Critical patent/CN111614953B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements
    • 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/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Abstract

The application discloses a restart control method of a fault IP camera, which is applied to a monitoring server and comprises the following steps: receiving video stream data which is uploaded by each switch in the networking and is generated by an IP camera; judging whether a fault IP camera exists according to the video stream data; if so, determining a target port of a target switch correspondingly connected with the fault IP camera according to a preset database, wherein the preset database stores corresponding connection relations between the IP cameras and ports of the switch; and sending a fault notification message aiming at the target port to the target switch, and interrupting and recovering power supply to the target port by the target switch so as to restart the fault IP camera. The method and the device are applicable to both network management type switches and non-network management type switches, can realize automatic identification of the fault IP camera, and improve applicability, processing efficiency and user experience. The application also discloses a restart control system of the fault IP camera, and the system also has the beneficial effects.

Description

Restarting control method and system for fault IP camera
Technical Field
The present application relates to the field of electronic image technologies, and in particular, to a restart control method and system for a failed IP camera.
Background
An IP Camera (IPC) is a new generation Camera generated by combining a conventional Camera with a network technology. The method encodes and compresses the collected analog video signals into digital signals, and utilizes network switching and routing equipment connected with the digital signals to forward videos. With the large-scale application of monitoring services, especially in the field of electronic police technology in traffic management, IP cameras are applied in bulk, and an important problem therewith is the failure recovery of IP cameras. Statistics show that most (80%) of IP camera failure problems can be solved by rebooting. Therefore, the technology for remotely controlling the automatic restart of the fault IP camera can provide great convenience for the manager. However, in the prior art, the implementation of the remote restart control technology is generally based on a network Management switch, and the network Management switch supports a Simple Network Management Protocol (SNMP) and can directly process data, so that a switch port connected to a failed IP camera can be determined, and power supply control is performed on the switch port to restart the failed IP camera. Therefore, on one hand, the prior art is not suitable for a common switch and has poor universality; on the other hand, in the prior art, the occurrence of the fault of the IP camera still needs to be identified manually, and automatic restart control in a complete sense cannot be realized.
Disclosure of Invention
The application aims to provide a restart control method and a restart control system of a fault IP camera, which have wide application range and do not need human intervention completely, so as to effectively improve the product universality and the processing efficiency.
In order to solve the above technical problem, in a first aspect, the present application discloses a restart control method for a failed IP camera, which is applied to a monitoring server, and includes:
receiving video stream data which is uploaded by each switch in the networking and is generated by an IP camera;
judging whether a fault IP camera exists according to the video stream data;
if so, determining a target port of a target switch correspondingly connected with the fault IP camera according to a preset database, wherein the preset database stores corresponding connection relations between the IP cameras and ports of the switch;
sending a failure notification message for the target port to the target switch, interrupting and restoring power supply to the target port by the target switch so as to restart the failed IP camera.
Optionally, the preset database is generated in advance by the following steps:
acquiring MAC addresses of all IP cameras successfully registered in a networking way;
receiving the MAC address of each port sent by each switch;
and establishing corresponding connection relations between the IP cameras and the ports respectively corresponding to the same MAC address and storing the connection relations in the preset database.
Optionally, the determining whether there is a failed IP camera according to the video stream data includes:
judging whether an IP camera with network disconnection, video stream data cut-off or image display fault exists;
and if so, judging that the IP camera with the fault exists.
Optionally, before the sending the failure notification message for the target port to the target switch, the method further includes:
judging whether the fault duration time of the fault IP camera exceeds a first preset time length or not;
if yes, continuing to execute the step of sending the fault notification message aiming at the target port to the target switch.
Optionally, after the interrupting and resuming the power supply to the target port by the target switch so as to restart the failed IP camera, the method further includes:
receiving a restart success notification message sent by the target switch;
detecting whether the fault IP camera is recovered to be normal or not after a second preset time;
if not, sending the fault notification message aiming at the target port to the target switch again so as to restart the fault IP camera again.
Optionally, after the sending the failure notification message for the target port to the target switch again, the method further includes:
and when the restarting times of the fault IP camera reaches a preset value, generating corresponding warning information so as to warn a manager.
The application also provides another restart control method of the IP camera with the fault, which is applied to a switch and comprises the following steps:
transmitting video stream data generated by an IP camera connected to a port of the switch to a monitoring server; the monitoring server judges whether a fault IP camera exists according to the video stream data, and determines a target port correspondingly connected with the fault IP camera according to a preset database after judging that the fault IP camera exists; the preset database stores the corresponding connection relation between each IP camera and the port of the switch;
receiving a fault notification message aiming at the target port and sent by the monitoring server;
interrupting and restoring power to the target port to restart the failed IP camera.
Optionally, after the receiving the failure notification message sent by the monitoring server and addressed to the target port, and before the interrupting and resuming the power supply to the target port, the method further includes:
acquiring the equipment connection state of the target port;
if the equipment connection state is normal, continuing to execute the step of interrupting and recovering the power supply to the target port;
and if the equipment connection state is abnormal, sending an equipment pulling notification message to the monitoring server so that the monitoring server generates corresponding alarm information to alarm a manager.
Optionally, the power supply of the target port is specifically a POE power supply module or a switching power supply.
In a second aspect, the present application further discloses a restart control system for a failed IP camera, including:
the monitoring server is used for receiving video stream data which is uploaded by each switch in the networking and is generated by the IP camera; judging whether a fault IP camera exists according to the video stream data; if so, determining a target port of a target switch correspondingly connected with the fault IP camera according to a preset database, wherein the preset database stores corresponding connection relations between the IP cameras and ports of the switch; sending a failure notification message for the target port to the target switch;
each switch connected to the monitoring server, configured to interrupt and restore power supply to the target port after receiving the failure notification message for the target port, so as to restart the failed IP camera;
and each IP camera connected with each switch and used for generating the video stream data.
The restart control method applied to the fault IP camera of the monitoring server comprises the following steps: receiving video stream data which is uploaded by each switch in the networking and is generated by an IP camera; judging whether a fault IP camera exists according to the video stream data; if so, determining a target port of a target switch correspondingly connected with the fault IP camera according to a preset database, wherein the preset database stores corresponding connection relations between the IP cameras and ports of the switch; sending a failure notification message for the target port to the target switch, interrupting and restoring power supply to the target port by the target switch so as to restart the failed IP camera.
Therefore, compared with the prior art, in the restart control method of the failed IP camera provided by the application, the preset database which is generated in advance by the monitoring server and stores the information of each IP camera and the corresponding connection port is used, and the monitoring server sends the determined information of the target port corresponding to the failed IP camera to the target switch, so that the target switch completes the power-off restart of the failed IP camera. Therefore, the method is applicable to both network pipe type and non-network pipe type switches, and universality is effectively improved; in addition, the monitoring server can be used for automatically identifying the fault IP camera, so that manual intervention is not needed in the whole fault recovery process aiming at the fault IP camera, and the processing efficiency and the user experience are greatly improved. The restart control system of the fault IP camera provided by the application can realize the restart control method of the fault IP camera and also has the beneficial effects.
Drawings
In order to more clearly illustrate the technical solutions in the prior art and the embodiments of the present application, the drawings that are needed to be used in the description of the prior art and the embodiments of the present application will be briefly described below. Of course, the following description of the drawings related to the embodiments of the present application is only a part of the embodiments of the present application, and it will be obvious to those skilled in the art that other drawings can be obtained from the provided drawings without any creative effort, and the obtained other drawings also belong to the protection scope of the present application.
Fig. 1 is a topology diagram of an application scenario of a restart control method for a failed IP camera according to the present application;
fig. 2 is a flowchart of a restart control method for a failed IP camera according to an embodiment of the present application;
fig. 3 is a flowchart of another restart control method for a failed IP camera according to an embodiment of the present application;
fig. 4 is a block diagram of a restart control system of a failed IP camera according to an embodiment of the present application.
Detailed Description
The core of the application lies in providing a restart control method and a restart control system of a fault IP camera, which have wide application range and do not need human intervention completely, so as to effectively improve the universality and the processing efficiency of products.
In order to more clearly and completely describe the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application discloses a restart control method of a fault IP camera, which is often applied to business systems such as electronic police (traffic violation or traffic accident is captured by utilizing an automatic detection and measurement technology, collected information is transmitted back to a public security department by utilizing a network for analysis and processing), high-definition bayonets (passing vehicle images are shot by adopting a photoelectric technology, an image processing technology and a pattern recognition technology, license plates of vehicles are automatically recognized, and vehicle information data are collected and stored in a server database) and the like.
Referring to fig. 1, fig. 1 is a topology diagram of an application scenario of a restart control method for a failed IP camera provided in the present application, including a monitoring server, switches, and IP cameras connected to ports of the switches.
The monitoring server shown in fig. 1 is specifically a Network Video Recorder (NVR), which is also called a Network hard disk recorder (hdd), and is configured to monitor and record digital video transmitted through a Network, and is connected to an uplink port of each switch. The switch shown in fig. 1 may be specifically a non-network management type switch, and may of course be a network management type switch. The data of the network pipe type switch can be configured through a Simple Network Management Protocol (SNMP), the address, the port, the protocol type, the service and the like of the data can be filtered, and the network pipe type switch also has a VLAN (virtual local area network) division function generally, but the network pipe type switch is expensive, complex to operate and less in port number; the non-network management type switch is cheap, practical and flexible, and has flexible port number, so that the switch is still widely used.
In the specific topology shown in fig. 1, three IP cameras (IPC1, IPC2, IPC3) are connected to three downstream ports of the switch PMT1, respectively, and three IP cameras (IPC4, IPC5, IPC6) are connected to three downstream ports of the switch PMT2, respectively.
It should be noted that, besides being used for basic video stream data forwarding, the switch in the present application has an important role of performing power supply control on the IP camera so as to restart a failed IP camera, and therefore, the switch in the present application integrates a power supply control function, which may also be referred to as an intelligent power supply management device.
The restart control method for the failed IP camera disclosed in the embodiment of the present application is applied to a monitoring server, and as shown in fig. 2, the method mainly includes the following steps:
s21: and receiving video stream data generated by the IP camera uploaded by each switch in the networking.
S22: and judging whether a fault IP camera exists according to the video stream data.
S23: if so, determining a target port of a target switch correspondingly connected with the fault IP camera according to a preset database, wherein the preset database stores corresponding connection relations between the IP cameras and ports of the switch.
S24: and sending a fault notification message aiming at the target port to the target switch, and interrupting and recovering power supply to the target port by the target switch so as to restart the fault IP camera.
Specifically, a preset database is generated in advance in the monitoring server in the application and stores information of switch ports correspondingly connected with each IP camera in the networking system. The preset database can be generated by the monitoring server after the networking is built.
When the monitoring server detects that a fault IP camera exists according to the received video stream data from each IP camera, the monitoring server can call a preset database, determines a target port of a target switch connected with the fault IP camera according to the corresponding connection relation stored in the preset database, and sends a fault notification message to the target switch so as to inform the target switch that the IP camera connected with the target port has a fault.
Therefore, the target switch can determine the port where the fault IP camera is located after receiving the fault notification message from the monitoring server without data processing based on the SNMP, so that the scheme provided by the application can be realized no matter the network management type switch supports the SNMP protocol or the non-network management type switch does not support the SNMP protocol. After the port where the fault IP camera is located is determined, the target switch can interrupt the power supply of the port and then recover, so that the fault IP camera is restarted, and fault recovery is facilitated.
It should be noted that, in the networking system, the data communication between the monitoring server and the switch, including the failure notification message, may specifically adopt a message form.
The faulty IP camera may specifically include, but is not limited to, an IP camera in which any one of the following situations occurs: network disconnection, video stream data cutoff and image display failure. Thus, as a preferred embodiment, determining whether a faulty IP camera exists based on video stream data comprises: judging whether an IP camera with network disconnection, video stream data cut-off or image display fault exists; and if so, judging that the IP camera with the fault exists.
Specifically, the network disconnection means that the IP camera is accidentally offline and cannot normally communicate with the monitoring server. Generally, after networking is completed, all IP cameras successfully registered in the monitoring server send heartbeat messages to the monitoring server periodically. For the monitoring server, the IP camera that can normally receive the heartbeat message is normally online, and the IP camera that has interrupted the heartbeat message is a failed IP camera that has dropped the network. In addition, the image display failure generally includes, but is not limited to, a black screen failure or a color cast of an image picture.
The restarting control method of the fault IP camera provided by the application is applied to a monitoring server, and comprises the steps of receiving video stream data which is uploaded by all switches in a networking and is generated by the IP camera; judging whether a fault IP camera exists according to the video stream data; if so, determining a target port of a target switch correspondingly connected with the fault IP camera according to a preset database, wherein the preset database stores corresponding connection relations between the IP cameras and ports of the switch; and sending a fault notification message aiming at the target port to the target switch, and interrupting and recovering power supply to the target port by the target switch so as to restart the fault IP camera.
Therefore, according to the restart control method for the failed IP camera provided by the application, the preset database which is generated in advance by the monitoring server and stores the information of each IP camera and the corresponding connection port is utilized, the monitoring server sends the determined target port information corresponding to the failed IP camera to the target switch, and the target switch completes power-off restart of the failed IP camera. Therefore, the method is applicable to both network pipe type and non-network pipe type switches, and universality is effectively improved; in addition, the monitoring server can be used for automatically identifying the fault IP camera, so that manual intervention is not needed in the whole fault recovery process aiming at the fault IP camera, and the processing efficiency and the user experience are greatly improved.
Based on the above contents, as a preferred embodiment, the restart control method for the failed IP camera provided in the present application generates the preset database in advance by specifically:
acquiring MAC addresses of all IP cameras successfully registered in a networking way;
receiving MAC addresses of all ports sent by all the switches;
and establishing corresponding connection relations between the IP cameras and the ports respectively corresponding to the same MAC address and storing the connection relations in a preset database.
Specifically, after the networking is completed, a registry key and an address resolution key of each IP camera are generated in the monitoring server. Taking the network topology shown in fig. 1 as an example, please refer to table 1 and table 2, where table 1 is a registry entry of each IP camera, and records an IP address corresponding to each registered IP camera; table 2 shows Address Resolution table entries of each IP camera, and MAC addresses corresponding to each registered IP Address are generated and recorded according to an Address Resolution Protocol (ARP).
TABLE 1
IP camera name IP address Whether the network is online
IPC1 1.1.1.1 Is that
IPC2 1.1.1.2 Is that
IPC3 1.1.1.3 Is that
IPC4 1.1.1.4 Is that
IPC5 1.1.1.5 Is that
IPC6 1.1.1.6 Is that
TABLE 2
IP address MAC address Aging time
1.1.1.1 IPC1MAC --
1.1.1.2 IPC2MAC --
1.1.1.3 IPC3MAC --
1.1.1.4 IPC4MAC --
1.1.1.5 IPC5MAC --
1.1.1.6 IPC6MAC --
By combining table 1 and table 2, the monitoring server can obtain the MAC address corresponding to each registered IP camera.
Meanwhile, the switch is a network device which can finish the function of packaging and forwarding data frames based on MAC address identification, and after networking is built, MAC address table entries of all ports can be generated on all switches. Still taking the network topology shown in fig. 1 as an example, please refer to table 3 and table 4, where table 3 records the MAC addresses corresponding to the ports in the switch PMT1, and table 4 records the MAC addresses corresponding to the ports in the switch PMT 2.
TABLE 3
Figure BDA0001978823020000081
Figure BDA0001978823020000091
TABLE 4
MAC address Switch port Aging time
IPC4 MAC PMT 2-1 (Down interface 1) --
IPC5 MAC PMT 2-2 (Down interface 2) --
IPC6 MAC PMT 2-3 (Down interface 3) --
IPC1/IPC2/IPC3/NVR MAC PMT 2-4 (uplink interface) --
Specifically, after networking is completed, the monitoring server initiates device discovery, that is, discovery messages for switches are broadcast and sent in a form of two-layer broadcast messages in a networking system, all switches (including switch PMT1 and switch PMT2) receiving the discovery messages in the networking system respond, response messages are sent to the monitoring server in a form of two-layer unicast messages, and meanwhile, MAC address table entries of each port are sent to the monitoring server respectively. Therefore, the monitoring server, in combination with the contents of tables 1 to 4, can establish the corresponding connection relationship between the IP camera and the switch port corresponding to the same MAC address, so as to generate the preset database, which is specifically shown in table 5.
TABLE 5
IP camera name Switch Switch port
IPC1 PMT
1 PMT 1-1
IPC2 PMT 1 PMT 1-2
IPC3 PMT 1 PMT 1-3
IPC4 PMT 2 PMT 2-1
IPC5 PMT 2 PMT 2-2
IPC6 PMT 2 PMT 2-3
Based on the above contents, as a preferred embodiment, the restart control method for a failed IP camera further includes, before sending a failure notification message for a target port to a target switch:
judging whether the fault duration time of the fault IP camera exceeds a first preset time length or not;
if yes, continuing to execute the step of sending the fault notification message aiming at the target port to the target switch.
Specifically, in order to eliminate a transient disturbance phenomenon and avoid a fault misjudgment of the IP camera caused by external interference, in this embodiment, the monitoring server may perform the step of sending a fault notification message for the target port to the target switch after the fault duration of the faulty IP camera exceeds a first preset duration. If the fault duration is shorter than the first preset duration, the normal disturbance phenomenon can be considered, and subsequent restarting operation is not needed. The first preset time period may be specifically set to 5 minutes, and the like, which is not limited in the present application.
On the basis of the above contents, as a preferred embodiment, the method for controlling restart of a failed IP camera provided in the present application, after the target switch interrupts and restores power supply to the target port, so as to restart the failed IP camera, further includes:
receiving a restart success notification message sent by a target switch;
detecting whether the fault IP camera is recovered to be normal after a second preset time;
if not, the fault notification message aiming at the target port is sent to the target switch again so as to restart the fault IP camera again.
Specifically, in this embodiment, if failure recovery cannot be successfully achieved by one restart, multiple restarts may be performed. The second preset time period may be specifically set to 10 minutes, and the like, which is not limited in the present application.
Based on the above, as a preferred embodiment, the method for controlling restart of a failed IP camera further includes, after sending a failure notification message for a target port to a target switch again: and when the restarting times of the fault IP camera reaches a preset value, generating corresponding warning information so as to warn a manager.
Specifically, if the fault recovery cannot be successfully realized even after multiple reboots, the monitoring server may stop the rebooting operation for the faulty IP camera and generate warning information for the intervention of the manager.
The application also provides another restart control method of the failed IP camera, which is applied to a switch and mainly comprises the following steps of:
s31: transmitting video stream data generated by an IP camera connected to a port of a switch to a monitoring server; the monitoring server judges whether a fault IP camera exists according to the video stream data, and determines a target port correspondingly connected with the fault IP camera according to a preset database after judging that the fault IP camera exists; the preset database stores the corresponding connection relation between each IP camera and the port of the switch.
S32: and receiving a fault notification message which is sent by the monitoring server and aims at the target port.
S33: the power to the target port is interrupted and restored to restart the failed IP camera.
Similar matters can be referred to fig. 2 specifically, and are not repeated here.
Therefore, in the restart control method for the failed IP camera provided by the application, the preset database which is generated in advance by the monitoring server and stores the information of each IP camera and the corresponding connection port is used, and the monitoring server sends the determined information of the target port corresponding to the failed IP camera to the target switch, so that the target switch completes the power-off restart of the failed IP camera. Therefore, the method is applicable to both network pipe type and non-network pipe type switches, and universality is effectively improved; in addition, the monitoring server can be used for automatically identifying the fault IP camera, so that manual intervention is not needed in the whole fault recovery process aiming at the fault IP camera, and the processing efficiency and the user experience are greatly improved.
On the basis of the above contents, as a preferred embodiment, the restart control method for a failed IP camera further includes, after receiving a failure notification message for a target port sent by a monitoring server and before interrupting and resuming power supply to the target port:
acquiring the equipment connection state of a target port;
if the equipment connection state is normal, continuing to execute the steps of interrupting and recovering the power supply to the target port;
and if the equipment connection state is abnormal, sending an equipment pulling notification message to the monitoring server so that the monitoring server generates corresponding alarm information to alarm the manager.
Specifically, after the switch receives the fault notification message from the monitoring server, the switch can detect the device connection state at the target port, in particular to the problem of the IP camera fault caused by network disconnection. If the equipment connection state is normal, namely the physical connection between the IP camera with the fault and the switch is normal, the working state of the IP camera with the fault is in fault; if the connection state of the equipment is abnormal, namely the IP camera with the fault is accidentally pulled out of the target port of the switch, the restarting operation is not needed at the moment, and an equipment pulling-out notification message can be sent to the monitoring server.
Based on the above contents, as a preferred embodiment, the power supply of the target port is specifically a POE power supply module or a switching power supply.
Specifically, Power Over Ethernet (POE) is also called as a lan-based Power system or active Ethernet, and refers to a technology for providing dc Power for some IP-based terminals (such as an IP phone, a wireless lan access point AP, an IP camera, etc.) while transmitting data signals for such devices without any modification of the existing Ethernet cat.5 wiring infrastructure.
If the target switch adopts the POE power supply technology, the power supply output of the POE power supply module to the target port can be stopped and started firstly, so that the fault IP camera can be restarted. If the target switch utilizes the switch power supply for power supply, the restarting of the fault IP camera can be realized by controlling the power switch corresponding to the target port to be firstly opened and then closed. One skilled in the art can select and design an implementation at his or her discretion.
The following describes a restart control system of a failed IP camera provided in the present application.
Referring to fig. 4, fig. 4 is a block diagram of a restart control system of a failed IP camera according to the present application; the method comprises the following steps:
the monitoring server 1 is used for receiving video stream data which are uploaded by all the switches 2 in the networking and are generated by the IP camera 3; judging whether a fault IP camera exists according to the video stream data; if yes, determining a target port of a target switch correspondingly connected with the fault IP camera according to a preset database, wherein the preset database stores corresponding connection relations between the IP cameras 3 and ports of the switch 2; sending a fault notification message for a target port to a target switch;
each switch 2 connected to the monitoring server 1 is configured to interrupt and recover power supply to the target port after receiving the failure notification message for the target port, so as to restart the failed IP camera;
and respective IP cameras 3 connected to the respective switches 2 for generating video stream data.
Therefore, the restart control system for the failed IP camera provided by the application utilizes the preset database which is generated in advance by the monitoring server 1 and stores the information of each IP camera 3 and the corresponding connection port, and the monitoring server 1 sends the determined target port information corresponding to the failed IP camera to the target switch, so that the target switch completes the power-off restart of the failed IP camera. Therefore, the method is applicable to both network pipe type and non-network pipe type switches, and universality is effectively improved; in addition, the monitoring server can be used for automatically identifying the fault IP camera, so that manual intervention is not needed in the whole fault recovery process aiming at the fault IP camera, and the processing efficiency and the user experience are greatly improved.
The specific implementation of the restart control system for a failed IP camera provided in the present application and the restart control method for a failed IP camera described above may be referred to correspondingly, and are not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
It is further noted that, throughout this document, relational terms such as "first" and "second" are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The technical solutions provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall into the protection scope of the present application.

Claims (10)

1. A restart control method of a fault IP camera is applied to a monitoring server and is characterized by comprising the following steps:
receiving video stream data which is uploaded by each switch in the networking and is generated by an IP camera;
judging whether a fault IP camera exists according to the video stream data;
if so, determining a target port of a target switch correspondingly connected with the fault IP camera according to a preset database, wherein the preset database stores corresponding connection relations between the IP cameras and ports of the switch;
sending a failure notification message for the target port to the target switch, interrupting and restoring power supply to the target port by the target switch so as to restart the failed IP camera.
2. The method for controlling restart of a failed IP camera according to claim 1, wherein the preset database is generated in advance by specifically:
acquiring MAC addresses of all IP cameras successfully registered in a networking way;
receiving the MAC address of each port sent by each switch;
and establishing corresponding connection relations between the IP cameras and the ports respectively corresponding to the same MAC address and storing the connection relations in the preset database.
3. The method of claim 1, wherein the determining whether the failed IP camera exists according to the video stream data comprises:
judging whether an IP camera with network disconnection, video stream data cut-off or image display fault exists;
and if so, judging that the IP camera with the fault exists.
4. The method of claim 1, wherein before the sending the failure notification message for the target port to the target switch, the method further comprises:
judging whether the fault duration time of the fault IP camera exceeds a first preset time length or not;
if yes, continuing to execute the step of sending the fault notification message aiming at the target port to the target switch.
5. The method for controlling restart of a failed IP camera according to any one of claims 1 to 4, further comprising, after the interrupting and restoring power supply to the target port by the target switch to restart the failed IP camera:
receiving a restart success notification message sent by the target switch;
detecting whether the fault IP camera is recovered to be normal or not after a second preset time;
if not, sending the fault notification message aiming at the target port to the target switch again so as to restart the fault IP camera again.
6. The method for controlling restart of a failed IP camera according to claim 5, further comprising, after said sending again the failure notification message for the target port to the target switch:
and when the restarting times of the fault IP camera reaches a preset value, generating corresponding warning information so as to warn a manager.
7. A restart control method of a fault IP camera is applied to a switch and is characterized by comprising the following steps:
transmitting video stream data generated by an IP camera connected to a port of the switch to a monitoring server; the monitoring server judges whether a fault IP camera exists according to the video stream data, and determines a target port correspondingly connected with the fault IP camera according to a preset database after judging that the fault IP camera exists; the preset database stores the corresponding connection relation between each IP camera and the port of the switch;
receiving a fault notification message aiming at the target port and sent by the monitoring server;
interrupting and restoring power to the target port to restart the failed IP camera.
8. The method for controlling restart of a failed IP camera according to claim 7, wherein, after the receiving the failure notification message for the target port sent by the monitoring server and before the interrupting and resuming the power supply to the target port, the method further comprises:
acquiring the equipment connection state of the target port;
if the equipment connection state is normal, continuing to execute the step of interrupting and recovering the power supply to the target port;
and if the equipment connection state is abnormal, sending an equipment pulling notification message to the monitoring server so that the monitoring server generates corresponding alarm information to alarm a manager.
9. The method as claimed in claim 7 or 8, wherein the power supply of the target port is a POE power module or a switching power supply.
10. A restart control system for a failed IP camera, comprising:
the monitoring server is used for receiving video stream data which is uploaded by each switch in the networking and is generated by the IP camera; judging whether a fault IP camera exists according to the video stream data; if so, determining a target port of a target switch correspondingly connected with the fault IP camera according to a preset database, wherein the preset database stores corresponding connection relations between the IP cameras and ports of the switch; sending a failure notification message for the target port to the target switch;
each switch connected to the monitoring server, configured to interrupt and restore power supply to the target port after receiving the failure notification message for the target port, so as to restart the failed IP camera;
and each IP camera connected with each switch and used for generating the video stream data.
CN201910141952.8A 2019-02-26 2019-02-26 Restarting control method and system for fault IP camera Active CN111614953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910141952.8A CN111614953B (en) 2019-02-26 2019-02-26 Restarting control method and system for fault IP camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910141952.8A CN111614953B (en) 2019-02-26 2019-02-26 Restarting control method and system for fault IP camera

Publications (2)

Publication Number Publication Date
CN111614953A true CN111614953A (en) 2020-09-01
CN111614953B CN111614953B (en) 2022-03-11

Family

ID=72202123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910141952.8A Active CN111614953B (en) 2019-02-26 2019-02-26 Restarting control method and system for fault IP camera

Country Status (1)

Country Link
CN (1) CN111614953B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256479A (en) * 2020-10-19 2021-01-22 深圳中科德能科技有限公司 Method and device for restarting power receiving end equipment, terminal equipment and storage medium
CN113114510A (en) * 2021-04-22 2021-07-13 中国科学技术大学 Network fault information synchronization method and device
CN113328866A (en) * 2021-05-25 2021-08-31 浙江大华技术股份有限公司 Fault identification method, device, system, equipment and medium of powered equipment
CN114545064A (en) * 2022-02-23 2022-05-27 浙江诺诺网络科技有限公司 Equipment fault monitoring method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103249075A (en) * 2013-05-31 2013-08-14 迈普通信技术股份有限公司 Access point (AP) fault detecting and recovering method and device
CN204697104U (en) * 2015-06-29 2015-10-07 钱雄 Automatic control type supervision switch
CN105450422A (en) * 2015-12-02 2016-03-30 杭州敦崇科技股份有限公司 Wireless access point fault remote automatic recovery system based on access controller and POE switch
CN206620159U (en) * 2017-03-30 2017-11-07 大连富成通讯工程有限公司 Intelligent residential district device status monitoring system
CN108390763A (en) * 2018-03-06 2018-08-10 深圳市巨联高科技有限公司 PoE interchangers, internet protocol camera system and its automatic testing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103249075A (en) * 2013-05-31 2013-08-14 迈普通信技术股份有限公司 Access point (AP) fault detecting and recovering method and device
CN204697104U (en) * 2015-06-29 2015-10-07 钱雄 Automatic control type supervision switch
CN105450422A (en) * 2015-12-02 2016-03-30 杭州敦崇科技股份有限公司 Wireless access point fault remote automatic recovery system based on access controller and POE switch
CN206620159U (en) * 2017-03-30 2017-11-07 大连富成通讯工程有限公司 Intelligent residential district device status monitoring system
CN108390763A (en) * 2018-03-06 2018-08-10 深圳市巨联高科技有限公司 PoE interchangers, internet protocol camera system and its automatic testing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256479A (en) * 2020-10-19 2021-01-22 深圳中科德能科技有限公司 Method and device for restarting power receiving end equipment, terminal equipment and storage medium
CN113114510A (en) * 2021-04-22 2021-07-13 中国科学技术大学 Network fault information synchronization method and device
CN113328866A (en) * 2021-05-25 2021-08-31 浙江大华技术股份有限公司 Fault identification method, device, system, equipment and medium of powered equipment
CN114545064A (en) * 2022-02-23 2022-05-27 浙江诺诺网络科技有限公司 Equipment fault monitoring method, device and system

Also Published As

Publication number Publication date
CN111614953B (en) 2022-03-11

Similar Documents

Publication Publication Date Title
CN111614953B (en) Restarting control method and system for fault IP camera
JP3729660B2 (en) Network camera monitoring system
CA2390621C (en) Internet video surveillance camera system and method
US11516177B1 (en) Detecting and remediating non-responsive customer premise equipment
US9204083B2 (en) Video recording failover
CN110489484B (en) Data synchronization method and device, readable storage medium and electronic equipment
CN108809679B (en) Control method and device for network node and monitoring equipment
JP2003319375A (en) Supervisory camera system
CN110300283B (en) Monitoring and inspection control method and device based on video networking
KR20150091331A (en) A system apparatus and device for facilitating network edge device backup and methods of operation thereof
CN101448144B (en) Method for realizing alarm in video monitoring system and video monitor alarm system
WO2011015068A1 (en) Failure detection method and system
KR100630435B1 (en) Method for transmitting monitored status information, and cable modem
KR102148774B1 (en) System for controling remote fault recovery and method therefor
JP2013251588A (en) Network camera system
CN113794597B (en) Alarm information processing method, system, electronic equipment and storage medium
CN101854253B (en) Method for automatically recovering monitoring and storing and monitoring system thereof
CN111083176B (en) Cloud self-adaptive online method and device for monitoring camera
CN113489601A (en) Anti-destruction method and device based on video networking autonomous cloud network architecture
CN110401876B (en) Audio and video asynchronous warning method and device, electronic equipment and readable storage medium
KR101466007B1 (en) A multiple duplexed network video recorder and the recording method thereof
WO2016074570A1 (en) Security monitoring method and system
CN205453929U (en) Real -time video transmission system
JP3113937U (en) Surveillance live camera security system
KR101641873B1 (en) The smart controlling system

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
GR01 Patent grant
GR01 Patent grant