Multi-channel optical cable general survey method, device, equipment, storage medium and product
By setting the tapping interval of the optical cable census instrument to be positively correlated with the polling time, the problem of random and blind tapping leading to missed inspections in the optical cable census is solved, and a more efficient and accurate optical cable census is achieved.
Patent Information
- Application Number
- CN202411401980.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2025-01-24
AI Technical Summary
In the existing optical cable census technology, the knocking is relatively random and blind, which leads to the problem of missing optical cable inspection.
By obtaining the polling time of each channel of the optical cable census instrument, and setting the corresponding tapping interval time, the tapping interval time is positively correlated with the polling time, so that the optical cable census instrument can always switch to Different fiber optic cables.
Avoid frequent knocking for a long time, improve the efficiency and accuracy of the census of the optical cable, ensure the balance of the probability of each channel being asked, and reduce the phenomenon of optical cable missed inspection.
Smart Images

Figure CN119363220A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of optical cable census, and in particular to a multi-channel optical cable census method, device, equipment, storage medium and product. Background Art
[0002] The optical cable survey instrument is an instrument for finding the direction of the optical cable line. It is usually composed of a signal sending and receiving module, an optical switch, an I / O interface, a signal processing module, and a communication module. Each path of the optical switch is connected to an I / O interface. When using the optical cable survey instrument, first connect the I / O interface of the optical cable survey instrument to any idle optical fiber of the optical cable, and then knock on the manhole cover, electric pole and other external auxiliary facilities on the route where the optical cable may pass to generate a knocking vibration signal. The optical cable survey instrument determines the route of the optical cable by detecting the knocking vibration signal in the optical cable.
[0003] The optical cable survey instrument can connect multiple optical cables at the same time, and by polling the optical switch in the optical cable survey instrument, multiple optical cables can be tested at the same time. When an external force (such as knocking) acts on the optical cable, the time it takes for the knocking vibration signal to propagate in the optical cable and gradually weaken to an undetectable state (generally half of the maximum value of the knocking vibration signal) is called the attenuation time. Since the attenuation time of the knocking vibration signal generated by the knocking in the optical cable is relatively short, when the number of channels of the optical switch is relatively large, it is impossible to complete the polling of all channels within the attenuation time generated by one knocking. Therefore, frequent knocking for a long time is required to increase the probability of each channel being polled. However, the current knocking is relatively random and blind, which makes it easy for optical cables to be missed. Summary of the invention
[0004] In order to solve the above technical problems, the present application provides a multi-channel optical cable census method, device, equipment, storage medium and product to solve the problem in the prior art that the tapping is relatively random and blind, which leads to easy leakage of optical cables.
[0005] The present application embodiment provides a multi-channel optical cable census method, comprising:
[0006] Get the polling time of each channel of the optical cable survey instrument;
[0007] According to the polling time, a knocking interval is set, so that when the knocking test is performed according to the knocking interval, the optical cable census instrument performs an optical cable census according to the polling time to obtain an optical cable census result;
[0008] The tapping interval time is positively correlated with the polling time.
[0009] As an improvement of the above solution, setting the tapping interval time according to the polling time includes:
[0010] Obtaining the number of channels of the optical cable survey instrument;
[0011] The tapping interval is set according to the number of channels and the polling time; wherein the tapping interval is positively correlated with the number of channels.
[0012] As an improvement of the above solution, the tapping interval is set according to the number of channels and the polling time, including:
[0013] According to the number of channels and the polling time, the tapping interval is set to or Where ts is the polling time of each channel, N is the number of channels, and m is a positive number.
[0014] As another improvement of the above solution, setting the tapping interval time according to the polling time includes:
[0015] According to the polling time, the tapping interval is set to ts, wherein ts is the polling time of each channel.
[0016] As an improvement of the above solution, the tapping interval is 500ms to 1000ms.
[0017] As an improvement of the above solution, the polling time is less than or equal to the time it takes for the knocking vibration signal to decay from a maximum value to a preset value in the optical cable.
[0018] The embodiment of the present application also provides a multi-channel optical cable census device, comprising:
[0019] A polling time acquisition module is used to obtain the polling time of each channel of the optical cable survey instrument;
[0020] A tapping interval setting module is used to set the tapping interval according to the polling time, so that when the tapping test is performed according to the tapping interval, the optical cable census instrument performs an optical cable census according to the polling time to obtain an optical cable census result; wherein the tapping interval is positively correlated with the polling time.
[0021] An embodiment of the present application also provides a multi-channel optical cable census device, including a processor and a memory, wherein a computer program is stored in the memory, and the computer program is configured to be executed by the processor, and when the processor executes the computer program, any of the multi-channel optical cable census methods described above is implemented.
[0022] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the multi-channel optical cable census methods described above.
[0023] An embodiment of the present application further provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the multi-channel optical cable census method described in any one of the above items is implemented.
[0024] Compared with the prior art, the beneficial effects of a multi-channel optical cable census method, device, equipment, storage medium and product provided by the embodiments of the present application are: by setting the tapping interval time according to the polling time of each channel of the optical cable census instrument, the tapping interval time and the polling time are set to be positively correlated, so that the tapping interval time and the polling time have a certain synchronization relationship, and then the optical cable census instrument can always switch to different optical cables during two adjacent tappings, so that there is no need to perform long-term and frequent tapping tests. The optical cable census instrument can poll all optical cables, which can avoid the phenomenon of optical cable missed detection, and make the probability of each channel being polled balanced, thereby improving the efficiency and accuracy of the optical cable census. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a structural schematic diagram of an optical cable survey instrument;
[0026] Figure 2 It is a schematic diagram of the principle of optical cable census;
[0027] Figure 3 It is a schematic diagram of multi-channel simultaneous testing of an optical cable survey instrument;
[0028] Figure 4 It is a schematic diagram of the relationship between attenuation time and polling time when an optical cable survey instrument is testing;
[0029] Figure 5 It is a flowchart of a multi-channel optical cable census method provided in an embodiment of the present application;
[0030] Figure 6 It is a schematic diagram of the relationship between the knocking sequence, the polling cycle and the channels in a multi-channel optical cable census method provided by an embodiment of the present application;
[0031] Figure 7 It is a structural schematic diagram of a multi-channel optical cable census device provided in an embodiment of the present application;
[0032] Figure 8 It is a structural schematic diagram of a multi-channel optical cable census device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0034] See also Figure 1 , Figure 1 It is a structural diagram of an optical cable survey instrument. The part connected by solid lines in the figure is the optical path part, and the part connected by dotted lines is the circuit part. The optical cable survey instrument includes a signal sending and receiving module, an optical switch, an I / O interface, a signal processing module and a communication module. Among them, the optical switch is a 1×N optical switch, N is the number of channels, which can be 16, 20, 32, 48 or 64. Each channel of the optical switch is connected to an I / O interface. The I / O interface is an optical fiber active connection interface, which can be connected to an optical fiber in the optical cable through a jumper through an ODF (Optical Distribution Frame). The communication module can communicate with the outside world via wired or wireless means.
[0035] See also Figure 2 , Figure 2 It is a schematic diagram of the principle of optical cable survey. When conducting an optical cable survey, first connect the optical cable survey instrument (instrument) to any idle optical fiber in the optical cable to be surveyed through a jumper; then, use a hammer or other tools to knock on facilities such as manhole covers and electric poles on the route where the optical cable may pass. The optical cable survey instrument uses the principle of φ-OTDR to detect the knocking vibration signal in the optical cable. When the vibration position and intensity information detected by the optical cable survey instrument match the actual knocking point position and knocking intensity, it means that the optical cable passes through the hand hole or electric pole at the knocking point; if it does not match, it means that the optical cable does not pass through the hand hole or electric pole at the knocking point. Furthermore, by knocking on external ancillary facilities such as manhole covers and electric poles on the route where the optical cable may pass, the route of the optical cable can be determined and an optical cable survey can be achieved.
[0036] See also Figure 3 , Figure 3 This is a schematic diagram of a multi-channel simultaneous test of an optical cable survey instrument. The optical cable survey instrument can connect multiple optical cables at the same time, and select any idle optical fiber from each optical cable and connect it to the I / O interface of the optical cable survey instrument through a jumper. By polling the optical switch in the optical cable survey instrument, multiple optical cables can be tested at the same time. When multiple optical cables pass through the same hand hole or pole, the corresponding hand hole cover or pole can be knocked, and the optical cable survey instrument can determine which optical cables pass through the hand hole or pole, thereby realizing a multi-channel optical cable survey.
[0037] The polling time of each channel of the optical cable survey instrument is the polling time of each channel of the optical switch of the optical cable survey instrument. Generally speaking, for the same optical cable survey instrument, the polling time of each channel is the same. One polling (switching from one channel to the next) time includes the switching time of the optical switch and the connection time of the channel, that is, the polling time of each channel = the switching time of the optical switch + the connection time of the channel.
[0038] See also Figure 4 , Figure 4 It is a diagram showing the relationship between attenuation time and polling time when the optical cable survey instrument is testing. Generally, if the attenuation time td is completely within 1 polling time ts (counted as 1 time slot), the optical cable survey instrument will poll 1 channel when it is struck, such as Figure 4 As shown in td1, within the attenuation time td1, the optical cable survey instrument can poll the channel corresponding to the time slot ts1; if the attenuation time td spans 2 or 3 time slots ts, the optical cable survey instrument will poll 2 or 3 channels when tapping, as shown in Figure 4 As shown in td2 and td3, within the decay time td2, the optical cable survey instrument can poll the two channels corresponding to time slots ts3 and ts4, and within the decay time td3, the optical cable survey instrument can poll the three channels corresponding to time slots ts6, ts7 and ts8. However, the decay time of the knock vibration signal in the optical cable is relatively short. When there are many channels to be polled, one decay time td cannot span more time slots ts, that is, the optical switch often cannot complete the polling of all channels within the decay time generated by one knock.
[0039] Therefore, the probability of each channel being polled is increased by continuously knocking on the manhole cover or pole. However, this is done randomly and blindly, which often results in some channels being polled after many knocks, or even some channels never being polled. For example, the number of channels N of the optical cable survey instrument is 16, the polling time ts of each channel is 100ms, and the polling cycle (i.e., the total polling time of all channels of the optical cable survey instrument) T = ts × N = 100ms × 16 = 1600ms. If the knocking interval is 800ms, then the channels polled by the optical cable survey instrument are the same every two knocks, resulting in missed detection of optical cables connected by multiple channels.
[0040] Therefore, an embodiment of the present application provides a multi-channel optical cable census method to solve the problem that an optical cable census instrument needs to perform long-term and frequent tapping when conducting a multi-channel census, which is relatively random and blind, and the probability of different channels being polled during tapping is uneven, which easily leads to missed detections.
[0041] See also Figure 5 , Figure 51 is a flow chart of a multi-channel optical cable census method provided in an embodiment of the present application. The multi-channel optical cable census method comprises:
[0042] S1: Get the polling time of each channel of the optical cable survey instrument;
[0043] S2: according to the polling time, a knocking interval is set, so that when the knocking test is performed according to the knocking interval, the optical cable survey instrument performs an optical cable survey according to the polling time to obtain an optical cable survey result;
[0044] The tapping interval time is positively correlated with the polling time.
[0045] Specifically, the communication module of the optical cable survey instrument can be connected to the cloud management platform (i.e., a server deployed in the cloud) by wire or wireless means, and survey personnel can use the terminal to communicate with the optical cable survey instrument through the cloud management platform. When survey personnel conduct an optical cable survey on the optical cable route, they open the corresponding optical cable survey application on the terminal and send a start test instruction to the optical cable survey instrument through the application; when the optical cable survey instrument receives the start test instruction, it prepares for the optical cable survey test.
[0046] When the optical cable survey instrument is ready, the application obtains the polling time of each channel of the optical cable survey instrument, and sets the knocking interval time (i.e. the interval time between two adjacent knocks) according to the polling time; wherein the knocking interval time is positively correlated with the polling time.
[0047] The polling time can be obtained by querying the configuration file of the optical cable survey instrument, or it can be set in advance by the user. For the latter, the survey personnel can select the required polling time through the optical cable survey application, and then the application sends the selected polling time to the optical cable survey instrument, so that the optical cable survey instrument controls the optical switch to poll according to the selected polling time. The polling time is preferably 50ms to 100ms, so as to avoid misjudgment caused by too short connection time of each channel, and improve the accuracy of optical cable survey.
[0048] The application prompts the knocking interval by sound and / or text and / or numbers, or sends the knocking interval to a knocker, so that the knocker knocks the external auxiliary facilities of the optical cable according to the knocking interval.
[0049] For example, like an electronic metronome, sound and / or text and / or numbers are used to prompt the knocking interval, so that census workers can use tools such as hammers to knock on external ancillary facilities such as manhole covers and electric poles according to the knocking interval prompted by the application.
[0050] It is understandable that when the number of channels of the optical cable survey instrument is large (such as 48 channels and above), it often takes a long time of uninterrupted tapping to conduct a survey at one location, which is time-consuming and prone to errors. In this case, a knocker can be used for tapping. The knocker is connected to the terminal via Bluetooth. When the optical cable survey application starts running, the knocking interval is transmitted to the knocker, and the knocker knocks on external ancillary facilities such as manhole covers and electric poles according to the knocking interval to complete the optical cable survey. In addition, the knocking intensity can also be transmitted to the knocker, and the knocker knocks according to the knocking intensity.
[0051] At the same time, the optical switch in the optical cable survey instrument polls according to the polling time to complete the optical cable survey and obtain the optical cable survey results. The optical cable survey results can also be sent to the terminal in real time for the convenience of survey personnel to view.
[0052] In the embodiment of the present application, since the polling time is proportional to the knocking interval time, the knocking interval time maintains a certain synchronization relationship with the polling time. When the census personnel conduct an optical cable census in a hand hole or pole, they only need to knock several times in succession to quickly determine how many optical cables pass through the hand hole or pole at the same time, without the need for long and frequent knocking.
[0053] As one of the optional embodiments, setting the tapping interval time according to the polling time includes:
[0054] According to the polling time, the tapping interval is set to ts, wherein ts is the polling time of each channel.
[0055] For example, using a 16-channel optical cable survey instrument to survey 16 optical cables at the same time, the tapping interval is set to keep the tapping interval consistent with the polling time of each optical switch channel. For example, when the polling time of each channel is set to 1s, the tapping interval is also set to 1s. When conducting an optical cable survey, the surveyor taps 16 times at a beat of 1 per second to complete the polling of 16 channels.
[0056] The embodiment of the present application can balance the probability of different channels being polled during tapping, and can poll all optical cables without long tapping, thereby avoiding the phenomenon of optical cable leakage.
[0057] As another optional embodiment, setting the tapping interval time according to the polling time includes:
[0058] Obtaining the number of channels of the optical cable survey instrument;
[0059] The tapping interval is set according to the number of channels and the polling time; wherein the tapping interval is positively correlated with the number of channels.
[0060] Further, the step of setting the tapping interval according to the number of channels and the polling time includes:
[0061] According to the number of channels and the polling time, the tapping interval is set to or Where ts is the polling time of each channel, N is the number of channels, and m is a positive number.
[0062] For example, using a 16-channel optical cable survey instrument to survey 16 optical cables at the same time, the tapping interval is set to or Where ts is the polling time and m is a positive number.
[0063] The polling time ts is set to 100ms. When the value of m is 1, the tapping interval is 1500ms or 1700ms. At this time, the optical cable survey instrument can poll different channels each time it taps. For example, when the tapping interval is set to 1500ms, if the optical cable survey instrument polls the 5th optical cable (corresponding to channel 5) during the first tap, the optical cable survey instrument polls the 4th optical cable during the second tap, and the optical cable survey instrument polls the 3rd optical cable during the third tap, and so on. As long as the tapping interval is kept at the same time, the optical cable survey instrument can poll the 16 channels in turn.
[0064] As an optional embodiment, the tapping interval is 500ms to 1000ms.
[0065] Preferably, when taking the value of m, the tapping interval is: or It is between 500ms and 1000ms to suit people's operating habits.
[0066] For example, the polling time ts is set to 100ms. When m is set to 1 so that the tapping interval is greater than 1000ms, m can be set to 2, and the tapping interval is or That is, 750ms or 850ms. When the tapping interval is 750ms, the relationship between the tapping sequence, polling cycle and the channel is as follows: Figure 6As shown, the numbers in the gray cells represent the sequence number of the knocks. For example, the numbers in the cells corresponding to channel 5 in the polling cycle T1 represent the first knock. During the decay time of the first knock, the optical cable survey instrument polls channel 5. In the gray cells, when the numbers with the same sequence number span two adjacent cells, it means that the optical cable survey instrument will poll two channels within one knock time. For example, during the second knock, the optical cable survey instrument can poll channels 12 and 13. Since the polling time usually does not exceed the decay time, that is, each knock usually has 1 to 3 (at least 1) optical cables that can detect the vibration signal, then for the two knocks in one polling cycle, at least 3 optical cables can sense the vibration signal. Therefore, within N-1 polling cycles (equivalent to 24s), all 16 optical cables sense the vibration signals of at least 3 knocks, which greatly reduces the probability of misjudgment caused by knock errors or other noise interference.
[0067] The embodiment of the present application can make the probability of different channels being polled equal when tapping, and all optical cables can be polled without long tapping. In addition, not only the probability of misjudgment caused by tapping errors or other noise interference is greatly reduced, but also the number of tappings does not need to be counted again from the tapping error, which is suitable for the situation where there are many optical cables connected to the optical cable survey instrument.
[0068] As an optional embodiment, the polling time is less than or equal to the time it takes for the knocking vibration signal to decay from a maximum value to a preset value in the optical cable.
[0069] Wherein, the preset value is set to half of the maximum value of the knocking vibration signal.
[0070] Specifically, the time it takes for the knock vibration signal to decay from the maximum value to half in the optical cable, i.e., the decay time, is usually 50 ms to 200 ms.
[0071] In the prior art, the optical cable survey requires the arrangement of personnel to operate the optical cable survey instrument and the optical cable route survey (at least two people in a group), and the survey personnel need to climb poles or go down wells, which is not only inefficient, but also has safety risks. On average, a group can only survey about 10 kilometers of optical cables per day. However, by using the method of the embodiment of the present application to conduct a survey, only one person is needed to complete the operation, and the operation is simple. Normally, about 200 kilometers of optical cables can be surveyed every day, which greatly improves the survey efficiency. While helping to improve the accuracy of resources, it also provides a solid foundation for optical cable resource planning and network optimization layout.
[0072] Compared with the prior art, the embodiment of the present application does not require long-term tapping of external auxiliary facilities such as manhole covers and electric poles when conducting multi-optical cable testing, and is not prone to missed detection. For example, for a 16-channel optical cable survey instrument, when the polling time is set to 100ms or 50ms, it only takes 24 seconds or 12 seconds to poll all channels. If the optical cables connected to the 16 channels all pass through the same tapping point, then each optical cable will sense at least 3 tapping vibrations, which reduces the probability of missed detection and improves the efficiency of optical cable surveys.
[0073] Correspondingly, the present application also provides a multi-channel optical cable census device, which can implement all processes of the multi-channel optical cable census method in the above embodiment.
[0074] See also Figure 7 , Figure 7 1 is a schematic diagram of the structure of a multi-channel optical cable census device provided in an embodiment of the present application. The multi-channel optical cable census device comprises:
[0075] The polling time acquisition module 701 is used to acquire the polling time of each channel of the optical cable survey instrument;
[0076] The tapping interval setting module 702 is used to set the tapping interval according to the polling time, so that when the tapping test is performed according to the tapping interval, the optical cable survey instrument performs an optical cable survey according to the polling time to obtain an optical cable survey result; wherein the tapping interval is positively correlated with the polling time.
[0077] Preferably, the tapping interval setting module 702 is further used for:
[0078] Obtaining the number of channels of the optical cable survey instrument;
[0079] The tapping interval is set according to the number of channels and the polling time; wherein the tapping interval is positively correlated with the number of channels.
[0080] Preferably, the tapping interval setting module 702 is further used for:
[0081] According to the number of channels and the polling time, the tapping interval is set to or Where ts is the polling time of each channel, N is the number of channels, and m is a positive number.
[0082] Preferably, the tapping interval setting module 702 is further used for:
[0083] According to the polling time, the tapping interval is set to ts, wherein ts is the polling time of each channel.
[0084] Preferably, the tapping interval is 500ms to 1000ms.
[0085] Preferably, the polling time is less than or equal to the time it takes for the knocking vibration signal to decay from a maximum value to a preset value in the optical cable.
[0086] In the specific implementation, the working principle, control process and technical effect achieved by the multi-channel optical cable census device provided in the embodiment of the present application are the same as those of the multi-channel optical cable census method in the above embodiment, and will not be repeated here.
[0087] See also Figure 8 , Figure 8 8 is a schematic diagram of the structure of a multi-channel optical cable census device provided in an embodiment of the present application, wherein the multi-channel optical cable census device comprises: a processor 801, a memory 802, and a computer program stored in the memory 802 and executable on the processor 801. When the processor 801 executes the computer program, the steps in the multi-channel optical cable census method embodiment described above are implemented. Alternatively, when the processor 801 executes the computer program, the functions of each module / unit in each of the above-mentioned device embodiments are implemented.
[0088] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory 802 and executed by the processor 801 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the multi-channel optical cable survey device.
[0089] The multi-channel optical cable survey device may include, but is not limited to, a processor 801 and a memory 802. Those skilled in the art will appreciate that the schematic diagram is merely an example of a multi-channel optical cable survey device and does not constitute a limitation on the multi-channel optical cable survey device. The multi-channel optical cable survey device may include more or fewer components than shown in the diagram, or may combine certain components, or different components. For example, the multi-channel optical cable survey device may also include input and output devices, network access devices, buses, etc.
[0090] The processor 801 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 801 is the control center of the multi-channel optical cable census equipment, and uses various interfaces and lines to connect various parts of the entire multi-channel optical cable census equipment.
[0091] The memory 802 can be used to store the computer program and / or module. The processor 801 realizes various functions of the multi-channel optical cable survey device by running or executing the computer program and / or module stored in the memory 802 and calling the data stored in the memory 802. The memory 802 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory 802 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0092] Wherein, if the module / unit integrated in the multi-channel optical cable survey equipment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor 801, the steps of the above-mentioned method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc.
[0093] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the multi-channel optical cable census method described in any of the above embodiments.
[0094] The embodiment of the present application further provides a computer program product, including a computer program / instruction, which, when executed by a processor of the computer program / instruction, implements the multi-channel optical cable census method described in any of the above embodiments.
[0095] The method in the present application can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the present application is executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, a core network device, an OAM or other programmable device.
[0096] The computer program or 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 computer program or instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; it may also be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.
[0097] The computer programs / instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing / processing device.
[0098] The computer program instructions for performing the operation of the present application can be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions can be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of a computer-readable program instruction to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), the electronic circuit can execute a computer-readable program instruction, thereby realizing various aspects of the present application.
[0099] Various aspects of the present application are described herein with reference to flowcharts and / or block diagrams according to embodiments of the present application. It should be understood that each block of the flowcharts and / or block diagrams and the combination of each block in the flowcharts and / or block diagrams can be implemented by computer-readable program instructions.
[0100] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0101] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0102] Each square frame in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, program segment or an instruction comprises one or more executable instructions for realizing the logical function of the regulation. In some implementations as replacement, the function marked in the square frame can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square frames can actually be executed substantially in parallel, and they can also be executed in the opposite order sometimes, depending on the function involved. It should also be noted that each square frame in the block diagram and / or the flow chart, and the combination of the square frames in the block diagram and / or the flow chart can be realized by a dedicated hardware-based system that performs the function or action of the regulation, or can be realized by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to realize by hardware, realize by software, and realize by the combination of software and hardware.
[0103] The embodiments of the present application provide a multi-channel optical cable census method, device, equipment, storage medium and product, which have the beneficial effects of: by setting the knocking interval time according to the polling time of each channel of the optical cable census instrument, the knocking interval time and the polling time are set to be positively correlated, so that the knocking interval time and the polling time have a certain synchronization relationship, and then the optical cable census instrument can always switch to different optical cables during two adjacent knocks, so that there is no need to perform long-term and frequent knocking tests. The optical cable census instrument can poll all optical cables, which can avoid the phenomenon of optical cable missed detection, and make the probability of each channel being polled balanced, thereby improving the efficiency and accuracy of the optical cable census.
[0104] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications are also considered to be within the scope of protection of the present application.
Claims
1. A multi-channel optical cable census method, characterized in that: include: Get the polling time of each channel of the optical cable survey instrument; According to the polling time, a knocking interval is set, so that when the knocking test is performed according to the knocking interval, the optical cable census instrument performs an optical cable census according to the polling time to obtain an optical cable census result; The tapping interval time is positively correlated with the polling time.
2. The multi-channel optical cable survey method according to claim 1, characterized in that: The step of setting the tapping interval time according to the polling time includes: Obtaining the number of channels of the optical cable survey instrument; The tapping interval is set according to the number of channels and the polling time; wherein the tapping interval is positively correlated with the number of channels.
3. The multi-channel optical cable survey method as claimed in claim 2, characterized in that: The step of setting the tapping interval time according to the number of channels and the polling time includes: According to the number of channels and the polling time, the tapping interval is set to or Where ts is the polling time of each channel, N is the number of channels, and m is a positive number.
4. The multi-channel optical cable survey method according to claim 1, characterized in that: The step of setting the tapping interval time according to the polling time includes: According to the polling time, the tapping interval is set to ts, wherein ts is the polling time of each channel.
5. The multi-channel optical cable survey method according to claim 1, characterized in that: The tapping interval is 500ms to 1000ms.
6. The multi-channel optical cable survey method according to claim 1, characterized in that: The polling time is less than or equal to the time it takes for the knocking vibration signal to decay from a maximum value to a preset value in the optical cable.
7. A multi-channel optical cable survey device, characterized in that: include: A polling time acquisition module is used to obtain the polling time of each channel of the optical cable survey instrument; A tapping interval setting module is used to set the tapping interval according to the polling time, so that when the tapping test is performed according to the tapping interval, the optical cable census instrument performs an optical cable census according to the polling time to obtain an optical cable census result; wherein the tapping interval is positively correlated with the polling time.
8. A multi-channel optical cable survey device, characterized in that: The invention comprises a processor and a memory, wherein a computer program is stored in the memory and the computer program is configured to be executed by the processor, and the processor implements the multi-channel optical cable survey method as claimed in any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the device where the computer-readable storage medium is located executes the computer program, the multi-channel optical cable census method according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the multi-channel optical cable survey method according to any one of claims 1 to 6 is implemented.