CN115133955A - Abnormality detection method and abnormality detection device of communication cable - Google Patents
Abnormality detection method and abnormality detection device of communication cable Download PDFInfo
- Publication number
- CN115133955A CN115133955A CN202110333889.5A CN202110333889A CN115133955A CN 115133955 A CN115133955 A CN 115133955A CN 202110333889 A CN202110333889 A CN 202110333889A CN 115133955 A CN115133955 A CN 115133955A
- Authority
- CN
- China
- Prior art keywords
- wire
- network
- port
- network port
- communication cable
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/02—Details
- H04B3/46—Monitoring; Testing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
本申请涉及通信设备检测技术领域,尤其涉及一种通信电缆的异常检测方法和异常检测装置。该方法包括:根据网络设备对应的电缆‑网络端口关联关系确定与目标通信电缆相连接的N1个第一网络端口。这里,电缆‑网络端口关联关系指示了网络设备的每个网络端口所连接的通信电缆。获取各第一网络端口对应的异常判决参量。这里,任一网络端口对应的异常判决参量包括该网络端口的实时端口状态或者该网络端口对应的第一导线与第二导线之间的电气参数实测值。根据各第一网络端口对应的异常判决参量确定目标通信电缆是否异常。采用本申请提供方法,可以降低针对通信电缆的异常检测的成本,提升异常检测的效率。
The present application relates to the technical field of communication equipment detection, and in particular, to an abnormality detection method and an abnormality detection device of a communication cable. The method includes: determining N1 first network ports connected to the target communication cable according to the cable-network port association relationship corresponding to the network device. Here, the cable-network port association indicates the communication cable to which each network port of the network device is connected. Obtain the abnormal judgment parameter corresponding to each first network port. Here, the abnormal judgment parameter corresponding to any network port includes the real-time port state of the network port or the measured value of the electrical parameter between the first wire and the second wire corresponding to the network port. Whether the target communication cable is abnormal is determined according to the abnormality judgment parameter corresponding to each first network port. By using the method provided by the present application, the cost of abnormality detection for communication cables can be reduced, and the efficiency of abnormality detection can be improved.
Description
技术领域technical field
本申请涉及通信设备检测技术领域,尤其涉及一种通信电缆的异常检测方法和异常检测装置。The present application relates to the technical field of communication equipment detection, and in particular, to an abnormality detection method and an abnormality detection device of a communication cable.
背景技术Background technique
随着通信技术的不断发展,如传统电话业务(plain old telephone service,POST)、x数字用户线(x digital subscriber line,xDSL)业务等各种类型的通信业务逐渐出现在了人们的生活中。这些通信业务的实现离不开各种通信设备的相互协作,而通信电缆更是这些通信设备中的重要一员。通信电缆通常是由一对及以上的相互绝缘的导线绞合而成,其主要用于传输电话、电报或者其他业务数据等电信号。由于通信电缆承载了业务数据等电信号的传输工作,而其又较容易遭受到人为的破坏,如被盗时的人为切断、被现场施工人员误剪断等,所以,如何及时的检测出通信电缆的异常并进行维护已经成为人们日益关注的问题。With the continuous development of communication technologies, various types of communication services, such as traditional telephone service (plain old telephone service, POST), x digital subscriber line (x digital subscriber line, xDSL) service, gradually appear in people's lives. The realization of these communication services is inseparable from the mutual cooperation of various communication devices, and the communication cable is an important member of these communication devices. A communication cable is usually formed by twisting one pair or more of mutually insulated wires, and is mainly used to transmit electrical signals such as telephone, telegram or other business data. Because the communication cable carries the transmission of electrical signals such as business data, and it is more prone to man-made damage, such as artificially cut off when stolen, accidentally cut by on-site construction personnel, etc., so how to detect the communication cable in time exceptions and maintaining them have become a growing concern.
在现有技术中,通常会在通信电缆外置一套复杂的异常检测系统,通过该异常检测系统中的控制器和传感器来检测通信线缆是否出现异常。这种针对通信线缆外置异常检测系统的方式无疑会导致通信电缆的使用及维护成本增加,因此,现有的针对通信线缆的异常检测方案的适用性和实用性较差。In the prior art, a complex abnormality detection system is usually set outside the communication cable, and whether the communication cable is abnormal is detected by the controller and the sensor in the abnormality detection system. Such an external anomaly detection system for communication cables will undoubtedly increase the use and maintenance costs of communication cables. Therefore, the existing anomaly detection solutions for communication cables have poor applicability and practicability.
发明内容SUMMARY OF THE INVENTION
为了解决上述问题,本申请提供了一种通信电缆的异常检测方法和异常检测装置,可以降低针对通信电缆的异常检测的成本,提升异常检测的效率。In order to solve the above problems, the present application provides an abnormality detection method and an abnormality detection device for a communication cable, which can reduce the cost of abnormality detection for a communication cable and improve the efficiency of abnormality detection.
第一方面,本申请实施例提供了一种通信电缆的异常检测方法。该方法具体可由网络设备来执行,该网络设备的一个网络端口通过一个通信电缆中的一对导线与一个用户设备相连接。网络设备可根据网络设备对应的电缆-网络端口关联关系确定与目标通信电缆相连接的N1个第一网络端口。这里,电缆-网络端口关联关系指示了网络设备的每个网络端口所连接的通信电缆。然后,网络设备可获取各第一网络端口对应的异常判决参量。这里,任一网络端口对应的异常判决参量包括该网络端口的实时端口状态或者该网络端口对应的第一导线与第二导线之间的电气参数实测值。然后,网络设备可根据各第一网络端口对应的异常判决参量确定目标通信电缆是否异常。In a first aspect, an embodiment of the present application provides an abnormality detection method for a communication cable. The method can be specifically performed by network equipment, a network port of the network equipment is connected with a user equipment through a pair of wires in a communication cable. The network device may determine N1 first network ports connected to the target communication cable according to the cable-network port association relationship corresponding to the network device. Here, the cable-network port association relationship indicates the communication cable to which each network port of the network device is connected. Then, the network device may acquire the abnormality determination parameter corresponding to each first network port. Here, the abnormal judgment parameter corresponding to any network port includes the real-time port state of the network port or the measured value of the electrical parameter between the first wire and the second wire corresponding to the network port. Then, the network device may determine whether the target communication cable is abnormal according to the abnormality judgment parameter corresponding to each first network port.
在上述实现中,在确定出目标通信电缆所连接的多个第一网络端口后,网络设备可直接通过这多个第一网络端口的实时端口状态或者各第一网络端口所连接的第一导线和第二导线之间的电气参数实测值来快速的确定目标通信电缆是否发生异常。这样就无需外置的检测系统,可降低异常检测成本。并且,由于网络端口的实时端口状态或者所连接的第一导线和第二导线之间的电气参数实测值均为网络设备容易获取到的参量,这样就简化了异常检测的复杂度,可提升异常检测的效率。In the above implementation, after the multiple first network ports connected to the target communication cable are determined, the network device can directly pass the real-time port status of the multiple first network ports or the first wires connected to the first network ports. The measured value of the electrical parameters between the second wire and the second wire is used to quickly determine whether the target communication cable is abnormal. This eliminates the need for an external detection system and reduces the cost of anomaly detection. Moreover, since the real-time port status of the network port or the measured value of the electrical parameters between the connected first wire and the second wire are parameters that are easily obtained by the network device, the complexity of abnormality detection is simplified, and the abnormality can be improved. detection efficiency.
结合第一方面,在一种可行的实现方式中,所述任一网络端口对应的异常判决参量包括所述任一网络端口对应的第一导线与第二导线之间的电气参数实测值。若网络设备确定所述各第一网络端口对应的第一导线与第二导线之间的电气参数的实测值不在所述各第一网络端口对应的电气参数阈值范围内,则可确定所述目标通信电缆异常。With reference to the first aspect, in a feasible implementation manner, the abnormality determination parameter corresponding to any network port includes the measured value of the electrical parameter between the first wire and the second wire corresponding to the any network port. If the network device determines that the measured value of the electrical parameter between the first wire corresponding to each first network port and the second wire is not within the threshold range of the electrical parameter corresponding to each first network port, the target may be determined The communication cable is abnormal.
在上述实现中,网络设备通过能够直接测量得到的各第一网络端口所连接的第一导线与第二导线之间的电气参数测量值来判断目标通信电缆是否异常,方法简单且易于实现,可有效降低针对通信电缆的异常检测方法的复杂度,可降低异常检测的成本。In the above implementation, the network device judges whether the target communication cable is abnormal through the measured value of the electrical parameter between the first wire and the second wire connected to each first network port that can be directly measured. The method is simple and easy to implement. The complexity of the abnormality detection method for communication cables is effectively reduced, and the cost of abnormality detection can be reduced.
结合上述第一方面,在一种可行的实现方式中,若网络设备确定上述N1个第一网络端口中有N3个第一网络端口对应的电气参数实测值是在其各自对应的电气参数阈值范围内,则可确定目标通信电缆正常。其中,N3为正整数。In combination with the above-mentioned first aspect, in a feasible implementation manner, if the network device determines that the measured values of the electrical parameters corresponding to the N3 first network ports in the above-mentioned N1 first network ports are within their respective corresponding electrical parameter threshold ranges. inside, it can be determined that the target communication cable is normal. Among them, N3 is a positive integer.
结合第一方面,在一种可行的实现方式中,所述任一网络端口对应的异常判决参量包括所述任一网络端口对应的第一导线与第二导线之间的电气参数实测值。若网络设备确定所述各第一网络端口对应的第一导线与第二导线之间的电气参数的实测值不在所述各第一网络端口对应的电气参数阈值范围内,则可获取所述目标通信电缆所连接的N2个第二网络端口中各第二网络端口对应的第一导线与第二导线之间的电气参数实测值。其中,N2为正整数。然后,若网络设备确定所述各第二网络端口对应的第一导线与第二导线之间的电气参数实测值不在所述各第二网络端口对应的电气参数阈值范围内,则确定所述目标通信电缆异常。With reference to the first aspect, in a feasible implementation manner, the abnormality determination parameter corresponding to any network port includes the measured value of the electrical parameter between the first wire and the second wire corresponding to the any network port. If the network device determines that the measured value of the electrical parameter between the first wire corresponding to the first network port and the second wire is not within the threshold range of the electrical parameter corresponding to the first network port, the target can be acquired The measured value of electrical parameters between the first wire and the second wire corresponding to each of the N2 second network ports connected by the communication cable. Among them, N2 is a positive integer. Then, if the network device determines that the measured value of the electrical parameter between the first wire corresponding to each second network port and the second wire is not within the threshold range of the electrical parameter corresponding to each second network port, then determine the target The communication cable is abnormal.
在上述实现中,在确定N1个第一网络端口对应的第一导线与第二导线之间的电气参数实测值不正常的情况下,继续获取N2个第二网络端口对应的第一导线与第二导线之间的电气参数实测值并根据N2个第二网络端口对应的第一导线与第二导线之间的电气参数实测值重新判断该目标通信电缆是否异常,这样可避免因某些第一网络端口对应电气参数阈值范围不合适所导致的误判等情况的发生,可提升异常检测的准确率。In the above implementation, when it is determined that the measured values of electrical parameters between the first wires corresponding to the N1 first network ports and the second wires are abnormal, continue to obtain the first wires and the second wires corresponding to the N2 second network ports. The measured value of the electrical parameters between the two wires and the measured value of the electrical parameters between the first wire and the second wire corresponding to the N2 second network ports are used to re-judge whether the target communication cable is abnormal. The occurrence of misjudgment caused by the inappropriate threshold range of electrical parameters corresponding to the network port can improve the accuracy of anomaly detection.
结合第一方面,在一种可行的实现方式中,若网络设备确定所述各第二网络端口对应的第一导线与第二导线之间的电气参数的实测值在所述各第二网络端口对应的电气参数阈值范围内,则可根据所述各第一网络端口对应的第一导线与第二导线之间的电气参数实测值对所述各第一网络端口对应的电气参数阈值范围进行更新。In combination with the first aspect, in a feasible implementation manner, if the network device determines that the measured value of the electrical parameter between the first wire and the second wire corresponding to each second network port is at each second network port Within the corresponding electrical parameter threshold range, the electrical parameter threshold range corresponding to each first network port can be updated according to the measured value of the electrical parameter between the first wire and the second wire corresponding to each first network port. .
结合第一方面,在一种可行的实现方式中,所述第一导线与第二导线之间的电气参数实测值包括以下中的至少一项:由所述第一导线到所述第二导线测得的电阻值、由所述第二导线到所述第一导线测得的电阻值、所述第一导线与第二导线之间的电容测量值、所述第一导线与接地线之间的电容测量值、所述第二导线与接地线之间的电容测量值、连接在所述第一导线与第二导线之间的预设检测电路对应的电阻测量值、所述预设检测电路对应的电容测量值。With reference to the first aspect, in a feasible implementation manner, the measured value of electrical parameters between the first wire and the second wire includes at least one of the following: from the first wire to the second wire Measured resistance value, measured resistance value from the second wire to the first wire, capacitance measurement between the first wire and the second wire, between the first wire and the ground wire The measured value of capacitance, the measured value of capacitance between the second wire and the ground wire, the measured value of resistance corresponding to the preset detection circuit connected between the first wire and the second wire, the measured value of the preset detection circuit Corresponding capacitance measurement.
结合第一方面,在一种可行的实现方式中,所述预设检测电路为远端标识电路,所述预设检测电路对应的电阻测量值包括由所述第一导线到所述第二导线测得的所述远端标识电路两端的电阻值和/或由所述第二导线到所述第一导线测得的所述远端标识电路两端的电阻值,所述预设检测电路对应的电容测量值包括由所述第一导线到所述第二导线测得的所述远端标识电路两端的电容值。With reference to the first aspect, in a feasible implementation manner, the preset detection circuit is a remote identification circuit, and the resistance measurement value corresponding to the preset detection circuit includes a resistance measurement value from the first wire to the second wire The measured resistance value at both ends of the remote identification circuit and/or the resistance value at both ends of the remote identification circuit measured from the second wire to the first wire, the preset detection circuit corresponds to Capacitance measurements include capacitance values across the remote identification circuit measured from the first lead to the second lead.
在上述实现中,以常用的远端标识电路作为网络端口的第一导线与第二导线之间的预设检测电路,可保证本申请提供的通信电缆的异常检测方法的兼容性,进而提升异常检测方法的适用性和实用性。In the above implementation, using the commonly used remote identification circuit as the preset detection circuit between the first wire and the second wire of the network port can ensure the compatibility of the abnormality detection method of the communication cable provided by the present application, thereby improving the abnormality Applicability and practicality of detection methods.
结合第一方面,在一种可行的实现方式中,所述目标通信电缆承载POST业务,所述任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态,所述任一网络端口的端口状态至少包括摘机锁定状态和挂机状态。若网络设备根据所述各第一网络端口的实时端口状态确定所述各第一网络端口的端口状态均由所述摘机锁定状态切换至所述挂机状态,则确定所述目标通信电缆异常。With reference to the first aspect, in a feasible implementation manner, the target communication cable carries the POST service, the abnormal judgment parameter corresponding to any network port includes the real-time port status of the any network port, and the any The port state of the network port includes at least an off-hook lock state and an on-hook state. If the network device determines according to the real-time port state of each first network port that the port state of each first network port is switched from the off-hook lock state to the on-hook state, it is determined that the target communication cable is abnormal.
在上述实现中,在目标通信电缆上承载的是POST业务的场景下,由于各网络端口的实时端口状态极易获取并且时效性较好,所以通过判断网络端口的端口状态是否由摘机锁定状态切换至挂机状态的来确定目标通信电缆是否发生异常的方式可保证检测结果的准确性和时效性,在降低异常检测成本的同时可有效提升异常检测的效率和精度。In the above implementation, in the scenario where the target communication cable carries the POST service, since the real-time port status of each network port is easy to obtain and has good timeliness, it is determined whether the port status of the network port is locked by off-hook. The method of switching to the on-hook state to determine whether the target communication cable is abnormal can ensure the accuracy and timeliness of the detection results, and can effectively improve the efficiency and accuracy of abnormal detection while reducing the cost of abnormal detection.
结合上述第一方面,在一种可行的实现方式中,若网络设备确定上述N1个第一网络端口中有N3个第一网络端口的端口状态仍然保持为摘机锁定状态,则可确定目标通信电缆正常。其中,N3为正整数。In combination with the above-mentioned first aspect, in a feasible implementation manner, if the network device determines that the port state of the N3 first network ports in the above-mentioned N1 first network ports is still in the off-hook locked state, it can determine the target communication. Cable is OK. Among them, N3 is a positive integer.
结合第一方面,在一种可行的实现方式中,当任一第一网络端口对应的第一导线和第二导线短路时,所述任一第一网络端口的端口状态为摘机锁定状态。With reference to the first aspect, in a feasible implementation manner, when the first wire and the second wire corresponding to any first network port are short-circuited, the port state of any first network port is an off-hook lock state.
结合第一方面,在一种可行的实现方式中,所述目标通信电缆承载xDSL业务,任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态,所述任一网络端口的端口状态至少包括上线状态和下线状态。若网络设备根据所述各第一网络端口的实时端口状态确定所述各第一网络端口的端口状态均由所述上线状态切换至所述下线状态,则确定所述目标通信电缆异常。With reference to the first aspect, in a feasible implementation manner, the target communication cable carries the xDSL service, and the abnormal decision parameter corresponding to any network port includes the real-time port status of the any network port, and the any network port The port status includes at least the online status and the offline status. If the network device determines according to the real-time port state of each first network port that the port state of each first network port is switched from the online state to the offline state, it is determined that the target communication cable is abnormal.
在上述实现中,在目标通信电缆上承载的是xDSL业务的场景下,由于各网络端口的实时端口状态极易获取并且时效性较好,所以通过判断网络端口的端口状态是否由上线状态切换至下线状态的来确定目标通信电缆是否发生异常的方式可保证检测结果的准确性和时效性,在降低异常检测成本的同时可有效提升异常检测的效率和精度。In the above implementation, in the scenario where the target communication cable carries the xDSL service, since the real-time port status of each network port is easy to obtain and has good timeliness, it is determined whether the port status of the network port is switched from the online status to the online status. The method of determining whether the target communication cable is abnormal in the offline state can ensure the accuracy and timeliness of the detection results, and can effectively improve the efficiency and accuracy of abnormal detection while reducing the cost of abnormal detection.
结合上述第一方面,在一种可行的实现方式中,若网络设备确定上述N1个第一网络端口中有N3个第一网络端口的端口状态仍然保持为上线状态,则可确定目标通信电缆正常。其中,N3为正整数。In combination with the above-mentioned first aspect, in a feasible implementation manner, if the network device determines that the port status of the N3 first network ports in the above-mentioned N1 first network ports is still in the online state, it can be determined that the target communication cable is normal. . Among them, N3 is a positive integer.
结合上述第一方面,在一种可行的实现方式中,若网络设备确定目标通信电缆异常,则可输出第一异常告警信息。With reference to the above-mentioned first aspect, in a feasible implementation manner, if the network device determines that the target communication cable is abnormal, it can output first abnormal alarm information.
第二方面,本申请实施例提供了一种通信电缆的异常检测方法。该方法具体可由网络设备来执行,该网络设备的一个网络端口通过一个通信电缆中的一对导线与一个用户设备相连接。网络设备可获取网络设备的N1个第三网络端口中各第三网络端口对应的异常判决参量。其中,任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态或者所述任一网络端口对应的第一导线与第二导线之间的电气参数实测值,N1为正整数。网络设备可根据所述各第三网络端口对应的异常判决参量以及所述网络设备对应的电缆-网络端口关联关系确定是否存在异常的目标通信电缆。其中,所述电缆-网络端口关联关系用于指示所述网络设备的各个网络端口所连接的通信电缆In a second aspect, an embodiment of the present application provides an abnormality detection method for a communication cable. The method can be specifically performed by network equipment, a network port of the network equipment is connected with a user equipment through a pair of wires in a communication cable. The network device may acquire an abnormality determination parameter corresponding to each of the N1 third network ports of the network device. Wherein, the abnormal judgment parameter corresponding to any network port includes the real-time port status of the any network port or the measured value of the electrical parameters between the first wire and the second wire corresponding to the any network port, and N1 is a positive integer . The network device may determine whether there is an abnormal target communication cable according to the abnormal judgment parameter corresponding to each third network port and the cable-network port association relationship corresponding to the network device. Wherein, the cable-network port association relationship is used to indicate the communication cable connected to each network port of the network device
在上述实现中,网络设备可先确定出N1个第三网络端口,再通过这N1个第三网络端口的实时端口状态或者各第三网络端口所连接的第一导线和第二导线之间的电气参数实测值,以及,网络设备的电缆-网络端口关联关系快速的确定是否存在异常的目标通信电缆。这样就无需外置的检测系统,可降低异常检测成本。并且,由于网络端口的实时端口状态或者所连接的第一导线和第二导线之间的电气参数实测值均为网络设备容易获取到的参量,这样就简化了异常检测的复杂度,可提升异常检测的效率。In the above implementation, the network device may first determine the N1 third network ports, and then use the real-time port status of the N1 third network ports or the connection between the first wire and the second wire connected to each third network port. The measured value of electrical parameters, and the cable-network port correlation of network equipment can quickly determine whether there is an abnormal target communication cable. This eliminates the need for an external detection system and reduces the cost of anomaly detection. Moreover, since the real-time port status of the network port or the measured value of the electrical parameters between the connected first wire and the second wire are parameters that are easily obtained by the network device, the complexity of abnormality detection is simplified, and the abnormality can be improved. detection efficiency.
结合第二方面,在一种可行的实现方式中,所述任一网络端口对应的异常判决参量包括所述任一网络端口对应的第一导线与第二导线之间的电气参数实测值。若网络设备根据所述各第三网络端口对应的异常判断参量确定所述N1个第三网络端口中包含N2个第四网络端口,并且根据所述网络设备对应的电缆-网络端口关联关系确定所述N2个第四网络端口同时连接目标通信电缆,则确定存在异常的所述目标通信电缆。其中,N2为正整数。所述N2个第四网络端口中的任一第四网络端口对应的第一导线与第二导线之间的电气参数实测值不在所述任一第四网络端口对应的电气参数阈值范围内。With reference to the second aspect, in a feasible implementation manner, the abnormality decision parameter corresponding to any network port includes the measured value of the electrical parameter between the first wire and the second wire corresponding to the any network port. If the network device determines that the N1 third network ports include N2 fourth network ports according to the abnormality judgment parameters corresponding to the third network ports, and determines that the N1 third network ports include N2 fourth network ports according to the cable-network port association relationship corresponding to the network device If the N2 fourth network ports are connected to the target communication cable at the same time, it is determined that there is an abnormal target communication cable. Among them, N2 is a positive integer. The measured value of the electrical parameter between the first wire and the second wire corresponding to any fourth network port in the N2 fourth network ports is not within the threshold value range of the electrical parameter corresponding to the any fourth network port.
在上述实现中,网络设备通过能够直接测量得到的各第三网络端口所连接的第一导线与第二导线之间的电气参数测量值以及网络设备的电缆-网络端口对应关系来判断是否存在异常的目标通信电缆,方法简单且易于实现,可有效降低针对通信电缆的异常检测方法的复杂度,可降低异常检测的成本。In the above implementation, the network device determines whether there is an abnormality by directly measuring the electrical parameter measurement value between the first wire and the second wire connected to each third network port and the corresponding relationship between the cable and the network port of the network device. The method is simple and easy to implement, which can effectively reduce the complexity of the abnormal detection method for the communication cable, and can reduce the cost of abnormal detection.
结合第二方面,在一种可行的实现方式中,所述第一导线与第二导线之间的电气参数实测值包括以下中的至少一项:由所述第一导线到所述第二导线测得的电阻值、由所述第二导线到所述第一导线测得的电阻值、所述第一导线与第二导线之间的电容测量值、所述第一导线与接地线之间的电容测量值、所述第二导线与接地线之间的电容测量值、连接在所述第一导线与第二导线之间的预设检测电路对应的电阻测量值、所述预设检测电路对应的电容测量值。With reference to the second aspect, in a feasible implementation manner, the measured value of electrical parameters between the first wire and the second wire includes at least one of the following: from the first wire to the second wire Measured resistance value, measured resistance value from the second wire to the first wire, capacitance measurement between the first wire and the second wire, between the first wire and the ground wire The measured value of capacitance, the measured value of capacitance between the second wire and the ground wire, the measured value of resistance corresponding to the preset detection circuit connected between the first wire and the second wire, the measured value of the preset detection circuit Corresponding capacitance measurement.
结合第二方面,在一种可行的实现方式中,所述预设检测电路为远端标识电路,所述预设检测电路对应的电阻测量值包括由所述第一导线到所述第二导线测得的所述远端标识电路两端的电阻值和/或由所述第二导线到所述第一导线测得的所述远端标识电路两端的电阻值,所述预设检测电路对应的电容测量值包括由所述第一导线到所述第二导线测得的所述远端标识电路两端的电容值。With reference to the second aspect, in a feasible implementation manner, the preset detection circuit is a remote identification circuit, and the resistance measurement value corresponding to the preset detection circuit includes a resistance measurement value from the first wire to the second wire The measured resistance value at both ends of the remote identification circuit and/or the resistance value at both ends of the remote identification circuit measured from the second wire to the first wire, the preset detection circuit corresponds to Capacitance measurements include capacitance values across the remote identification circuit measured from the first lead to the second lead.
结合第二方面,在一种可行的实现方式中,所述网络设备的通信电缆用于承载POST业务,任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态,所述任一网络端口的端口状态至少包括摘机锁定状态和挂机状态。若网络设备根据所述各第三网络端口对应的异常判断参量确定所述N1个第三网络端口中包含N2个第四网络端口,并且根据所述网络设备对应的电缆-网络端口关联关系确定所述N2个第四网络端口同时连接目标通信电缆,则确定存在异常的所述目标通信电缆。其中,N2为正整数。所述N2个第四网络端口中的任一第四网络端口的端口状态由所述摘机锁定状态切换至所述挂机状态。With reference to the second aspect, in a feasible implementation manner, the communication cable of the network device is used to carry the POST service, and the abnormal judgment parameter corresponding to any network port includes the real-time port status of the any network port, and the The port state of any network port includes at least off-hook lock state and on-hook state. If the network device determines that the N1 third network ports include N2 fourth network ports according to the abnormality judgment parameters corresponding to the third network ports, and determines that the N1 third network ports include N2 fourth network ports according to the cable-network port association relationship corresponding to the network device If the N2 fourth network ports are connected to the target communication cable at the same time, it is determined that there is an abnormal target communication cable. Among them, N2 is a positive integer. The port state of any fourth network port in the N2 fourth network ports is switched from the off-hook lock state to the on-hook state.
在上述实现中,在网络设备的通信电缆上承载的是POST业务的场景下,由于各网络端口的实时端口状态极易获取并且时效性较好,所以基于网络端口的端口状态来确定是否存在异常的目标通信电缆的方式可保证检测结果的准确性和时效性,在降低异常检测成本的同时可有效提升异常检测的效率和精度。In the above implementation, in the scenario where the POST service is carried on the communication cable of the network device, since the real-time port status of each network port is easy to obtain and the timeliness is good, whether there is an abnormality is determined based on the port status of the network port The target communication cable method can ensure the accuracy and timeliness of the detection results, and can effectively improve the efficiency and accuracy of anomaly detection while reducing the cost of anomaly detection.
结合第二方面,在一种可行的实现方式中,当任一第三网络端口对应的第一导线和第二导线短路时,所述任一第三网络端口的端口状态为所述摘机锁定状态。With reference to the second aspect, in a feasible implementation manner, when the first wire and the second wire corresponding to any third network port are short-circuited, the port state of any third network port is the off-hook lock state.
结合第二方面,在一种可行的实现方式中,所述网络设备的通信电缆用于承载xDSL业务,任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态,所述任一网络端口的端口状态至少包括上线状态和下线状态。若网络设备根据所述各第三网络端口对应的异常判断参量确定所述N1个第三网络端口中包含N2个第四网络端口,并且根据所述网络设备对应的电缆-网络端口关联关系确定所述N2个第四网络端口同时连接目标通信电缆,则确定存在异常的所述目标通信电缆。其中,N2为正整数。所述N2个第四网络端口中的任一第四网络端口的端口状态由所述上线状态切换至所述下线状态。With reference to the second aspect, in a feasible implementation manner, the communication cable of the network device is used to carry the xDSL service, and the abnormal decision parameter corresponding to any network port includes the real-time port status of the any network port, and the The port status of any network port includes at least the online status and the offline status. If the network device determines that the N1 third network ports include N2 fourth network ports according to the abnormality judgment parameters corresponding to the third network ports, and determines that the N1 third network ports include N2 fourth network ports according to the cable-network port association relationship corresponding to the network device If the N2 fourth network ports are connected to the target communication cable at the same time, it is determined that there is an abnormal target communication cable. Among them, N2 is a positive integer. The port state of any fourth network port in the N2 fourth network ports is switched from the online state to the offline state.
在上述实现中,在网络设备的通信电缆上承载的是xDSL业务的场景下,由于各网络端口的实时端口状态极易获取并且时效性较好,所以基于网络端口的端口状态来确定是否存在异常的目标通信电缆的方式可保证检测结果的准确性和时效性,在降低异常检测成本的同时可有效提升异常检测的效率和精度。In the above implementation, in the scenario where the communication cable of the network device carries the xDSL service, since the real-time port status of each network port is easy to obtain and the timeliness is good, whether there is an abnormality is determined based on the port status of the network port The target communication cable method can ensure the accuracy and timeliness of the detection results, and can effectively improve the efficiency and accuracy of anomaly detection while reducing the cost of anomaly detection.
结合上述第二方面,在一种可行的实现方式中,若网络设备确定存在异常的目标通信电缆,则可输出第二异常告警信息。With reference to the above second aspect, in a feasible implementation manner, if the network device determines that there is an abnormal target communication cable, it can output second abnormal alarm information.
第三方面,本申请提供了一种异物检测装置,该异物检测装置可以为网络设备本身或者网络设备内部的模块或者单元。所述异常检测装置包括处理单元和异常判决参量获取单元。所述处理单元用于根据网络设备对应的电缆-网络端口关联关系确定与目标通信电缆相连接的N1个第一网络端口。其中,所述电缆-网络端口关联关系用于指示所述网络设备的各个网络端口所连接的通信电缆,所述网络设备一个网络端口通过一根通信电缆中的一对导线与一个用户设备相连接。异常判决参量获取单元用于获取所述N1个第一网络端口中各第一网络端口对应的异常判决参量。其中,任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态或者所述任一网络端口对应的第一导线与第二导线之间的电气参数实测值。所述处理单元还用于根据所述各第一网络端口对应的异常判决参量确定所述目标通信电缆是否异常。In a third aspect, the present application provides a foreign object detection device, and the foreign object detection device may be a network device itself or a module or unit inside the network device. The abnormality detection device includes a processing unit and an abnormality decision parameter acquisition unit. The processing unit is configured to determine N1 first network ports connected to the target communication cable according to the cable-network port association relationship corresponding to the network device. Wherein, the cable-network port association relationship is used to indicate the communication cable connected to each network port of the network device, and a network port of the network device is connected to a user equipment through a pair of wires in a communication cable . The abnormal decision parameter obtaining unit is configured to obtain the abnormal decision parameter corresponding to each of the first network ports in the N1 first network ports. Wherein, the abnormal judgment parameter corresponding to any network port includes the real-time port status of the any network port or the measured value of the electrical parameter between the first wire and the second wire corresponding to the any network port. The processing unit is further configured to determine whether the target communication cable is abnormal according to the abnormality judgment parameter corresponding to each of the first network ports.
结合第三方面,在一种可行的实现方式中,所述任一网络端口对应的异常判决参量包括所述任一网络端口对应的第一导线与第二导线之间的电气参数实测值。所述处理单元若确定所述各第一网络端口对应的第一导线与第二导线之间的电气参数的实测值不在所述各第一网络端口对应的电气参数阈值范围内,则确定所述目标通信电缆异常。With reference to the third aspect, in a feasible implementation manner, the abnormality determination parameter corresponding to any network port includes the measured value of the electrical parameter between the first wire and the second wire corresponding to the any network port. If the processing unit determines that the measured value of the electrical parameter between the first wire corresponding to each first network port and the second wire is not within the threshold range of the electrical parameter corresponding to each first network port, then determine the The target communication cable is abnormal.
结合第三方面,在一种可行的实现方式中,所述任一网络端口对应的异常判决参量包括所述任一网络端口对应的第一导线与第二导线之间的电气参数实测值。所述处理单元若确定所述各第一网络端口对应的第一导线与第二导线之间的电气参数的实测值不在所述各第一网络端口对应的电气参数阈值范围内,则控制所述异常参量获取单元获取所述目标通信电缆所连接的N2个第二网络端口中各第二网络端口对应的第一导线与第二导线之间的电气参数实测值。其中,N2为正整数。所述处理单元若确定所述各第二网络端口对应的第一导线与第二导线之间的电气参数实测值不在所述各第二网络端口对应的电气参数阈值范围内,则确定所述目标通信电缆异常。With reference to the third aspect, in a feasible implementation manner, the abnormality determination parameter corresponding to any network port includes the measured value of the electrical parameter between the first wire and the second wire corresponding to the any network port. If the processing unit determines that the measured value of the electrical parameter between the first wire and the second wire corresponding to each first network port is not within the threshold range of the electrical parameter corresponding to each first network port, control the The abnormal parameter obtaining unit obtains the measured values of electrical parameters between the first wire and the second wire corresponding to each of the N2 second network ports connected to the target communication cable. Among them, N2 is a positive integer. If the processing unit determines that the measured value of the electrical parameter between the first wire and the second wire corresponding to each second network port is not within the threshold range of the electrical parameter corresponding to each second network port, then determine the target The communication cable is abnormal.
结合第三方面,在一种可行的实现方式中,所述处理单元还用于:若确定所述各第二网络端口对应的第一导线与第二导线之间的电气参数的实测值在所述各第二网络端口对应的电气参数阈值范围内,则根据所述各第一网络端口对应的第一导线与第二导线之间的电气参数实测值对所述各第一网络端口对应的电气参数阈值范围进行更新。With reference to the third aspect, in a feasible implementation manner, the processing unit is further configured to: if it is determined that the measured value of the electrical parameter between the first wire and the second wire corresponding to each second network port is in the Within the range of the electrical parameter thresholds corresponding to the second network ports, the electrical parameters corresponding to the first network ports are determined according to the measured values of the electrical parameters between the first and second wires corresponding to the first network ports. The parameter threshold range is updated.
结合第三方面,在一种可行的实现方式中,所述第一导线与第二导线之间的电气参数实测值包括以下中的至少一项:由所述第一导线到所述第二导线测得的电阻值、由所述第二导线到所述第一导线测得的电阻值、所述第一导线与第二导线之间的电容测量值、所述第一导线与接地线之间的电容测量值、所述第二导线与接地线之间的电容测量值、连接在所述第一导线与第二导线之间的预设检测电路对应的电阻测量值、所述预设检测电路对应的电容测量值。With reference to the third aspect, in a feasible implementation manner, the measured value of electrical parameters between the first wire and the second wire includes at least one of the following: from the first wire to the second wire Measured resistance value, measured resistance value from the second wire to the first wire, capacitance measurement between the first wire and the second wire, between the first wire and the ground wire The measured value of capacitance, the measured value of capacitance between the second wire and the ground wire, the measured value of resistance corresponding to the preset detection circuit connected between the first wire and the second wire, the measured value of the preset detection circuit Corresponding capacitance measurement.
结合第三方面,在一种可行的实现方式中,所述预设检测电路为远端标识电路,所述预设检测电路对应的电阻测量值包括由所述第一导线到所述第二导线测得的所述远端标识电路两端的电阻值和/或由所述第二导线到所述第一导线测得的所述远端标识电路两端的电阻值,所述预设检测电路对应的电容测量值包括由所述第一导线到所述第二导线测得的所述远端标识电路两端的电容值。With reference to the third aspect, in a feasible implementation manner, the preset detection circuit is a remote identification circuit, and the resistance measurement value corresponding to the preset detection circuit includes a value from the first wire to the second wire. The measured resistance value at both ends of the remote identification circuit and/or the resistance value at both ends of the remote identification circuit measured from the second wire to the first wire, the preset detection circuit corresponds to Capacitance measurements include capacitance values across the remote identification circuit measured from the first lead to the second lead.
结合第三方面,在一种可行的实现方式中,所述目标通信电缆承载POST业务,所述任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态,所述任一网络端口的端口状态至少包括摘机锁定状态和挂机状态。所述处理单元用于若根据所述各第一网络端口的实时端口状态确定所述各第一网络端口的端口状态均由所述摘机锁定状态切换至所述挂机状态,则确定所述目标通信电缆异常。With reference to the third aspect, in a feasible implementation manner, the target communication cable carries the POST service, the abnormal judgment parameter corresponding to any network port includes the real-time port status of the any network port, and the any The port state of the network port includes at least an off-hook lock state and an on-hook state. The processing unit is configured to determine the target if it is determined according to the real-time port state of each first network port that the port state of each first network port is switched from the off-hook lock state to the on-hook state The communication cable is abnormal.
结合第三方面,在一种可行的实现方式中,当任一第一网络端口对应的第一导线和第二导线短路时,所述任一第一网络端口的端口状态为摘机锁定状态。With reference to the third aspect, in a feasible implementation manner, when the first wire and the second wire corresponding to any first network port are short-circuited, the port state of any first network port is an off-hook lock state.
结合第三方面,在一种可行的实现方式中,所述目标通信电缆承载xDSL业务,任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态,所述任一网络端口的端口状态至少包括上线状态和下线状态。所述处理单元用于:若根据所述各第一网络端口的实时端口状态确定所述各第一网络端口的端口状态均由所述上线状态切换至所述下线状态,则确定所述目标通信电缆异常。With reference to the third aspect, in a feasible implementation manner, the target communication cable carries the xDSL service, and the abnormal decision parameter corresponding to any network port includes the real-time port status of the any network port, and the any network port The port status includes at least the online status and the offline status. The processing unit is configured to: determine the target if it is determined according to the real-time port state of each first network port that the port state of each first network port is switched from the online state to the offline state The communication cable is abnormal.
第四方面,本申请提供了一种异物检测装置,该异物检测装置可以为网络设备本身或者网络设备内部的模块或者单元。所述异常检测装置包括处理单元和异常判决参量获取单元。所述异常判决参量获取单元用于获取网络设备的N1个第三网络端口中各第三网络端口对应的异常判决参量。其中,任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态或者所述任一网络端口对应的第一导线与第二导线之间的电气参数实测值,所述网络设备一个网络端口通过一根通信电缆中的一对导线与一个用户设备相连接,N1为正整数。所述处理单元用于根据所述各第三网络端口对应的异常判决参量以及所述网络设备对应的电缆-网络端口关联关系确定是否存在异常的目标通信电缆。其中,所述电缆-网络端口关联关系用于指示所述网络设备的各个网络端口所连接的通信电缆。In a fourth aspect, the present application provides a foreign object detection device, and the foreign object detection device may be a network device itself or a module or unit inside the network device. The abnormality detection device includes a processing unit and an abnormality decision parameter acquisition unit. The abnormal decision parameter obtaining unit is configured to obtain abnormal decision parameters corresponding to each of the third network ports in the N1 third network ports of the network device. Wherein, the abnormal judgment parameter corresponding to any network port includes the real-time port status of the any network port or the measured value of the electrical parameter between the first wire and the second wire corresponding to the any network port, and the network device A network port is connected to a user equipment through a pair of wires in a communication cable, and N1 is a positive integer. The processing unit is configured to determine whether there is an abnormal target communication cable according to the abnormal judgment parameter corresponding to each third network port and the cable-network port association relationship corresponding to the network device. Wherein, the cable-network port association relationship is used to indicate the communication cable connected to each network port of the network device.
结合第四方面,在一种可行的实现方式中,所述任一网络端口对应的异常判决参量包括所述任一网络端口对应的第一导线与第二导线之间的电气参数实测值。所述处理单元用于:若根据所述各第三网络端口对应的异常判断参量确定所述N1个第三网络端口中包含N2个第四网络端口,并且根据所述网络设备对应的电缆-网络端口关联关系确定所述N2个第四网络端口同时连接目标通信电缆,则确定存在异常的所述目标通信电缆。其中,N2为正整数。所述N2个第四网络端口中的任一第四网络端口对应的第一导线与第二导线之间的电气参数实测值不在所述任一第四网络端口对应的电气参数阈值范围内。With reference to the fourth aspect, in a feasible implementation manner, the abnormality determination parameter corresponding to any network port includes the measured value of the electrical parameter between the first wire and the second wire corresponding to the any network port. The processing unit is configured to: if it is determined that the N1 third network ports include N2 fourth network ports according to the abnormality judgment parameters corresponding to the third network ports, and the cable-network corresponding to the network device If the port association relationship determines that the N2 fourth network ports are connected to the target communication cable at the same time, it is determined that there is an abnormal target communication cable. Among them, N2 is a positive integer. The measured value of the electrical parameter between the first wire and the second wire corresponding to any fourth network port in the N2 fourth network ports is not within the threshold value range of the electrical parameter corresponding to the any fourth network port.
结合第四方面,在一种可行的实现方式中,所述第一导线与第二导线之间的电气参数实测值包括以下中的至少一项:由所述第一导线到所述第二导线测得的电阻值、由所述第二导线到所述第一导线测得的电阻值、所述第一导线与第二导线之间的电容测量值、所述第一导线与接地线之间的电容测量值、所述第二导线与接地线之间的电容测量值、连接在所述第一导线与第二导线之间的预设检测电路对应的电阻测量值、所述预设检测电路对应的电容测量值。With reference to the fourth aspect, in a feasible implementation manner, the measured value of electrical parameters between the first wire and the second wire includes at least one of the following: from the first wire to the second wire Measured resistance value, measured resistance value from the second wire to the first wire, capacitance measurement between the first wire and the second wire, between the first wire and the ground wire The measured value of capacitance, the measured value of capacitance between the second wire and the ground wire, the measured value of resistance corresponding to the preset detection circuit connected between the first wire and the second wire, the measured value of the preset detection circuit Corresponding capacitance measurement.
结合第四方面,在一种可行的实现方式中,所述预设检测电路为远端标识电路,所述预设检测电路对应的电阻测量值包括由所述第一导线到所述第二导线测得的所述远端标识电路两端的电阻值和/或由所述第二导线到所述第一导线测得的所述远端标识电路两端的电阻值,所述预设检测电路对应的电容测量值包括由所述第一导线到所述第二导线测得的所述远端标识电路两端的电容值。With reference to the fourth aspect, in a feasible implementation manner, the preset detection circuit is a remote identification circuit, and the resistance measurement value corresponding to the preset detection circuit includes a resistance measurement value from the first wire to the second wire The measured resistance value at both ends of the remote identification circuit and/or the resistance value at both ends of the remote identification circuit measured from the second wire to the first wire, the preset detection circuit corresponds to Capacitance measurements include capacitance values across the remote identification circuit measured from the first lead to the second lead.
结合第四方面,在一种可行的实现方式中,所述网络设备的通信电缆用于承载传统电话业务POST,任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态,所述任一网络端口的端口状态至少包括摘机锁定状态和挂机状态。所述处理单元用于:若根据所述各第三网络端口对应的异常判断参量确定所述N1个第三网络端口中包含N2个第四网络端口,并且根据所述网络设备对应的电缆-网络端口关联关系确定所述N2个第四网络端口同时连接目标通信电缆,则确定存在异常的所述目标通信电缆。其中,N2为正整数。所述N2个第四网络端口中的任一第四网络端口的端口状态由所述摘机锁定状态切换至所述挂机状态。With reference to the fourth aspect, in a feasible implementation manner, the communication cable of the network device is used to carry the traditional telephone service POST, and the abnormal judgment parameter corresponding to any network port includes the real-time port status of the any network port, The port state of any network port includes at least an off-hook lock state and an on-hook state. The processing unit is configured to: if it is determined that the N1 third network ports include N2 fourth network ports according to the abnormality judgment parameters corresponding to the third network ports, and the cable-network corresponding to the network device If the port association relationship determines that the N2 fourth network ports are connected to the target communication cable at the same time, it is determined that there is an abnormal target communication cable. Among them, N2 is a positive integer. The port state of any fourth network port in the N2 fourth network ports is switched from the off-hook lock state to the on-hook state.
结合第四方面,在一种可行的实现方式中,当任一第三网络端口对应的第一导线和第二导线短路时,所述任一第三网络端口的端口状态为所述摘机锁定状态。With reference to the fourth aspect, in a feasible implementation manner, when the first wire and the second wire corresponding to any third network port are short-circuited, the port state of any third network port is the off-hook lock state.
结合第四方面,在一种可行的实现方式中,所述网络设备的通信电缆用于承载x数字用户线xDSL业务,任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态,所述任一网络端口的端口状态至少包括上线状态和下线状态。所述处理单元用于:若根据所述各第三网络端口对应的异常判断参量确定所述N1个第三网络端口中包含N2个第四网络端口,并且根据所述网络设备对应的电缆-网络端口关联关系确定所述N2个第四网络端口同时连接目标通信电缆,则确定存在异常的所述目标通信电缆。其中,N2为正整数。所述N2个第四网络端口中的任一第四网络端口的端口状态由所述上线状态切换至所述下线状态。With reference to the fourth aspect, in a feasible implementation manner, the communication cable of the network device is used to carry x digital subscriber line xDSL services, and the abnormal judgment parameter corresponding to any network port includes the real-time port of the any network port. state, the port state of any network port includes at least an online state and an offline state. The processing unit is configured to: if it is determined that the N1 third network ports include N2 fourth network ports according to the abnormality judgment parameters corresponding to the third network ports, and the cable-network corresponding to the network device If the port association relationship determines that the N2 fourth network ports are connected to the target communication cable at the same time, it is determined that there is an abnormal target communication cable. Among them, N2 is a positive integer. The port state of any fourth network port in the N2 fourth network ports is switched from the online state to the offline state.
第五方面,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,所述指令可以由处理电路上的一个或多个处理器执行。当其在计算机上运行时,使得计算机执行上述第一方面或者第二方面中任意一种可行的实现方式所提供的通信电缆的异常检测方法。In a fifth aspect, the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and the instructions can be executed by one or more processors on a processing circuit. When it runs on a computer, the computer is made to execute the method for detecting abnormality of a communication cable provided by any feasible implementation manner of the first aspect or the second aspect.
第六方面,本申请提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面或者第二方面中任意一种可行的实现方式所提供的通信电缆的异常检测方法。In a sixth aspect, the present application provides a computer program product containing instructions, which, when run on a computer, enables the computer to execute the communication cable provided by any feasible implementation manner of the first aspect or the second aspect. Anomaly detection method.
第七方面,本申请实施例提供了一种异常检测装置,该异常检测装置可为网络设备或者网络设备中的至少一个模块或者单元。该异常检测装置包括至少一个存储器和处理器。其中,处理器用于调用存储器存储的代码,使得该异常检测装置执行上述第一方面或者第二方面中任意一种可行的实现方式所提供的通信电缆的异常检测方法。In a seventh aspect, an embodiment of the present application provides an anomaly detection apparatus, where the anomaly detection apparatus may be a network device or at least one module or unit in the network device. The anomaly detection apparatus includes at least one memory and a processor. Wherein, the processor is configured to call the code stored in the memory, so that the abnormality detection apparatus executes the abnormality detection method of a communication cable provided by any feasible implementation manner of the first aspect or the second aspect.
第八方面,本申请实施例提供一种芯片或芯片系统,包括输入输出接口和处理电路,所述输入输出接口用于交互信息或数据,所述处理电路用于运行指令,以使得安装所述芯片或芯片系统的装置执行上述第一方面或者第二方面中任意一种可行的实现方式所提供的通信电缆的异常检测方法。In an eighth aspect, an embodiment of the present application provides a chip or a chip system, including an input and output interface and a processing circuit, the input and output interface is used for exchanging information or data, and the processing circuit is used for running instructions, so that the installation of the The device of a chip or a chip system executes the abnormality detection method of a communication cable provided by any one of the feasible implementation manners of the first aspect or the second aspect.
附图说明Description of drawings
图1是本申请实施例提供的一种通信系统一结构示意图;1 is a schematic structural diagram of a communication system provided by an embodiment of the present application;
图2是本申请实施例提供的一种通信电缆的异常检测方法一流程示意图;2 is a schematic flowchart of a method for detecting abnormality of a communication cable according to an embodiment of the present application;
图3是本申请实施例提供的一种通信系统又一结构示意图;3 is another schematic structural diagram of a communication system provided by an embodiment of the present application;
图4是本申请实施例提供的一种通信系统又一结构示意图;FIG. 4 is another schematic structural diagram of a communication system provided by an embodiment of the present application;
图5是本申请实施例提供的一种通信电缆的异常检测方法又一流程示意图;FIG. 5 is another schematic flowchart of an abnormality detection method for a communication cable provided by an embodiment of the present application;
图6是本申请实施例提供的一种异物检测装置的结构示意图;6 is a schematic structural diagram of a foreign body detection device provided by an embodiment of the present application;
图7是本申请实施例提供的又一种异物检测装置的结构示意图。FIG. 7 is a schematic structural diagram of another foreign object detection device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例提供的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings provided in the embodiments of the present application.
请参见图1,图1是本申请实施例提供的一种通信系统一结构示意图。本申请提供的通信电缆的异常检测方法即适用于该通信系统。如图1所示,该通信系统中主要可包括一个网络设备以及多个用户设备(如图1中所示的用户设备1、用户设备2等)。其中,该网络设备可包括多个端口(为方便理解,下文将以网络端口代替描述),如图1所示的网络端口0、网络端口1等。在实际应用中,网络设备的所有网络端口中的部分网络端口是通过一根通信电缆与多个用户设备建立通信连接的。如图1中所示,网络设备的网络端口0到网络端口99这100个网络端口即是通过第一通信电缆与用户设备0到用户设备99这100个用户设备一一相连,而网络设备的网络端口100到网络端口199这100个网络端口即是通过第二通信电缆与用户设备100到用户设备199这100个用户设备一一相连。可以理解到的是,图1仅是示例,网络设备实际上还可包括更多的网络端口,并可通过更多的通信电缆与更多的用户设备建立通信连接,本申请对通信系统中的网络设备的网络端口的数量、用户设备的数量以及二者之间的通信电缆的数量不作具体限制。在实际实现中,网络设备的每一个网络端口都是通过一根通信电缆中的一对导线(又可称为线对,这里假设包括第一导线和第二导线)与一个用户设备相连接的。在实际使用时,每一个网络端口对应的一对导线可采用不同颜色色序的绝缘皮并均匀地绞合成线对。需要说明的是,对于某一个网络端口来说,其对应的第一导线和第二导线又可称之为A线和B线,为了方便理解,后文将统一以第一导线和第二导线代替描述。如图1所述,网络端口0就是通过第一通信电缆中的第一导线01和第二导线02与用户设备0相连接的。这里,网络设备的其他网络端口与用户设备之间的连接关系预置相类似,此处便不再赘述。Please refer to FIG. 1. FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application. The abnormality detection method of the communication cable provided by the present application is suitable for the communication system. As shown in FIG. 1 , the communication system may mainly include one network device and multiple user equipments (such as user equipment 1 and user equipment 2 as shown in FIG. 1 ). Wherein, the network device may include a plurality of ports (for ease of understanding, the description will be replaced by network ports below), such as network port 0, network port 1, etc. as shown in FIG. 1 . In practical applications, some network ports of all network ports of a network device establish a communication connection with a plurality of user equipments through a communication cable. As shown in FIG. 1 , the 100 network ports from the network port 0 to the
需要补充说明的是,上述网络设备具体可以是交换机、本地通信服务器等通过通信电缆与用户设备直连的设备。上述各个用户设备具体可以是有线电话、数字电视等需要使用通信电缆的设备。本申请对网络设备和用户设备的具体实现形态不作具体限制,后文也将统一用网络设备和用户设备来代替描述。上述通信电缆具体可以为铜制线缆、光电复合缆等,本申请对此不作具体限制。It should be supplemented that the above-mentioned network device may specifically be a device that is directly connected to the user equipment through a communication cable, such as a switch, a local communication server, and the like. Each of the above-mentioned user equipments may specifically be wired telephones, digital televisions, and other equipments that need to use communication cables. This application does not specifically limit the specific implementation forms of the network equipment and the user equipment, and the description will be replaced by the network equipment and the user equipment uniformly in the following text. The above-mentioned communication cable may specifically be a copper cable, an optoelectronic composite cable, etc., which is not specifically limited in this application.
在实际应用中,为了检测出网络设备与用户设备之间的通信电缆的异常并提醒相关人员进行维护,通常会在通信电缆外置一套复杂的异常检测系统,通过该检测系统中的控制器和传感器来检测通信线缆是否出现异常。这种针对通信线缆外置检测系统的方式无疑会导致通信电缆的使用及维护成本增加,所以,现有的针对通信线缆的异常检测方案的适用性和实用性较差。In practical applications, in order to detect the abnormality of the communication cable between the network equipment and the user equipment and remind the relevant personnel to maintain it, a complex abnormality detection system is usually installed outside the communication cable. and sensor to detect whether the communication cable is abnormal. This method for the external detection system for the communication cable will undoubtedly increase the use and maintenance cost of the communication cable. Therefore, the existing anomaly detection solution for the communication cable has poor applicability and practicability.
因此,本申请要解决的技术问题是:如何简单且准确的判断出通信电缆是否出现异常,以降低通信电缆的异常检测的成本,提升通信线缆的异常检测方法的适用性和实用性。Therefore, the technical problem to be solved by this application is: how to simply and accurately determine whether a communication cable is abnormal, so as to reduce the cost of abnormality detection of the communication cable and improve the applicability and practicability of the abnormality detection method of the communication cable.
实施例一Example 1
请参见图2,图2是本申请实施例提供的一种通信电缆的异常检测方法一流程示意图。该方法适用于图1所示的通信系统,并具体可由图1中的网络设备来执行,下文也将结合图1所示的通信系统对本申请实施例提供的通信电缆的异常检测方法进行详细的描述。如图2所示,该异常检测方法可包括以下步骤:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a method for detecting abnormality of a communication cable according to an embodiment of the present application. This method is applicable to the communication system shown in FIG. 1 , and can be specifically executed by the network device shown in FIG. 1 . The method for detecting abnormality of the communication cable provided by the embodiment of the present application will also be described in detail below with reference to the communication system shown in FIG. 1 . describe. As shown in Figure 2, the abnormality detection method may include the following steps:
S201,网络设备根据网络设备对应的电缆-网络端口关联关系确定出目标通信电缆所连接的N1个第一网络端口。S201, the network device determines N1 first network ports connected to the target communication cable according to the cable-network port association relationship corresponding to the network device.
在一些可行的实现方式中,在确定需要进行通信电缆的异常检测后,网络设备可从其连接的一根或者多根通信电缆中选择出一个通信线缆并确定为目标通信电缆,然后再根据其对应的电缆-网络端口关联关系确定出与该目标通信电缆相连接的N1个网络端口(为了方便区别,下文将以第一网络端口代替描述)。这里,N1为正整数。上述网络设备对应的电缆-网络端口关联关系用于指示网络设备的每个网络端口所连接的通信电缆。例如,如图1所示,该网络设备对应的电缆-网络端口关联关系即可指示网络设备的网络端口0到网络端口99这100个网络端口连接的是第一通信电缆,网络设备的网络端口100到网络端口199这100个网络端口连接的是第二通信电缆。需要说明的是,上述N1个第一网络端口可以是目标通信电缆所连接的所有网络端口,也可以是目标通信电缆所连接的部分网络端口,本申请对此不作限定。In some feasible implementation manners, after it is determined that the abnormality detection of the communication cable is required, the network device may select a communication cable from one or more communication cables connected to it and determine it as the target communication cable, and then according to The corresponding cable-network port association relationship determines N1 network ports connected to the target communication cable (for the convenience of distinction, the description will be replaced by the first network port below). Here, N1 is a positive integer. The cable-network port association relationship corresponding to the above network device is used to indicate the communication cable connected to each network port of the network device. For example, as shown in FIG. 1 , the cable-network port association relationship corresponding to the network device can indicate that the 100 network ports of the network device from network port 0 to network
具体实现中,当网络设备确定预设的检测触发条件满足时,即可确定需要进行通信电缆的异常检测。这里,上述检测触发条件具体可以是预设检测时刻到达,也可以是接收到用户输入的异常检测控制指令,还可以是检测到某些用户设备反馈的异常报告等,本申请对此不作具体限制。然后,网络设备可从其连接的一根或者多根通信电缆中选择出一个通信线缆来作为目标通信电缆。然后,网络设备可提取到其对应的电缆-网络端口关联关系。这里,该电缆-网络端口关联关系可以是网络设备预配置的,也可以是网络设备从其连接的其他设备处实时获取到的,本申请对网络设备获取其对应的电缆-网络端口关联关系的方式不作具体限制。然后,网络设备可从其对应的电缆-网络端口关联关系中查找到上述目标通信电缆所连接的所有网络端口,并从目标通信电缆所连接的所有网络端口中确定出上述N1个第一网络端口。例如,当网络设备确定的目标通信电缆为上述第一通信电缆并且N1等于5时,则网络设备可将目标通信电缆所连接的网络端口0、网络端口1、网络端口2、网络端口3和网络端口4这5个网络端口确定为上述N1个第一网络端口。In specific implementation, when the network device determines that the preset detection trigger condition is satisfied, it can determine that the abnormality detection of the communication cable is required. Here, the above-mentioned detection trigger condition may specifically be the arrival of the preset detection time, or the abnormality detection control instruction input by the user is received, or the abnormality report fed back by some user equipment is detected, etc., which is not specifically limited in this application. . Then, the network device may select a communication cable from among the one or more communication cables to which it is connected as the target communication cable. The network device can then extract its corresponding cable-network port association. Here, the cable-network port association relationship may be pre-configured by the network device, or may be acquired by the network device in real time from other devices connected to it. The method is not specifically limited. Then, the network device can find all network ports connected to the target communication cable from its corresponding cable-network port association, and determine the N1 first network ports from among all the network ports connected to the target communication cable . For example, when the target communication cable determined by the network device is the above-mentioned first communication cable and N1 is equal to 5, the network device can connect the network port 0, network port 1, network port 2, network port 3 and network port to which the target communication cable is connected The five network ports of port 4 are determined as the above N1 first network ports.
S202,网络设备获取N1个第一网络端口中各第一网络端口对应的异常判决参量。S202, the network device acquires an abnormality determination parameter corresponding to each of the first network ports in the N1 first network ports.
在一些可行的实现方式中,在确定出与目标通信电缆连接的N1个第一网络端口后,网络设备可获取到上述N1个第一网络端口中各第一网络端口对应的异常判决参量。这里需要说明的,在本申请实施例中,网络设备的任一网络端口对应的异常判决参量具体可包括该任一网络端口的实时端口状态或者该任一网络端口所连接的第一导线与第二导线之间的电气参数实测值。In some feasible implementation manners, after determining the N1 first network ports connected to the target communication cable, the network device may acquire the abnormality judgment parameter corresponding to each of the above N1 first network ports. It should be noted here that, in this embodiment of the present application, the abnormal decision parameter corresponding to any network port of the network device may specifically include the real-time port status of the any network port or the first wire connected to the any network port and the first wire The measured value of the electrical parameters between the two wires.
具体实现中,网络设备在确定出上述N1个第一网络端口后,即可从外线检测模块处获取到各第一网络端口对应的异常判决参量。这里,上述外线检测模块主要用于对网络设备的各个网络端口的端口状态或者连接的第一导线与第二导线之间的电气参数进行实时的检测并生成相应的异常判决参量。该外线检测模块可包含在上述网络设备内部,也可为与网络设备相互独立的模块,本申请对此不作具体限定。In a specific implementation, after determining the above N1 first network ports, the network device can acquire the abnormality judgment parameters corresponding to each first network port from the outside line detection module. Here, the above-mentioned outside line detection module is mainly used to perform real-time detection on the port status of each network port of the network device or the electrical parameters between the connected first wire and the second wire, and generate corresponding abnormal judgment parameters. The outside line detection module may be included in the above-mentioned network device, or may be a module independent of the network device, which is not specifically limited in this application.
这里需要说明的是,前文所述的任一网络端口的实时端口状态就是网络设备实时获取到的该任一网络端口当前的端口状态。在实际实现中,任一网络端口可存在多种不同的端口状态,这通常与该任一网络端口所连接的通信电缆所承载的通信业务(这里也可以理解为该任一网络端口所承载的通信业务)的业务类型相关。例如,以图1中的网络端口0和其连接的第一通信电缆为例。在第一通信电缆承载的是POST业务的场景下,网络端口0可至少包括摘机锁定状态和挂机状态这两种端口状态。在第一通信电缆承载的是xDSL业务的场景下,网络端口0可至少包括上线状态和下线状态这两种端口状态。It should be noted here that the real-time port state of any network port mentioned above is the current port state of the any network port obtained by the network device in real time. In actual implementation, any network port may have a variety of different port states, which is usually related to the communication service carried by the communication cable connected to the any network port (here, it can also be understood as the load carried by the any network port). communication service) is related to the service type. For example, take the network port 0 in FIG. 1 and the first communication cable connected thereto as an example. In the scenario that the first communication cable carries the POST service, the network port 0 may include at least two port states of an off-hook lock state and an on-hook state. In a scenario where the first communication cable carries an xDSL service, the network port 0 may at least include two port states of an online state and an offline state.
还需要说明的是,前文所述的任一网络端口的第一导线与第二导线之间的电气参数实测值即为网络设备对任一网络端口的第一导线与第二导线的电气参数进行实时的测量所得到的电气参数测量值。具体实现中的,上述第一导线与第二导线之间的电气参数实测值可包括以下多项中的至少一项:由第一导线到第二导线测得的电阻值(即阻值测量方向是由第一导线向第二导线)、由第二导线到第一导线测得的电阻值(即阻值测量方向是由第二导线向第一导线)、第一导线与第二导线之间的电容测量值、第一导线与网络设备的接地线之间的电容测量值、第二导线与网络设备的接地线之间的电容测量值、连接在第一导线与第二导线之间的预设检测电路所对应的电阻测量值或者电容测量值。这里需要说明的是,在第一导线和第二导线之间的测得的电阻值本质上就是第一导线与第二导线所连接的用户设备的等效电阻值,而用户设备内部可能会包含一个或者多个具有正负极性的元器件(如二极管、电解电容等),所以针对第一导线与第二导线之间的阻值的测量可以有两个阻值测量方向,即第一导线向第二导线这个阻值测量方向,以及,第二导线向第一导线这个阻值测量方向,这在两个阻值测量方向上所测得的第一导线与第二导线之间的电阻值一般都不相同。同理,可以理解到的是,当连接在第一导线与第二导线之间的预设检测电路中包含一个或者多个具有正负极性的元器件时,针对该预设检测电路的两端电阻的测量也会存在两个阻值测量方向。在上述实现中,以网络端口连接的第一导线与第二导线之间容易测得的电阻值或者电容值作为网络端口的异常判决参量,可简化网络端口的异常判决参量的获取过程,提升针对通信电缆的异常检测的效率。It should also be noted that the measured value of the electrical parameters between the first wire and the second wire of any network port mentioned above is the network device performing the electrical parameters of the first wire and the second wire of any network port. Real-time measurements of electrical parameters obtained. In a specific implementation, the measured value of the electrical parameters between the first wire and the second wire may include at least one of the following items: the resistance value measured from the first wire to the second wire (that is, the resistance value measurement direction is from the first lead to the second lead), the resistance value measured from the second lead to the first lead (that is, the resistance measurement direction is from the second lead to the first lead), between the first lead and the second lead Capacitance measurement between the first wire and the ground wire of the network device, capacitance measurement between the second wire and the ground wire of the network device, pre-connection between the first wire and the second wire Set the resistance measurement value or capacitance measurement value corresponding to the detection circuit. It should be noted here that the measured resistance value between the first wire and the second wire is essentially the equivalent resistance value of the user equipment connected to the first wire and the second wire, and the user equipment may contain One or more components with positive and negative polarities (such as diodes, electrolytic capacitors, etc.), so for the measurement of the resistance between the first wire and the second wire, there can be two resistance measurement directions, that is, the first wire The resistance value measurement direction of the second wire, and the resistance value measurement direction of the second wire to the first wire, the resistance value between the first wire and the second wire measured in the two resistance measurement directions Generally not the same. Similarly, it can be understood that when the preset detection circuit connected between the first wire and the second wire includes one or more components with positive and negative polarities, two components of the preset detection circuit are There are also two resistance measurement directions for the measurement of terminal resistance. In the above implementation, the resistance value or capacitance value that can be easily measured between the first wire and the second wire connected to the network port is used as the abnormal judgment parameter of the network port, which can simplify the acquisition process of the abnormal judgment parameter of the network port, and improve the ability to target the network port. Efficiency of abnormality detection of communication cables.
进一步需要说明的是,在任一网络端口的第一导线与第二导线之间的电气参数实测值中包括连接在第一导线与第二导线之间的预设检测电路所对应的电阻测量值或者电容测量值的情况下,该任一网络端口的第一导线与第二导线之间应预置有相应的预设检测电路。例如,请参见图3,图3是本本申请提供的一种通信系统又一结构示意图。如图3所示,网络端口0的第一导线01与第二导线02之间即预置有相应的预设检测电路03。该预设检测电路03的一端与第一导线01相连接,该预设检测电路的另一端与所述第二导线02相连接。在第一通信电缆正常的情况下,该预设检测电路03两端的电容测量值或者电阻测量值不会改变,会等于一个恒定的电容值或者电阻值。而当第一通信电缆发生异常(如被剪断等)时,该预设检测电路03两端的电容测量值或者电阻测量值便不再等于这个恒定的电容值或者电阻值。因此,该预设检测电路03的两端测得的电阻值和/或电容值即可作为网络端口0对应的异常判决参量。It should be further noted that the measured value of electrical parameters between the first wire and the second wire of any network port includes the resistance measurement value corresponding to the preset detection circuit connected between the first wire and the second wire or In the case of the capacitance measurement value, a corresponding preset detection circuit should be preset between the first wire and the second wire of any network port. For example, please refer to FIG. 3 , which is another schematic structural diagram of a communication system provided by the present application. As shown in FIG. 3 , a corresponding preset detection circuit 03 is preset between the
可选的,上述预设检测电路具体可以为远端标识电路。该远端标识电路可并联在第一导线与第二导线之间,并且该远端标识电路具体可包括一个二极管和阻值恒定的电阻。例如,请参见图4,图4是本申请提供的一种通信系统又一结构示意图。如图4所示,网络端口0的第一导线01与第二导线02之间存在一个远端标识电路031,该远端标识电路031即为该网络端口0对应的预设检测电路。该远端标识电路031具体包括有二极管0311以及电阻0312,二极管0311的一端与第二导线02相连接,二极管0311的另一端与电阻0312的一端相连接,电阻0312的另一端与第一导线01相连接。假设电阻0312的阻值为470K欧姆,在第一通信电缆正常的情况下,在第一导线01到第二导线02方向上测得远端标识电路两端的电阻值应该为470K欧姆,由第二导线02到第一导线01方向上测得的远端标识电路两端的电阻值应该为10M欧姆。而当第一通信电缆发生异常时,在第一导线01到第二导线02方向上测得远端标识电路两端的电阻值会变成10M欧姆,由第二导线02到第一导线01方向上测得的远端标识电路两端的电阻值仍为10M欧姆。所以,远端标识电路031与第一导线01和第二导线02所连接的两个端口之间的电阻测量值即可作为网络端口0的异常判决参量。这里还需要说明的是,远端标识电路只需要并联在第一导线与第二导线之间即可,本申请不限定该远端标识电路是正接还是反接在所述第一导线与第二导线之间。Optionally, the above-mentioned preset detection circuit may specifically be a remote identification circuit. The remote identification circuit can be connected in parallel between the first wire and the second wire, and the remote identification circuit can specifically include a diode and a resistor with constant resistance. For example, please refer to FIG. 4 , which is another schematic structural diagram of a communication system provided by the present application. As shown in FIG. 4 , a remote identification circuit 031 exists between the
在上述可选的实现中,以常用的远端标识电路作为网络端口的第一导线与第二导线之间的预设检测电路,可提升本申请提供的通信电缆的异常检测方法的兼容性,进而提升该方法的适用性和实用性。In the above optional implementation, using a commonly used remote identification circuit as the preset detection circuit between the first wire and the second wire of the network port can improve the compatibility of the abnormality detection method for the communication cable provided by the present application, Thus, the applicability and practicability of the method are improved.
S203,网络设备根据所述各第一网络端口对应的异常判决参量确定目标通信电缆是否异常。S203, the network device determines whether the target communication cable is abnormal according to the abnormality judgment parameters corresponding to the first network ports.
在一些可行的实现方式中,网络设备在获取到各第一网络端口对应的异常判决参量后,即可根据各第一网络端口对应的异常判决参量确定上述目标通信电缆是否异常。本申请实施例提供了多种确定上述目标通信电缆是否异常的可选方式,下面将分别针对这多种可选方式进行详细的描述。In some feasible implementation manners, after acquiring the abnormality determination parameters corresponding to each first network port, the network device may determine whether the above-mentioned target communication cable is abnormal according to the abnormality determination parameters corresponding to each first network port. The embodiments of the present application provide various optional manners for determining whether the above-mentioned target communication cable is abnormal, and the various optional manners will be described in detail below.
可选方式一:Option 1:
在本方式中,网络端口对应的异常参量为该网络端口连接的第一导线与第二导线之间的电气参数实测值。In this manner, the abnormal parameter corresponding to the network port is the measured value of the electrical parameter between the first wire and the second wire connected to the network port.
具体实现中,在获取到各第一网络端口所连接的第一导线与第二导线之间的电气参数实测值之后,网络设备还可获取到上述各第一网络端口对应的电气参数阈值范围。这里,各第一网络端口对应的电气参数阈值范围可以是用户为网络设备实时配置的,也可以是网络设备根据预设的阈值范围配置规则对各网络端口的正常电气参数值进行处理所生成的。其中,上述预设的阈值范围配置规则具体可以为:将预设的阈值上限系数与各第一网络端口的正常电气参数相乘以得到各第一网络端口的电气参数阈值上限,将预设的阈值下限系数与各第一网络端口的正常电气参数相乘以得到各第一网络端口的电气参数阈值下限,由各第一网络端口的电气参数阈值上限和电气参数阈值下限构成各第一网络端口对应的电气参数阈值范围。当然,上述预设的阈值范围配置规则也可以是其他可行的方案,本申请对此不作具体限定。上述各网络端口的正常电气参数值即为在各网络端口所连接的通信电缆正常的情况下,对各网络端口连接的第一导线和第二导线之间的电气参数进行测量所得到的电气参数值。下面以网络端口0和第一通信电缆为例。假设在第一通信电缆正常的情况下,测得的第一导线01与第二导线02之间的正常电气参数值为A1,上述阈值上限系数为p1,阈值下限系数为p2。网络设备在获取到上述正常电气参数值为A1后,可将A1*p1确定为网络端口0对应的电气参数阈值上限,还可将A1*p2确定为网络端口0对应的电气参数阈值下限。然后,网络设备即可将区间[A1*p2,A1*p1]确定为网络端口0对应的电气参数阈值范围。In a specific implementation, after acquiring the measured value of the electrical parameter between the first wire and the second wire connected to each first network port, the network device can also obtain the threshold range of the electrical parameter corresponding to each of the first network ports. Here, the electrical parameter threshold range corresponding to each first network port may be configured by the user in real time for the network device, or may be generated by the network device processing the normal electrical parameter values of each network port according to a preset threshold range configuration rule . Wherein, the above-mentioned preset threshold range configuration rule may specifically be: multiplying the preset threshold upper limit coefficient by the normal electrical parameters of each first network port to obtain the upper limit of the electrical parameter threshold of each first network port; The threshold lower limit coefficient is multiplied by the normal electrical parameters of each first network port to obtain the lower limit of the electrical parameter threshold of each first network port, and each first network port is constituted by the upper limit of the electrical parameter threshold and the lower limit of the electrical parameter threshold of each first network port Corresponding electrical parameter threshold range. Of course, the above-mentioned preset threshold range configuration rules may also be other feasible solutions, which are not specifically limited in this application. The above-mentioned normal electrical parameter values of each network port are the electrical parameters obtained by measuring the electrical parameters between the first wire and the second wire connected to each network port when the communication cable connected to each network port is normal. value. The following takes the network port 0 and the first communication cable as an example. Assuming that the first communication cable is normal, the measured normal electrical parameter value between the
在获取到各第一网络端口对应的电气参数阈值范围后,网络设备可分别确定各第一网络端口所连接的第一导线与第二导线之间的电气参数实测值是否在各第一网络端口对应的电气参数阈值范围内。一方面,若网络设备确定各第一网络端口对应的第一导线与第二导线之间的电气参数的实测值均不在各第一网络端口对应的电气参数阈值范围内,则可确定目标通信电缆异常。可选的,若网络设备确定所述目标通信电缆异常,则可输出第一异常告警信息,该第一异常告警信息用于提示所述目标通信电缆发生异常。另一方面,若网络设备确定上述N1个第一网络端口中有N3个第一网络端口对应的电气参数实测值是在各自对应的电气参数阈值范围内,则可确定目标通信电缆正常。这里,N3为预设值,并且小于或者等于N1。例如,假设各第一网络端口对应的电气参数实测值是各第一网络端口连接的第一导线与第二导线之间的电容测量值,上述N1个第一网络端口中包括网络端口0、网络端口1和网络端口2,并且这三个网络端口对应的电气参数阈值范围分别为[0.5μF,1.5μF],[1.5μF,2.5μF],[2.5μF,3.5μF]。若网络设备获取到这三个网络端口对应的电气参数实测值分别为0.7μF,1.7μF,2.7μF,则网络设备可确定这三个网络端口对应的电气参数实测值均在其各自对应的电气参数阈值范围内,则网络设备可确定第一通信电缆正常。若网络设备获取到这三个网络端口对应的电气参数实测值分别为0.5μF,1.3μF,2.1μF,则网络设备可确定这三个网络端口对应的电气参数实测值均不在其各自对应的电气参数阈值范围内,则网络设备可确定第一通信电缆异常,并进一步输出第一异常告警信息。After acquiring the electrical parameter threshold range corresponding to each first network port, the network device can determine whether the measured value of the electrical parameter between the first wire and the second wire connected to each first network port is within the range of each first network port. The corresponding electrical parameter threshold range. On the one hand, if the network device determines that the measured values of the electrical parameters between the first wires corresponding to the first network ports and the second wires are not within the threshold range of the electrical parameters corresponding to the first network ports, the target communication cable can be determined. abnormal. Optionally, if the network device determines that the target communication cable is abnormal, it may output first abnormal alarm information, where the first abnormal alarm information is used to prompt that the target communication cable is abnormal. On the other hand, if the network device determines that the measured values of electrical parameters corresponding to the N3 first network ports in the N1 first network ports are within the respective corresponding electrical parameter threshold ranges, it can be determined that the target communication cable is normal. Here, N3 is a preset value and is less than or equal to N1. For example, it is assumed that the measured value of the electrical parameter corresponding to each first network port is the measured value of the capacitance between the first wire and the second wire connected to each first network port, and the above N1 first network ports include network port 0, network Port 1 and network port 2, and the corresponding electrical parameter threshold ranges of these three network ports are [0.5μF, 1.5μF], [1.5μF, 2.5μF], [2.5μF, 3.5μF], respectively. If the network device obtains that the measured values of the electrical parameters corresponding to the three network ports are 0.7μF, 1.7μF, and 2.7μF, respectively, the network device can determine that the measured values of the electrical parameters corresponding to the three network ports are in their corresponding electrical parameters. Within the parameter threshold range, the network device may determine that the first communication cable is normal. If the network device obtains that the measured values of the electrical parameters corresponding to the three network ports are 0.5μF, 1.3μF, and 2.1μF, respectively, the network device can determine that the measured values of the electrical parameters corresponding to the three network ports are not in their corresponding electrical parameters. Within the parameter threshold range, the network device can determine that the first communication cable is abnormal, and further output first abnormal alarm information.
在上述实现中,网络设备通过各第一网络端口所连接的第一导线与第二导线之间的电气参数测量值来判断目标通信电缆是否异常,方法简单且易于实现,可有效降低针对通信电缆的异常检测方法的复杂度,可降低异常检测的成本。In the above implementation, the network device judges whether the target communication cable is abnormal through the measured value of the electrical parameter between the first wire and the second wire connected to each first network port. The method is simple and easy to implement, and can effectively reduce the need for communication cables. The complexity of the anomaly detection method can reduce the cost of anomaly detection.
可选实现方式二:Optional implementation method two:
在本可选方式中,任一网络端口对应的异常参量为该任一网络端口连接的第一导线与第二导线之间的电气参数实测值。上述N1个第一网络端口为目标通信电缆连接的所有网络端口中的部分网络端口。In this optional manner, the abnormal parameter corresponding to any network port is the measured value of the electrical parameter between the first wire and the second wire connected to the any network port. The above-mentioned N1 first network ports are some network ports among all the network ports connected by the target communication cable.
具体实现中,在获取到各第一网络端口所连接的第一导线与第二导线之间的电气参数实测值之后,网络设备也可获取到上述各第一网络端口对应的电气参数阈值范围。这里,网络设备获取到各第一网络端口对应的电气参数阈值范围的过程具体可参见上述实现方式一中所描述的相应内容,此处便不再赘述。在获取到各第一网络端口对应的电气参数阈值范围后,网络设备可分别确定各第一网络端口所连接的第一导线与第二导线之间的电气参数实测值是否在各第一网络端口对应的电气参数阈值范围内。若网络设备确定上述N1个第一网络端口中有N3个第一网络端口对应的电气参数实测值是在各自对应的电气参数阈值范围内,则可确定目标通信电缆正常。这里,N3为预设值,并且小于或者等于N1。In a specific implementation, after obtaining the measured values of electrical parameters between the first wire and the second wire connected to each first network port, the network device can also obtain the range of electrical parameter thresholds corresponding to each of the first network ports. Here, for the process of obtaining the electrical parameter threshold range corresponding to each first network port by the network device, reference may be made to the corresponding content described in the foregoing implementation manner 1, which will not be repeated here. After acquiring the electrical parameter threshold range corresponding to each first network port, the network device can determine whether the measured value of the electrical parameter between the first wire and the second wire connected to each first network port is within the range of each first network port. The corresponding electrical parameter threshold range. If the network device determines that the measured values of electrical parameters corresponding to the N3 first network ports in the N1 first network ports are within the respective corresponding electrical parameter threshold ranges, it can be determined that the target communication cable is normal. Here, N3 is a preset value and is less than or equal to N1.
若网络设备确定各第一网络端口对应的第一导线与第二导线之间的电气参数的实测值均不在各第一网络端口对应的电气参数阈值范围内,则可进一步获取所述目标通信电缆所连接的N2个第二网络端口中各第二网络端口对应的第一导线与第二导线之间的电气参数实测值。这里需要说明的是,上述N2个第二网络端口是目标通信电缆连接的所有网络端口中除上述N1个第一网络端口以外的部分或者全部网络端口。然后,网络设备可获取到上述N2个第二网络端口中各第二网络端口对应的电气参数阈值范围。这里,网络获取到上述N2个第二网络端口中各第二网络端口对应的电气参数阈值范围的过程和其获取到N1个第一网络端口中各第一网络端口对应的电气参数阈值范围的过程类似,此处便不再重复描述。然后,网络设备可确定各第二网络端口对应的电气参数实测值是否在各第二网络端口对应的电气参数阈值范围内。若网络设备确定各第二网络端口对应的电气参数实测值均不在各第二网络端口对应的电气参数阈值范围内,则可确定上述目标通信电缆存在异常。可选的,网络设备还可输出第一异常告警信息,该第一异常告警信息用于提示上述目标通信电缆存在异常。若网络设备确定上述各第二网络端口对应的电气参数实测值均包含在各第二网络端口对应的电气参数阈值范围内,则可确定上述目标通信电缆正常。If the network device determines that the measured values of the electrical parameters between the first wire and the second wire corresponding to each first network port are not within the threshold range of the electrical parameters corresponding to each first network port, the target communication cable can be further obtained. The measured value of the electrical parameter between the first wire and the second wire corresponding to each of the N2 second network ports connected. It should be noted here that the above-mentioned N2 second network ports are some or all of the network ports other than the above-mentioned N1 first network ports among all the network ports connected by the target communication cable. Then, the network device may obtain the electrical parameter threshold range corresponding to each of the N2 second network ports. Here, the network obtains the process of obtaining the threshold range of electrical parameters corresponding to each of the N2 second network ports and the process of obtaining the threshold range of electrical parameters corresponding to each of the N1 first network ports. Similarly, the description will not be repeated here. Then, the network device may determine whether the measured value of the electrical parameter corresponding to each second network port is within the range of the electrical parameter threshold corresponding to each second network port. If the network device determines that the measured values of the electrical parameters corresponding to the second network ports are not within the threshold range of the electrical parameters corresponding to the second network ports, it can be determined that the target communication cable is abnormal. Optionally, the network device may also output first abnormal alarm information, where the first abnormal alarm information is used to prompt that the target communication cable is abnormal. If the network device determines that the measured values of the electrical parameters corresponding to the second network ports are all included in the electrical parameter threshold range corresponding to the second network ports, it can be determined that the target communication cable is normal.
这里,在确定N1个第一网络端口对应的第一导线与第二导线之间的电气参数实测值不正常的情况下,继续获取N2个第二网络端口对应的第一导线与第二导线之间的电气参数实测值并根据N2个第二网络端口对应的第一导线与第二导线之间的电气参数实测值继续判断该目标通信电缆是否异常,这样可避免因某些第一网络端口对应电气参数阈值范围不合适(例如,当某个网络端口连接的用户设备被更换时,则可能会导致该网络端口原有的电气参数阈值范围不再适合)所导致的误判等情况的发生,可提升异常检测的准确率。Here, in the case where it is determined that the measured values of electrical parameters between the first wires corresponding to the N1 first network ports and the second wires are abnormal, continue to obtain the difference between the first wires and the second wires corresponding to the N2 second network ports. The measured value of the electrical parameters between the N2 second network ports and the measured value of the electrical parameters between the first wire and the second wire corresponding to the N2 second network ports continue to judge whether the target communication cable is abnormal, so as to avoid the occurrence of some first network ports corresponding to Misjudgment caused by inappropriate electrical parameter threshold range (for example, when the user equipment connected to a network port is replaced, the original electrical parameter threshold range of the network port may no longer be suitable), etc. It can improve the accuracy of anomaly detection.
可选的,当网络设备确定上述各第二网络端口对应的电气参数实测值均包含在各第二网络端口对应的电气参数阈值范围内,则说明上述N1个第一网络端口中各第一网络端口对应的电气参数阈值范围可能存在问题。在这种情况下,网络设备还可根据各第一网络端口对应的电气参数实测值对各第一网络端口对应的电气参数阈值范围进行更新。具体的,网络设备可以根据预设的阈值范围配置规则对各第一网络端口对应的电气参数实测值进行处理以得到各第一网络端口对应的新的电气参数阈值范围。然后,网络设备可将各第一网络端口对应的新的电气参数阈值范围作为后续判断所使用的电气参数阈值范围。这里,在发现电气参数阈值范围不合理的情况下,及时的通过电气参数实测值来对电气参数阈值范围进行更新,可保证各第一网络端口对应的电气参数阈值范围的合理性和可靠性,可避免因电气参数阈值范围所导致的误判等情况的发生,可提升异常检测的准确率。Optionally, when the network device determines that the measured values of the electrical parameters corresponding to the above-mentioned second network ports are all included in the range of the electrical parameter thresholds corresponding to each of the second network ports, it means that each of the first network ports in the above N1 first network ports is included. There may be a problem with the electrical parameter threshold range corresponding to the port. In this case, the network device may also update the electrical parameter threshold range corresponding to each first network port according to the measured value of the electrical parameter corresponding to each first network port. Specifically, the network device may process the measured values of electrical parameters corresponding to each first network port according to a preset threshold range configuration rule to obtain a new threshold range of electrical parameters corresponding to each first network port. Then, the network device may use the new electrical parameter threshold range corresponding to each first network port as the electrical parameter threshold range used for subsequent determination. Here, when it is found that the electrical parameter threshold range is unreasonable, the electrical parameter threshold range is updated through the measured value of the electrical parameter in time, which can ensure the rationality and reliability of the electrical parameter threshold range corresponding to each first network port. It can avoid the occurrence of misjudgment caused by the threshold range of electrical parameters, and can improve the accuracy of abnormal detection.
可选实现方式三:Three optional implementations:
在本可选方式中,网络端口对应的异常参量为该网络端口的实时端口状态。这里,目标通信电缆上承载的是POST业务,各网络端口的端口状态至少包括摘机锁定状态和挂机状态。In this optional manner, the abnormal parameter corresponding to the network port is the real-time port state of the network port. Here, the POST service is carried on the target communication cable, and the port status of each network port includes at least an off-hook lock status and an on-hook status.
具体实现中,网络设备还可获取到各第一网络端口对应的历史端口状态,这里,任一第一网络端口对应的历史端口状态可以是:在本次异常检测之前,最近一次对该任一第一网络端口的端口状态进行检测所得到的该任一第一网络端口的端口状态。然后,网络设备可根据各第一网络端口的历史端口状态以及获取到的各第一网络端口对应的实时端口状态来确定各第一网络端口的端口状态是否均已经由摘机锁定状态切换至挂机状态。若网络设备确定各第一网络端口的端口状态均已经由摘机锁定状态切换至挂机状态,则可确定该目标通信电缆异常。若网络设备确定上述N1个第一网络端口中有N3个第一网络端口对应的端口状态仍然保持为上述摘机锁定状态,则可确定该目标通信电缆正常。这里,N3为预设值,并且小于或者等于N1。In the specific implementation, the network device can also obtain the historical port status corresponding to each first network port. Here, the historical port status corresponding to any first network port may be: The port state of any one of the first network ports is obtained by detecting the port state of the first network port. Then, the network device can determine whether the port status of each first network port has been switched from off-hook lock state to on-hook according to the historical port state of each first network port and the acquired real-time port state corresponding to each first network port state. If the network device determines that the port state of each first network port has been switched from the off-hook lock state to the on-hook state, it can be determined that the target communication cable is abnormal. If the network device determines that the port states corresponding to the N3 first network ports in the N1 first network ports are still in the off-hook lock state, it can be determined that the target communication cable is normal. Here, N3 is a preset value and is less than or equal to N1.
在一种可选的实现中,若网络设备确定目标通信电缆异常,则可输出第一异常告警信息,其中,该第一异常告警信息用于指示该目标通信电缆存在异常。In an optional implementation, if the network device determines that the target communication cable is abnormal, it can output first abnormal alarm information, where the first abnormal alarm information is used to indicate that the target communication cable is abnormal.
在另一种可选的实现方式中,当某个第一网络端口的第一导线和第二导线被短路时,则该第一网络端口的端口状态即摘机锁定状态。所以,为了保证各第一网络端口对应的历史端口状态为摘机锁定状态,可预先将各第一网络端口所连接的第一导线和第二导线设置成短路状态。In another optional implementation manner, when the first wire and the second wire of a first network port are short-circuited, the port state of the first network port is the off-hook lock state. Therefore, in order to ensure that the historical port state corresponding to each first network port is an off-hook lock state, the first wire and the second wire connected to each first network port may be set to a short-circuit state in advance.
在上述实现中,在目标通信电缆上承载的是POST业务的场景下,由于各网络端口的实时端口状态极易获取并且时效性较好,所以通过判断网络端口的端口状态是否由摘机锁定状态切换至挂机状态的来确定目标通信电缆是否发生异常的方式可保证检测结果的准确性和时效性,在降低异常检测成本的同时可有效提升异常检测的效率和精度。In the above implementation, in the scenario where the target communication cable carries the POST service, since the real-time port status of each network port is easy to obtain and has good timeliness, it is determined whether the port status of the network port is locked by off-hook. The method of switching to the on-hook state to determine whether the target communication cable is abnormal can ensure the accuracy and timeliness of the detection results, and can effectively improve the efficiency and accuracy of abnormal detection while reducing the cost of abnormal detection.
可选实现方式四:Optional implementation four:
在本可选方式中,网络端口对应的异常参量为该网络端口的实时端口状态。上述N1个第一网络端口为目标通信电缆连接的所有网络端口中的部分网络端口。In this optional manner, the abnormal parameter corresponding to the network port is the real-time port state of the network port. The above-mentioned N1 first network ports are some network ports among all the network ports connected by the target communication cable.
和上述实现方式二类似,在网络端口对应的异常参量为该网络端口的实时端口状态的场景下,网络设备也可通过复检的方式来提升异常检测的精度。具体的,在获取到各第一网络端口对应的端口状态之后,网络设备也可获取到上述各第一网络端口的历史端口状态。这里,针对第一网络端口的历史端口状态的描述可一并参见上述实现方式三中的内容,此处便不再赘述。然后,网络设备可根据各第一网络端口的历史端口状态以及获取到的各第一网络端口对应的实时端口状态来确定各第一网络端口的端口状态是否均已经由上述摘机锁定状态切换至挂机状态。若网络设备确定上述N1个第一网络端口中有N3个第一网络端口对应的端口状态仍然保持为上述摘机锁定状态,则可确定该目标通信电缆正常。这里,N3为预设值,并且小于或者等于N1。Similar to the second implementation above, in a scenario where the abnormal parameter corresponding to the network port is the real-time port status of the network port, the network device can also improve the accuracy of abnormality detection by rechecking. Specifically, after acquiring the port state corresponding to each first network port, the network device may also acquire the historical port state of each of the above-mentioned first network ports. Here, for the description of the historical port state of the first network port, reference may be made to the content in the foregoing implementation manner 3, and details are not repeated here. Then, the network device may determine whether the port status of each first network port has been switched from the off-hook lock state to On-hook state. If the network device determines that the port states corresponding to the N3 first network ports in the N1 first network ports are still in the off-hook lock state, it can be determined that the target communication cable is normal. Here, N3 is a preset value and is less than or equal to N1.
若网络设备确定各第一网络端口的端口状态均已经由上述摘机锁定状态切换至挂机状态,则可进一步获取目标通信电缆所连接的N2个第二网络端口中各第二网络端口对应的实时端口状态。这里需要说明的是,上述N2个第二网络端口是目标通信电缆连接的所有网络端口中除上述N1个第一网络端口以外的部分或者全部网络端口。然后,网络设备可获取到上述N2个第二网络端口中各第二网络端口对应的历史端口状态。再根据各第二网络端口对应的历史端口状态和各第二网络端口对应的实时端口状态来确定各第二网络端口的端口状态是否均由摘机锁定状态切换至挂机状态。若网络设备确定各第二网络端口的端口状态均已经由摘机锁定状态切换至挂机状态,则可确定该目标通信电缆异常。进一步的,网络设备也可输出第一告警信息,该第一告警信息用于指示目标通信电缆异常。若网络设备确定上述N2个第二网络端口的端口状态仍然保持为上述摘机锁定状态,则可确定该目标通信电缆正常。If the network device determines that the port state of each first network port has been switched from the above-mentioned off-hook lock state to the on-hook state, it can further obtain the real-time data corresponding to each of the N2 second network ports connected to the target communication cable. port status. It should be noted here that the above-mentioned N2 second network ports are some or all of the network ports other than the above-mentioned N1 first network ports among all the network ports connected by the target communication cable. Then, the network device may acquire the historical port status corresponding to each of the N2 second network ports. Then, according to the historical port state corresponding to each second network port and the real-time port state corresponding to each second network port, it is determined whether the port state of each second network port is switched from off-hook lock state to on-hook state. If the network device determines that the port state of each second network port has been switched from the off-hook lock state to the on-hook state, it can be determined that the target communication cable is abnormal. Further, the network device may also output first alarm information, where the first alarm information is used to indicate that the target communication cable is abnormal. If the network device determines that the port states of the N2 second network ports are still in the off-hook lock state, it can be determined that the target communication cable is normal.
这里,在确定N1个第一网络端口的端口状态均切换至挂机状态的情况下,继续获取N2个第二网络端口实时端口状态并根据N2个第二网络端口对应的实时端口状态进一步判断该目标通信电缆是否异常,这样可避免因某些第一网络端口的端口状态的异常所导致的误判等情况的发生,可提升异常检测的准确率。Here, when it is determined that the port states of the N1 first network ports are all switched to the on-hook state, continue to obtain the real-time port states of the N2 second network ports and further judge the target according to the real-time port states corresponding to the N2 second network ports Whether the communication cable is abnormal, this can avoid the occurrence of misjudgment caused by the abnormal port state of some first network ports, and can improve the accuracy of abnormal detection.
可选实现方式五:Optional implementation method five:
在本可选方式中,网络端口对应的异常参量为该网络端口的实时端口状态。这里,目标通信电缆上承载的是xDSL业务,各网络端口的端口状态至少包括上线状态和下线状态。In this optional manner, the abnormal parameter corresponding to the network port is the real-time port state of the network port. Here, the target communication cable carries the xDSL service, and the port status of each network port includes at least an online status and an offline status.
具体实现中,网络设备可获取到各第一网络端口对应的历史端口状态,这里,任一第一网络端口对应的历史端口状态可以是:在本次异常检测之前,最近一次对该任一第一网络端口的端口状态进行检测所得到的该任一第一网络端口的端口状态。然后,网络设备可根据各第一网络端口的历史端口状态以及获取到的各第一网络端口对应的实时端口状态来确定各第一网络端口的端口状态是否均已经由上线状态切换至下线状态。若网络设备确定各第一网络端口的端口状态均已经由上线状态切换至下线状态,则可确定该目标通信电缆异常。若网络设备确定上述N1个第一网络端口中有N3个第一网络端口对应的端口状态仍然保持为上述摘机锁定状态,则可确定该目标通信电缆正常。这里,N3为预设值,并且小于或者等于N1。In the specific implementation, the network device can obtain the historical port status corresponding to each first network port. Here, the historical port status corresponding to any first network port can be: The port state of any first network port obtained by detecting the port state of a network port. Then, the network device can determine whether the port status of each first network port has been switched from the online state to the offline state according to the historical port status of each first network port and the acquired real-time port status corresponding to each first network port . If the network device determines that the port state of each first network port has been switched from the online state to the offline state, it can be determined that the target communication cable is abnormal. If the network device determines that the port states corresponding to the N3 first network ports in the N1 first network ports are still in the off-hook lock state, it can be determined that the target communication cable is normal. Here, N3 is a preset value and is less than or equal to N1.
在上述实现中,在目标通信电缆上承载的是xDSL业务的场景下,由于各网络端口的实时端口状态极易获取并且时效性较好,所以通过判断网络端口的端口状态是否由上线状态切换至下线状态的来确定目标通信电缆是否发生异常的方式可保证检测结果的准确性和时效性,在降低异常检测成本的同时可有效提升异常检测的效率和精度。In the above implementation, in the scenario where the target communication cable carries the xDSL service, since the real-time port status of each network port is easy to obtain and has good timeliness, it is determined whether the port status of the network port is switched from the online status to the online status. The method of determining whether the target communication cable is abnormal in the offline state can ensure the accuracy and timeliness of the detection results, and can effectively improve the efficiency and accuracy of abnormal detection while reducing the cost of abnormal detection.
在一种可选的实现中,若网络设备确定目标通信电缆异常,则可输出第一异常告警信息,其中,该第一异常告警信息用于指示该目标通信电缆存在异常。In an optional implementation, if the network device determines that the target communication cable is abnormal, it can output first abnormal alarm information, where the first abnormal alarm information is used to indicate that the target communication cable is abnormal.
这里可以理解到的是,和上述实施方式四类似,在网络端口对应的异常参量为该网络端口的实时端口状态并且目标通信电缆上承载的是xDSL业务情况下,网络设备也可先判断上述N1个第一网络端口中各第一网络端口的端口状态是否由上线状态切换至下线状态。若网络设备确定各第一网络端口的端口状态没有全部由上线状态切换至下线状态,则可确定目标通信电缆正常。若网络设备确定各第一网络端口的端口状态均由上线状态切换至下线状态,则可进一步获取目标通信电缆连接的N2个第二网络端口的实时端口状态,再根据该N2个第二网络端口的实时端口状态进一步判断目标通信电缆是否异常。这里,具体判断过程和上述可选的实现方式四类似,为了避免重复,此处便不再赘述。这种增加复检的方式,同样可以提升异常检测的准确率。It can be understood here that, similar to the fourth embodiment above, in the case that the abnormal parameter corresponding to the network port is the real-time port state of the network port and the target communication cable carries xDSL services, the network device can also first determine the above N1 Whether the port state of each first network port in the first network ports is switched from the online state to the offline state. If the network device determines that the port states of the first network ports are not all switched from the online state to the offline state, it can be determined that the target communication cable is normal. If the network device determines that the port status of each first network port is switched from the online state to the offline state, it can further obtain the real-time port status of the N2 second network ports connected by the target communication cable, and then according to the N2 second network ports The real-time port status of the port further determines whether the target communication cable is abnormal. Here, the specific judging process is similar to the above-mentioned optional implementation mode 4, and in order to avoid repetition, details are not repeated here. This way of adding rechecks can also improve the accuracy of anomaly detection.
这里还需要说明的是,在实际实现中,上述可选实现方式一到可选实现方式五这五种实现方式也可相互结合起来使用。例如,网络设备可先通过上述可选实现方式一作初步的检测以得到第一检测结果。然后再通过上述可选实现方式二、可选实现方式三、可选实现方式四或者可选实现方式五作第二次检测以得到第二检测结果。然后网络设备可确定该第一检测结果和第二检测结果是否相同。若确定相同的话,则可将第一检测结果确定为最终的检测结果。若确定不相同的话,则可再次执行上述五种可选的实现方式中的一种或者多种来作异常检测。这里,上述五种可选实现方式存在多种可能的组合,任意一种相互的结合的方式均在本申请保护范围内,为了避免重复,本申请此处便不再一一列举。It should also be noted here that, in actual implementation, the above-mentioned five implementation manners, from optional implementation manner 1 to optional implementation manner 5, may also be used in combination with each other. For example, the network device may first perform preliminary detection through the above-mentioned optional implementation manner 1 to obtain the first detection result. Then, a second detection is performed through the foregoing optional implementation manner 2, optional implementation manner 3, optional implementation manner 4 or optional implementation manner 5 to obtain a second detection result. The network device can then determine whether the first detection result and the second detection result are the same. If it is determined to be the same, the first detection result may be determined as the final detection result. If it is determined that they are not the same, one or more of the above-mentioned five optional implementation manners may be performed again for abnormality detection. Here, there are many possible combinations of the above five optional implementation manners, and any combination of them is within the scope of protection of the present application. In order to avoid repetition, the present application will not list them one by one.
在本实施例中,在确定出目标通信电缆所连接的多个第一网络端口后,网络设备直接通过这多个第一网络端口的实时端口状态或者各第一网络端口所连接的第一导线和第二导线之间的电气参数实测值来快速的确定目标通信电缆是否发生异常。这样就无需外置的检测系统,可降低异常检测成本。并且,由于网络端口的实时端口状态或者所连接的第一导线和第二导线之间的电气参数实测值均为网络设备容易获取到的参量,这样就简化了异常检测的复杂度,可提升异常检测的效率。In this embodiment, after determining the multiple first network ports connected to the target communication cable, the network device directly passes the real-time port status of the multiple first network ports or the first wires connected to the first network ports. The measured value of the electrical parameters between the second wire and the second wire is used to quickly determine whether the target communication cable is abnormal. This eliminates the need for an external detection system and reduces the cost of anomaly detection. Moreover, since the real-time port status of the network port or the measured value of the electrical parameters between the connected first wire and the second wire are parameters that are easily obtained by the network device, the complexity of abnormality detection is simplified, and the abnormality can be improved. detection efficiency.
实施例二Embodiment 2
请参见图5,图5是本申请实施例提供的一种通信电缆的异常检测方法又一流程示意图。该方法同样适用于图1所示的通信系统,也可由图1中的网络设备来执行,下文也将结合图1所示的通信系统对本实施例提供的通信电缆的异常检测方法进行详细的描述。如图5所示,该方法包括:Please refer to FIG. 5. FIG. 5 is another schematic flowchart of a method for detecting abnormality of a communication cable according to an embodiment of the present application. This method is also applicable to the communication system shown in FIG. 1 , and can also be executed by the network device shown in FIG. 1 . The abnormal detection method for a communication cable provided by this embodiment will also be described in detail below with reference to the communication system shown in FIG. 1 . . As shown in Figure 5, the method includes:
S501,网络设备获取网络设备的N1个第三网络端口中各第三网络端口对应的异常判决参量。S501, the network device acquires an abnormality determination parameter corresponding to each third network port in the N1 third network ports of the network device.
在一些可行的实现方式中,在确定需要进行通信电缆的异常检测后,网络设备可从其包括的所有网络端口中确定出N1个第三网络端口。这里,N1为正整数。然后,网络设备可获取到上述N1个第二网络端口中各第三网络端口对应的异常判决参量。这里,任一第三网络端口对应的异常判决参量可包括任一第三网络端口的实时端口状态或者该任一第三网络端口对应的第一导线与第二导线之间的电气参数实测值。In some feasible implementation manners, after it is determined that the abnormality detection of the communication cable is required, the network device may determine N1 third network ports from all the network ports included in the network device. Here, N1 is a positive integer. Then, the network device may acquire the abnormality determination parameter corresponding to each third network port in the above-mentioned N1 second network ports. Here, the abnormal judgment parameter corresponding to any third network port may include the real-time port status of any third network port or the measured value of electrical parameters between the first wire and the second wire corresponding to the any third network port.
具体实现中,当网络设备确定预设的检测触发条件被满足时,即可确定需要进行通信电缆的异常检测。这里,上述检测触发条件具体可以是预设检测时刻到达,也可以是接收到用户输入的异常检测控制指令等,本申请对此不作具体限制。然后,网络设备可从其连接的所有网络端口中选择出N1个第三网络端口。这里,网络设备可以随机从其连接的所有网络端口中选择出N1个第三网络端口,网络设备也可以将用户设备反馈过异常信息的N1网络端口挑选出来作为N1个第三网络端口,网络设备还可以采用其他预设的挑选规则来选择出这N1个第三网络端口,本申请对网络设备选择N1个第三网络端口的方式不作具体限定。然后,网络设备可获取到上述N1个第三网络端口中各第三网络端口对应的异常判决参量。在本实施例中,每个网络端口对应的异常判决参量的具体描述和前述实施例一中针对每个网络端口对应的异常判决参量是一致的,所以,网络设备获取各第三网络端口对应的异常判决参量的具体过程即可参见前文实施例一中的步骤S202所描述的网络设备获取各第一网络端口对应的异常判决参量的过程,此处便不再赘述。In specific implementation, when the network device determines that the preset detection trigger condition is satisfied, it can determine that the abnormality detection of the communication cable needs to be performed. Here, the above-mentioned detection trigger condition may specifically be the arrival of the preset detection time, or the reception of an abnormality detection control instruction input by the user, etc., which is not specifically limited in this application. Then, the network device may select N1 third network ports from all the network ports to which it is connected. Here, the network device may randomly select N1 third network ports from all network ports connected to it, and the network device may also select the N1 network ports that the user equipment has fed back abnormal information as the N1 third network ports. Other preset selection rules may also be used to select the N1 third network ports, and the present application does not specifically limit the manner in which the network device selects the N1 third network ports. Then, the network device may acquire the abnormality determination parameter corresponding to each of the above N1 third network ports. In this embodiment, the specific description of the abnormality judgment parameter corresponding to each network port is consistent with the abnormality judgment parameter corresponding to each network port in the first embodiment. Therefore, the network device obtains the corresponding abnormality judgment parameter of each third network port. For the specific process of the abnormality determination parameter, reference may be made to the process of obtaining the abnormality determination parameter corresponding to each first network port by the network device described in step S202 in the first embodiment, which will not be repeated here.
S502,网络设备根据各第三网络端口对应的异常判决参量以及网络设备对应的电缆-网络端口关联关系确定是否存在异常的目标通信电缆。S502, the network device determines whether there is an abnormal target communication cable according to the abnormal judgment parameter corresponding to each third network port and the cable-network port association relationship corresponding to the network device.
在一些可行的实现方式中,网络设备在获取到各第三网络端口对应的异常判决参量后,即可根据各第三网络端口对应的异常判决参量以及网络设备对应的电缆-网络端口关联关系来确定网络设备连接的通信电缆中是否存异常的目标通信电缆。这里,网络设备对应的电缆-网络端口关联关系指示了网络设备的每个网络端口所连接的通信电缆。In some feasible implementation manners, after acquiring the abnormality judgment parameters corresponding to each third network port, the network device may determine the abnormality judgment parameters corresponding to each third network port and the cable-network port association relationship corresponding to the network device. Determine whether there is an abnormal target communication cable among the communication cables connected to the network device. Here, the cable-network port association relationship corresponding to the network device indicates the communication cable connected to each network port of the network device.
本实施例提供了多种确定是否存在异常的目标通信电缆的可选方式,下面将分别针对这多种可选方式进行详细的描述。This embodiment provides various optional manners for determining whether there is an abnormal target communication cable, and the various optional manners will be described in detail below.
可选实现方式一:Optional implementation method 1:
在本实现方式中,上述各第三网络端口对应的异常判决参量具体为各第三网络端口对应的第一导线与第二导线之间的电气参数实测值。In this implementation manner, the abnormal judgment parameter corresponding to each third network port is specifically the measured value of the electrical parameter between the first wire and the second wire corresponding to each third network port.
具体实现中,网络设备可获取到上述各第三网络端口对应的电气参数阈值范围。这里,网络设备获取到各第三网络端口对应的电气参数阈值范围的具体过程可参见前文实施例的步骤S203中描述的网络设备获取各第一网络端口对应的电气参数阈值范围的过程,此处便不再赘述。然后,网络设备可分别确定各第三网络端口连接的第一导线与第二导线之间的电气参数实测值是否在各第三网络端口对应的电气参数阈值范围内。In a specific implementation, the network device may obtain the electrical parameter threshold range corresponding to each of the third network ports. Here, for the specific process for the network device to obtain the electrical parameter threshold range corresponding to each third network port, reference may be made to the process for the network device to obtain the electrical parameter threshold range corresponding to each first network port described in step S203 of the previous embodiment. I won't go into details. Then, the network device can respectively determine whether the measured value of the electrical parameter between the first wire and the second wire connected to each third network port is within the electrical parameter threshold range corresponding to each third network port.
一方面,若网络设备确定上述N1个第三网络端口存在N2个第四网络端口,而这N2个第四网络端口中的任一第四网络端口连接的第一导线与第二导线之间的电气参数实测值不在该任一第四网络端口对应的电气参数阈值范围内,则网络设备可进一步根据网络设备对应的电缆-网络端口关联关系来确定上述N2个第四网络端口是否同时连接在目标通信电缆上。若网络设备确定上述N2个第四网络端口同时连接在目标通信电缆上,则可确定存在异常的目标通信电缆。On the one hand, if the network device determines that there are N2 fourth network ports in the N1 third network ports, and the connection between the first wire and the second wire connected to any of the N2 fourth network ports is If the measured value of the electrical parameter is not within the threshold range of the electrical parameter corresponding to any fourth network port, the network device may further determine whether the above-mentioned N2 fourth network ports are simultaneously connected to the target according to the cable-network port association relationship corresponding to the network device. on the communication cable. If the network device determines that the N2 fourth network ports are simultaneously connected to the target communication cable, it can be determined that there is an abnormal target communication cable.
在一种可选的实现方式中,若网络设备确定上述N2个第四网络端口不是同时连接在目标通信电缆,则可停止本次异常检测操作,并继续判断检测触发条件是否被满足。In an optional implementation manner, if the network device determines that the above-mentioned N2 fourth network ports are not connected to the target communication cable at the same time, the abnormality detection operation can be stopped this time, and the detection trigger condition can be continuously determined.
在另一种可选的实现方式中,若网络设备确定上述N2个第四网络端口不是同时连接在目标通信电缆上,则网络设备可进一步确定出上述N2个第四网络端口所连接的至少两根通信电缆。然后,网络设备可采用如前文实施例一中所描述的异常检测方法分别对这至少两根通信电缆进行异常检测。In another optional implementation manner, if the network device determines that the N2 fourth network ports are not connected to the target communication cable at the same time, the network device may further determine that at least two of the N2 fourth network ports are connected communication cable. Then, the network device may use the abnormality detection method described in the foregoing Embodiment 1 to perform abnormality detection on the at least two communication cables respectively.
在又一种可选的实现方式中,若网络设备确定存在异常的目标通信电缆,则可输出第二异常告警信息,所述第二异常告警信息用于提示该目标通信电缆存在异常。In yet another optional implementation manner, if the network device determines that there is an abnormal target communication cable, it may output second abnormal alarm information, where the second abnormal alarm information is used to prompt that the target communication cable is abnormal.
另一方面,若网络设备确定上述N1个第三网络端口中的各第三网络端口连接的第一导线与第二导线之间的电气参数实测值均在各第三网络端口对应的电气参数阈值范围内,则确定不存在异常的目标通信电缆。然后,网络设备可继续判断检测触发条件是否被满足。On the other hand, if the network device determines that the measured values of electrical parameters between the first wire and the second wire connected to each of the above N1 third network ports are all within the electrical parameter threshold corresponding to each third network port Within the range, it is determined that there is no abnormal target communication cable. Then, the network device may continue to determine whether the detection trigger condition is satisfied.
在本实现方式中,网络设备通过能够直接测量得到的各第三网络端口所连接的第一导线与第二导线之间的电气参数测量值以及网络设备的电缆-网络端口对应关系来判断是否存在异常的目标通信电缆,方法简单且易于实现,可有效降低针对通信电缆的异常检测方法的复杂度,可降低异常检测的成本。In this implementation manner, the network device determines whether there is an electrical parameter measurement value between the first wire and the second wire connected to each third network port that can be directly measured and the corresponding relationship between the cable and the network port of the network device. The method of the abnormal target communication cable is simple and easy to implement, which can effectively reduce the complexity of the abnormality detection method for the communication cable, and can reduce the cost of abnormality detection.
可选实现方式二:Optional implementation method two:
在本可选方式中,网络端口对应的异常参量为该网络端口的实时端口状态。这里,网络设备所连接的通信电缆上承载的是POST业务,各网络端口的端口状态至少包括摘机锁定状态和挂机状态。In this optional manner, the abnormal parameter corresponding to the network port is the real-time port state of the network port. Here, the communication cable connected to the network device carries the POST service, and the port state of each network port includes at least an off-hook lock state and an on-hook state.
具体实现中,网络设备可获取到各第三网络端口对应的历史端口状态,这里,任一第三网络端口对应的历史端口状态可以是:在本次异常检测之前,最近一次对该任一第三网络端口的端口状态进行检测所得到的该任一第三网络端口的端口状态。然后,网络设备可根据各第一网络端口的历史端口状态以及获取到的各第一网络端口对应的实时端口状态来确定各第一网络端口的端口状态是否由上述摘机锁定状态切换至挂机状态。In the specific implementation, the network device can obtain the historical port status corresponding to each third network port. Here, the historical port status corresponding to any third network port can be: The port status of any third network port obtained by detecting the port status of the three network ports. Then, the network device can determine whether the port state of each first network port is switched from the above-mentioned off-hook lock state to the on-hook state according to the historical port state of each first network port and the acquired real-time port state corresponding to each first network port .
一方面,若网络设备根据各第三网络端口对应的异常判断参量确定上述N1个第三网络端口中包含由N2个第四网络端口,而这N2个第四网络端口中的任一第四网络端口的端口状态已经由摘机锁定状态切换至挂机状态,则网络设备可进一步根据网络设备对应的电缆-网络端口关联关系来确定上述N2个第四网络端口是否同时连接在目标通信电缆上。这里,N2为小于或者等于N1的正整数。需要说明的是,网络设备根据网络设备对应的电缆-网络端口关联关系来确定上述N2个第四网络端口是否同时连接在目标通信电缆上以及该判断动作之后的操作和上述实现方式一中所描述的网络设备判断N2个第四网络端口是否同时连接在目标通信电缆上以及判断后的操作是相同的,为了避免重复,此处便不再详述。On the one hand, if the network device determines, according to the abnormal judgment parameter corresponding to each third network port, that the N1 third network ports include N2 fourth network ports, and any fourth network port among the N2 fourth network ports If the port state of the port has been switched from the off-hook lock state to the on-hook state, the network device can further determine whether the N2 fourth network ports are simultaneously connected to the target communication cable according to the cable-network port association relationship corresponding to the network device. Here, N2 is a positive integer less than or equal to N1. It should be noted that the network device determines whether the above-mentioned N2 fourth network ports are simultaneously connected to the target communication cable according to the cable-network port association relationship corresponding to the network device, and the operation after the judgment action is described in the above-mentioned implementation mode 1. The network device determines whether the N2 fourth network ports are simultaneously connected to the target communication cable and the operations after the determination are the same. In order to avoid repetition, the details are not described here.
另一方面,若网络设备确定上述N1个第三网络端口中的各第三网络端口连接的第一导线与第二导线之间的电气参数实测值均在各第三网络端口对应的电气参数阈值范围内,则确定不存在异常的目标通信电缆。然后,网络设备可继续判断检测触发条件是否被满足。On the other hand, if the network device determines that the measured values of electrical parameters between the first wire and the second wire connected to each of the above N1 third network ports are all within the electrical parameter threshold corresponding to each third network port Within the range, it is determined that there is no abnormal target communication cable. Then, the network device may continue to determine whether the detection trigger condition is satisfied.
需要补充说明的是,当某个第三网络端口的第一导线和第二导线被短路时,则该第三网络端口的端口状态即摘机锁定状态。所以,为了使得各第三网络端口的历史端口状态为摘机锁定状态,可预先将各第三网络端口连接的第一导线与第二导线配置成短路状态。It should be added that when the first wire and the second wire of a third network port are short-circuited, the port state of the third network port is the off-hook lock state. Therefore, in order to make the historical port state of each third network port to be an off-hook lock state, the first wire and the second wire connected to each third network port may be configured to be in a short-circuit state in advance.
在本实现方式中,在网络设备的通信电缆上承载的是POST业务的场景下,由于各网络端口的实时端口状态极易获取并且时效性较好,所以基于网络端口的端口状态来确定是否存在异常的目标通信电缆的方式可保证检测结果的准确性和时效性,在降低异常检测成本的同时可有效提升异常检测的效率和精度。In this implementation manner, in the scenario where the communication cable of the network device carries the POST service, since the real-time port status of each network port is easy to obtain and has good timeliness, it is determined whether there is a network port based on the port status of the network port. The method of abnormal target communication cable can ensure the accuracy and timeliness of detection results, and can effectively improve the efficiency and accuracy of abnormal detection while reducing the cost of abnormal detection.
可选实现方式三:Three optional implementations:
在本可选方式中,网络端口对应的异常参量为该网络端口的实时端口状态。这里,网络设备所连接的通信电缆上承载的是xDSL业务,各网络端口的端口状态至少包括上线状态和下线状态。In this optional manner, the abnormal parameter corresponding to the network port is the real-time port state of the network port. Here, the communication cable connected to the network device carries the xDSL service, and the port status of each network port includes at least an online status and an offline status.
具体实现中,网络设备也可获取到各第三网络端口对应的历史端口状态。然后,网络设备可根据各第三网络端口的历史端口状态以及获取到的各第三网络端口对应的实时端口状态来确定各第三网络端口的端口状态是否由上述上线状态切换至下线状态。In specific implementation, the network device may also acquire the historical port status corresponding to each third network port. Then, the network device can determine whether the port state of each third network port is switched from the above-mentioned online state to the offline state according to the historical port state of each third network port and the acquired real-time port state corresponding to each third network port.
一方面,若网络设备根据各第三网络端口对应的异常判断参量确定上述N1个第三网络端口中包含由N2个第四网络端口,而这N2个第四网络端口中的任一第四网络端口的端口状态已经由上线状态切换至下线状态,则网络设备可进一步根据网络设备对应的电缆-网络端口关联关系来确定上述N2个第四网络端口是否同时连接在目标通信电缆上。这里,N2为小于或者等于N1的正整数。同理,网络设备根据网络设备对应的电缆-网络端口关联关系来确定上述N2个第四网络端口是否同时连接在目标通信电缆上以及该判断动作之后的操作和上述实现方式一中所描述的网络设备判断N2个第四网络端口是否同时连接在目标通信电缆上以及判断后的操作是相同的,为了避免重复,此处也不再详述。On the one hand, if the network device determines, according to the abnormal judgment parameter corresponding to each third network port, that the N1 third network ports include N2 fourth network ports, and any fourth network port among the N2 fourth network ports If the port state of the port has been switched from the online state to the offline state, the network device may further determine whether the N2 fourth network ports are simultaneously connected to the target communication cable according to the cable-network port association relationship corresponding to the network device. Here, N2 is a positive integer less than or equal to N1. Similarly, the network device determines whether the above-mentioned N2 fourth network ports are simultaneously connected to the target communication cable according to the cable-network port association relationship corresponding to the network device and the operation after the judgment action and the network described in the above-mentioned implementation mode one. The device determines whether the N2 fourth network ports are simultaneously connected to the target communication cable and the operations after the determination are the same. In order to avoid repetition, details are not described here.
另一方面,若网络设备确定上述N1个第三网络端口中的各第三网络端口的端口状态仍保持在上线状态,则可确定不存在异常的目标通信电缆。然后,网络设备可继续判断检测触发条件是否被满足。On the other hand, if the network device determines that the port state of each of the above N1 third network ports is still in the online state, it can be determined that there is no abnormal target communication cable. Then, the network device may continue to determine whether the detection trigger condition is satisfied.
在本实现方式中,在网络设备的通信电缆上承载的是xDSL业务的场景下,由于各网络端口的实时端口状态极易获取并且时效性较好,所以基于网络端口的端口状态来确定是否存在异常的目标通信电缆的方式可保证检测结果的准确性和时效性,在降低异常检测成本的同时可有效提升异常检测的效率和精度。In this implementation manner, in the scenario where the communication cable of the network device carries the xDSL service, since the real-time port status of each network port is easy to obtain and has good timeliness, it is determined whether there is a network port based on the port status of the network port. The method of abnormal target communication cable can ensure the accuracy and timeliness of detection results, and can effectively improve the efficiency and accuracy of abnormal detection while reducing the cost of abnormal detection.
这里需要补充说明的是,在实际实现中,上述可选实现方式一与可选实现方式二或者可选实现方式三可相互结合起来使用。例如,网络设备可先通过上述可选实现方式一作初步的检测以得到第一检测结果。然后再通过上述可选实现方式二作第二次检测以得到第二检测结果。然后网络设备可确定该第一检测结果和第二检测结果是否相同。若确定相同的话,则可将第一检测结果确定为最终的检测结果。若确定不相同的话,则可再次执行上述检测动作。这里,上述可选实现方式一与可选实现方式二或者可选实现方式三相互结合的场景有多种,其中任意一种相结合的场景均在本申请保护范围内,为了避免重复,此处便不再一一列举。It should be supplemented here that, in actual implementation, the foregoing optional implementation manner 1 and optional implementation manner 2 or optional implementation manner 3 may be used in combination with each other. For example, the network device may first perform preliminary detection through the above-mentioned optional implementation manner 1 to obtain the first detection result. Then, a second detection is performed through the above-mentioned optional implementation manner 2 to obtain a second detection result. The network device can then determine whether the first detection result and the second detection result are the same. If it is determined to be the same, the first detection result may be determined as the final detection result. If it is determined that they are not the same, the above detection action can be performed again. Here, there are various scenarios in which the above-mentioned optional implementation mode 1 and optional implementation mode 2 or optional implementation mode 3 are combined with each other, and any combination of any one of the scenarios is within the scope of protection of the present application. In order to avoid repetition, here Will not list them one by one.
在本实施例中,网络设备可先确定出N1个第三网络端口,再通过这N1个第三网络端口的实时端口状态或者各第三网络端口所连接的第一导线和第二导线之间的电气参数实测值,以及,网络设备的电缆-网络端口关联关系快速的确定是否存在异常的目标通信电缆。这样就无需外置的检测系统,可降低异常检测成本。并且,由于网络端口的实时端口状态或者所连接的第一导线和第二导线之间的电气参数实测值均为网络设备容易获取到的参量,这样就简化了异常检测的复杂度,可提升异常检测的效率。In this embodiment, the network device may first determine the N1 third network ports, and then pass the real-time port status of the N1 third network ports or the connection between the first wire and the second wire connected to each third network port. The measured value of the electrical parameters, and the cable-network port correlation of the network device can quickly determine whether there is an abnormal target communication cable. This eliminates the need for an external detection system and reduces the cost of anomaly detection. Moreover, since the real-time port status of the network port or the measured value of the electrical parameters between the connected first wire and the second wire are parameters that are easily obtained by the network device, the complexity of abnormality detection is simplified, and the abnormality can be improved. detection efficiency.
请参加图6,图6是本申请实施例提供的一种异物检测装置的结构示意图。该异物检测装置可以是上述实施例一所描述的网络设备本身,也可以是该网络设备内部的模块或者单元。该异物检测装置可用于实现上述实施例一中所描述的网络设备所执行的异物检测方法的各个步骤。如图6所示,该异物检测装置包括:Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of a foreign object detection device provided by an embodiment of the present application. The foreign object detection apparatus may be the network device itself described in the first embodiment, or may be a module or unit inside the network device. The foreign object detection apparatus can be used to implement each step of the foreign object detection method performed by the network device described in the first embodiment. As shown in Figure 6, the foreign object detection device includes:
处理单元601,用于根据网络设备对应的电缆-网络端口关联关系确定与目标通信电缆相连接的N1个第一网络端口。其中,所述电缆-网络端口关联关系用于指示所述网络设备的各个网络端口所连接的通信电缆,所述网络设备一个网络端口通过一根通信电缆中的一对导线与一个用户设备相连接。The processing unit 601 is configured to determine N1 first network ports connected to the target communication cable according to the cable-network port association relationship corresponding to the network device. Wherein, the cable-network port association relationship is used to indicate the communication cable connected to each network port of the network device, and a network port of the network device is connected to a user equipment through a pair of wires in a communication cable .
异常判决参量获取单元602,用于获取所述N1个第一网络端口中各第一网络端口对应的异常判决参量。其中,任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态或者所述任一网络端口对应的第一导线与第二导线之间的电气参数实测值;The abnormal decision parameter obtaining unit 602 is configured to obtain abnormal decision parameters corresponding to each of the first network ports in the N1 first network ports. Wherein, the abnormal judgment parameter corresponding to any network port includes the real-time port state of the any network port or the measured value of the electrical parameter between the first wire and the second wire corresponding to the any network port;
所述处理单元601,还用于根据所述各第一网络端口对应的异常判决参量确定所述目标通信电缆是否异常。The processing unit 601 is further configured to determine whether the target communication cable is abnormal according to abnormal judgment parameters corresponding to the first network ports.
在一些可能的实施方式中,所述任一网络端口对应的异常判决参量包括所述任一网络端口对应的第一导线与第二导线之间的电气参数实测值。所述处理单元601用于:若确定所述各第一网络端口对应的第一导线与第二导线之间的电气参数的实测值不在所述各第一网络端口对应的电气参数阈值范围内,则确定所述目标通信电缆异常。In some possible implementation manners, the abnormal decision parameter corresponding to any one of the network ports includes measured values of electrical parameters between the first wire and the second wire corresponding to the any network port. The processing unit 601 is configured to: if it is determined that the measured value of the electrical parameter between the first wire corresponding to each first network port and the second wire is not within the threshold range of the electrical parameter corresponding to each first network port, Then it is determined that the target communication cable is abnormal.
在一些可能的实施方式中,所述任一网络端口对应的异常判决参量包括所述任一网络端口对应的第一导线与第二导线之间的电气参数实测值。所述处理单元601用于:若确定所述各第一网络端口对应的第一导线与第二导线之间的电气参数的实测值不在所述各第一网络端口对应的电气参数阈值范围内,则控制所述异常判决参量获取单元602获取所述目标通信电缆所连接的N2个第二网络端口中各第二网络端口对应的第一导线与第二导线之间的电气参数实测值。所述处理单元601还用于:若确定所述各第二网络端口对应的第一导线与第二导线之间的电气参数实测值不在所述各第二网络端口对应的电气参数阈值范围内,则确定所述目标通信电缆异常。In some possible implementation manners, the abnormal decision parameter corresponding to any one of the network ports includes measured values of electrical parameters between the first wire and the second wire corresponding to the any network port. The processing unit 601 is configured to: if it is determined that the measured value of the electrical parameter between the first wire corresponding to each first network port and the second wire is not within the threshold range of the electrical parameter corresponding to each first network port, Then, the abnormal judgment parameter obtaining unit 602 is controlled to obtain the measured value of electrical parameters between the first wire and the second wire corresponding to each second network port in the N2 second network ports connected to the target communication cable. The processing unit 601 is further configured to: if it is determined that the measured value of the electrical parameter between the first wire corresponding to each second network port and the second wire is not within the threshold range of the electrical parameter corresponding to each second network port, Then it is determined that the target communication cable is abnormal.
在一些可能的实施方式中,所述处理单元601还用于:若确定所述各第二网络端口对应的第一导线与第二导线之间的电气参数的实测值在所述各第二网络端口对应的电气参数阈值范围内,则根据所述各第一网络端口对应的第一导线与第二导线之间的电气参数实测值对所述各第一网络端口对应的电气参数阈值范围进行更新。In some possible implementation manners, the processing unit 601 is further configured to: if it is determined that the measured value of the electrical parameter between the first wire and the second wire corresponding to each second network port is in the second network The electrical parameter threshold range corresponding to the first network port is updated according to the measured value of the electrical parameter between the first wire and the second wire corresponding to each first network port. .
在一些可能的实施方式中,所述第一导线与第二导线之间的电气参数实测值包括以下中的至少一项:由所述第一导线到所述第二导线测得的电阻值、由所述第二导线到所述第一导线测得的电阻值、所述第一导线与第二导线之间的电容测量值、所述第一导线与接地线之间的电容测量值、所述第二导线与接地线之间的电容测量值、连接在所述第一导线与第二导线之间的预设检测电路对应的电阻测量值、所述预设检测电路对应的电容测量值。In some possible implementations, the measured value of the electrical parameter between the first wire and the second wire includes at least one of the following: a resistance value measured from the first wire to the second wire, The resistance value measured from the second wire to the first wire, the capacitance measurement value between the first wire and the second wire, the capacitance measurement value between the first wire and the ground wire, the The capacitance measurement value between the second wire and the ground wire, the resistance measurement value corresponding to the preset detection circuit connected between the first wire and the second wire, and the capacitance measurement value corresponding to the preset detection circuit.
在一些可能的实施方式中,所述预设检测电路为远端标识电路,所述预设检测电路对应的电阻测量值包括由所述第一导线到所述第二导线测得的所述远端标识电路两端的电阻值和/或由所述第二导线到所述第一导线测得的所述远端标识电路两端的电阻值,所述预设检测电路对应的电容测量值包括由所述第一导线到所述第二导线测得的所述远端标识电路两端的电容值。In some possible implementations, the preset detection circuit is a remote identification circuit, and the resistance measurement value corresponding to the preset detection circuit includes the distance measured from the first lead to the second lead. The resistance value at both ends of the terminal identification circuit and/or the resistance value at both ends of the remote identification circuit measured from the second wire to the first wire, the capacitance measurement value corresponding to the preset detection circuit includes the Capacitance values at both ends of the remote identification circuit measured from the first lead to the second lead.
在一些可能的实施方式中,所述目标通信电缆承载传统电话业务POST,所述任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态,所述任一网络端口的端口状态至少包括摘机锁定状态和挂机状态。所述处理单元601用于:若根据所述各第一网络端口的实时端口状态确定所述各第一网络端口的端口状态均由所述摘机锁定状态切换至所述挂机状态,则确定所述目标通信电缆异常。In some possible implementations, the target communication cable carries the traditional telephone service POST, the abnormal decision parameter corresponding to any network port includes the real-time port status of the any network port, the port of the any network port The states include at least an off-hook lock state and an on-hook state. The processing unit 601 is configured to: if it is determined according to the real-time port state of each first network port that the port state of each first network port is switched from the off-hook lock state to the on-hook state, then determine the port state of each first network port. The target communication cable is abnormal.
在一些可能的实施方式中,当任一第一网络端口对应的第一导线和第二导线短路时,所述任一第一网络端口的端口状态为摘机锁定状态。In some possible implementations, when the first wire and the second wire corresponding to any first network port are short-circuited, the port state of any first network port is an off-hook lock state.
在一些可能的实施方式中,所述目标通信电缆承载x数字用户线xDSL业务,任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态,所述任一网络端口的端口状态至少包括上线状态和下线状态。所述处理单元601用于:若根据所述各第一网络端口的实时端口状态确定所述各第一网络端口的端口状态均由所述上线状态切换至所述下线状态,则确定所述目标通信电缆异常。In some possible implementation manners, the target communication cable carries x digital subscriber line xDSL services, the abnormal decision parameter corresponding to any network port includes the real-time port status of the any network port, the port of the any network port The state includes at least an online state and an offline state. The processing unit 601 is configured to: if it is determined according to the real-time port state of each first network port that the port state of each first network port is switched from the online state to the offline state, then determine the The target communication cable is abnormal.
具体实现中,上述处理单元601以及异常判决参量获取单元602实现上述各种可能的实现方式中的步骤的过程具体可参见上述实施例一中的网络设备所执行的过程,此处便不再赘述。In the specific implementation, the process of the above-mentioned processing unit 601 and the abnormal decision parameter acquisition unit 602 implementing the steps in the above-mentioned various possible implementation manners can refer to the process performed by the network device in the above-mentioned first embodiment, which will not be repeated here. .
请一并参见图6,该异物检测装置还可以是上述实施例二所描述的网络设备本身,也可以是该网络设备内部的模块或者单元。该异物检测装置可用于实现上述实施例二中所描述的网络设备所执行的异物检测方法的各个步骤。如图6所示,该异物检测装置包括:Referring to FIG. 6 together, the foreign object detection apparatus may also be the network device itself described in the second embodiment above, or may be a module or unit inside the network device. The foreign object detection apparatus can be used to implement each step of the foreign object detection method performed by the network device described in the second embodiment. As shown in Figure 6, the foreign object detection device includes:
异常判决参量获取单元602,用于获取网络设备的N1个第三网络端口中各第三网络端口对应的异常判决参量,其中,任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态或者所述任一网络端口对应的第一导线与第二导线之间的电气参数实测值,所述网络设备一个网络端口通过一根通信电缆中的一对导线与一个用户设备相连接,N1为正整数;Abnormal decision parameter acquisition unit 602, configured to acquire abnormal decision parameters corresponding to each third network port in the N1 third network ports of the network device, wherein the abnormal decision parameter corresponding to any network port includes the abnormal decision parameter of any network port. Real-time port status or measured values of electrical parameters between the first wire and the second wire corresponding to any network port, a network port of the network device is connected to a user equipment through a pair of wires in a communication cable , N1 is a positive integer;
处理单元601,用于根据所述各第三网络端口对应的异常判决参量以及所述网络设备对应的电缆-网络端口关联关系确定是否存在异常的目标通信电缆,其中,所述电缆-网络端口关联关系用于指示所述网络设备的各个网络端口所连接的通信电缆。The processing unit 601 is configured to determine whether there is an abnormal target communication cable according to the abnormal judgment parameter corresponding to each third network port and the cable-network port association relationship corresponding to the network device, wherein the cable-network port association Relationships are used to indicate the communication cables to which the respective network ports of the network device are connected.
在一些可能的实施方式中,所述任一网络端口对应的异常判决参量包括所述任一网络端口对应的第一导线与第二导线之间的电气参数实测值。所述处理单元601用于:若根据所述各第三网络端口对应的异常判断参量确定所述N1个第三网络端口中包含N2个第四网络端口,并且根据所述网络设备对应的电缆-网络端口关联关系确定所述N2个第四网络端口同时连接目标通信电缆,则确定存在异常的所述目标通信电缆,其中,所述N2个第四网络端口中的任一第四网络端口对应的第一导线与第二导线之间的电气参数实测值不在所述任一第四网络端口对应的电气参数阈值范围内。In some possible implementation manners, the abnormal decision parameter corresponding to any one of the network ports includes measured values of electrical parameters between the first wire and the second wire corresponding to the any network port. The processing unit 601 is configured to: if it is determined according to the abnormality judgment parameters corresponding to the third network ports that the N1 third network ports include N2 fourth network ports, and according to the cable- The network port association determines that the N2 fourth network ports are connected to the target communication cable at the same time, then it is determined that there is an abnormal target communication cable, wherein any one of the N2 fourth network ports corresponds to the target communication cable. The measured value of the electrical parameter between the first wire and the second wire is not within the electrical parameter threshold range corresponding to any of the fourth network ports.
在一些可能的实施方式中,所述第一导线与第二导线之间的电气参数实测值包括以下中的至少一项:由所述第一导线到所述第二导线测得的电阻值、由所述第二导线到所述第一导线测得的电阻值、所述第一导线与第二导线之间的电容测量值、所述第一导线与接地线之间的电容测量值、所述第二导线与接地线之间的电容测量值、连接在所述第一导线与第二导线之间的预设检测电路对应的电阻测量值、所述预设检测电路对应的电容测量值。In some possible implementations, the measured value of the electrical parameter between the first wire and the second wire includes at least one of the following: a resistance value measured from the first wire to the second wire, The resistance value measured from the second wire to the first wire, the capacitance measurement value between the first wire and the second wire, the capacitance measurement value between the first wire and the ground wire, the The capacitance measurement value between the second wire and the ground wire, the resistance measurement value corresponding to the preset detection circuit connected between the first wire and the second wire, and the capacitance measurement value corresponding to the preset detection circuit.
在一些可能的实施方式中,所述预设检测电路为远端标识电路,所述预设检测电路对应的电阻测量值包括由所述第一导线到所述第二导线测得的所述远端标识电路两端的电阻值和/或由所述第二导线到所述第一导线测得的所述远端标识电路两端的电阻值,所述预设检测电路对应的电容测量值包括由所述第一导线到所述第二导线测得的所述远端标识电路两端的电容值。In some possible implementations, the preset detection circuit is a remote identification circuit, and the resistance measurement value corresponding to the preset detection circuit includes the distance measured from the first lead to the second lead. The resistance value at both ends of the terminal identification circuit and/or the resistance value at both ends of the remote identification circuit measured from the second wire to the first wire, the capacitance measurement value corresponding to the preset detection circuit includes the Capacitance values at both ends of the remote identification circuit measured from the first lead to the second lead.
在一些可能的实施方式中,所述网络设备的通信电缆用于承载传统电话业务POST,任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态,所述任一网络端口的端口状态至少包括摘机锁定状态和挂机状态。所述处理单元601用于:若根据所述各第三网络端口对应的异常判断参量确定所述N1个第三网络端口中包含N2个第四网络端口,并且根据所述网络设备对应的电缆-网络端口关联关系确定所述N2个第四网络端口同时连接目标通信电缆,则确定存在异常的所述目标通信电缆,其中,所述N2个第四网络端口中的任一第四网络端口的端口状态由所述摘机锁定状态切换至所述挂机状态In some possible implementation manners, the communication cable of the network device is used to carry the traditional telephone service POST, and the abnormal judgment parameter corresponding to any network port includes the real-time port status of the any network port, and the any network port The port state includes at least off-hook lock state and on-hook state. The processing unit 601 is configured to: if it is determined according to the abnormality judgment parameters corresponding to the third network ports that the N1 third network ports include N2 fourth network ports, and according to the cable- The network port association determines that the N2 fourth network ports are connected to the target communication cable at the same time, then it is determined that there is an abnormal target communication cable, wherein the port of any fourth network port in the N2 fourth network ports The state is switched from the off-hook lock state to the on-hook state
在一些可能的实施方式中,当任一第三网络端口对应的第一导线和第二导线短路时,所述任一第三网络端口的端口状态为摘机锁定状态。In some possible implementations, when the first wire and the second wire corresponding to any third network port are short-circuited, the port state of any third network port is an off-hook lock state.
在一些可能的实施方式中,所述网络设备的通信电缆用于承载x数字用户线xDSL业务,任一网络端口对应的异常判决参量包括所述任一网络端口的实时端口状态,所述任一网络端口的端口状态至少包括上线状态和下线状态。所述处理单元用于:若根据所述各第三网络端口对应的异常判断参量确定所述N1个第三网络端口中包含N2个第四网络端口,并且根据所述网络设备对应的电缆-网络端口关联关系确定所述N2个第四网络端口同时连接目标通信电缆,则确定存在异常的所述目标通信电缆,其中,所述N2个第四网络端口中的任一第四网络端口的端口状态由所述上线状态切换至所述下线状态,N2为小于或者等于N1的正整数。In some possible implementation manners, the communication cable of the network device is used to carry x digital subscriber line xDSL services, the abnormal decision parameter corresponding to any network port includes the real-time port status of the any network port, and the any The port state of a network port includes at least an online state and an offline state. The processing unit is configured to: if it is determined that the N1 third network ports include N2 fourth network ports according to the abnormality judgment parameters corresponding to the third network ports, and the cable-network corresponding to the network device The port association relationship determines that the N2 fourth network ports are connected to the target communication cable at the same time, then it is determined that there is an abnormal target communication cable, wherein the port status of any fourth network port in the N2 fourth network ports From the online state to the offline state, N2 is a positive integer less than or equal to N1.
具体实现中,上述处理单元601以及异常判决参量获取单元602实现上述各种可能的实现方式中的步骤的过程具体可参见上述实施例二中的网络设备所执行的过程,此处便不再赘述。In the specific implementation, the process of the above-mentioned processing unit 601 and the abnormal decision parameter acquisition unit 602 implementing the steps in the above-mentioned various possible implementation manners may refer to the process performed by the network device in the above-mentioned embodiment 2 for details, which will not be repeated here. .
请参加图7,图7是本申请实施例提供的又一种异物检测装置的结构示意图。该异物检测装置可以是上述实施例一或者实施例二中所描述的网络设备。该异物检测装置可用于实现上述实施例一或者实施例二中所描述的网络设备所执行的异物检测方法的各个步骤。如图7所示,该异物检测装置可包括至少一个处理器701以及至少一个存储器702。所述处理器701和所述存储器702可通过通信总线或者通信接口连接并完成相互间的通信。Please refer to FIG. 7 . FIG. 7 is a schematic structural diagram of another foreign object detection device provided by an embodiment of the present application. The foreign object detection apparatus may be the network device described in Embodiment 1 or Embodiment 2 above. The foreign object detection apparatus may be used to implement each step of the foreign object detection method performed by the network device described in the first embodiment or the second embodiment. As shown in FIG. 7 , the foreign object detection device may include at least one processor 701 and at least one memory 702 . The processor 701 and the memory 702 can be connected through a communication bus or a communication interface and communicate with each other.
具体的,所述存储器702用于存储执行上述实施例一或者实施例中网络设备所实现的通信电缆的异常检测方法的程序代码,所述处理器701用于执行所述存储器702中存储的程序代码以实现实施例一或者实施例二中网络设备所执行的异物检测方法的步骤。具体实现过程可参见前文实施例一或者实施例二中所描述的相应内容,此处便不再赘述。Specifically, the memory 702 is used to store program codes for executing the first embodiment or the method for detecting abnormality of a communication cable implemented by a network device in the embodiment, and the processor 701 is used to execute the program stored in the memory 702 The code is used to implement the steps of the foreign object detection method executed by the network device in the first embodiment or the second embodiment. For a specific implementation process, reference may be made to the corresponding content described in the foregoing Embodiment 1 or Embodiment 2, which will not be repeated here.
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序指令,当其在处理器上运行时,可以实现上述方法实施例中的方法步骤,计算机存储介质的处理器在执行上述方法步骤的具体实现可参照上述方法实施例的具体操作,在此不再赘述。Embodiments of the present application further provide a computer-readable storage medium, where computer program instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium runs on a processor, the method steps in the above method embodiments can be implemented, and the computer storage medium For the specific implementation of the above-mentioned method steps performed by the processor, reference may be made to the specific operations of the above-mentioned method embodiments, and details are not described herein again.
本申请实施例还提供了一种计算机程序产品,该计算机程序产品被计算机执行时实现上述实施例一或者实施例二中网络设备执行的方法或者步骤。An embodiment of the present application further provides a computer program product, which implements the method or steps performed by the network device in the first embodiment or the second embodiment when the computer program product is executed by a computer.
本申请实施例还提供一种芯片或芯片系统,包括输入输出接口和处理电路,所述输入输出接口用于交互信息或数据,所述处理电路用于运行指令,以使得安装所述芯片或芯片系统的装置执行上述实施例一或者实施例二所提供的通信电缆的异常检测方法。An embodiment of the present application further provides a chip or a chip system, including an input and output interface and a processing circuit, where the input and output interface is used for exchanging information or data, and the processing circuit is used for running an instruction to install the chip or chip The device of the system executes the method for detecting abnormality of the communication cable provided in the first embodiment or the second embodiment.
在本申请实施例中,处理器可以是通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制以上方案程序执行的集成电路。In this embodiment of the present application, the processor may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more processors for controlling the execution of programs in the above solutions. integrated circuit.
存储器可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(ElectricallyErasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。The memory can be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types of static storage devices that can store information and instructions The dynamic storage device can also be an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, compact disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage medium or other magnetic storage device, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by a computer any other medium, but not limited to. The memory can exist independently and be connected to the processor through a bus. The memory can also be integrated with the processor.
在上述方法实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。上述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行上述计算机指令时,全部或部分地产生按照本申请实施例上述的流程或功能。上述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。上述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,上述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber Line,DSL)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。上述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。上述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(digital video disc,DVD)、或者半导体介质(例如,固态硬盘(solid state disk,SSD)等。The foregoing method embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product described above includes one or more computer instructions. When the above-mentioned computer instructions are loaded and executed on the computer, all or part of the above-mentioned processes or functions according to the embodiments of the present application are generated. The aforementioned computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The above-mentioned computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the above-mentioned computer instructions may be transmitted from a website site, computer, server, or data center via wired communication. (eg coaxial cable, optical fiber, digital subscriber line (DSL) or wireless (eg infrared, wireless, microwave, etc.) to another website site, computer, server or data center. The above computer readable storage The medium can be any available medium that can be accessed by a computer or a data storage device that contains one or more of the available media integration servers, data centers, etc. The aforementioned available media can be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (For example, a high-density digital video disc (DVD), or a semiconductor medium (for example, a solid state disk (SSD), etc.).
应理解,本申请实施例中的术语“系统”和“网络”常可被互换使用。本实施例中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the terms "system" and "network" in the embodiments of the present application can often be used interchangeably. The term "and/or" in this embodiment is only an association relationship to describe associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, it can mean that A exists alone, A and B exist at the same time, There are three cases of B alone. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. Interchangeability, the above description has generally described the components and steps of each example in terms of function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other manners. For example, the apparatus described above is only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another A system, or some feature, can be ignored, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may also be electrical, mechanical or other forms of connection.
总之,以上上述仅为本申请技术方案的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。In a word, the above are only preferred embodiments of the technical solutions of the present application, and are not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the protection scope of this application.
Claims (34)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110333889.5A CN115133955A (en) | 2021-03-29 | 2021-03-29 | Abnormality detection method and abnormality detection device of communication cable |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110333889.5A CN115133955A (en) | 2021-03-29 | 2021-03-29 | Abnormality detection method and abnormality detection device of communication cable |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115133955A true CN115133955A (en) | 2022-09-30 |
Family
ID=83375593
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110333889.5A Pending CN115133955A (en) | 2021-03-29 | 2021-03-29 | Abnormality detection method and abnormality detection device of communication cable |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115133955A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115372748A (en) * | 2022-10-24 | 2022-11-22 | 深圳博润缘科技有限公司 | Method and system for processing maintenance data of cable |
-
2021
- 2021-03-29 CN CN202110333889.5A patent/CN115133955A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115372748A (en) * | 2022-10-24 | 2022-11-22 | 深圳博润缘科技有限公司 | Method and system for processing maintenance data of cable |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8238263B2 (en) | Network status detection | |
EP3174242A1 (en) | Power over ethernet method and device | |
JP2019501551A (en) | Cloud-based system and method for managing messages related to operation of cable test devices | |
CN109936475A (en) | A kind of method for detecting abnormality and device | |
CN104486155A (en) | Database cluster monitoring method and system | |
CN108562773A (en) | A kind of intelligent electric meter electricity anti-theft system | |
CN115133955A (en) | Abnormality detection method and abnormality detection device of communication cable | |
CN104980318A (en) | Visualized health monitoring method and apparatus for network and server of IDC | |
CN114070752A (en) | Test method, test device, electronic equipment and computer readable storage medium | |
CN117880053A (en) | Method, apparatus, device, storage medium and program product for providing alarm | |
CN109347553B (en) | Method and device for measuring attenuation value of optical fiber | |
CN111465045A (en) | AP monitoring method, monitoring server and monitoring system | |
CN117319252A (en) | Network quality detection result display method, device, equipment and storage medium | |
CN105203146A (en) | Sensor interconnection device and sensor detection system and method | |
CN116405408A (en) | Automatic equipment inspection method, device, equipment and storage medium | |
CN113009246B (en) | PSE device detection device and PSE device detection method | |
KR101680736B1 (en) | Process for checking status of network device | |
CN105577872A (en) | Voice chip detection method and device | |
CN111092445B (en) | Signal reliability detection method, PSE chip, CPU chip and PoE device | |
CN115512472B (en) | Information matching method and device, electronic equipment and storage medium | |
CN106921606B (en) | Session detection method, device and system | |
CN118503944B (en) | Authentication method, device, equipment and storage medium | |
CN119544341A (en) | Application access control method, device, equipment, medium and product | |
WO2017202241A1 (en) | Crosstalk detection method and apparatus, and operation maintenance server | |
CN114339949B (en) | Method, equipment and storage medium for realizing intelligent gateway |
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 |