CN109756262A - A kind of optical fiber telecommunications line monitoring method, device and computer storage medium - Google Patents

A kind of optical fiber telecommunications line monitoring method, device and computer storage medium Download PDF

Info

Publication number
CN109756262A
CN109756262A CN201910146052.2A CN201910146052A CN109756262A CN 109756262 A CN109756262 A CN 109756262A CN 201910146052 A CN201910146052 A CN 201910146052A CN 109756262 A CN109756262 A CN 109756262A
Authority
CN
China
Prior art keywords
level
monitoring unit
host
otdr
time slice
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
Application number
CN201910146052.2A
Other languages
Chinese (zh)
Inventor
刘守起
曾炼
董婷
熊涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Accelink Technologies Co Ltd
Original Assignee
Accelink Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Accelink Technologies Co Ltd filed Critical Accelink Technologies Co Ltd
Priority to CN201910146052.2A priority Critical patent/CN109756262A/en
Publication of CN109756262A publication Critical patent/CN109756262A/en
Pending legal-status Critical Current

Links

Landscapes

  • Optical Communication System (AREA)

Abstract

The embodiment of the invention discloses a kind of optical fiber telecommunications line monitoring method, device and computer storage medium, method comprises determining that the level of current time piece, and the timeslice includes the first level and the second electrical level of another a period of time of a period of time;According to the level of the current time piece, trigger that the corresponding optical time domain reflectometer OTDR monitoring unit of the level starts to measure work or Optical Supervisory Channel OSC monitoring unit starts channel monitoring work.

Description

Optical fiber communication line monitoring method and device and computer storage medium
Technical Field
The present invention relates to the field of optical fiber communication, and in particular, to a method and an apparatus for monitoring an optical fiber communication line, and a computer storage medium.
Background
In recent years, optical fiber transmission technology has been widely used in core backbone networks and metropolitan area networks. A normal optical fiber transmission line is one of the prerequisites for a normal operation of an information network, and therefore, it is very necessary to monitor the optical fiber communication line in real time.
Currently, the Optical Supervisory Channel (OSC) is implemented by generating an Optical supervisory signal with a wavelength of 1510nm at a transmitting end, synthesizing the Optical supervisory signal with a service Optical signal into a composite Optical signal for transmission, and separating the Optical supervisory signal at a receiving end for Channel monitoring.
An Optical Time Domain Reflectometer (OTDR) can measure from one end of an Optical cable in a non-destructive manner, not only can measure the average loss of the Optical fiber, but also can provide the loss characteristic of the Optical cable, and can detect the physical defect and the position of a breaking point of the Optical cable, determine the loss and the position of a joint, measure the length of the Optical cable, and the like. Therefore, the method is widely applied to scenes such as experimental research, optical cable manufacturing, engineering sites, maintenance test and the like. In addition, the optical time domain reflectometer is the basis for realizing an on-line monitoring system of the optical cable. In principle, the optical time domain reflectometer injects a high-power laser pulse into an optical fiber from one end, then detects an optical signal of the laser pulse returning along the back of the optical fiber at the same end, and the detected optical signal contains a rayleigh backscattering signal, so that loss information of light transmitted along the optical fiber can be obtained by measuring the power of the returned rayleigh backscattering light, and the attenuation of the optical fiber can be detected. Furthermore, the location of the abrupt change in refractive index will produce fresnel reflections from which the breaking point, failure point, etc. of the fiber can be determined.
There are two main Multiplexing modes of optical channel monitoring and optical time domain reflectometer, wherein one of the Multiplexing modes is to use Dense optical wave Multiplexing (DWDM) technology, and the Multiplexing mode makes the optical path systems of the optical channel monitoring and optical time domain reflectometer more complicated, greatly increases the instability of the system, and also increases the cost; the other multiplexing mode is to control the optical monitoring channel and the optical time domain reflectometer to work, although the multiplexing mode is simpler in terms of hardware structure, in the actual system control work, the two modules of the optical channel monitoring module and the optical time domain reflectometer cannot communicate with each other, and the optical monitoring channel and the optical time domain reflectometer share the same laser and cannot work coordinately.
Therefore, the main challenge faced by the current system is how to efficiently and accurately control the optical supervisory channel and the optical time domain reflectometer. How to coordinate the two monitoring modes of the optical monitoring channel and the optical time domain reflectometer is an urgent problem to be solved in the monitoring of the optical fiber communication line.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for monitoring an optical fiber communication line and a computer storage medium to solve at least one problem existing in the prior art, so as to solve the problem that two monitoring modes, namely an optical monitoring channel and an optical time domain reflectometer, cannot work in coordination.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for monitoring an optical fiber communication line, where the method includes:
determining a level of a current time slice, the time slice comprising a first level for a period of time and a second level for another period of time;
and triggering an OTDR monitoring unit corresponding to the level to start measurement work or an OSC monitoring unit of an optical monitoring channel to start channel monitoring work according to the level of the current time slice.
In the foregoing technical solution, the triggering, according to the level of the current time slice, the OTDR monitoring unit corresponding to the level to start measurement work or the OSC monitoring unit to start channel monitoring work includes:
triggering an OTDR monitoring unit corresponding to the first level to start measurement according to the level of the current time slice as the first level;
and triggering an OSC monitoring unit corresponding to the second level to start channel monitoring work according to the fact that the level of the current time slice is the second level.
In the foregoing technical solution, the triggering the OTDR monitoring unit corresponding to the level to start measurement includes:
the method comprises the steps that a host sends a square wave signal to a first I/O interface of an OTDR monitoring unit through the host;
the square wave signal is used for: and the OTDR monitoring unit starts measurement when monitoring that a square wave signal appears on a first I/O interface from the host to the OTDR monitoring unit.
In the above technical solution, the triggering the OSC supervisory unit corresponding to the level to start channel supervisory operation includes:
the host sets a signal of a third I/O interface from the host to the OSC monitoring unit to a third level;
the third level is used for: and the OSC monitoring unit starts channel monitoring work when a third level appears on a third I/O interface from the host to the OSC monitoring unit.
In the above technical solution, the method further includes:
the host sets a signal from the host to a third I/O interface of an OSC monitoring unit to a fifth level according to a fourth level of a second I/O interface from the OTDR monitoring unit to the host; the fourth level is set for the OTDR monitoring unit to start measurement and set a signal of a second I/O interface from the OTDR monitoring unit to the host;
the host maintains a first I/O interface signal of the host to the OTDR monitoring unit at a sixth level.
In the above technical solution, the method further includes:
the host determines that the current time slice is a first level according to a seventh level of a second I/O interface from the OTDR monitoring unit to the host, and obtains the remaining time length of the first level time slice according to the total time length of the current first level time slice and the time length of the used first level time slice; the seventh level is set for the OTDR monitoring unit to finish measurement and set a signal of a second I/O interface from the OTDR monitoring unit to the host;
and the host machine determines that the remaining duration of the first level time slice is greater than a time threshold value, and sends a square wave signal through a first I/O interface from the host machine to an OTDR monitoring unit.
In a second aspect, an embodiment of the present invention provides an optical fiber communication line monitoring apparatus, where the apparatus includes:
a determining unit, configured to determine a level of a current time slice, where the time slice includes a first level for a period of time and a second level for another period of time;
and the triggering unit is used for triggering the OTDR monitoring unit corresponding to the level to start measurement work or the OSC monitoring unit corresponding to the level to start channel monitoring work according to the level of the current time slice.
In a third aspect, an embodiment of the present invention provides an optical fiber communication line monitoring apparatus, where the apparatus includes a network interface, a memory, and a processor; wherein,
the network interface is configured to realize connection communication between the components;
the memory configured to store a computer program operable on the processor;
the processor is configured to perform the method of the first aspect when running the computer program.
In a fourth aspect, an embodiment of the present invention provides an optical fiber communication line monitoring system, where the system includes:
the system comprises a host, a time slice and a controller, wherein the host is used for determining the level of the current time slice, and the time slice comprises a first level for a period of time and a second level for another period of time; triggering an optical time domain reflectometer OTDR monitoring unit corresponding to the level to start measurement work or an optical monitoring channel OSC monitoring unit to start channel monitoring work according to the level of the current time slice;
the OTDR monitoring unit is used for measuring the loss of the characteristic points on the optical fiber;
and the OSC monitoring unit is used for monitoring the optical fiber channel according to the optical monitoring signal.
In a fifth aspect, an embodiment of the present invention provides a computer storage medium storing a computer program, which when executed by at least one processor implements any one of the methods of the first aspect.
According to the method, the device and the computer storage medium for monitoring the optical fiber communication line, the host determines the level of the current time slice, and triggers the OTDR monitoring unit corresponding to the level to start measurement work or the OSC monitoring unit to start channel monitoring work according to the level of the current time slice, so that the OTDR monitoring unit and the OSC monitoring unit are prevented from working simultaneously, and the problems of time sequence disorder, utilization conflict of public hardware resources and the like can be effectively avoided.
Drawings
Fig. 1 is a first schematic flow chart illustrating an implementation of a method for monitoring an optical fiber communication line according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation of a method for monitoring an optical fiber communication line according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a time slice according to an embodiment of the present invention;
fig. 4 is a schematic diagram of monitoring an optical fiber communication line according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an OTDR monitoring unit provided in an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an OSC supervisory unit according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an optical fiber communication line monitoring apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a specific hardware structure of an optical fiber communication line monitoring apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a fiber communication line monitoring system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the following describes specific technical solutions of the present invention in further detail with reference to the accompanying drawings in the embodiments of the present invention. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
An embodiment of the present invention provides a method for monitoring an optical fiber communication line, and fig. 1 is a schematic flow chart of an implementation of the method for monitoring an optical fiber communication line according to the embodiment of the present invention, as shown in fig. 1, the method mainly includes the following steps:
step 101, determining the level of a current time slice, wherein the time slice comprises a first level of a period of time and a second level of another period of time.
It should be noted that the time slice may be a time period preset by the host according to the operation requirement before the host operates, that is, the host divides the operation time into a plurality of time periods, and the time slice may also be a time period after the host flexibly and automatically adjusts according to the requirement during the operation. The host allocates a sub-period to each process, i.e. the time allowed for each process, and each sub-period constitutes a period, i.e. a time slice in this embodiment.
In addition, the time slice comprises a first level of a period of time and a second level of another period of time, wherein the first level is a high level, and the second level is a low level.
Step 102, triggering an optical time domain reflectometer OTDR monitoring unit corresponding to the level to start measurement work or an optical supervisory channel OSC monitoring unit to start channel monitoring work according to the level of the current time slice.
It should be noted that, according to the level of the current time slice, the host may trigger the OTDR monitoring unit corresponding to the level to start measurement or the OSC monitoring unit to start channel monitoring. In one mode, the host triggers the OTDR monitoring unit corresponding to the first level to start measurement according to that the level of the current time slice is a first level (high level); and triggering the OSC monitoring unit corresponding to the low level to start channel monitoring work according to the fact that the level of the current time slice is a second level (low level).
In another mode, the host triggers the OTDR monitoring unit corresponding to the second level to start measurement according to that the level of the current time slice is the second level (low level); and triggering an OSC monitoring unit corresponding to the first level to start channel monitoring work according to the fact that the level of the current time slice is the first level (high level).
It should be noted that triggering the OTDR monitoring unit corresponding to the level to start measurement includes: the method comprises the steps that a host sends a square wave signal to a first I/O interface of an OTDR monitoring unit through the host; wherein the square wave signal is used to: and the OTDR monitoring unit starts measurement when monitoring that a square wave signal appears on a first I/O interface from the host to the OTDR monitoring unit.
It should be noted that triggering the OSC supervisory unit corresponding to the level to start channel supervisory operation includes: the host sets a signal of a third I/O interface from the host to the OSC monitoring unit to a third level; wherein the third level is used to: and the OSC monitoring unit starts channel monitoring work when a third level appears on a third I/O interface from the host to the OSC monitoring unit. Here, the third level may be a low level or a high level.
It should be noted that, after triggering the OTDR monitoring unit of the optical time domain reflectometer corresponding to the level to start measurement, the method further includes: the host sets a signal from the host to a third I/O interface of an OSC monitoring unit to a fifth level according to a fourth level of a second I/O interface from the OTDR monitoring unit to the host; the fourth level is set for the OTDR monitoring unit to start measurement and set a signal of a second I/O interface from the OTDR monitoring unit to the host; the host maintains a first I/O interface signal of the host to the OTDR monitoring unit at a sixth level. Here, the fourth level may be a high level or a low level, the sixth level is a low level, and the fifth level is a high level when the third level is a low level; when the third level is a high level, the fifth level is a low level.
It should be noted that, after triggering the OTDR monitoring unit of the optical time domain reflectometer corresponding to the level to start measurement, the method further includes: the host determines that the current time slice is a first level according to a seventh level of a second I/O interface from the OTDR monitoring unit to the host, and obtains the remaining time length of the first level time slice according to the total time length of the current first level time slice and the time length of the used first level time slice; the seventh level is set for the OTDR monitoring unit to finish measurement and set a signal of a second I/O interface from the OTDR monitoring unit to the host; and the host machine determines that the remaining duration of the first level time slice is greater than a time threshold value, and sends a square wave signal through a first I/O interface from the host machine to an OTDR monitoring unit. Here, when the fourth level is a high level, the seventh level is a low level; when the fourth level is a low level, the seventh level is a high level.
According to the embodiment of the invention, the OSC and the OTDR two monitoring modes can coordinate through flexibly distributing the time slices, so that the problems of errors caused by time sequence disorder of the monitoring unit, utilization conflict of public hardware resources and the like are effectively avoided.
An embodiment of the present invention provides a method for monitoring an optical fiber communication line, and fig. 2 is a schematic diagram of an implementation flow of the method for monitoring an optical fiber communication line according to the embodiment of the present invention, as shown in fig. 2, the method mainly includes the following steps:
step 201, the host judges whether the current time slice is high level, if the current time slice is high level, step 202 is carried out; if the current time slice is low, the process proceeds to step 211.
It should be noted that the time slice may be a time period preset by the host according to the operation requirement before the host operates, that is, the host divides the operation time into a plurality of time periods, wherein the time slice is not interfered by the outside world and has strong stability, and the time slice may also be a time period after the host flexibly and automatically adjusts according to the requirement during the operation. The time lengths of the time periods may or may not be completely the same. The host may also allocate a sub-period to each process, i.e. the time allowed for each process, and each sub-period constitutes a period, i.e. a time slice in this embodiment. If a process is still running at the end of the sub-period, the Central Processing Unit (CPU) at that time will be deprived and allocated to another process.
As shown in fig. 3, a slice (slice) includes a period of high level (logic signal "1") and a period of low level (logic signal "0"), and in one mode, when the slice is at high level, it indicates that the current time belongs to the OTDR monitoring unit and does not belong to the OSC monitoring unit, that is, the OTDR monitoring unit may start to work; when the time slice is at a low level, it indicates that the current time belongs to the OSC monitoring unit, and does not belong to the OTDR monitoring unit, that is, the OSC monitoring unit may start to operate.
In addition, in general, most of the time is for the OSC supervisory unit to perform channel detection, and a small part of the time is for the OTDR supervisory unit to perform measurement, so the time period of the high level time slice is greater than the time period of the low level time slice.
In another mode, when the time slice is at a low level, it indicates that the current time belongs to the OTDR monitoring unit and does not belong to the OSC monitoring unit, that is, the OTDR monitoring unit may start to operate; when the time slice is at a high level, it indicates that the current time belongs to the OSC monitoring unit, and does not belong to the OTDR monitoring unit, that is, the OSC monitoring unit may start to operate.
It should be noted that the system in this embodiment includes an OTDR monitoring unit and an OSC monitoring unit, and direct communication between the OTDR monitoring unit and the OSC monitoring unit is not possible. On the basis that the OTDR monitoring unit and the OSC monitoring unit cannot communicate with each other, the OTDR monitoring unit and the OSC monitoring unit may share some resources, such as a communication optical cable, an optical transmission module, an operational amplifier, etc., and these shared resources cannot be used by the OTDR monitoring unit and the OTDR monitoring unit at the same time.
Step 202, the host sends a square wave signal through a first I/O interface from the host to the OTDR monitoring unit.
It should be noted that, as shown in fig. 4, when the host determines that the current time slice is at a high level, it indicates that the current time belongs to the OTDR monitoring unit, and the host sends a square wave signal pulse through a first I/O interface from the host to the OTDR monitoring unit, where the square wave signal is used to instruct the OTDR monitoring unit to operate.
Step 203, when the OTDR monitoring unit monitors that the square wave signal appears on the first I/O interface from the host to the OTDR monitoring unit, the measurement starts.
It should be noted that the OTDR monitoring unit may always monitor the first I/O interface from the host to the OTDR monitoring unit, and when it is detected that a square wave signal (rising edge signal) occurs on the first I/O interface from the host to the OTDR monitoring unit, it is determined that the measurement operation may be started currently. Here, the OTDR monitoring unit may accelerate the response rate of the OTDR monitoring unit by monitoring the square wave signal.
Here, the measurement of the OTDR monitoring unit mainly monitors and measures the loss of each feature point on the optical fiber, thereby locating the state of each feature point on the optical fiber. As shown in fig. 5, the OTDR monitoring unit includes a microprocessor, a pulse generator, a laser, a light coupler, a light receiving unit, and an a/D conversion unit, where the measurement operation of the OTDR monitoring unit includes that the microprocessor controls the pulse generator to generate pulses, the pulses drive the laser to emit light signals, the light signals are split or combined by the fiber coupler and transmitted in the fiber to be measured, the light receiving unit receives reflected light signals of the fiber to be measured at fixed time intervals and transmits the received reflected light signals to the a/D conversion unit, the a/D conversion unit samples the received light signals to obtain light power data, and transmits the light power data to the microprocessor, and the microprocessor processes the received light power data to obtain loss information of each feature point on the fiber to be measured.
Step 204, the OTDR monitoring unit sets a signal of a second I/O interface from the OTDR monitoring unit to the host to a high level.
It should be noted that, when the host sends the square wave signal through the first I/O interface from the host to the OTDR monitoring unit. In one mode, as shown in fig. 4, when the OTDR monitoring unit monitors a square wave signal pulse of the first I/O interface, that is, when the first I/O interface has a rising edge signal pulse, the OTDR monitoring unit may set a signal g _ word _ flag from the OTDR monitoring unit to the second I/O interface of the host to a high level, where the high level is used to feed back the OTDR monitoring unit to the host to enter a working state.
In another mode, when the OTDR monitoring unit monitors a square wave signal of the first I/O interface, that is, when a rising edge signal occurs in the first I/O interface, the OTDR monitoring unit may set a signal g _ work _ flag from the OTDR monitoring unit to the second I/O interface of the host to a low level, where the low level is used to feed back the OTDR monitoring unit to the host to enter a working state.
Here, an interrupt response service program is set at an I/O interface between the OTDR monitoring unit and the host, and after a signal g _ word _ flag from the OTDR monitoring unit to a second I/O interface of the host is set to a high level, the interrupt response service program may be triggered to start, so that the host may execute other programs, and the OTDR monitoring unit is prevented from always occupying resources of the host.
It should be noted that, there is no obvious sequence between the OTDR monitoring unit and the setting of the signal of the second I/O interface from the OTDR monitoring unit to the host to the high level, that is, there is no obvious sequence between step 203 and step 204 in this embodiment, and the steps may also be executed simultaneously.
Step 205, the host sets a signal from the host to the third I/O interface of the OSC supervisory unit to a high level according to a high level of the second I/O interface from the OTDR supervisory unit to the host.
It should be noted that, in one embodiment, the host learns that the OTDR monitoring unit enters the operating state according to the high level of the second I/O interface from the OTDR monitoring unit to the host, and the current OSC monitoring unit cannot be in the operating state, so that a signal from the host to the third I/O interface of the OSC monitoring unit needs to be set to the high level, where the high level is used to indicate that the OSC monitoring unit enters the non-operating state, that is, the OSC monitoring unit does not operate, and thus, the OTDR monitoring unit and the OSC monitoring unit are prevented from operating simultaneously.
In another mode, the host knows the high level of the second I/O interface from the OTDR monitoring unit to the host, and the OTDR monitoring unit enters an operating state, and sets a signal from the host to the third I/O interface of the OSC monitoring unit to a low level, where the low level is used to indicate that the OSC monitoring unit enters a non-operating state, that is, the OSC monitoring unit does not operate.
Step 206, the host keeps the first I/O interface signal from the host to the OTDR monitoring unit at low level.
It should be noted that, as shown in fig. 4, the host learns from the high level of the second I/O interface from the OTDR monitoring unit to the host, and after the OTDR monitoring unit enters the working state, the OTDR monitoring unit will not send a wave signal any more, that is, the first I/O interface signal from the host to the OTDR monitoring unit is kept at the low level.
It should be noted that, there is no obvious sequence between the setting of the signal of the third I/O interface from the host to the OSC supervisory unit by the host and the keeping of the signal of the first I/O interface from the host to the OTDR supervisory unit at a low level by the host, that is, there is no obvious sequence between step 205 and step 206 in this embodiment, and the steps may also be executed simultaneously.
Step 207, the OTDR monitoring unit completes the measurement, and sets the signal from the OTDR monitoring unit to the second I/O interface of the host to a low level.
It should be noted that, after the OTDR monitoring unit completes one measurement operation, for example, the OTDR monitoring unit obtains the loss signal of each feature point on the optical fiber to be measured, as shown in fig. 4, the OTDR monitoring unit sets a signal g _ work _ flag of a second I/O interface from the OTDR monitoring unit to the host to a low level, where the low level indicates that the OTDR monitoring unit has completed the measurement operation.
Step 208, the host judges whether the current time slice is high level according to the low level of the second I/O interface from the OTDR monitoring unit to the host, and if the current time slice is high level, the step 209 is switched to; if the current time slice is low, the process proceeds to step 211.
And step 209, the host acquires the remaining duration of the high-level time slice according to the total duration of the current high-level time slice and the duration of the used high-level time slice.
It should be noted that, after the OTDR monitoring unit completes the measurement, and sets a signal from the OTDR monitoring unit to the second I/O interface of the host to be at a low level, it is determined that the current time slice is still at a high level, that is, the current time still belongs to the OTDR monitoring unit, as shown in fig. 3, the host may obtain the total duration of the current high-level time slice and the duration of the used high-level time slice, and subtract the total duration of the current high-level time slice and the duration of the used high-level time slice to obtain the remaining duration of the high-level time slice, for example, the total duration of the current high-level time slice is 1000ms, the duration of the used high-level time slice is 400ms, and the remaining duration of the high-level time slice is 600 ms.
Step 210, the host machine judges whether the remaining duration of the high-level time slice is greater than a time threshold, and if the remaining duration of the high-level time slice is greater than the time threshold, the step 202 is carried out; and if the remaining duration of the high-level time slice is not greater than the time threshold, ending the current flow.
It should be noted that the time threshold is a time length required for one-time channel monitoring, and when the remaining time length of the high-level time slice is greater than the time threshold, which indicates that the OTDR monitoring unit can also perform one-time measurement, the host sends a square wave signal to the first I/O interface of the OTDR monitoring unit through the host; when the remaining duration of the high-level time slice is not greater than the time threshold, it is indicated that the OTDR monitoring unit cannot perform the measurement operation, the current flow is ended, the host does not send a square wave signal to the first I/O interface of the OTDR monitoring unit any more through the host, so as to prevent the OTDR monitoring unit from ending the high-level time slice belonging to the OTDR monitoring unit and occupying the low-level time slice belonging to the OSC monitoring unit during the measurement operation.
In step 211, the host sets a signal from the host to the third I/O interface of the OSC supervisory unit to a low level.
It should be noted that, when the host determines that the current time slice is at a low level, it indicates that the current time slice belongs to the OSC supervisory unit, and the host sets a signal from the host to a third I/O interface of the OSC supervisory unit to a low level, where the low level is used to instruct the OSC supervisory unit to operate.
In step 212, the OSC supervisory unit starts channel supervisory operation when it monitors that the third I/O interface from the host to the OSC supervisory unit is low.
It should be noted that the OSC supervisory unit may monitor the third I/O interface from the host to the OSC supervisory unit all the time, and when it is detected that the third I/O interface from the host to the OSC supervisory unit is at a low level, it may determine that the current time belongs to the OSC supervisory unit, and may start the channel monitoring operation.
Here, as shown in fig. 6, the OSC supervisory unit includes an optical transceiving unit, a codec unit, a data switching unit, a clock synchronizing unit, and a microcontroller, a channel supervisory operation of the OSC supervisory unit includes a receiving process of an optical signal and a transmitting process of an electrical signal, wherein the receiving process of the optical signal comprises that the optical receiving and transmitting unit receives the optical signal and carries out photoelectric conversion to obtain a conversion signal, the coding and decoding unit decodes the conversion signal, the clock synchronization unit carries out clock recovery and synchronization on the decoded conversion signal, the data exchange unit carries out recovery processing on the conversion signal after clock recovery and synchronization to obtain a transmitted monitoring signal, and sends the signal to the microcontroller for processing, the sending process of the electric signal is the reverse process of the receiving process of the optical signal, the channel monitoring operation of the OSC monitoring unit is realized by the optical signal receiving process and the electrical signal transmitting process.
In addition, the channel monitoring operation of the OSC supervisory unit in the low level time slice belonging to the OSC supervisory unit is a continuous operation process, that is, the OSC supervisory unit is continuously operated during the time slice in the low level. The OTDR monitoring unit is a discontinuous working process in the measurement of the high level time slice belonging to the OTDR monitoring unit, that is, in the time period when the time slice is at the high level, the OTDR monitoring unit continues a short section of high level time slice in one measurement, after one measurement is completed, the OTDR monitoring unit stops working briefly, and in the remaining high level time period, the OTDR monitoring unit may be restarted and a second measurement may be performed.
According to the embodiment of the invention, the OSC and the OTDR two monitoring modes can coordinate through flexibly distributing the time slices, so that the problems of errors caused by time sequence disorder of the monitoring unit, utilization conflict of public hardware resources and the like are effectively avoided.
Based on the same inventive concept of the above embodiments, an optical fiber communication line monitoring apparatus is provided in an embodiment of the present invention, and fig. 7 is a schematic structural diagram of the optical fiber communication line monitoring apparatus provided in the embodiment of the present invention, as shown in fig. 7, the optical fiber communication line monitoring apparatus 700 includes:
a determining unit 701, configured to determine a level of a current time slice, where the time slice includes a first level for a period of time and a second level for another period of time;
a triggering unit 702, configured to trigger, according to the level of the current time slice, an OTDR monitoring unit of the optical time domain reflectometer corresponding to the level to start measurement work or an OSC monitoring unit of an optical monitoring channel to start channel monitoring work.
It should be noted that the triggering unit 702 is further configured to trigger the OTDR monitoring unit corresponding to the first level to start measurement according to that the level of the current time slice is the first level; and triggering an OSC monitoring unit corresponding to the second level to start channel monitoring work according to the fact that the level of the current time slice is the second level.
It should be noted that the triggering unit 702 is further configured to send a square wave signal through a first I/O interface from the host to the OTDR monitoring unit; the square wave signal is used for: and the OTDR monitoring unit starts measurement when monitoring that a square wave signal appears on a first I/O interface from the host to the OTDR monitoring unit.
It should be noted that the triggering unit 702 is further configured to set a signal of a third I/O interface from the host to the OSC supervisory unit to a third level; the third level is used for: and the OSC monitoring unit starts channel monitoring work when a third level appears on a third I/O interface from the host to the OSC monitoring unit.
It should be noted that the apparatus 700 may further include:
a first setting unit 703, configured to set, by the OTDR monitoring unit, a signal of a second I/O interface from the OTDR monitoring unit to the host to a fourth level; and/or the presence of a gas in the gas,
a second setting unit 704, configured to set, by the host, a signal from the host to a third I/O interface of an OSC monitoring unit to a fifth level according to a fourth level of a second I/O interface from the OTDR monitoring unit to the host; and/or the presence of a gas in the gas,
a third setting unit 705, configured to maintain the first I/O interface signal from the host to the OTDR monitoring unit at a sixth level.
It should be noted that the first setting unit 703 is further configured to set, by the OTDR monitoring unit, a signal of a second I/O interface from the OTDR monitoring unit to the host to a seventh level.
It should be noted that the apparatus 700 may further include:
the processing unit 706 is configured to determine, by the host, that the current time slice is the first level according to a seventh level of the second I/O interface from the OTDR monitoring unit to the host, and obtain, according to the total duration of the current first level time slice and the duration of the used first level time slice, the remaining duration of the first level time slice.
It should be noted that the third setting unit 705 is further configured to determine, by the host, that the remaining duration of the first level time slice is greater than a time threshold, and send a square wave signal through a first I/O interface from the host to the OTDR monitoring unit.
The components in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the embodiments of the present invention essentially or a part of the technical solution contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method of the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Accordingly, embodiments of the present invention provide a computer storage medium storing a computer program that, when executed by at least one processor, performs the steps of the above-described embodiments.
Referring to fig. 8, a specific hardware structure of an optical fiber communication line monitoring apparatus 800 according to an embodiment of the present invention is shown, including: a network interface 801, a memory 802, and a processor 803; the various components are coupled together by a bus system 804. It is understood that the bus system 804 is used to enable communications among the components. The bus system 804 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 804 in FIG. 8. Wherein,
the network interface 801 is configured to receive and transmit signals in a process of receiving and transmitting information with other external network elements;
a memory 802 for storing a computer program capable of running on the processor 803;
a processor 803 for executing, when running the computer program, the following:
determining a level of a current time slice, the time slice comprising a first level for a period of time and a second level for another period of time;
and triggering an OTDR monitoring unit corresponding to the level to start measurement work or an OSC monitoring unit of an optical monitoring channel to start channel monitoring work according to the level of the current time slice.
The processor 803 is further configured to, when running the computer program, perform:
triggering an OTDR monitoring unit corresponding to the first level to start measurement according to the level of the current time slice as the first level;
and triggering an OSC monitoring unit corresponding to the second level to start channel monitoring work according to the fact that the level of the current time slice is the second level.
The processor 803 is further configured to, when running the computer program, perform:
the method comprises the steps that a host sends a square wave signal to a first I/O interface of an OTDR monitoring unit through the host;
the square wave signal is used for: and the OTDR monitoring unit starts measurement when monitoring that a square wave signal appears on a first I/O interface from the host to the OTDR monitoring unit.
The processor 803 is further configured to, when running the computer program, perform:
the host sets a signal of a third I/O interface from the host to the OSC monitoring unit to a third level;
the third level is used for: and the OSC monitoring unit starts channel monitoring work when a third level appears on a third I/O interface from the host to the OSC monitoring unit.
The processor 803 is further configured to, when running the computer program, perform:
the host sets a signal from the host to a third I/O interface of an OSC monitoring unit to a fifth level according to a fourth level of a second I/O interface from the OTDR monitoring unit to the host; the fourth level is set for the OTDR monitoring unit to start measurement and set a signal of a second I/O interface from the OTDR monitoring unit to the host;
the host maintains a first I/O interface signal of the host to the OTDR monitoring unit at a sixth level.
The processor 803 is further configured to, when running the computer program, perform:
the host determines that the current time slice is a first level according to a seventh level of a second I/O interface from the OTDR monitoring unit to the host, and obtains the remaining time length of the first level time slice according to the total time length of the current first level time slice and the time length of the used first level time slice; the seventh level is set for the OTDR monitoring unit to finish measurement and set a signal of a second I/O interface from the OTDR monitoring unit to the host;
and the host machine determines that the remaining duration of the first level time slice is greater than a time threshold value, and sends a square wave signal through a first I/O interface from the host machine to an OTDR monitoring unit.
It will be appreciated that the memory 802 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous SDRAM (ESDRAM), Sync Link DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 702 of the methodologies described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
And the processor 803 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 803. The Processor 803 may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 802, and the processor 803 reads the information in the memory 802, and completes the steps of the above method in combination with the hardware thereof.
Based on the same inventive concept of the above embodiments, an embodiment of the present invention provides an optical fiber communication line monitoring system, and fig. 9 is a schematic structural diagram of the optical fiber communication line monitoring system provided in the embodiment of the present invention, as shown in fig. 9, the optical fiber communication line monitoring system includes:
the system comprises a host, a time slice and a controller, wherein the host is used for determining the level of the current time slice, and the time slice comprises a first level for a period of time and a second level for another period of time; triggering an optical time domain reflectometer OTDR monitoring unit corresponding to the level to start measurement work or an optical monitoring channel OSC monitoring unit to start channel monitoring work according to the level of the current time slice;
the OTDR monitoring unit is used for measuring the loss of the characteristic points on the optical fiber;
and the OSC monitoring unit is used for monitoring the optical fiber channel according to the optical monitoring signal.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention. The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. The above-described terminal embodiments are only illustrative, for example, the division of the unit is only a logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.

Claims (10)

1. A method for monitoring a fiber optic communication line, the method comprising:
determining a level of a current time slice, the time slice comprising a first level for a period of time and a second level for another period of time;
and triggering an OTDR monitoring unit corresponding to the level to start measurement work or an OSC monitoring unit of an optical monitoring channel to start channel monitoring work according to the level of the current time slice.
2. The method according to claim 1, wherein the triggering, according to the level of the current time slice, the OTDR monitoring unit corresponding to the level to start measurement or the OSC monitoring unit to start channel monitoring includes:
triggering an OTDR monitoring unit corresponding to the first level to start measurement according to the level of the current time slice as the first level;
and triggering an OSC monitoring unit corresponding to the second level to start channel monitoring work according to the fact that the level of the current time slice is the second level.
3. The method according to claim 1, wherein the triggering the OTDR monitoring unit corresponding to the level to start measurement includes:
the method comprises the steps that a host sends a square wave signal to a first I/O interface of an OTDR monitoring unit through the host;
the square wave signal is used for: and the OTDR monitoring unit starts measurement when monitoring that a square wave signal appears on a first I/O interface from the host to the OTDR monitoring unit.
4. The method according to claim 1, wherein the triggering the OSC supervisory unit corresponding to the level to start a channel supervisory operation includes:
the host sets a signal of a third I/O interface from the host to the OSC monitoring unit to a third level;
the third level is used for: and the OSC monitoring unit starts channel monitoring work when a third level appears on a third I/O interface from the host to the OSC monitoring unit.
5. The method of claim 1, further comprising:
the host sets a signal from the host to a third I/O interface of an OSC monitoring unit to a fifth level according to a fourth level of a second I/O interface from the OTDR monitoring unit to the host; the fourth level is set for the OTDR monitoring unit to start measurement and set a signal of a second I/O interface from the OTDR monitoring unit to the host;
the host maintains a first I/O interface signal of the host to the OTDR monitoring unit at a sixth level.
6. The method of claim 1, further comprising:
the host determines that the current time slice is a first level according to a seventh level of a second I/O interface from the OTDR monitoring unit to the host, and obtains the remaining time length of the first level time slice according to the total time length of the current first level time slice and the time length of the used first level time slice; the seventh level is set for the OTDR monitoring unit to finish measurement and set a signal of a second I/O interface from the OTDR monitoring unit to the host;
and the host machine determines that the remaining duration of the first level time slice is greater than a time threshold value, and sends a square wave signal through a first I/O interface from the host machine to an OTDR monitoring unit.
7. A fiber optic telecommunications line monitoring apparatus, comprising:
a determining unit, configured to determine a level of a current time slice, where the time slice includes a first level for a period of time and a second level for another period of time;
and the triggering unit is used for triggering the OTDR monitoring unit corresponding to the level to start measurement work or the OSC monitoring unit corresponding to the level to start channel monitoring work according to the level of the current time slice.
8. An optical fiber communication line monitoring device, characterized in that the device comprises a network interface, a memory and a processor; wherein,
the network interface is configured to realize connection communication between the components;
the memory configured to store a computer program operable on the processor;
the processor, when executing the computer program, is configured to perform the method of any of claims 1 to 6.
9. A fiber optic telecommunications line monitoring system, comprising:
the system comprises a host, a time slice and a controller, wherein the host is used for determining the level of the current time slice, and the time slice comprises a first level for a period of time and a second level for another period of time; triggering an optical time domain reflectometer OTDR monitoring unit corresponding to the level to start measurement work or an optical monitoring channel OSC monitoring unit to start channel monitoring work according to the level of the current time slice;
the OTDR monitoring unit is used for measuring the loss of the characteristic points on the optical fiber;
and the OSC monitoring unit is used for monitoring the optical fiber channel according to the optical monitoring signal.
10. A computer storage medium, characterized in that the computer storage medium stores a computer program which, when executed by at least one processor, implements the method according to any one of claims 1 to 6.
CN201910146052.2A 2019-02-27 2019-02-27 A kind of optical fiber telecommunications line monitoring method, device and computer storage medium Pending CN109756262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910146052.2A CN109756262A (en) 2019-02-27 2019-02-27 A kind of optical fiber telecommunications line monitoring method, device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910146052.2A CN109756262A (en) 2019-02-27 2019-02-27 A kind of optical fiber telecommunications line monitoring method, device and computer storage medium

Publications (1)

Publication Number Publication Date
CN109756262A true CN109756262A (en) 2019-05-14

Family

ID=66406943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910146052.2A Pending CN109756262A (en) 2019-02-27 2019-02-27 A kind of optical fiber telecommunications line monitoring method, device and computer storage medium

Country Status (1)

Country Link
CN (1) CN109756262A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021007706A1 (en) 2019-07-12 2021-01-21 Huawei Technologies Co., Ltd. Method and apparatus for an optical transceiver
CN115001572A (en) * 2022-08-03 2022-09-02 中兴通讯股份有限公司 Optical fiber state detection method, optical transceiver module and network element equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030210387A1 (en) * 2000-12-04 2003-11-13 Saunders Ross Alexander Integrated optical time domain reflectometer and optical supervisory network
CN106059657A (en) * 2016-05-20 2016-10-26 烽火通信科技股份有限公司 Optical link protection system integrated with optical time domain reflectometer
CN106452568A (en) * 2016-11-03 2017-02-22 深圳新飞通光电子技术有限公司 OSC (Optical Supervising Channel) optical module with OTDR (Optical Time Domain Reflectometer)) function and method for realizing real-time and interruption service detection thereof
CN206164535U (en) * 2016-11-03 2017-05-10 深圳新飞通光电子技术有限公司 OSC optical module with OTDR function
CN107836090A (en) * 2016-04-14 2018-03-23 华为技术有限公司 A kind of optical fiber condition detection method, light monitoring unit and website
CN207691810U (en) * 2017-12-22 2018-08-03 武汉孚晟科技有限公司 A kind of OSC real-time monitoring system light channel structures based on OTDR
US10161798B2 (en) * 2016-06-09 2018-12-25 Ciena Corporation Integrated polarimeter in an optical line system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030210387A1 (en) * 2000-12-04 2003-11-13 Saunders Ross Alexander Integrated optical time domain reflectometer and optical supervisory network
CN107836090A (en) * 2016-04-14 2018-03-23 华为技术有限公司 A kind of optical fiber condition detection method, light monitoring unit and website
CN106059657A (en) * 2016-05-20 2016-10-26 烽火通信科技股份有限公司 Optical link protection system integrated with optical time domain reflectometer
US10161798B2 (en) * 2016-06-09 2018-12-25 Ciena Corporation Integrated polarimeter in an optical line system
CN106452568A (en) * 2016-11-03 2017-02-22 深圳新飞通光电子技术有限公司 OSC (Optical Supervising Channel) optical module with OTDR (Optical Time Domain Reflectometer)) function and method for realizing real-time and interruption service detection thereof
CN206164535U (en) * 2016-11-03 2017-05-10 深圳新飞通光电子技术有限公司 OSC optical module with OTDR function
CN207691810U (en) * 2017-12-22 2018-08-03 武汉孚晟科技有限公司 A kind of OSC real-time monitoring system light channel structures based on OTDR

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张佳薇: "《数字电路与逻辑设计基础》", 31 August 2010, 中国铁道出版社 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021007706A1 (en) 2019-07-12 2021-01-21 Huawei Technologies Co., Ltd. Method and apparatus for an optical transceiver
EP3991309A4 (en) * 2019-07-12 2022-07-20 Huawei Technologies Co., Ltd. Method and apparatus for an optical transceiver
US11757555B2 (en) 2019-07-12 2023-09-12 Huawei Technologies Co., Ltd. Method and apparatus for an optical transceiver
CN115001572A (en) * 2022-08-03 2022-09-02 中兴通讯股份有限公司 Optical fiber state detection method, optical transceiver module and network element equipment
CN115001572B (en) * 2022-08-03 2022-11-04 中兴通讯股份有限公司 Optical fiber state detection method, optical transceiving component and network element equipment

Similar Documents

Publication Publication Date Title
US10547378B2 (en) Optical fiber status detection method, optical supervisory unit, and station
EP2670067B1 (en) Passive optical fiber network analysis
US5128664A (en) Search technique for identifying slave devices connected to a serial bus
CN109756262A (en) A kind of optical fiber telecommunications line monitoring method, device and computer storage medium
KR890001309A (en) Information packet transmission method and transceiver
CA2162331A1 (en) Telecommunications terminal test device, particularly for mobile radiocommunications, and terminal testable by said device
EP3860002A1 (en) Ranging method for optical network, olt, onu, and optical network system
JP6507240B2 (en) Optical communication line monitoring apparatus and method
US7167236B2 (en) Method for automatic testing of optical fibres in multibranch networks
KR20200116122A (en) Paging message transmission and reception method, network device and user device
CN111176703A (en) In-band firmware upgrading method and device, computer system and storage medium
CN110545494A (en) method and device for rapidly switching passive optical network types and related equipment thereof
CN116244255A (en) RSMC chip, chip multi-stage starting method and Beidou communication navigation device
JP7509994B2 (en) Enhanced paging procedures for random access or small data transmissions
JP2013134138A (en) Optical line monitoring system, optical line monitoring apparatus, optical line monitoring method, and program
CN109803185B (en) ONU and OLT matching method, device and storage medium
JP2000228639A (en) Method for automatically restarting optical transmitter in optical fiber cable link
CN108415862B (en) Optical module channel saving method and device and optical module
CN114520892B (en) Communication control method and device and optical network unit
CN112737718B (en) Channel switching method and device, electronic equipment and storage medium
CN105846894A (en) Optical signal monitoring method for optical module and optical module
US20240214065A1 (en) Fault locating method for optical network and related device
CN115767329A (en) Fault detection method, device, equipment and storage medium
US20090060500A1 (en) Data processing system and storage device
CN118677756A (en) Method, device, system and storage medium for detecting line

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190514

RJ01 Rejection of invention patent application after publication