Automatic identification method of fiber coding in all-optical links
Through the all-optical link fiber code automatic identification method, using the coding abnormality coefficient and the automatic optical signal power correction model, the stability and accuracy of the fiber code identification method when the optical fiber physical properties change is solved, and the all-optical link is realized. Efficient transmission.
Patent Information
- Application Number
- CN202410258646.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-07
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-03-07
AI Technical Summary
Existing optical fiber coding identification methods cannot quickly identify abnormalities and correct data parameters when the physical properties of the optical fiber change, resulting in instability and high error rates in all-optical link transmission.
The all-optical link optical fiber coding automatic identification method is adopted. By obtaining optical signal data and historical abnormal data, the pre-built identification model is used to calculate the coding abnormal coefficient, the modulation depth value is judged and adjusted, and an automatic optical signal power correction model is introduced to ensure transmission reliability. accuracy and stability.
It achieves rapid identification and adaptive adjustment in the case of fiber coding abnormalities, improves the transmission stability and accuracy of all-optical links, and reduces the error rate.
Smart Images

Figure CN118264328B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of optical fiber coding, and more specifically, to an automatic identification method for optical fiber coding of an all-optical link. Background Art
[0002] With the continuous development of communication network technology, the transmission performance requirements of all-optical links are gradually increasing. Fiber coding recognition is a key component to ensure the correct transmission of all-optical links. The accuracy of fiber coding recognition directly affects the transmission performance of communication networks. When the physical properties of optical fibers change, it is easy to cause attenuation, dispersion and scattering of optical signals, which in turn affects the stability and reliability of fiber coding. Therefore, a fiber coding recognition method with more flexible and adaptive recognition capabilities is needed, which can automatically adjust parameters under changing physical conditions to maintain the efficient transmission performance of all-optical links.
[0003] At present, the fiber coding recognition method mainly focuses on the classification and sorting of fiber coding and the extraction of feature vectors for recognition optimization. For example, the application document with publication number CN1 14785410A discloses a precise recognition system based on fiber coding. Another example is the application document with publication number CN113315576A, which discloses an addressable adaptive terminal and system for fiber network. Although the above method can realize the precise recognition of fiber coding, the inventor has found through research and application of the above method and the prior art that the above method and the prior art have at least the following defects:
[0004] (1) No coding anomaly detection mechanism has been introduced. When fiber coding transmission anomalies occur, the fiber coding anomalies cannot be quickly identified;
[0005] (2) It is impossible to perform parameter correction on the light-encoded data when fiber coding anomalies occur, and thus it is impossible to guarantee the accuracy of data transmission in the all-optical link.
[0006] To this end, the present invention provides a method for automatically identifying optical fiber codes in an all-optical link. Summary of the invention
[0007] In order to overcome the above-mentioned defects of the prior art, an embodiment of the present invention provides a method for automatic identification of optical fiber codes in an all-optical link to solve the problems raised in the above-mentioned background technology.
[0008] To achieve the above object, the present invention provides the following technical solution: a method for automatically identifying optical fiber coding in an all-optical link, comprising:
[0009] Obtain optical signal data of the all-optical link at time T, and obtain a set of historical coding anomaly data, and obtain a coding anomaly coefficient of the all-optical link at time T+a according to a pre-constructed first recognition model, wherein the optical signal data includes a first optical signal power and a measured optical signal power, and T and a are both integers greater than zero;
[0010] Determine whether the all-optical link at time T+a is in an abnormal coding state according to the coding abnormality coefficient; if not, continue to transmit in the all-optical link with the first optical signal power, and set T=T+a+b; if in an abnormal coding state, obtain coding feature data of the all-optical link at time T+a;
[0011] Record the modulation depth value at time T+a, perform parameter correction on the modulation depth value according to the coding characteristic data and the output result of the pre-built parameter correction model, and determine the measured optical signal power of the all-optical link based on the modulation depth value after parameter correction; the coding characteristic data includes modulation current and modulation rate;
[0012] Calculate the power difference between the first optical signal power and the measured optical signal power to determine whether there is an abnormal transmission event, input the first optical signal power and the measured optical signal power into a pre-built automatic optical signal power correction model according to the abnormal transmission event, obtain the second optical signal power, and transmit the all-optical link according to the second optical signal power.
[0013] Furthermore, the method for obtaining the coding anomaly coefficient of the all-optical link at time T+a according to the pre-constructed first recognition model includes:
[0014] Obtaining light intensity difference data, rate difference data, and phase difference data of the all-optical link from time Tb to time T, where b is an integer greater than zero;
[0015] The optical intensity difference data, rate difference data and phase difference data of the all-optical link from time Tb to time T are input into the pre-built first recognition model to obtain the coding anomaly coefficient of the all-optical link at time T+a;
[0016] The method for generating the pre-built first recognition model comprises:
[0017] Acquire a historical coding anomaly data set, wherein the historical coding anomaly data set includes light intensity difference data, rate difference data, and phase difference data of an all-optical link in i groups of time intervals and corresponding coding anomaly coefficients; i is an integer greater than zero;
[0018] The historical coding anomaly data set used to train the first machine learning model is divided into an identification training set and an identification test set, a machine learning model is constructed, the light intensity difference data, rate difference data and phase difference data of the all-optical link in each set of preset time periods are used as inputs of the machine learning model, and the coding anomaly coefficient is used as the output of the first machine learning model, and the first machine learning model is trained to obtain an initial learning model; the initial learning model is evaluated by using a mean square error algorithm, and the corresponding initial learning model greater than or equal to a preset evaluation value is selected as the first recognition model;
[0019] The first machine learning model is a random forest regression algorithm model, a K nearest neighbor regression algorithm model, a neural network algorithm model or a long short-term memory network algorithm model.
[0020] Furthermore, the method for obtaining the coding abnormality coefficient is as follows:
[0021] Obtaining the modulation depth value of the all-optical link within a preset time period by means of an optical spectrum analyzer; and obtaining the standard modulation depth value of the all-optical link within a preset time period; the modulation depth value is a variation range of the optical signal power;
[0022] Obtaining an average modulation depth value of standard modulation depth values within a preset time period, and using the average modulation depth value as a modulation depth standard value;
[0023] The modulation depth value at each moment of the modulation depth value within the preset time period is extracted, and the modulation depth value and the modulation depth standard value are calculated by formula to obtain the coding anomaly coefficient of the all-optical link; the calculation formula of the coding anomaly coefficient is:
[0024]
[0025] Where: Bmy represents the coding anomaly coefficient, Pd t represents the modulation depth value at the tth moment; Indicates the standard value of modulation depth.
[0026] Further, the method for determining whether the all-optical link at time T+a is in an abnormal coding state includes:
[0027] Comparing the coded abnormal coefficient with a preset coefficient threshold;
[0028] If the coding abnormality coefficient is greater than or equal to the preset coefficient threshold, it is determined that the all-optical link at time T+a is in an abnormal coding state;
[0029] If the coding abnormality coefficient is less than the preset coefficient threshold, it is determined that the all-optical link at time T+a is in a normal coding state.
[0030] Further, the modulation depth value is parameter-corrected according to the encoding feature data and the output result of the pre-built parameter correction model, including:
[0031] Inputting the encoding feature data into a pre-built parameter correction model to obtain a modulation depth correction value;
[0032] Accumulate and calculate the modulation depth correction value and the modulation depth value to obtain the modulation depth value after parameter correction;
[0033] The pre-built parameter correction model is generated by training based on all-optical link test data;
[0034] The all-optical link test data at least includes a relationship between a modulation depth correction value and each modulation current of the optical transmitter and a relationship between a modulation depth correction value and each modulation rate of the optical transmitter;
[0035] The method for acquiring all-optical link test data includes:
[0036] Step a1: placing the all-optical link for testing in a modulation environment of an optical transmitter to test the modulation current of the optical transmitter, and placing the standard all-optical link in a standard modulation current test environment set by the optical transmitter;
[0037] Step a2: During the modulation current test, when the modulation current of the optical transmitter is set to the rth ampere, a first depth value of the full optical link is measured; r is an integer greater than zero;
[0038] Step a3: Under a test environment where the optical transmitter is set to a standard modulation current, a first standard depth value per second of a standard all-optical link is obtained;
[0039] Step a4: taking the difference between the first depth value and the first standard depth value as the first depth value difference, comparing the first depth value difference with the preset first depth error interval, if the first depth value difference belongs to the preset first depth error interval, setting r=r+1, and returning to step a2; if the first depth value difference does not belong to the preset first depth error interval, taking the first depth value difference as the modulation depth correction value, and binding and associating the rth ampere with the modulation depth correction value, to obtain the relationship between the modulation depth correction value and the rth ampere;
[0040] Step a5: Repeat the above steps a2 to a4 until the cycle ends when r is equal to the modulation current R set by the light emitter, and obtain the relationship between the modulation depth correction value and each modulation current of the light emitter, where R is the total number of modulation currents and R is an integer greater than zero.
[0041] Furthermore, the method for acquiring all-optical link test data also includes:
[0042] Step b 1: placing the all-optical link for testing in an optical transmitter modulation environment to test the modulation rate of the optical transmitter, and placing the standard all-optical link in an optical transmitter set standard modulation rate test environment;
[0043] Step b2: Under the modulation rate test environment, when the modulation rate of the optical transmitter is set to k Hz, a second depth value of the all-optical link is measured, where k is an integer greater than zero;
[0044] Step b3: Under a set standard modulation rate test environment, obtain a second standard depth value of a standard all-optical link per second;
[0045] Step b4: taking the difference between the second depth value and the second standard depth value as the second depth value difference, comparing the second depth value difference with the preset second depth error interval, if the second depth value difference belongs to the preset second depth error interval, setting k=k+1, and returning to step b2; if the second depth value difference does not belong to the preset second depth error interval, taking the second depth value difference as the modulation depth correction value, and binding and associating the k-th Hz modulation rate with the modulation depth correction value, to obtain the relationship between the modulation depth correction value and the k-th Hz modulation rate;
[0046] Step b5: Repeat the above steps b2 to b4 until the loop ends when k is equal to the set modulation rate K, and obtain the relationship between the modulation depth correction value and the modulation rate per Hz, where K is the total number of modulation rates and K is an integer greater than zero.
[0047] Furthermore, the method for generating the pre-built parameter correction model is as follows:
[0048] The all-optical link test data is divided into a data correction training set and a data correction test set;
[0049] Constructing a second machine learning model, taking the modulation current and modulation rate in the data correction training set as input data of the second machine learning model, taking the modulation depth correction value in the data correction training set as output data of the second machine learning model, training the second machine learning model, and obtaining an initial parameter correction model;
[0050] The initial parameter correction model is verified using a data correction test set, and an initial parameter correction model that meets a preset prediction error is output as a pre-built parameter correction model; the second machine learning model is one of a recurrent neural network, a convolutional neural network, or a long short-term memory network.
[0051] Further, the measured optical signal power of the all-optical link is determined based on the modulation depth value after parameter correction, and is implemented according to a formula, which is as follows:
[0052]
[0053] Wherein, α represents the weight factor of modulation depth, β represents the weight factor of transmission loss; α and β are both greater than zero, and C1 is the correction constant of the measured optical signal power;
[0054] Further, determining whether there is an abnormal transmission event includes:
[0055] Calculating a power difference between the first optical signal power and the measured optical signal power;
[0056] comparing the power difference with a power difference threshold;
[0057] If the power difference is greater than or equal to the power difference threshold, it is determined that an abnormal transmission event exists;
[0058] If the power difference is less than the power difference threshold, it is determined that there is no abnormal transmission event;
[0059] The second optical signal power is generated based on coding test data training; the coding test data is obtained by the following method:
[0060] Step d1: Get the e-th abnormal transmission event, where e is an integer greater than zero;
[0061] Step d2: acquiring a first optical signal power P1 of the all-optical link according to the e-th abnormal transmission event, and a measured optical signal power P2 of the all-optical link under control of the first optical signal power P1;
[0062] Step d3: obtaining an optical signal power error between the first optical signal power P1 and the measured optical signal power P2;
[0063] Step d4: determine whether the optical signal power error is equal to zero. If the optical signal power error is not equal to zero, further determine whether the optical signal power error is greater than zero or less than zero. If it is greater than zero, increase the first optical signal power P1, set P1=P1+H, and return to step d2; if it is less than zero, decrease the first optical signal power P1, set P1=P1-H, and return to step d2; if the optical signal power error is equal to zero, use the first optical signal power P1 after the speed adjustment as the second optical signal power P3, and associate the first optical signal power P1 with the measured optical signal power P2 and the second optical signal power P3 to obtain a set of relationships between the first optical signal power P1 and the measured optical signal power P2 and the second optical signal power P3, where H is an integer greater than zero;
[0064] Step d5: Repeat the above steps d2 to d4 until the loop ends when e=E, and obtain the relationship between the first optical signal power P1 and the measured optical signal power P2 and the second optical signal power P3 of the F group and use it as the encoding test data, where E and F are integers greater than zero.
[0065] Furthermore, the method for generating the pre-built automatic optical signal power correction model is as follows:
[0066] Divide the coding test data into a coding test training set and a coding test test set;
[0067] Construct a third machine learning model, use the first optical signal power and the measured optical signal power in the coding test training set as input data of the third machine learning model, use the second optical signal power in the coding test training set as output data of the third machine learning model, train the third machine learning model, and obtain an initial optical signal power correction model;
[0068] The initial optical signal power correction model is verified using a coding test set, and the initial optical signal power correction model that meets the preset prediction error is output as a pre-built automatic optical signal power correction model; the third machine learning model is one of a convolutional neural network, a recurrent neural network, or a long short-term memory network.
[0069] Technical effects and advantages of the present invention:
[0070] (1) The present invention obtains optical signal data of the all-optical link at time T, and obtains the coding anomaly coefficient of the all-optical link at time T+a according to a pre-constructed first recognition model, wherein the optical signal data includes a first optical signal power and a measured optical signal power, and determines whether the all-optical link at time T+a is in an abnormal coding state according to the coding anomaly coefficient. If it is not in an abnormal coding state, the first optical signal power is continued to be transmitted in the all-optical link, and T=T+a+b is set. If it is in an abnormal coding state, the coding feature data of the all-optical link at time T+a is obtained; the modulation depth value at time T+a is recorded, and the input of the parameter correction model is corrected according to the coding feature data and the pre-constructed parameter. The result is used to perform parameter correction on the modulation depth value, and the measured optical signal power of the all-optical link is determined based on the modulation depth value after parameter correction; it is determined whether there is an abnormal transmission event, and according to the abnormal transmission event, the first optical signal power and the measured optical signal power are input into a pre-built automatic optical signal power correction model to obtain the second optical signal power, and the all-optical link is transmitted according to the second optical signal power; based on the above method, the present invention is conducive to automatically identifying the abnormal coding state of the optical fiber coding in the all-optical link, and adaptively adjusting the light coding based on the optical transmitter, so as to improve the accurate identification of the optical fiber coding in multiple scenarios and promote the stability of optical signal data transmission in the all-optical link;
[0071] (2) By introducing an abnormal coding detection mechanism, the present invention can predict in advance whether there are transmission anomalies in the optical signal data in the all-optical link, thereby avoiding transmission errors. By correcting the optical signal power, it is beneficial to reduce the error rate of automatic fiber coding recognition, thereby further improving the transmission rate in the all-optical link. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Figure 1 This is a flow chart of the method for automatic identification of optical fiber coding in an all-optical link according to Embodiment 1;
[0073] Figure 2 Schematic diagram of the all-optical link fiber coding automatic identification system of Example 2;
[0074] Figure 3 This is a schematic diagram of an electronic device according to Embodiment 2;
[0075] Figure 4 A schematic diagram of a computer-readable storage medium of Example 3. DETAILED DESCRIPTION
[0076] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0077] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0078] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, a first unit may be referred to as a second unit, and a similar second unit may be referred to as a first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0079] Example 1
[0080] See also Figure 1 As shown, this embodiment discloses a method for automatically identifying optical fiber coding in an all-optical link, which is applied to an optical fiber monitoring station, and includes:
[0081] Step S1: Obtain optical signal data of the all-optical link at time T, and obtain a set of historical coding anomaly data, and obtain a coding anomaly coefficient of the all-optical link at time T+a according to a pre-constructed first recognition model, wherein the optical signal data includes a first optical signal power and a measured optical signal power, and T and a are both integers greater than zero;
[0082] It should be noted that the measuring device is connected to the all-optical link to obtain the optical signal data of the all-optical link at time T; the all-optical link includes but is not limited to optical cables, jumper fibers, pigtail fibers, optical fiber distribution panels, etc., and the measuring device includes but is not limited to a spectrum analyzer or an optical power meter.
[0083] In a preferred embodiment, the method for obtaining the coding anomaly coefficient of the all-optical link at time T+a according to the pre-constructed first recognition model includes:
[0084] Step 101: Obtaining light intensity difference data, rate difference data, and phase difference data of the all-optical link from time Tb to time T, where b is an integer greater than zero;
[0085] It should be noted that the value of b is determined according to the preset time interval of the manager in advance. For example, if the T moment is 8:00 and the preset time interval is 10 minutes, the value range of b is 10, that is, the light intensity difference data, rate difference data and phase difference data of the all-optical link within 8:00-8:10 are obtained;
[0086] Further, the light intensity difference data includes n light intensity difference values, and the light intensity difference values are obtained by performing difference calculation on the light intensity values of two adjacent time intervals; based on the above assumption, if the preset time interval is 10 minutes, the obtained light intensity difference data is within 8:00-8:10, and the two adjacent time intervals are 1 minute, then the light intensity value at 8:01 is subtracted from the light intensity value at 8:00, the light intensity value at 8:02 is subtracted from the light intensity value at 8:01, the light intensity value at 8:03 is subtracted from the light intensity value at 8:02, and so on, until the minuend is 8:10, all the light intensity difference values are obtained; similarly, the rate difference data and the phase difference data are also obtained in the same way, which will not be described in detail;
[0087] Step 102: inputting the optical intensity difference data, rate difference data and phase difference data of the all-optical link from time Tb to time T into a pre-built first recognition model to obtain the coding anomaly coefficient of the all-optical link at time T+a;
[0088] Specifically, the method for generating the pre-built first recognition model includes:
[0089] Step 201: Acquire a historical coding anomaly data set, wherein the historical coding anomaly data set includes light intensity difference data, rate difference data, and phase difference data of an all-optical link in i groups of time intervals and corresponding coding anomaly coefficients; i is an integer greater than zero;
[0090] It should be noted that the specific duration of each time interval is determined according to the preset time interval set by the administrator in advance;
[0091] Step 202: Divide the historical coding anomaly data set used to train the first machine learning model into an identification training set and an identification test set, construct a machine learning model, use the light intensity difference data, rate difference data and phase difference data of the all-optical link in each set of preset time periods as inputs of the machine learning model, use the coding anomaly coefficient as output of the machine learning model, train the machine learning model to obtain an initial learning model; evaluate the model effect of the initial learning model using a mean square error algorithm, and select the corresponding initial learning model that is greater than or equal to a preset evaluation value as the first recognition model;
[0092] Among them, the first machine learning model includes but is not limited to a random forest regression algorithm model, a K nearest neighbor regression algorithm model, a neural network algorithm model, and a long short-term memory network algorithm model, etc.; the mean square error algorithm calculation formula is as follows: Where: MSE represents the evaluation value, x represents the feature sample, D represents the optical signal power test set, Z represents the true value, H(x) represents the predicted value, and N represents the number of test samples in the optical signal power test set;
[0093] Furthermore, the method for obtaining the coding abnormality coefficient is as follows:
[0094] Obtaining a modulation depth value of the all-optical link within a preset time period through an optical spectrum analyzer; and obtaining a standard modulation depth value of the all-optical link within a preset time period; wherein the modulation depth value is a variation range of the optical signal power;
[0095] Obtaining an average modulation depth value of standard modulation depth values within a preset time period, and using the average modulation depth value as a modulation depth standard value;
[0096] The modulation depth value at each moment of the modulation depth value within the preset time period is extracted, and the modulation depth value and the modulation depth standard value are calculated by formula to obtain the coding anomaly coefficient of the all-optical link; the calculation formula of the coding anomaly coefficient is:
[0097]
[0098] Where: Bmy represents the coding anomaly coefficient, Pdt represents the modulation depth value at the tth moment; Indicates the standard value of modulation depth;
[0099] It should be noted that the coding anomaly coefficient is obtained by formulating calculations based on the modulation depth value and the modulation depth standard value, and the light intensity difference data, rate difference data and phase difference data are also obtained, so that each set of light intensity difference data, rate difference data and phase difference data corresponds to a coding anomaly coefficient; in other words, each set of light intensity difference data, rate difference data and phase difference data establishes a relationship with the modulation depth value and the modulation depth standard value through a machine learning model. This relationship is obtained through historical coding anomaly data and is used to identify the coding anomalies of optical links in different time periods and generate corresponding coding anomaly coefficients.
[0100] Step S2: determining whether the all-optical link at time T+a is in an abnormal coding state according to the coding abnormality coefficient; if not, continuing to transmit in the all-optical link with the first optical signal power, and setting T=T+a+b; if in an abnormal coding state, obtaining coding feature data of the all-optical link at time T+a;
[0101] In implementation, the method for determining whether the all-optical link at time T+a is in an abnormal coding state includes:
[0102] Comparing the coded abnormal coefficient with a preset coefficient threshold;
[0103] If the coding abnormality coefficient is greater than or equal to the preset coefficient threshold, it is determined that the all-optical link at time T+a is in an abnormal coding state;
[0104] If the coding abnormality coefficient is less than the preset coefficient threshold, it is determined that the all-optical link at time T+a is in a normal coding state;
[0105] Step S3: recording the modulation depth value at time T+a, performing parameter correction on the modulation depth value according to the coding characteristic data and the output result of the pre-constructed parameter correction model, and determining the measured optical signal power of the all-optical link based on the modulation depth value after parameter correction;
[0106] It should be noted that, further, the encoded characteristic data includes a modulation current and a modulation rate, wherein the modulation current refers to the modulation current of the optical transmitter to change the optical signal power. When the modulation current increases, the number of photons emitted by the optical transmitter increases, and the optical signal power increases; conversely, when the modulation current decreases, the optical signal power decreases, and the modulation rate indicates the number of times the optical signal power is changed within a preset time period;
[0107] In implementation, the modulation depth value is parameter-corrected according to the encoding feature data and the output result of the pre-built parameter correction model, including:
[0108] Inputting the encoding feature data into a pre-built parameter correction model to obtain a modulation depth correction value;
[0109] Accumulate and calculate the modulation depth correction value and the modulation depth value to obtain the modulation depth value after parameter correction;
[0110] Specifically, the pre-constructed parameter correction model is generated by training based on all-optical link test data; the all-optical link test data at least includes a relationship between a modulation depth correction value and each modulation current of an optical transmitter and a relationship between a modulation depth correction value and each modulation rate of the optical transmitter;
[0111] It should be noted that in an all-optical link, when an abnormal coding state occurs in the optical fiber coding, the modulation depth value can be modified by changing the modulation current of the optical transmitter, the modulation rate of the optical transmitter or other parameter adjustments;
[0112] In a preferred implementation, the method for acquiring all-optical link test data includes:
[0113] Step a1: placing the all-optical link for testing in a modulation environment of an optical transmitter to test the modulation current of the optical transmitter, and placing the standard all-optical link in a standard modulation current test environment set by the optical transmitter;
[0114] Step a2: during the modulation current test, obtaining a first depth value measured per second when the modulation current of the optical transmitter of the tested all-optical link is set to the rth ampere, where r is an integer greater than zero;
[0115] Step a3: Under a test environment where the optical transmitter is set to a standard modulation current, a first standard depth value per second of a standard all-optical link is obtained;
[0116] Step a4: taking the difference between the first depth value and the first standard depth value as the first depth value difference, comparing the first depth value difference with the preset first depth error interval, if the first depth value difference belongs to the preset first depth error interval, setting r=r+1, and returning to step a2; if the first depth value difference does not belong to the preset first depth error interval, taking the first depth value difference as the modulation depth correction value, and binding and associating the rth ampere with the modulation depth correction value, to obtain the relationship between the modulation depth correction value and the rth ampere;
[0117] Step a5: Repeat the above steps a2 to a4 until the cycle ends when r is equal to the modulation current R set by the light emitter, and obtain the relationship between the modulation depth correction value and each modulation current of the light emitter, where R is the total number of modulation currents and R is an integer greater than zero.
[0118] In yet another specific implementation, the method for acquiring all-optical link test data further includes:
[0119] Step b1: placing the all-optical link for testing in an optical transmitter modulation environment to test the modulation rate of the optical transmitter, and placing the standard all-optical link in an optical transmitter set standard modulation rate test environment;
[0120] Step b2: Under the modulation rate test environment, obtaining a second depth value measured per second when the modulation rate of the optical transmitter of the test all-optical link is set to k Hz, where k is an integer greater than zero;
[0121] Step b3: Under a set standard modulation rate test environment, obtain a second standard depth value of a standard all-optical link per second;
[0122] Step b4: taking the difference between the second depth value and the second standard depth value as the second depth value difference, comparing the second depth value difference with the preset second depth error interval, if the second depth value difference belongs to the preset second depth error interval, setting k=k+1, and returning to step b2; if the second depth value difference does not belong to the preset second depth error interval, taking the second depth value difference as the modulation depth correction value, and binding and associating the k-th Hz modulation rate with the modulation depth correction value, to obtain the relationship between the modulation depth correction value and the k-th Hz modulation rate;
[0123] Step b5: repeat the above steps b2 to b4 until k is equal to the set modulation rate K, and end the loop to obtain the relationship between the modulation depth correction value and the modulation rate per Hz, where K is the total number of modulation rates and K is an integer greater than zero;
[0124] In implementation, the method for generating the pre-built parameter correction model is as follows:
[0125] The all-optical link test data is divided into a data correction training set and a data correction test set;
[0126] Construct a machine learning model, use the modulation current and modulation rate in the data correction training set as input data of the machine learning model, use the modulation depth correction value in the data correction training set as output data of the machine learning model, train the machine learning model, and obtain an initial parameter correction model;
[0127] The initial parameter correction model is validated using the data correction test set, and the initial parameter correction model that meets the preset prediction error is output as the pre-built parameter correction model;
[0128] It should be noted that: the machine learning model can be one of a recurrent neural network, a convolutional neural network or a long short-term memory network;
[0129] It should be understood that the measured optical signal power of the all-optical link is determined based on the modulation depth value after parameter correction, and is implemented according to a formula, which is as follows:
[0130]
[0131] Wherein, α represents the weight factor of modulation depth, β represents the weight factor of transmission loss, both α and β are greater than zero, and C1 is the correction constant of the measured optical signal power;
[0132] Step S4: Calculate the power difference between the first optical signal power and the measured optical signal power, determine whether there is an abnormal transmission event, input the first optical signal power and the measured optical signal power into a pre-built automatic optical signal power correction model according to the abnormal transmission event, obtain the second optical signal power, and transmit the all-optical link according to the second optical signal power;
[0133] In implementation, the method for determining whether there is an abnormal transmission event includes:
[0134] Calculating a power difference between the first optical signal power and the measured optical signal power;
[0135] comparing the power difference with a power difference threshold;
[0136] If the power difference is greater than or equal to the power difference threshold, it is determined that an abnormal transmission event exists;
[0137] If the power difference is less than the power difference threshold, it is determined that there is no abnormal transmission event;
[0138] Specifically, the second optical signal power is generated based on coding test data training; the coding test data is obtained as follows:
[0139] Step d1: Get the e-th abnormal transmission event, where e is an integer greater than zero;
[0140] Step d2: acquiring a first optical signal power P1 of the all-optical link according to the e-th abnormal transmission event, and a measured optical signal power P2 of the all-optical link under control of the first optical signal power P1;
[0141] Step d3: obtaining an optical signal power error between the first optical signal power P1 and the measured optical signal power P2;
[0142] Step d4: determine whether the optical signal power error is equal to zero. If the optical signal power error is not equal to zero, further determine whether the optical signal power error is greater than zero or less than zero. If it is greater than zero, increase the first optical signal power P1, set P1=P1+H, and return to step d2; if it is less than zero, decrease the first optical signal power P1, set P1=P1-H, and return to step d2; if the optical signal power error is equal to zero, use the first optical signal power P1 after the speed adjustment as the second optical signal power P3, and associate the first optical signal power P1 with the measured optical signal power P2 and the second optical signal power P3 to obtain a set of relationships between the first optical signal power P1 and the measured optical signal power P2 and the second optical signal power P3, where H is an integer greater than zero;
[0143] Step d5: repeat the above steps d2 to d4 until the cycle ends when e=E, obtain the relationship between the first optical signal power P1 and the measured optical signal power P2 and the second optical signal power P3 of the F group and use it as the encoding test data, where E and F are integers greater than zero;
[0144] In implementation, the method for generating the pre-built automatic optical signal power correction model is as follows:
[0145] Divide the coding test data into a coding test training set and a coding test test set;
[0146] Constructing a machine learning model, taking the first optical signal power and the measured optical signal power in the coding test training set as input data of the machine learning model, taking the second optical signal power in the coding test training set as output data of the machine learning model, training the machine learning model, and obtaining an initial optical signal power correction model;
[0147] The initial optical signal power correction model is verified by using a coding test set, and the initial optical signal power correction model that satisfies a preset prediction error is output as a pre-built automatic optical signal power correction model;
[0148] It should be noted that: like the above machine learning model, the machine learning model is specifically one of a convolutional neural network, a recurrent neural network or a long short-term memory network;
[0149] It should be understood that the first optical signal power is the target optical signal power manually input according to the scene requirements, while the second optical signal power is not manually input, but an adjustment value made by the system according to abnormal conditions and based on the first optical signal power. The all-optical link is transmitted according to the second optical signal power, so that the measured optical signal power of the all-optical link reaches the manually input expected optical fiber coding (i.e., the first optical signal power).
[0150] This embodiment obtains the optical signal data of the all-optical link at time T, and obtains the coding anomaly coefficient of the all-optical link at time T+a according to a pre-constructed first recognition model, wherein the optical signal data includes the first optical signal power and the measured optical signal power, and determines whether the all-optical link at time T+a is in an abnormal coding state according to the coding anomaly coefficient; if not in an abnormal coding state, continue to transmit in the all-optical link with the first optical signal power, and set T=T+a+b; if in an abnormal coding state, obtain the coding characteristic data of the all-optical link at time T+a; record the modulation depth value at time T+a, and correct the output of the model according to the coding characteristic data and the pre-constructed parameter correction model. As a result, the modulation depth value is parameter-corrected, and the measured optical signal power of the all-optical link is determined based on the modulation depth value after parameter correction; it is determined whether there is an abnormal transmission event, and according to the abnormal transmission event, the first optical signal power and the measured optical signal power are input into a pre-built automatic optical signal power correction model to obtain the second optical signal power, and the all-optical link is transmitted according to the second optical signal power; based on the above method, the present invention is conducive to the automatic identification of abnormal coding status of optical fiber coding in the all-optical link, and adaptively adjusts the light coding based on the optical transmitter, which is conducive to improving the accurate identification of optical fiber coding in multiple scenarios and promoting the stability of optical signal data transmission in the all-optical link.
[0151] The formulas involved in the above are all calculated by removing dimensions and taking their numerical values. They are a formula that is closest to the actual situation obtained by collecting a large amount of data and performing software simulation. The weight factors in the formula and the preset thresholds in the analysis process are set by technicians in this field according to actual conditions or obtained by simulating a large amount of data; the size of the weight factor is to quantify each parameter to obtain a specific value for subsequent comparison. The size of the weight factor depends on the amount of sample data and the corresponding processing coefficient initially set by technicians in this field for each group of sample data; as long as it does not affect the proportional relationship between the parameter and the quantized value.
[0152] Example 2
[0153] See also Figure 2 As shown, this embodiment provides an all-optical link optical fiber coding automatic identification system, including:
[0154] A model building module, used to obtain optical signal data of the all-optical link at time T, and to obtain a coding anomaly coefficient of the all-optical link at time T+a according to a pre-built first recognition model, wherein the optical signal data includes a first optical signal power and a measured optical signal power, and T and a are both integers greater than zero;
[0155] An optical signal power identification module is used to determine whether the all-optical link at time T+a is in an abnormal coding state according to the coding abnormality coefficient. If it is not in an abnormal coding state, continue to transmit in the all-optical link with the first optical signal power, and set T=T+a+b. If it is in an abnormal coding state, obtain the coding feature data of the all-optical link at time T+a;
[0156] A parameter correction module is used to record the modulation depth value at time T+a, perform parameter correction on the modulation depth value according to the coding characteristic data and the output result of the pre-built parameter correction model, and determine the measured optical signal power of the all-optical link based on the modulation depth value after parameter correction;
[0157] The judgment module is used to judge whether there is an abnormal transmission event, input the first optical signal power and the measured optical signal power into a pre-built automatic optical signal power correction model according to the abnormal transmission event, obtain the second optical signal power, and transmit the all-optical link according to the second optical signal power.
[0158] Example 3
[0159] See also Figure 3 As shown, this embodiment provides an electronic device, including: a processor and a memory, wherein the memory stores a computer program that can be called by the processor;
[0160] The processor executes the method for automatic identification of optical fiber coding of all-optical links of embodiment 1 by calling the computer program stored in the memory.
[0161] Example 4
[0162] See also Figure 4 As shown, this embodiment provides a computer-readable storage medium storing instructions. When the instructions are executed on a computer, the computer executes the method for automatic identification of optical fiber codes in an all-optical link of Embodiment 1.
[0163] The formulas involved in the above are all calculated by removing dimensions and taking their numerical values. They are a formula that is closest to the actual situation obtained by collecting a large amount of data and performing software simulation. The weight factors in the formula and the preset thresholds in the analysis process are set by technicians in this field according to actual conditions or obtained by simulating a large amount of data; the size of the weight factor is to quantify each parameter to obtain a specific value for subsequent comparison. The size of the weight factor depends on the amount of sample data and the corresponding processing coefficient initially set by technicians in this field for each group of sample data; as long as it does not affect the proportional relationship between the parameter and the quantized value.
[0164] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above embodiments 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 instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can 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 instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center via a wired network. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0165] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0166] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0167] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only one. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0168] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0169] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0170] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0171] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0172] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for automatically identifying fiber codes in an all-optical link, characterized in that: include: Obtain optical signal data of the all-optical link at time T, and obtain a set of historical coding anomaly data, and obtain a coding anomaly coefficient of the all-optical link at time T+a according to a pre-constructed first recognition model, wherein the optical signal data includes a first optical signal power and a measured optical signal power, and T and a are both integers greater than zero; Determine whether the all-optical link at time T+a is in an abnormal coding state according to the coding abnormality coefficient; if not, transmit the first optical signal power in the all-optical link, and set T=T+a+b; if in an abnormal coding state, obtain coding feature data of the all-optical link at time T+a; Record the modulation depth value at time T+a, perform parameter correction on the modulation depth value according to the coding characteristic data and the output result of the pre-built parameter correction model, and determine the measured optical signal power of the all-optical link based on the modulation depth value after parameter correction; the coding characteristic data includes modulation current and modulation rate; Calculate the power difference between the first optical signal power and the measured optical signal power to determine whether there is an abnormal transmission event, input the first optical signal power and the measured optical signal power into a pre-built automatic optical signal power correction model according to the abnormal transmission event, obtain the second optical signal power, and transmit the all-optical link according to the second optical signal power.
2. The method for automatic identification of optical fiber coding of all-optical links according to claim 1, characterized in that: The method for obtaining the coding anomaly coefficient of the all-optical link at time T+a according to the pre-built first recognition model includes: Obtaining light intensity difference data, rate difference data, and phase difference data of the all-optical link from time Tb to time T, where b is an integer greater than zero; The optical intensity difference data, rate difference data and phase difference data of the all-optical link from time Tb to time T are input into the pre-built first recognition model to obtain the coding anomaly coefficient of the all-optical link at time T+a; The method for generating the pre-built first recognition model comprises: Acquire a historical coding anomaly data set, wherein the historical coding anomaly data set includes light intensity difference data, rate difference data, and phase difference data of an all-optical link in i groups of time intervals and corresponding coding anomaly coefficients; i is an integer greater than zero; The historical coding anomaly data set used to train the first machine learning model is divided into an identification training set and an identification test set, a machine learning model is constructed, the light intensity difference data, rate difference data and phase difference data of the all-optical link in each set of preset time periods are used as inputs of the machine learning model, and the coding anomaly coefficient is used as the output of the first machine learning model, and the first machine learning model is trained to obtain an initial learning model; the initial learning model is evaluated by using a mean square error algorithm, and the corresponding initial learning model greater than or equal to a preset evaluation value is selected as the first recognition model; The first machine learning model is a random forest regression algorithm model, a K nearest neighbor regression algorithm model, a neural network algorithm model or a long short-term memory network algorithm model.
3. The method for automatic identification of optical fiber codes in all-optical links according to claim 2, characterized in that: The method for obtaining the coding abnormality coefficient is as follows: Obtaining the modulation depth value of the all-optical link within a preset time period by means of an optical spectrum analyzer; and obtaining the standard modulation depth value of the all-optical link within a preset time period; the modulation depth value is a variation range of the optical signal power; Obtaining an average modulation depth value of standard modulation depth values within a preset time period, and using the average modulation depth value as a modulation depth standard value; The modulation depth value at each moment of the modulation depth value within the preset time period is extracted, and the modulation depth value and the modulation depth standard value are calculated by formula to obtain the coding anomaly coefficient of the all-optical link; the calculation formula of the coding anomaly coefficient is: Where: Bmy represents the coding anomaly coefficient, Pdt represents the modulation depth value at the tth moment; Indicates the standard value of modulation depth.
4. The method for automatic identification of optical fiber coding of all-optical links according to claim 3, characterized in that: The method for determining whether the all-optical link at time T+a is in an abnormal coding state includes: Comparing the coded abnormal coefficient with a preset coefficient threshold; If the coding abnormality coefficient is greater than or equal to the preset coefficient threshold, it is determined that the all-optical link at time T+a is in an abnormal coding state; If the coding abnormality coefficient is less than the preset coefficient threshold, it is determined that the all-optical link at time T+a is in a normal coding state.
5. The method for automatic identification of optical fiber coding of all-optical links according to claim 4, characterized in that: The modulation depth value is parameter-corrected according to the encoding feature data and the output result of the pre-built parameter correction model, including: Inputting the encoding feature data into a pre-built parameter correction model to obtain a modulation depth correction value; Accumulate and calculate the modulation depth correction value and the modulation depth value to obtain the modulation depth value after parameter correction; The pre-built parameter correction model is generated by training based on all-optical link test data; The all-optical link test data at least includes a relationship between a modulation depth correction value and each modulation current of the optical transmitter and a relationship between a modulation depth correction value and each modulation rate of the optical transmitter; The method for acquiring all-optical link test data includes: Step a1: placing the all-optical link for testing in a modulation environment of an optical transmitter to test the modulation current of the optical transmitter, and placing the standard all-optical link in a standard modulation current test environment set by the optical transmitter; Step a2: During the modulation current test, when the modulation current of the optical transmitter is set to the rth ampere, a first depth value of the full optical link is measured; r is an integer greater than zero; Step a3: Under a test environment where the optical transmitter is set to a standard modulation current, a first standard depth value per second of a standard all-optical link is obtained; Step a4: taking the difference between the first depth value and the first standard depth value as the first depth value difference, comparing the first depth value difference with the preset first depth error interval, if the first depth value difference belongs to the preset first depth error interval, setting r=r+1, and returning to step a2; if the first depth value difference does not belong to the preset first depth error interval, taking the first depth value difference as the modulation depth correction value, and binding and associating the rth ampere with the modulation depth correction value, to obtain the relationship between the modulation depth correction value and the rth ampere; Step a5: Repeat the above steps a2 to a4 until the cycle ends when r is equal to the modulation current R set by the light emitter, and obtain the relationship between the modulation depth correction value and each modulation current of the light emitter, where R is the total number of modulation currents and R is an integer greater than zero.
6. The method for automatic identification of optical fiber codes in all-optical links according to claim 5, characterized in that: The method for acquiring all-optical link test data also includes: Step b1: placing the all-optical link for testing in an optical transmitter modulation environment to test the modulation rate of the optical transmitter, and placing the standard all-optical link in an optical transmitter set standard modulation rate test environment; Step b2: Under the modulation rate test environment, when the modulation rate of the optical transmitter is set to k Hz, a second depth value of the all-optical link is measured, where k is an integer greater than zero; Step b3: Under a set standard modulation rate test environment, obtain a second standard depth value of a standard all-optical link per second; Step b4: taking the difference between the second depth value and the second standard depth value as the second depth value difference, comparing the second depth value difference with the preset second depth error interval, if the second depth value difference belongs to the preset second depth error interval, setting k=k+1, and returning to step b2; if the second depth value difference does not belong to the preset second depth error interval, taking the second depth value difference as the modulation depth correction value, and binding and associating the k-th Hz modulation rate with the modulation depth correction value, to obtain the relationship between the modulation depth correction value and the k-th Hz modulation rate; Step b5: Repeat the above steps b2 to b4 until the loop ends when k is equal to the set modulation rate K, and obtain the relationship between the modulation depth correction value and the modulation rate per Hz, where K is the total number of modulation rates and K is an integer greater than zero.
7. The method for automatic identification of optical fiber codes in all-optical links according to claim 6, characterized in that: The method for generating the pre-built parameter correction model is as follows: The all-optical link test data is divided into a data correction training set and a data correction test set; Constructing a second machine learning model, taking the modulation current and modulation rate in the data correction training set as input data of the second machine learning model, taking the modulation depth correction value in the data correction training set as output data of the second machine learning model, training the second machine learning model, and obtaining an initial parameter correction model; The initial parameter correction model is verified using a data correction test set, and an initial parameter correction model that meets a preset prediction error is output as a pre-built parameter correction model; the second machine learning model is one of a recurrent neural network, a convolutional neural network, or a long short-term memory network.
8. The method for automatic identification of optical fiber codes in all-optical links according to claim 7, characterized in that: The measured optical signal power of the all-optical link is determined based on the modulation depth value after parameter correction, and is implemented according to the formula, which is as follows: Wherein, α represents the weight factor of the modulation depth, β represents the weight factor of the transmission loss, both α and β are greater than zero, and C1 is the correction constant of the measured optical signal power.
9. The method for automatic identification of optical fiber codes in an all-optical link according to claim 8, characterized in that: Determine whether there are abnormal transmission events, including: Calculating a power difference between the first optical signal power and the measured optical signal power; comparing the power difference with a power difference threshold; If the power difference is greater than or equal to the power difference threshold, it is determined that an abnormal transmission event exists; If the power difference is less than the power difference threshold, it is determined that there is no abnormal transmission event; The second optical signal power is generated based on coding test data training; the coding test data is obtained by the following method: Step d1: Get the e-th abnormal transmission event, where e is an integer greater than zero; Step d2: acquiring a first optical signal power P1 of the all-optical link according to the e-th abnormal transmission event, and a measured optical signal power P2 of the all-optical link under control of the first optical signal power P1; Step d3: obtaining an optical signal power error between the first optical signal power P1 and the measured optical signal power P2; Step d4: determine whether the optical signal power error is equal to zero. If the optical signal power error is not equal to zero, further determine whether the optical signal power error is greater than zero or less than zero. If it is greater than zero, increase the first optical signal power P1, set P1=P1+H, and return to step d2; if it is less than zero, decrease the first optical signal power P1, set P1=P1-H, and return to step d2; if the optical signal power error is equal to zero, use the first optical signal power P1 after the speed adjustment as the second optical signal power P3, and associate the first optical signal power P1 with the measured optical signal power P2 and the second optical signal power P3 to obtain a set of relationships between the first optical signal power P1 and the measured optical signal power P2 and the second optical signal power P3, where H is an integer greater than zero; Step d5: Repeat the above steps d2 to d4 until the loop ends when e=E, and obtain the relationship between the first optical signal power P1 and the measured optical signal power P2 and the second optical signal power P3 of the F group and use it as the encoding test data, where E and F are integers greater than zero.
10. The method for automatic identification of optical fiber codes in all-optical links according to claim 9, characterized in that: The method for generating the pre-built automatic optical signal power correction model is as follows: Divide the coding test data into a coding test training set and a coding test test set; Construct a third machine learning model, use the first optical signal power and the measured optical signal power in the coding test training set as input data of the third machine learning model, use the second optical signal power in the coding test training set as output data of the third machine learning model, train the third machine learning model, and obtain an initial optical signal power correction model; The initial optical signal power correction model is verified using a coding test set, and the initial optical signal power correction model that meets the preset prediction error is output as a pre-built automatic optical signal power correction model; the third machine learning model is one of a convolutional neural network, a recurrent neural network, or a long short-term memory network.
