Dwdm device identification method, device and equipment based on channel test data
By acquiring DWDM device channel test data, calculating the target center wavelength and replacement passband bandwidth, replacing insertion loss data, generating a target insertion loss array, and identifying the device channel type, the problem of low identification efficiency in the existing technology is solved, and more efficient channel type identification is achieved.
Patent Information
- Application Number
- CN202111680712.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2041-12-30
AI Technical Summary
Existing technologies that modify the original data structure to identify the channel type of DWDM devices are inefficient, resulting in low identification efficiency.
By acquiring DWDM device channel test data, the target center wavelength and replacement passband bandwidth are calculated, the insertion loss data within the target range is replaced, a target insertion loss array is generated, and the channel type of the device is identified based on the insertion loss data difference.
It improves the efficiency of identifying the channel type of DWDM devices and avoids wasting time changing the original data structure.
Smart Images

Figure CN114337803B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication optical device testing, in particular to a DWDM device identification method, device and equipment based on channel test data. BACKGROUND
[0002] With the continuous development of communication network technology, communication networks have been widely used in various fields, and the application of communication networks cannot be separated from construction. In the construction of communication networks, the commonly used device is DWDM optical wavelength division multiplexer. The type of DWDM optical wavelength division multiplexer is divided into single fiber bidirectional (BIDI) and double fiber bidirectional (Non-BIDI). By using single fiber bidirectional DWDM optical wavelength division multiplexer, the function of transmitting two-way optical wavelength signals in the same optical fiber can be realized, so that the network construction cost is greatly reduced. Moreover, the detection result of using DWDM optical wavelength division multiplexer generally presents a two-dimensional data table, that is, the insertion loss vs. wavelength data, also known as the insertion loss spectrum of the wavelength channel. Since the system can only analyze one type of device at the same time, the efficiency of the final analysis data is low. Therefore, it is extremely important to determine the corresponding channel type through DWDM device channel test data. At present, the common way to determine the channel type of DWDM device is to change the structure of the original data. However, in the process of changing the result of the original data, a lot of time is wasted, resulting in low efficiency of identifying the channel type of DWDM device.
[0003] The above content is only used to assist in understanding the technical solutions of the present application and does not represent the acknowledgement of the above content as prior art. SUMMARY
[0004] The main purpose of the present application is to provide a DWDM device identification method, device and equipment based on channel test data, which aims to solve the technical problem of low efficiency of identifying the channel type of DWDM device by changing the structure of the original data in the prior art.
[0005] To achieve the above purpose, the present application provides a DWDM device identification method based on channel test data, which comprises the following steps:
[0006] Obtaining DWDM device channel test data, and obtaining a target center wavelength according to the DWDM device channel test data;
[0007] Calculating the insertion loss data in the target range according to the target center wavelength and the target replacement passband bandwidth;
[0008] Replacing the insertion loss data in the target range according to the target replacement passband data to obtain a target insertion loss array;
[0009] The DWDM device is identified based on the current insertion loss array, the target insertion loss array, and the first insertion loss data, and the channel type of the DWDM device is determined based on the identification result.
[0010] Optionally, the step of acquiring DWDM device channel test data and obtaining the target center wavelength based on the DWDM device channel test data includes:
[0011] Acquire DWDM device channel test data, and obtain the current wavelength array and current insertion loss array based on the DWDM device channel test data;
[0012] The insertion loss data in the current insertion loss array is traversed to obtain the current insertion loss data;
[0013] The target center wavelength is obtained by identifying the current wavelength array based on the current insertion loss data.
[0014] Optionally, the step of calculating the insertion loss data of the target range based on the target center wavelength and the target replacement passband bandwidth includes:
[0015] The corresponding replacement channel bandwidth start point and replacement channel bandwidth end point are obtained based on the target center wavelength;
[0016] The target replacement passband bandwidth is set by the replacement channel bandwidth start point and the replacement channel bandwidth end point;
[0017] The target center wavelength and target replacement passband bandwidth are calculated using a preset range calculation strategy to obtain insertion loss data within the target range.
[0018] Optionally, the step of replacing the insertion loss data within the target range according to the target replacement passband data to obtain the target insertion loss array includes:
[0019] Based on the current insertion loss array and the insertion loss data within the target range, obtain the insertion loss data outside the target range;
[0020] Replace the insertion loss data within the target range by replacing the target passband data to obtain the replacement insertion loss data;
[0021] A target insertion loss array is generated based on the replacement insertion loss data and the insertion loss data outside the target range.
[0022] Optionally, the step of identifying the DWDM device based on the current insertion loss array, the target insertion loss array, and the first insertion loss data includes:
[0023] The insertion loss data in the target insertion loss array is traversed to obtain the target insertion loss data;
[0024] Subtract the current insertion loss data and the target insertion loss data to obtain an insertion loss data difference value;
[0025] The insertion loss data difference value is taken modulo, and the DWDM device is identified according to the modulo insertion loss data difference value and the first insertion loss data.
[0026] Optionally, the determining the channel type of the DWDM device based on the identification result comprises:
[0027] When the identification result is that the modulo insertion loss data difference value is greater than or equal to the first insertion loss data, it is determined that the channel type of the DWDM device is dual-fiber bidirectional.
[0028] Optionally, the determining the channel type of the DWDM device based on the identification result comprises:
[0029] When the identification result is that the modulo insertion loss data difference value is less than the first insertion loss data, it is determined that the channel type of the DWDM device is single-fiber bidirectional.
[0030] In addition, to achieve the above-mentioned purpose, the application further provides a DWDM device identification device based on channel test data, which comprises:
[0031] An acquisition module is configured to acquire DWDM device channel test data, and obtain a target center wavelength according to the DWDM device channel test data.
[0032] A calculation module is configured to calculate insertion loss data in a target range according to the target center wavelength and a target replacement passband bandwidth.
[0033] A replacement module is configured to replace the insertion loss data in the target range according to target replacement passband data to obtain a target insertion loss array.
[0034] An identification module is configured to identify a DWDM device according to current insertion loss data, target insertion loss data and first insertion loss data, and determine the channel type of the DWDM device based on the identification result.
[0035] In addition, to achieve the above-mentioned purpose, the application further provides a DWDM device identification device based on channel test data, which comprises a memory, a processor and a DWDM device identification program based on channel test data stored in the memory and capable of running on the processor, and the DWDM device identification program based on channel test data is configured to implement the above-mentioned DWDM device identification method based on channel test data.
[0036] In addition, to achieve the above object, the application further provides a storage medium, wherein the storage medium stores a DWDM device identification program based on channel test data, and the DWDM device identification program based on channel test data is executed by a processor to realize the DWDM device identification method based on channel test data.
[0037] The DWDM device identification method based on channel test data provided by the application obtains DWDM device channel test data, obtains a target center wavelength according to the DWDM device channel test data, calculates insertion loss data in a target range according to the target center wavelength and a target replacement passband bandwidth, replaces the insertion loss data in the target range according to target replacement passband data, obtains a target insertion loss array, identifies the DWDM device according to the current insertion loss array, the target insertion loss array and first insertion loss data, and determines the channel type of the DWDM device based on the identification result. BRIEF DESCRIPTION OF DRAWINGS
[0038] Figure 1 Fig. 1 is a structural schematic diagram of a DWDM device identification device based on channel test data of a hardware running environment involved in an embodiment scheme of the application;
[0039] Figure 2 Fig. 2 is a flowchart of a first embodiment of the DWDM device identification method based on channel test data of the application;
[0040] Figure 3 Fig. 3 is a flowchart of a second embodiment of the DWDM device identification method based on channel test data of the application;
[0041] Figure 4 Fig. 4 is a flowchart of a third embodiment of the DWDM device identification method based on channel test data of the application;
[0042] Figure 5 Fig. 5 is a functional module schematic diagram of a first embodiment of the DWDM device identification apparatus based on channel test data of the application.
[0043] The realization of the object, functional features and advantages of the application will be further explained with reference to the accompanying drawings in combination with the embodiments. DETAILED DESCRIPTION
[0044] It should be understood that the specific embodiments described herein are merely intended to explain the application and are not intended to limit the application.
[0045] Referring to Figure 1 , Figure 1 The hardware environment of the embodiment of the present application involves a channel test data based DWDM device identification equipment structure diagram.
[0046] As Figure 1 shown, the channel test data based DWDM device identification equipment can include a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to realize the connection and communication between the components. The user interface 1003 can include a display screen, an input unit such as a keyboard, and can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a wireless fidelity (Wi-Fi) interface). The memory 1005 can be a high-speed random access memory (RAM) memory, or a stable non-volatile memory (NVM) such as a disk memory. The memory 1005 can also be a storage device independent of the aforementioned processor 1001.
[0047] Those skilled in the art can understand Figure 1 that the structure shown in the foregoing description does not constitute a limitation on the channel test data based DWDM device identification equipment, and can include more or fewer components than the diagram, or combine certain components, or different component arrangements.
[0048] As Figure 1 shown, the memory 1005 as a storage medium can include an operating system, a network communication module, a user interface module, and a channel test data based DWDM device identification program.
[0049] In Figure 1The network interface 1004 is mainly used for data communication with the network integration platform workstation, and the user interface 1003 is mainly used for data interaction with the user. The processor 1001 and the memory 1005 in the DWDM device identification equipment based on channel test data can be arranged in the DWDM device identification equipment based on channel test data, and the DWDM device identification equipment based on channel test data calls the DWDM device identification program based on channel test data stored in the memory 1005 through the processor 1001, and executes the DWDM device identification method based on channel test data provided in the embodiment of the application.
[0050] Based on the above hardware structure, the embodiment of the application provides a DWDM device identification method based on channel test data.
[0051] Reference Figure 1 , Figure 1 FIG. 1 is a flowchart of the first embodiment of the DWDM device identification method based on channel test data.
[0052] In the first embodiment, the DWDM device identification method based on channel test data includes the following steps.
[0053] In step S10, DWDM device channel test data is obtained, and a target center wavelength is obtained according to the DWDM device channel test data.
[0054] It should be noted that the execution subject of the embodiment is a noise elimination equipment for 5G front transmission network wavelength division multiplexer test data, and can also be other equipment that can realize the same or similar functions, such as an optical device identifier, and the embodiment does not limit this. In the embodiment, the optical device identifier is taken as an example for description.
[0055] It should be understood that the DWDM device channel test data refers to data tested through a DWDM device channel, and the DWDM device channel test data can be test data in a preset period. The DWDM device is one of optical wavelength division multiplexing devices, and the DWDM device is divided into two types: a combined DWDM device and a split DWDM device.
[0056] It can be understood that the target center wavelength refers to a center wavelength corresponding to minimum insertion loss data in the DWDM device channel test data, and the DWDM device channel test data is composed of a current wavelength array and a current insertion loss array. For example, the current wavelength array is W, the current insertion loss array is I1, and the DWDM device channel test data is (W, I1).
[0057] Further, the step S10 comprises: obtaining DWDM device channel test data, obtaining a current wavelength array and a current insertion loss array according to the DWDM device channel test data; traversing insertion loss data in the current insertion loss array to obtain current insertion loss data; identifying the current wavelength array according to the current insertion loss data to obtain a target center wavelength.
[0058] It should be understood that the current wavelength array refers to an array composed of wavelength data in the DWDM device channel test data, and similarly, the current insertion loss array refers to an array composed of insertion loss data in the DWDM device channel test data, and the current insertion loss data refers to the smallest insertion loss data in the current insertion loss array, and the specific way to obtain the current insertion loss data is to traverse the current insertion loss array and then search for the smallest insertion loss data in the traversal result to obtain the current insertion loss data.
[0059] It can be understood that after obtaining the current insertion loss data, the current insertion loss data needs to be identified to obtain the target center wavelength, for example, the current insertion loss data is L1, by identifying the current insertion loss data, the wavelength λ corresponding to the current insertion loss data is obtained, and then the target center wavelength λ1 is obtained according to the wavelength.
[0060] The step S20 calculates the insertion loss data in the target range according to the target center wavelength and a target replacement passband bandwidth.
[0061] It can be understood that the insertion loss data in the target range refers to the insertion loss data to be replaced, and the target replacement passband bandwidth refers to the width channel when replacing the passband, which can be directly set. After obtaining the target center wavelength, the target center wavelength and the target replacement passband bandwidth are calculated to obtain the insertion loss data in the target range.
[0062] The step S30 replaces the insertion loss data in the target range according to target replacement passband data to obtain a target insertion loss array.
[0063] It should be understood that the target insertion loss array refers to an insertion loss array generated by the replaced insertion loss data, and the target replacement passband data refers to data for replacing the insertion loss data in the target range, which is a numerical constant L3, and specifically can be 65. For example, the insertion loss data in the target range is λ1±D / 2, and the current insertion loss array is I1, and then the target insertion loss array I2 is obtained by replacing the insertion loss data λ1±D / 2 in the target range with the target replacement passband data L3.
[0064] Further, the step S30 comprises: obtaining the insertion loss data in the non-target range according to the current insertion loss array and the insertion loss data in the target range; replacing the insertion loss data in the target range by the target replacement bandwidth data to obtain replacement insertion loss data; and generating the target insertion loss array according to the replacement insertion loss data and the insertion loss data in the non-target range.
[0065] It can be understood that the replacement insertion loss data refers to the data for replacing the insertion loss data in the target range, and the replacement insertion loss data can be the target replacement bandwidth data, and the insertion loss data in the non-target range refers to the insertion loss data in the current insertion loss array that is not in the target range, for example, the insertion loss data in the target range is λ1±D / 2, and the current insertion loss array is I1, then the insertion loss data in the non-target range is the insertion loss data in I1 except λ1±D / 2, and then the insertion loss data in the target range is replaced by the target replacement bandwidth data, and then the target insertion loss array is generated according to the replacement insertion loss data and the insertion loss data in the non-target range.
[0066] The step S40 comprises: identifying the DWDM device according to the current insertion loss array, the target insertion loss array and the first insertion loss data, and determining the channel type of the DWDM device based on the identification result.
[0067] It can be understood that the channel type of the DWDM device is divided into double-fiber bidirectional and single-fiber bidirectional, and the first insertion loss data is a constant value L4 for determining the channel type of the DWDM device, and the first insertion loss data can be 15, and after the current insertion loss array and the target insertion loss array are obtained, the channel type of the DWDM device is determined according to the current insertion loss array, the target insertion loss array and the first insertion loss data.
[0068] Further, the step S40 comprises: when the identification result is that the modulo insertion loss data difference value is greater than or equal to the first insertion loss data, determining that the channel type of the DWDM device is double-fiber bidirectional.
[0069] It should be understood that the modulo insertion loss data difference value refers to the value obtained by subtracting the target insertion loss data in the target insertion loss array from the current insertion loss data in the current insertion loss array and taking the modulus, and after the modulo insertion loss data difference value is obtained, it is judged whether the modulo insertion loss data difference value is greater than or equal to the first insertion loss data, and if so, the channel type of the DWDM device is determined to be double-fiber bidirectional, for example, the modulo insertion loss data difference value is |L1-L2|, the first insertion loss data is L4, and when |L1-L2|≥L4, the channel type of the DWDM device is determined to be double-fiber bidirectional.
[0070] Further, the step S40 comprises: when the identification result is that the modulo insertion loss data difference value is less than the first insertion loss data, determining that the channel type of the DWDM device is single-fiber bidirectional.
[0071] It can be understood that after obtaining the insertion loss data difference after taking the modulus, it is judged whether the insertion loss data difference after taking the modulus is less than the first insertion loss data, if yes, it is determined that the channel type of the DWDM device is single-fiber bidirectional, for example, the insertion loss data difference after taking the modulus is |L1-L2|, the first insertion loss data is L4, and when |L1-L2|<L4, it is determined that the channel type of the DWDM device is double-fiber bidirectional.
[0072] The embodiment obtains DWDM device channel test data, obtains a target center wavelength according to the DWDM device channel test data, calculates insertion loss data in a target range according to the target center wavelength and a target replacement passband bandwidth, replaces the insertion loss data in the target range according to target replacement passband data, obtains a target insertion loss array, identifies the DWDM device according to the current insertion loss array, the target insertion loss array and the first insertion loss data, and determines the channel type of the DWDM device based on the identification result. Since the embodiment replaces the insertion loss data in the target range according to the target replacement passband data, and then determines the corresponding channel type based on the identification result of the DWDM device according to the current insertion loss array, the target insertion loss array and the first insertion loss data, compared with the prior art of determining the channel type by changing the original data structure, the efficiency of identifying the channel type of the DWDM device can be effectively improved.
[0073] In an embodiment, as Figure 2 The second embodiment of the DWDM device identification method based on channel test data is proposed based on the first embodiment, and the step S20 comprises:
[0074] In step S201, the corresponding replacement channel bandwidth start point and replacement channel bandwidth end point are obtained according to the target center wavelength.
[0075] It can be understood that the replacement channel bandwidth start point refers to the starting line of the target replacement passband bandwidth, and the replacement channel bandwidth start point is located on the starting side of the target center wavelength. Similarly, the replacement channel bandwidth end point refers to the end point of the target replacement passband bandwidth, and the replacement channel bandwidth end point is located on the end side of the target center wavelength.
[0076] In step S202, the target replacement passband bandwidth is set through the replacement channel bandwidth start point and the replacement channel bandwidth end point.
[0077] It should be understood that after obtaining the replacement channel bandwidth start point and the replacement channel bandwidth end point, the target replacement passband bandwidth is set through the replacement channel bandwidth start point and the replacement channel bandwidth end point, for example, the replacement channel bandwidth start point is A, the replacement channel bandwidth end point is B, and the distance between A and B is the target replacement passband bandwidth.
[0078] Step S203, calculating the target center wavelength and the target replacement passband bandwidth by a preset range calculation strategy to obtain the insertion loss data in the target range.
[0079] It should be understood that the preset range calculation strategy refers to the strategy of calculating the target range of the insertion loss data. After obtaining the target center wavelength and the target replacement passband bandwidth, the insertion loss data in the target range can be calculated by the preset range calculation strategy. For example, the target center wavelength is λ1, the target replacement passband bandwidth is D, and D is 4 nm. The insertion loss data in the target range calculated by the preset range calculation strategy is λ1±D / 2.
[0080] In this embodiment, the corresponding replacement channel bandwidth start point and the replacement channel bandwidth end point are obtained according to the target center wavelength. The target replacement passband bandwidth is set by the replacement channel bandwidth start point and the replacement channel bandwidth end point. The target center wavelength and the target replacement passband bandwidth are calculated by the preset range calculation strategy to obtain the insertion loss data in the target range. Since this embodiment obtains the corresponding replacement channel bandwidth start point and the replacement channel bandwidth end point according to the target center wavelength, and then sets the target replacement passband bandwidth according to the replacement channel bandwidth start point and the replacement channel bandwidth end point, and then calculates the target center wavelength and the target replacement passband bandwidth based on the preset range calculation strategy, the accuracy of obtaining the insertion loss data in the target range can be effectively improved.
[0081] In an embodiment, as Figure 3 The third embodiment of the DWDM device identification method based on channel test data is proposed based on the first embodiment. The step S40 includes:
[0082] Step S401, traversing the insertion loss data in the target insertion loss array to obtain the target insertion loss data.
[0083] It can be understood that the target insertion loss data refers to the smallest insertion loss data in the target insertion loss array. After obtaining the target insertion loss array, the insertion loss data in the target insertion loss array is traversed, and then the smallest insertion loss data is searched from the traversal result to obtain the target insertion loss data.
[0084] Step S402, subtracting the current insertion loss data from the target insertion loss data to obtain an insertion loss data difference value.
[0085] It should be understood that the insertion loss data difference value refers to the data difference value between the current insertion loss data and the target insertion loss data. Specifically, the current insertion loss data and the target insertion loss data are subtracted, for example, the current insertion loss data is L1, the target insertion loss data is L2, and the insertion loss data difference value at this time is L1-L2.
[0086] In step S403, the insertion loss data difference is taken modulo, and the DWDM device is identified according to the first insertion loss data and the insertion loss data difference after taking modulo.
[0087] It can be understood that after obtaining the insertion loss data difference, the insertion loss data difference is taken modulo, for example, the insertion loss data difference is L1-L2, the insertion loss data difference after taking modulo is |L1-L2|, and then the insertion loss data difference after taking modulo is compared with the first insertion loss data, and the DWDM device is identified according to the comparison result.
[0088] In the embodiment, the insertion loss data in the target insertion loss array is traversed to obtain target insertion loss data, the current insertion loss data and the target insertion loss data are subtracted to obtain an insertion loss data difference, the insertion loss data difference is taken modulo, and the DWDM device is identified according to the first insertion loss data and the insertion loss data difference after taking modulo. Since the current insertion loss data and the target insertion loss data are subtracted after traversing the insertion loss data in the target insertion loss array, and the DWDM device is identified according to the first insertion loss data and the insertion loss data difference after taking modulo, the channel type of the DWDM device can be identified without changing the original data structure.
[0089] In addition, the embodiment of the present application also provides a storage medium, and the storage medium stores a DWDM device identification program based on channel test data. When the DWDM device identification program based on channel test data is executed by a processor, the steps of the DWDM device identification method based on channel test data are implemented.
[0090] Since the storage medium adopts all the technical solutions of the above-mentioned embodiments, it at least has all the beneficial effects brought by the technical solutions of the above-mentioned embodiments, which will not be repeated here.
[0091] In addition, with reference to Figure 5 , the embodiment of the present application also provides a DWDM device identification device based on channel test data, which comprises:
[0092] The acquisition module 10 is configured to acquire DWDM device channel test data, and obtain a target center wavelength according to the DWDM device channel test data.
[0093] The calculation module 20 is configured to calculate insertion loss data in a target range according to the target center wavelength and a target replacement passband bandwidth.
[0094] The replacement module 30 is configured to replace the insertion loss data in the target range according to target replacement passband data to obtain a target insertion loss array.
[0095] The recognition module 40 is configured to recognize the DWDM device according to the current insertion loss array, the target insertion loss array and the first insertion loss data, and determine the channel type of the DWDM device based on the recognition result.
[0096] The embodiment obtains DWDM device channel test data, obtains a target center wavelength according to the DWDM device channel test data, calculates insertion loss data in a target range according to the target center wavelength and a target replacement passband bandwidth, replaces the insertion loss data in the target range according to target replacement passband data, obtains a target insertion loss array, recognizes the DWDM device according to the current insertion loss array, the target insertion loss array and the first insertion loss data, and determines the channel type of the DWDM device based on the recognition result. Compared with the prior art of determining the channel type by changing the original data structure, the embodiment can effectively improve the efficiency of recognizing the channel type of the DWDM device.
[0097] It should be noted that the above-described workflow is only illustrative and does not limit the scope of protection of the present application. In actual application, a person skilled in the art can select part or all of them according to actual needs to achieve the purpose of the embodiment, which is not limited here.
[0098] In addition, technical details not described in detail in the embodiment can be referred to the DWDM device recognition method based on channel test data provided by any embodiment of the present application, which will not be described here.
[0099] In an embodiment, the obtaining module 10 is further configured to obtain DWDM device channel test data, obtain a current wavelength array and a current insertion loss array according to the DWDM device channel test data, traverse the insertion loss data in the current insertion loss array to obtain current insertion loss data, and recognize the current wavelength array according to the current insertion loss data to obtain a target center wavelength.
[0100] In an embodiment, the calculation module 20 is further configured to obtain a replacement channel bandwidth start point and a replacement channel bandwidth end point corresponding to the target center wavelength, set a target replacement passband bandwidth through the replacement channel bandwidth start point and the replacement channel bandwidth end point, and calculate the target center wavelength and the target replacement passband bandwidth through a preset range calculation strategy to obtain insertion loss data in a target range.
[0101] In an embodiment, the replacing module 30 is further configured to obtain the insertion loss data in a non-target range according to the current insertion loss array and the insertion loss data in the target range; replace the insertion loss data in the target range with the target replacing passband data to obtain replaced insertion loss data; and generate the target insertion loss array according to the replaced insertion loss data and the insertion loss data in the non-target range.
[0102] In an embodiment, the identifying module 40 is further configured to traverse the insertion loss data in the target insertion loss array to obtain target insertion loss data; subtract the current insertion loss data from the target insertion loss data to obtain an insertion loss data difference value; perform modulo operation on the insertion loss data difference value; and identify the DWDM device according to the modulo operation insertion loss data difference value and the first insertion loss data.
[0103] In an embodiment, the identifying module 40 is further configured to determine that the channel type of the DWDM device is a dual-fiber bidirectional type when the identification result is that the modulo operation insertion loss data difference value is greater than or equal to the first insertion loss data.
[0104] In an embodiment, the identifying module 40 is further configured to determine that the channel type of the DWDM device is a single-fiber bidirectional type when the identification result is that the modulo operation insertion loss data difference value is less than the first insertion loss data.
[0105] In addition, it needs to be noted that, in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article or system. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of another identical element in the process, method, article or system including the element.
[0106] The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.
[0107] Those skilled in the art can clearly understand the above-mentioned embodiment method can be realized by means of software and the necessary general hardware platform, of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application essentially or say the part of the prior art contribution can be embodied in the form of software products, the computer software product is stored in a storage medium (such as read only memory (Read Only Memory, ROM) / RAM, disk, optical disk), including a number of instructions to make a terminal device (may be a mobile phone, computer, integrated platform workstation, or network equipment, etc.) executes the method described in various embodiments of the present application.
[0108] The above is only the preferred embodiment of the present application, not the patent scope of the present application, any equivalent structure or equivalent process transformation, or direct or indirect application in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for identifying DWDM devices based on channel test data, characterized by, The DWDM device identification method based on channel test data comprises the following steps: Obtaining DWDM device channel test data, and obtaining a target center wavelength according to the DWDM device channel test data; Calculating the insertion loss data in a target range according to the target center wavelength and a target replacement passband bandwidth; Replacing the insertion loss data in the target range according to target replacement passband data to obtain a target insertion loss array; Identifying the DWDM device according to the current insertion loss array, the target insertion loss array and first insertion loss data, and determining the channel type of the DWDM device based on the identification result, wherein the first insertion loss data is a constant value for determining the channel type of the DWDM device; The identification of the DWDM device according to the current insertion loss array, the target insertion loss array and the first insertion loss data comprises: Iterating the insertion loss data in the target insertion loss array to obtain target insertion loss data; Subtracting the current insertion loss data in the current insertion loss array from the target insertion loss data to obtain an insertion loss data difference value; Taking the modulus of the insertion loss data difference value, and identifying the DWDM device according to the first insertion loss data and the insertion loss data difference value after the modulus operation; The determination of the channel type of the DWDM device based on the identification result comprises: When the identification result is that the insertion loss data difference value after the modulus operation is greater than or equal to the first insertion loss data, determining that the channel type of the DWDM device is double-fiber bidirectional; When the identification result is that the insertion loss data difference value after the modulus operation is less than the first insertion loss data, determining that the channel type of the DWDM device is single-fiber bidirectional.
2. The DWDM device identification method based on channel test data according to claim 1, wherein, The obtaining of the DWDM device channel test data and the obtaining of the target center wavelength according to the DWDM device channel test data comprise: Obtaining DWDM device channel test data, and obtaining a current wavelength array and a current insertion loss array according to the DWDM device channel test data; Iterating the insertion loss data in the current insertion loss array to obtain current insertion loss data; Identifying the current wavelength array according to the current insertion loss data to obtain a target center wavelength.
3. The DWDM device identification method based on channel test data according to claim 1, wherein, The calculation of the insertion loss data in the target range according to the target center wavelength and the target replacement passband bandwidth comprises: Obtaining a corresponding replacement channel bandwidth start point and a replacement channel bandwidth end point according to the target center wavelength; Setting a target replacement passband bandwidth through the replacement channel bandwidth start point and the replacement channel bandwidth end point; Calculating the target center wavelength and the target replacement passband bandwidth through a preset range calculation strategy to obtain the insertion loss data in the target range.
4. The DWDM device identification method based on channel test data according to claim 1, wherein, The replacement of the insertion loss data in the target range according to the target replacement passband data to obtain the target insertion loss array comprises: Obtaining non-target range insertion loss data according to the current insertion loss array and the insertion loss data in the target range; Replacing the insertion loss data in the target range with target replacement passband data to obtain replacement insertion loss data; Generating a target insertion loss array according to the replacement insertion loss data and the non-target range insertion loss data.
5. A DWDM device identification apparatus based on channel test data, characterized by, The DWDM device identification device based on channel test data comprises: An acquisition module is configured to acquire DWDM device channel test data, and obtain a target center wavelength based on the DWDM device channel test data. A calculation module is configured to calculate insertion loss data in a target range based on the target center wavelength and a target replacement passband bandwidth. A replacement module is configured to replace the insertion loss data in the target range based on target replacement passband data, and obtain a target insertion loss array. An identification module is configured to identify a DWDM device based on a current insertion loss array, a target insertion loss array, and first insertion loss data, and determine a channel type of the DWDM device based on an identification result, wherein the first insertion loss data is a constant value for determining the channel type of the DWDM device, the identification module is further configured to traverse insertion loss data in the target insertion loss array to obtain target insertion loss data, subtract current insertion loss data in the current insertion loss array from the target insertion loss data to obtain an insertion loss data difference value, take a modulus of the insertion loss data difference value, and identify the DWDM device based on the insertion loss data difference value after the modulus operation and the first insertion loss data, and determine that the channel type of the DWDM device is a dual-fiber bidirectional type when the identification result is that the insertion loss data difference value after the modulus operation is greater than or equal to the first insertion loss data, and determine that the channel type of the DWDM device is a single-fiber bidirectional type when the identification result is that the insertion loss data difference value after the modulus operation is less than the first insertion loss data.
6. A DWDM device identification apparatus based on channel test data, characterized by, The DWDM device identification device based on channel test data includes a memory, a processor, and a DWDM device identification program based on channel test data stored on the memory and executable on the processor, and the DWDM device identification program based on channel test data is configured to implement the DWDM device identification method based on channel test data in any one of claims 1 to 4.
7. A storage medium, characterized by The storage medium stores a DWDM device identification program based on channel test data, and the DWDM device identification program based on channel test data is executed by the processor to implement the DWDM device identification method based on channel test data in any one of claims 1 to 4.
Citation Information
Patent Citations
Optical analytical device capable of measuring optical fiber parameters by multiple channels simultaneously
CN203896353U
Measurement system is decreased in inserting of optical communication device
CN208691248U