CN106791223B - Method and system for detecting reason of disconnection of monitoring terminal - Google Patents

Method and system for detecting reason of disconnection of monitoring terminal Download PDF

Info

Publication number
CN106791223B
CN106791223B CN201611145325.4A CN201611145325A CN106791223B CN 106791223 B CN106791223 B CN 106791223B CN 201611145325 A CN201611145325 A CN 201611145325A CN 106791223 B CN106791223 B CN 106791223B
Authority
CN
China
Prior art keywords
disconnection
monitoring terminal
network
terminal
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611145325.4A
Other languages
Chinese (zh)
Other versions
CN106791223A (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.)
Shenzhen Infinova Ltd
Original Assignee
Shenzhen Infinova 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 Shenzhen Infinova Ltd filed Critical Shenzhen Infinova Ltd
Priority to CN201611145325.4A priority Critical patent/CN106791223B/en
Publication of CN106791223A publication Critical patent/CN106791223A/en
Application granted granted Critical
Publication of CN106791223B publication Critical patent/CN106791223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/2272Subscriber line supervision circuits, e.g. call detection circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention is suitable for the field of fault detection, and provides a method and a system for detecting the reason of disconnection of a monitoring terminal, wherein the method comprises the following steps: the method comprises the steps that a detection terminal monitors the power supply condition of a first power supply of the detection terminal, sends fault test data to a monitoring terminal at a first preset frequency, and sends disconnected network test data to a server at a second preset frequency; the monitoring terminal receives the fault test data and sends fault return packet data to the detection terminal; the server receives the network disconnection test data and sends network disconnection return packet data to the detection terminal; and the detection terminal judges the disconnection reason of the monitoring terminal according to the power supply condition, the fault packet data and the network-off packet data receiving condition and sends the disconnection reason to the server. The detection of the reason of the disconnection of the monitoring terminal is completed by using the detection terminal, and the specific reason of the disconnection is judged according to the detection condition, so that the operation of detecting the reason of the disconnection of the monitoring terminal is simpler and more efficient.

Description

Method and system for detecting reason of disconnection of monitoring terminal
Technical Field
The invention belongs to the field of fault detection, and particularly relates to a method and a system for detecting a reason of disconnection of a monitoring terminal.
Background
With the continuous expansion of the application scale of the monitoring system, the detection requirement of the disconnection reason of the monitoring terminal in the monitoring system is larger and larger, and a user starts to build an operation and maintenance management platform and detects and maintains the monitoring terminal in the monitoring system through a professional operation and maintenance tool in the operation and maintenance management platform. However, in the prior art, the operation and maintenance tool may detect whether the monitoring terminal is disconnected by acquiring the monitoring signal, but cannot determine the reason for the disconnection of the monitoring terminal.
The reason for the disconnection of the monitoring terminal generally includes three reasons, namely power failure of the monitoring terminal, network failure of the monitoring terminal and failure of the monitoring terminal, and two methods are generally adopted for detecting the reason for the disconnection of the monitoring terminal in the prior art: 1. and 2, updating hardware and software of the existing monitoring terminal to increase the detection function of the reason of the disconnection of the monitoring terminal. However, the two methods for detecting the reason of the disconnection of the monitoring terminal have the problems of complicated operation, low efficiency and the like.
Disclosure of Invention
In view of the above, the present invention provides a method and a system for detecting a reason for a disconnection of a monitoring terminal, so as to solve the problems of complex operation and low efficiency when detecting the reason for the disconnection of the monitoring terminal in the prior art.
In a first aspect, a method for detecting a reason for a disconnection of a monitoring terminal is provided, including:
the method comprises the steps that a detection terminal monitors the power supply condition of a first power supply of the detection terminal, sends fault test data to a monitoring terminal at a first preset frequency, and sends network disconnection test data to a server at a second preset frequency in a first network connection mode;
the monitoring terminal receives the fault test data, generates corresponding fault loopback data according to the fault test data and sends the fault loopback data to the detection terminal, and the detection terminal and the monitoring terminal are positioned in the same local area network and the same power supply network;
the server receives the network disconnection test data, generates corresponding network disconnection return packet data according to the network disconnection test data and sends the corresponding network disconnection return packet data to the detection terminal;
the detection terminal judges the reason of the disconnection of the monitoring terminal according to the power supply condition of the first power supply, the fault packet data and the receiving condition of the network-disconnected packet data, and sends the reason of the disconnection of the monitoring terminal to the server.
In a second aspect, a system for detecting a reason for a disconnection of a monitoring terminal is provided, which includes the detection terminal, the monitoring terminal and a server:
the system comprises a detection terminal, a server and a server, wherein the detection terminal is used for monitoring the power supply condition of a first power supply, sending fault test data to the monitoring terminal at a first preset frequency and sending disconnected network test data to the server at a second preset frequency in a first network connection mode;
the monitoring terminal is used for receiving the fault test data, generating corresponding fault loopback data according to the fault test data and sending the fault loopback data to the detection terminal, and the detection terminal and the monitoring terminal are positioned in the same local area network and the same power supply network;
the server is used for receiving the network disconnection test data, generating corresponding network disconnection return packet data according to the network disconnection test data and sending the network disconnection return packet data to the detection terminal;
and the detection terminal is also used for judging the reason of the disconnection of the monitoring terminal according to the power supply condition of the first power supply, the fault packet data and the receiving condition of the network-disconnected packet data, and sending the reason of the disconnection of the monitoring terminal to the server.
In the invention, the power supply condition of a first power supply of a detection terminal is monitored by using the detection terminal, fault test data and network disconnection test data are respectively sent to the monitoring terminal and a server at a first preset frequency and a second preset frequency, so that the monitoring terminal and the server can return packet data corresponding to the test data, finally, the monitoring terminal judges the line drop reason of the monitoring terminal according to the monitored power supply condition of the first power supply, the monitored fault packet data and the monitored network disconnection packet data, and sends the line drop reason of the monitoring terminal to the server. The detection terminal is adopted to detect the line drop reason of the monitoring terminal in real time, the whole process is automatic, manual intervention is not needed, software and hardware updating and upgrading are not needed to be carried out on the monitoring terminal, and the operation of detecting the line drop reason of the monitoring terminal is simpler and more efficient.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a system architecture diagram of a method for detecting a cause of a drop of a monitoring terminal in embodiment 1 of the present invention;
fig. 2 is a flowchart of a method for detecting a reason for a dropped connection of a monitoring terminal in embodiment 2 of the present invention;
fig. 3 is a schematic block diagram of a system for detecting a reason for a dropped connection of a monitoring terminal in embodiment 3 of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
The method for detecting the reason of the disconnection of the monitoring terminal comprises the following steps: the detection terminal monitors the power supply condition of a first power supply of the detection terminal, sends fault test data to the monitoring terminal at a first preset frequency, and sends network disconnection test data to the server at a second preset frequency in a first network connection mode. And the monitoring terminal receives the fault test data, generates corresponding fault loopback data according to the fault test data and sends the fault loopback data to the detection terminal, and the detection terminal and the monitoring terminal are positioned in the same local area network and the same power supply network. And the server receives the network disconnection test data, generates corresponding network disconnection return packet data according to the network disconnection test data and sends the corresponding network disconnection return packet data to the detection terminal. The detection terminal judges the reason of the disconnection of the monitoring terminal according to the power supply condition of the first power supply, the fault packet data and the receiving condition of the network-disconnected packet data, and sends the reason of the disconnection of the monitoring terminal to the server.
In the invention, the detection terminal is adopted to detect the disconnection reason of the monitoring terminal in real time, the whole process is automatic without manual intervention, and software and hardware updating and upgrading are not required to be carried out on the monitoring terminal, so that the operation of detecting the disconnection reason of the monitoring terminal is simpler and more efficient.
Because the invention adopts the detection terminal to detect the reason of the disconnection of the monitoring terminal on the basis of the existing monitoring system, the configuration related to the detection terminal is needed before the detection of the reason of the disconnection of the monitoring terminal. The configuration related to the detection terminal can be completed by adopting a special configuration client in the monitoring system, and the main configuration part is as follows: 1. and configuring all monitoring terminals associated with the detection terminal, such as a fixed camera, a PTZ (pan/tilt/zoom) camera, a DVR/NVR (analog/digital recording) and other monitoring terminals by using the configuration client. 2. And configuring network parameters of the detection terminal, such as network IP, a subnet, a gateway, a port and the like by using the configuration client, and configuring a second network connection mode with the server.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example 1
Fig. 1 is a system architecture diagram illustrating a method for detecting a reason for a dropped connection of a monitoring terminal according to embodiment 1 of the present invention, which only shows relevant parts related to this embodiment for convenience of description, and the following details are described below:
referring to fig. 1, the system is composed of a server 11, a detection terminal 12 and a monitoring terminal 13.
The detection terminal 12 is configured to monitor a power supply condition of a first power supply of the detection terminal, send fault test data to the monitoring terminal 13 at a first preset frequency, and send network disconnection test data to the server 11 at a second preset frequency through a first network connection manner.
The first power supply is a power supply for the detection terminal 12 during normal operation, and in practical situations, the detection terminal 12 is generally powered by commercial power. The second power supply corresponding to the first power supply is a standby power supply which is started when the first power supply is powered off, so that the detection terminal 12 cannot be immediately stopped due to the power off of the first power supply, and power supplies such as a super capacitor can be used as the second power supply. The first preset frequency and the second preset frequency can be set by a technician according to actual conditions, and if the first preset frequency and the second preset frequency are both set to be 10hz, the fault test data and the network disconnection test data are sent once by the detection terminal 12 every 0.1 second.
The first network connection mode is a network connection mode of the detection terminal 12 and the server 11 when the monitoring system is operating normally.
In order to ensure the accuracy of detecting the reason of the disconnection of the monitoring terminal 13, the detection terminal 12 and the monitoring terminal 13 are arranged in the same local area network and the same power supply network, the same power supply network means that the detection terminal 12 and the monitoring terminal 13 both adopt a first power supply source for supplying power, and at the moment, when the disconnection of the monitoring terminal 13 is detected due to the power failure of the monitoring terminal 13, the detection terminal 12 detects the power supply condition of the detection terminal 12. And the first preset frequency and the second preset frequency are respectively used for sending fault test data and network disconnection test data to the monitoring terminal 13 and the server 11, so that the monitoring terminal 13 and the server 11 can generate corresponding fault loopback data and network disconnection test data according to the received test data and send the fault loopback data and the network disconnection test data to the detection terminal 12 in real time, and the purpose of detecting the network connection states of the detection terminal 12 and the monitoring terminal 13 as well as the detection terminal 12 and the server 11 is achieved.
Further, if the power supply condition of the first power supply is power off, the second power supply is started to supply power to the detection terminal 12, so that the detection terminal 12 can normally send the power off information of the monitoring terminal 13.
In this embodiment, the detecting terminal 12 has a standby second power supply, and performs emergency power supply on the detecting terminal 12 when the detecting terminal 12 is powered off, so as to ensure that the detecting terminal 12 can normally send information of the power failure of the monitoring terminal 13 to the server 11.
In the system, the monitoring terminal 13 is configured to receive fault test data, generate corresponding fault loopback data according to the fault test data, and send the fault loopback data to the detection terminal 12, where the detection terminal 12 and the monitoring terminal 13 are in the same local area network and the same power supply network.
The corresponding fault loopback data is generated according to the fault test data, and various generation modes can be adopted, for example, the fault loopback data can be generated by adding a fixed verification code after the fault test data.
In the system, the server 11 is configured to receive the network disconnection test data, generate corresponding network disconnection packet data according to the network disconnection test data, and send the network disconnection packet data to the detection terminal 12.
The same method can be adopted to generate corresponding network-breaking packet data according to the network-breaking test data, and fixed verification codes are added after the network-breaking test data to generate the network-breaking packet data.
In the system, the detection terminal 12 is further configured to determine a reason for the disconnection of the monitoring terminal 13 according to a power supply condition of the first power supply, a reception condition of the fault packet data and the network disconnection packet data, and send the reason to the server 11.
Judging the reason for the disconnection of the monitoring terminal 13, and sending the reason to the server 11, wherein the method comprises the following steps:
if the power supply condition of the first power supply is power failure, judging that the reason for the disconnection of the monitoring terminal 13 is power failure of the monitoring terminal 13;
if the fault return packet data is not received within the first preset time, judging that the reason of the disconnection of the monitoring terminal 13 is the fault of the monitoring terminal 13;
if the network disconnection return packet data is not received within the second preset time, it is determined that the reason for the disconnection of the monitoring terminal 13 is that the network of the monitoring terminal 13 is disconnected.
The sending of the information of the network disconnection of the monitoring terminal 13 to the server 11 includes:
the detection terminal 12 starts a second network connection mode to send the information of the network disconnection of the monitoring terminal to the server 11.
The relationship between the first preset time and the first preset frequency and the relationship between the second preset time and the second preset frequency must satisfy:
the first preset time is greater than or equal to a period corresponding to the first preset frequency;
the second preset time is greater than or equal to a period corresponding to the second preset frequency.
Since the server 11 and the monitoring terminal 13 both return the corresponding network disconnection test data and the corresponding network disconnection return packet data to the detection terminal 12 in real time after receiving the network disconnection test data and the fault test data, the detection terminal 12 receives the fault return packet data at the first preset frequency and receives the network disconnection return packet data at the second preset frequency under the condition that the network connection state is normal, but when the network connection with the server 11 and the monitoring terminal 13 is disconnected, the detection terminal 12 cannot normally receive the fault return packet data and the network disconnection return packet data. In this case, in the present embodiment, it is preferable to determine the network connection state between the detection terminal 12 and the server 11 and between the detection terminal 13 by using a method of determining disconnection if the packet data is not received within a predetermined time. The first preset time and the second preset time can be selected by technicians according to actual needs, but the first preset time and the second preset time are necessarily greater than a period corresponding to the first preset frequency and a period corresponding to the second preset frequency, if the first preset time and the second preset time are less than one period, the packet data are not normally sent to the detection terminal 12, the detection terminal 12 cannot normally judge the network connection state, if the first preset time and the second preset time are 10 hertz, the first preset time and the second preset time can be selected to be 1 second, namely, when the packet data of the disconnected network and the packet data of the failed network are not received within 1 second, the detection terminal 12, the server 11 and the monitoring terminal 13 are judged to be disconnected.
In practical situations, when the monitoring system is constructed, the first network connection mode of the detection terminal 12 and the server 11 when the monitoring system is operating normally is predetermined, so that the detection terminal 12 and the server 11 can communicate when operating normally. Since the detecting terminal 12 and the monitoring terminal 13 are in the same lan, the first network connection mode is the network connection mode between the monitoring terminal 13 and the server 11 when the monitoring terminal operates normally. In order to enable the detection terminal 12 to normally send the information of the network disconnection of the monitoring terminal 13 to the server 11 under the condition that the first network connection mode cannot be used, when the detection terminal 12 is disconnected from the server 11, a standby second network connection mode is started to transmit the information of the network disconnection of the monitoring terminal 13, wherein the second network connection mode can select any network connection mode different from the first network connection mode.
In this embodiment, since the detection terminal 12 and the monitoring terminal 13 are in the same lan, and when the detection terminal 12 and the server 11 are disconnected, the monitoring terminal 13 and the server 11 are also in the disconnected state at the same time, so that when it is detected that the detection terminal 12 does not receive the network disconnection packet data within the second preset time, and it is determined that the detection terminal 12 and the server 11 are disconnected, it may be determined that the network disconnection between the monitoring terminal 13 and the server 11 is caused, that is, the reason for the line disconnection of the monitoring terminal 13 is the network disconnection of the monitoring terminal 13. Because the detection terminal 12 and the server 11 are in the disconnected state at this time, the disconnected information of the monitoring terminal 13 cannot be sent to the server 11 through the normal first network connection mode, and when the wireless network is selected as the second network connection mode, the wireless network communication mode that wifi and the like can be accessed to the wide area network can be preferably used. When the monitoring terminal 13 fails, the network connection cannot be normally performed, so that when it is detected that the network disconnection return packet data is not received within the second preset time, it can be determined that the reason for the disconnection of the monitoring terminal 13 is the failure of the monitoring terminal 13.
In the system, the server 11 sends the reason for the disconnection of the monitoring terminal to the video operation and maintenance terminal for displaying after receiving the reason for the disconnection of the monitoring terminal. The user can inquire the reason of the disconnection of the monitoring terminal at the video operation and maintenance terminal and display and view the reason through the video operation and maintenance terminal.
Example 2
A flow chart of a method for detecting a reason for a dropped call of a monitoring terminal based on fig. 2 is a flow chart of a specific embodiment 2 for applying the present invention to detecting a reason for a dropped call of a video monitoring terminal in a video monitoring system, and is detailed as follows:
in the embodiment of the invention, a server is a central management server, a monitoring terminal is a video monitoring terminal, a detection terminal is an internet of things detection device, the video monitoring terminal and the internet of things detection device are in the same local area network and the same power supply network, a first power supply is mains supply, a second power supply is a super capacitor, a first network connection method adopts optical fiber for communication, a second network connection method is a wifi network, a first preset frequency and a second preset frequency are both 10Hz, a first preset time and a second preset time are both 1 second, and a generation method of adding a fixed verification code after test data as return packet data is adopted.
In S201, the internet of things detection device monitors a power supply condition of the video monitoring terminal.
Because the video monitor terminal and the detection equipment of the internet of things are in the same power supply network and adopt commercial power to supply power uniformly, when the commercial power supply condition of the video monitor terminal is monitored, only the commercial power supply condition of the detection equipment of the internet of things needs to be detected.
When thing networking check out test set outage, super capacitor supplies power to thing networking check out test set, guarantees that thing networking check out test set can also normal operating for a period under the circumstances of commercial power outage to make thing networking check out test set can normally send outage information to central management server.
In S202, the Internet of things detection equipment sends fault test data to the video monitoring terminal at the frequency of 10Hz and sends network disconnection test data to the central management server.
The Internet of things detection equipment sends fault test data to the video monitoring terminal every 0.1 second and sends network disconnection test data to the central management server.
In S203, the central management server sends the network disconnection return packet data to the internet of things detection device.
And after receiving the network disconnection test data, the central management server immediately generates network disconnection return packet data and sends the network disconnection return packet data to the Internet of things detection equipment in real time.
In S204, the video monitoring terminal sends the failure packet data to the internet of things detection device.
And after receiving the fault test data, the video monitoring terminal immediately generates fault packet data and sends the fault packet data to the Internet of things detection equipment in real time.
In S205, the internet of things detection device determines a reason for the disconnection of the video monitoring terminal.
The Internet of things detection equipment judges the power supply condition of the Internet of things detection equipment, and if the power failure is judged, the reason that the video monitoring terminal is disconnected is judged as the power failure of the video monitoring terminal.
If the Internet of things detection equipment does not receive the fault packet data within 1 second continuously, the reason for the disconnection of the video monitoring terminal is judged to be the fault of the video monitoring terminal.
If the Internet of things detection equipment does not receive the network disconnection packet data within 1 second continuously, the reason that the video monitoring terminal is disconnected is judged.
In S206, the internet of things detection device sends the reason for the disconnection of the video monitoring terminal to the central management server.
The internet of things detection equipment sends the reason of the video monitoring terminal that the video monitoring terminal is disconnected to the central management server after judging the reason of the video monitoring terminal that the video monitoring terminal is disconnected, if the reason of the video monitoring terminal that the video monitoring terminal is disconnected is the reason of the internet of things detection equipment, the internet of things detection equipment is also disconnected from the central management server, the information of the monitoring terminal that the internet of things detection equipment is disconnected cannot be sent through the optical fiber, and at the moment, the standby wifi wireless network is started to send the information of the video monitoring terminal that the internet of things is disconnected to the central. When the video monitoring terminal is powered off due to the reason that the video monitoring terminal is disconnected, the super capacitor supplies power to the Internet of things detection equipment, so that the Internet of things detection equipment can work for a period of time and can send power-off information to the central management server.
And after receiving the reason of the disconnection of the video monitoring terminal, the central management server sends the reason of the disconnection of the video monitoring terminal to the video operation and maintenance terminal for displaying. The user can inquire the reason of the disconnection of the video monitoring terminal at the video operation and maintenance terminal and display and view the reason through the video operation and maintenance terminal.
In the embodiment of the invention, under the condition that the video monitoring terminal and the Internet of things detection equipment are in the same local area network and the same power supply network, the power supply condition of the video monitoring terminal and the network connection state of the video monitoring terminal, the Internet of things detection equipment, the video monitoring terminal and the central management server are detected to judge the offline reason of the video monitoring terminal, and after the offline reason of the video monitoring terminal is obtained, the offline reason is inquired by a user through the video operation and maintenance terminal. The detection of the reason of the disconnection of the video monitoring terminal is carried out by adopting the detection equipment of the Internet of things, the whole process is automatic, manual operation intervention is not needed, and the original video monitoring terminal is not needed to be updated, so that the operation of detecting the reason of the disconnection of the video monitoring terminal is simpler and more efficient.
Example 3
Fig. 3 shows a block diagram of a system for detecting a reason for a dropped call of a monitoring terminal according to embodiment 3 of the present invention, which corresponds to the method for detecting a reason for a dropped call of a monitoring terminal according to the above embodiment.
Referring to fig. 3, the system includes a detection terminal 32, a monitoring terminal 31, and a server 33:
the detection terminal 32 is used for monitoring the power supply condition of the first power supply, sending fault test data to the monitoring terminal 31 at a first preset frequency, and sending network disconnection test data to the server 33 at a second preset frequency in a first network connection mode;
the monitoring terminal 31 is used for receiving the fault test data, generating corresponding fault loopback data according to the fault test data and sending the fault loopback data to the detection terminal 32, wherein the detection terminal and the monitoring terminal are positioned in the same local area network and the same power supply network;
the server 33 is used for receiving the network disconnection test data, generating corresponding network disconnection return packet data according to the network disconnection test data and sending the network disconnection return packet data to the detection terminal 32;
the detection terminal 32 is further configured to determine a reason for the disconnection of the monitoring terminal 31 according to a power supply condition of the first power supply, a reception condition of the failure packet data and the network disconnection packet data, and send the reason to the server 33.
Further, if the power supply condition of the first power supply is power failure, it is determined that the reason for the disconnection of the monitoring terminal 31 is that the monitoring terminal 31 is powered off;
if the fault return packet data is not received within the first preset time, determining that the reason for the disconnection of the monitoring terminal 31 is the fault of the monitoring terminal 31;
if the network disconnection return packet data is not received within the second preset time, it is determined that the reason for the disconnection of the monitoring terminal 31 is that the network of the monitoring terminal 31 is disconnected.
Further, the detection terminal 32 enables a second network connection mode to send the information of the network disconnection of the monitoring terminal 31 to the server 33.
Further, if the power supply condition of the first power supply is power off, the second power supply is started to supply power to the detection terminal 32, so that the detection terminal 32 can normally send the power off information of the monitoring terminal 31.
Further, the first preset time is greater than or equal to a period corresponding to the first preset frequency;
the second preset time is greater than or equal to a period corresponding to the second preset frequency.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention. It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, systems and units described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in this application, it should be understood that the disclosed system, and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (4)

1. A method for detecting the reason of the disconnection of a monitoring terminal, wherein the monitoring terminal comprises a fixed camera, a PTZ camera and a DVR/NVR, and is characterized by comprising the following steps:
the method comprises the steps that a detection terminal monitors the power supply condition of a first power supply of the detection terminal, sends fault test data to a monitoring terminal at a first preset frequency, and sends network disconnection test data to a server at a second preset frequency in a first network connection mode;
the monitoring terminal receives the fault test data, generates corresponding fault loopback data according to the fault test data and sends the corresponding fault loopback data to the detection terminal, and the detection terminal and the monitoring terminal are positioned in the same local area network and the same power supply network;
the server receives the network disconnection test data, generates corresponding network disconnection return packet data according to the network disconnection test data and sends the corresponding network disconnection return packet data to the detection terminal;
the detection terminal judges the reason of the disconnection of the monitoring terminal according to the power supply condition of the first power supply, the fault return packet data and the receiving condition of the network disconnection return packet data, and sends the reason of the disconnection of the monitoring terminal to the server;
the detection terminal judges the reason of the disconnection of the monitoring terminal according to the power supply condition of the first power supply source, the fault packet data and the reception condition of the network-disconnected packet data, and the method comprises the following steps: if the power supply condition of the first power supply is power failure, judging that the reason of the disconnection of the monitoring terminal is power failure of the monitoring terminal; if the fault packet data is not received within a first preset time, judging that the reason of the disconnection of the monitoring terminal is the fault of the monitoring terminal; if the network disconnection return packet data is not received within a second preset time, judging that the reason of the line disconnection of the monitoring terminal is network disconnection of the monitoring terminal;
if the reason for the disconnection of the monitoring terminal is judged to be the disconnection of the monitoring terminal, the reason for the disconnection of the monitoring terminal is sent to the server, and the method comprises the following steps: the detection terminal starts a second network connection mode to send the information of the network disconnection of the monitoring terminal to the server; the second network connection mode comprises a wireless network;
and if the power supply condition of the first power supply is power-off, starting a second power supply to supply power to the detection terminal so as to ensure that the detection terminal can normally send the power-off information of the monitoring terminal.
2. The method of claim 1, wherein the method further comprises:
the first preset time is greater than or equal to a period corresponding to the first preset frequency;
the second preset time is greater than or equal to a period corresponding to the second preset frequency.
3. The utility model provides a detecting system of reason that monitor terminal dropped, monitor terminal includes fixed camera, PTZ camera, DVR/NVR, its characterized in that, including detection terminal, monitor terminal and server:
the system comprises a detection terminal, a server and a server, wherein the detection terminal is used for monitoring the power supply condition of a first power supply, sending fault test data to the monitoring terminal at a first preset frequency and sending disconnected network test data to the server at a second preset frequency in a first network connection mode;
the monitoring terminal is used for receiving the fault test data, generating corresponding fault loopback data according to the fault test data and sending the fault loopback data to the detection terminal, and the detection terminal and the monitoring terminal are positioned in the same local area network and the same power supply network;
the server is used for receiving the network disconnection test data, generating corresponding network disconnection return packet data according to the network disconnection test data and sending the network disconnection return packet data to the detection terminal;
the detection terminal is further used for judging a disconnection reason of the monitoring terminal according to the power supply condition of the first power supply, the fault packet data and the receiving condition of the network-disconnected packet data, and sending the disconnection reason of the monitoring terminal to the server;
the detection terminal judges the reason of the disconnection of the monitoring terminal according to the power supply condition of the first power supply source, the fault packet data and the reception condition of the network-disconnected packet data, and the method comprises the following steps: if the power supply condition of the first power supply is power failure, judging that the reason of the disconnection of the monitoring terminal is power failure of the monitoring terminal; if the fault packet data is not received within a first preset time, judging that the reason of the disconnection of the monitoring terminal is the fault of the monitoring terminal; if the network disconnection return packet data is not received within a second preset time, judging that the reason of the line disconnection of the monitoring terminal is network disconnection of the monitoring terminal;
if the reason for the disconnection of the monitoring terminal is judged to be the disconnection of the monitoring terminal, the reason for the disconnection of the monitoring terminal is sent to the server, and the method comprises the following steps: the detection terminal starts a second network connection mode to send the information of the network disconnection of the monitoring terminal to the server; the second network connection mode comprises a wireless network;
and if the power supply condition of the first power supply is power-off, starting a second power supply to supply power to the detection terminal so as to ensure that the detection terminal can normally send the power-off information of the monitoring terminal.
4. The system of claim 3, wherein the system further comprises:
the first preset time is greater than or equal to a period corresponding to the first preset frequency;
the second preset time is greater than or equal to a period corresponding to the second preset frequency.
CN201611145325.4A 2016-12-13 2016-12-13 Method and system for detecting reason of disconnection of monitoring terminal Active CN106791223B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611145325.4A CN106791223B (en) 2016-12-13 2016-12-13 Method and system for detecting reason of disconnection of monitoring terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611145325.4A CN106791223B (en) 2016-12-13 2016-12-13 Method and system for detecting reason of disconnection of monitoring terminal

Publications (2)

Publication Number Publication Date
CN106791223A CN106791223A (en) 2017-05-31
CN106791223B true CN106791223B (en) 2020-04-21

Family

ID=58876369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611145325.4A Active CN106791223B (en) 2016-12-13 2016-12-13 Method and system for detecting reason of disconnection of monitoring terminal

Country Status (1)

Country Link
CN (1) CN106791223B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109309765B (en) * 2017-07-26 2021-05-11 深圳市六度人和科技有限公司 Communication interaction system based on remote control and controlled terminal
CN110719199B (en) * 2019-09-30 2023-01-24 深圳市元征科技股份有限公司 Network automatic testing and fault positioning method and device
CN112434904A (en) * 2020-10-23 2021-03-02 国网山东省电力公司日照供电公司 Electric power data communication verification system in electric power network
CN114614888B (en) * 2020-12-04 2024-04-26 中国电信股份有限公司 Method and system for detecting commercial power outage area in real time based on telecom optical network terminal
CN114709895A (en) * 2022-04-24 2022-07-05 深圳市高德威技术有限公司 Battery replacement method and system capable of recovering offline battery
CN115348165B (en) * 2022-08-15 2023-07-25 四川虹美智能科技有限公司 Intelligent equipment disconnection processing method based on big data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104470061A (en) * 2014-10-31 2015-03-25 三峡大学 Streetlamp monitoring system
CN104539899A (en) * 2014-12-25 2015-04-22 合肥寰景信息技术有限公司 Method for distinguishing monitoring camera abnormal situation through video signal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6928147B2 (en) * 2002-11-06 2005-08-09 Sbc Properties, L.P. Outage reporting for a telecommunications system
US7548980B2 (en) * 2003-09-04 2009-06-16 At&T Intellectual Property I, L.P. Enhanced network management system
CN103813368B (en) * 2012-11-12 2017-09-15 中国移动通信集团公司 A kind of method, apparatus and system being monitored to network operation state
WO2014107625A1 (en) * 2013-01-04 2014-07-10 USS Technologies, LLC Public view monitor with tamper deterrent and security systems
US9734681B2 (en) * 2013-10-07 2017-08-15 Ubiquiti Networks, Inc. Cloud-based video monitoring
CN105099763B (en) * 2015-06-29 2019-02-22 小米科技有限责任公司 Equipment goes offline based reminding method and device
CN106209391A (en) * 2016-07-13 2016-12-07 上海斐讯数据通信技术有限公司 A kind of wireless router and method for connecting network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104470061A (en) * 2014-10-31 2015-03-25 三峡大学 Streetlamp monitoring system
CN104539899A (en) * 2014-12-25 2015-04-22 合肥寰景信息技术有限公司 Method for distinguishing monitoring camera abnormal situation through video signal

Also Published As

Publication number Publication date
CN106791223A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106791223B (en) Method and system for detecting reason of disconnection of monitoring terminal
US8185753B2 (en) Storage medium for storing power consumption monitor program, power consumption monitor apparatus and power consumption monitor method
CN105302120A (en) Remote service device, system and method of intelligent equipment
CN108706662B (en) Intelligent control method for Internet of things water purifier and computer board thereof
CN110954849B (en) Abnormity detection system and method for electrical equipment and monitoring terminal
CN108732413B (en) Alarm method and device for electric equipment
CN101631324A (en) Mobile terminal fault diagnosis and repair method and mobile terminal thereof
CN205160712U (en) Video monitoring equipment trouble detection device
CN110336742B (en) Information sending method and device, computer equipment and storage medium
CN112653577A (en) Network element management method, device and storage medium
CN106060859A (en) AP (Access Point) fault detection and restoration method and device
CN108390763A (en) PoE interchangers, internet protocol camera system and its automatic testing method
MXPA04006830A (en) Remote sensing of power supply states.
US10203373B1 (en) Systems and methods for using profiles to monitor generators
CN106604316B (en) Method, device and system for positioning fault of wireless access equipment
CN109412819A (en) Method and device for warning device power down
EP2882216A1 (en) Device and method for controlling and supervising and alarming power supply of base station
KR20130061029A (en) System for monitoring a heat treatment equipment
KR101572672B1 (en) Method for monitoring node failure on communication network and system thereof
CN111324504B (en) Method and device for monitoring running state of power communication network
CN111343700A (en) Wireless sensor network communication method
CN114253800A (en) Edge diagnosis method, device, equipment and storage medium
CN112963406B (en) Monitoring method, device and system of hydraulic system and storage medium
CN110749046B (en) Air conditioner control method and device, air conditioner and computer readable storage medium
CN110247833B (en) Communication control method, device, sub-equipment and communication 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