A method for processing data of a top-adjustable optical module

By performing matrix operations and a synchronization frame mechanism on the modulation signal, the problem of the modulation signal of the optical module being susceptible to interference is solved, the transmission reliability and data processing capability are improved, the packet loss rate is reduced, and the compatibility of the optical module is enhanced.

CN116232472BActive Publication Date: 2025-12-09HENGTONG ROCKLEY TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310039937.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-12
Publication Date
2025-12-09
Estimated Expiration
2043-01-12

AI Technical Summary

Technical Problem

In MWDM or LWDM optical modules, the modulation signal is easily affected by external interference, which leads to difficulties in receiving and processing, low transmission reliability, and problems such as intermittent modulation communication and data packet loss.

Method used

By abstracting multiple consecutive bit-tune signals into a tune data matrix, performing transpose operations and feature matrix multiplication operations, determining the feature similarity codes of the preamble, data recovery and synchronization processing are achieved, and a synchronization frame mechanism is added between optical modules.

Benefits of technology

It improves the anti-interference capability and transmission reliability of optical module top-level communication, reduces the packet loss rate of top-level communication, and enhances data processing capability and compatibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116232472B_ABST
    Figure CN116232472B_ABST
Patent Text Reader

Abstract

The application relates to a top-adjusted optical module data processing method, which comprises the following steps: S1, continuously multiple bit top-adjusted signals are represented as a top-adjusted data matrix through data abstraction; S2, the top-adjusted data matrix is subjected to a transpose operation to obtain a top-adjusted data transpose matrix; S3, a feature matrix is set, the feature matrix is subjected to a multiplication operation with the top-adjusted data transpose matrix to obtain a target matrix; S4, elements in the target matrix are subjected to a summation operation, and whether the top-adjusted data is a characteristic similar code of a preamble of a current data frame is judged according to a summation operation result; if yes, data recovery and synchronization processing are carried out; otherwise, the current data frame is discarded. The top-adjusted optical module data processing method realizes the output and identification of the characteristic similar code of the preamble through a matrix operation mode, improves the anti-interference ability, data processing ability and transmission reliability of top-adjusted optical module communication, and reduces the packet loss rate of top-adjusted optical module communication.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of communication technology, in particular to a data processing method of a tuning top optical module. BACKGROUND

[0002] Due to the increasing functional requirements of optical modules and the increasing performance and compatibility requirements, optical modules need to have good anti-interference ability, data processing ability and compatibility. The communication signal, anti-interference and compatibility technology of the optical module has always been a problem in the industry.

[0003] The tuning top signal in the MWDM or LWDM optical module is the communication signal in the module, and the communication line and processing circuit of the signal are easily disturbed by the outside world, resulting in problems such as difficulty in receiving and processing, low transmission reliability, etc.

[0004] The tuning top signal refers to a small amplitude low frequency sine or cosine modulation superimposed on each wavelength at the transmitting end of the optical module. When the low frequency sine or cosine signal is superimposed on the optical wavelength, it will have a modulation amplitude on the top of the optical wavelength, so it is called a tuning top signal. The optical module with tuning top function is usually used for communication between local equipment in the machine room and AAU equipment in the remote signal tower. The schematic diagram of the optical module tuning top communication is shown in Figure 1 .

[0005] The optical module inputs the tuning top signal to the internal microcontroller port through tuning top demodulation and digital processing circuit, as shown in Figure 2 . The presented mode is a continuous high-low level signal with fixed frequency, which is represented by digital logic 1 and 0.

[0006] When the optical module tuning top function communicates, a data frame is formed by multiple bytes of tuning top data for data interaction. The frame format of the optical module tuning top communication data frame is shown in Table 1. The preamble is usually 5 bytes of fixed same data, and the end code is fixed data.

[0007] Table 1 Tuning top communication data frame structure

[0008] Name Preamble Status code Parameter code Interaction data Check code End code Length (bytes) 5 2 5 32 1 1

[0009] The traditional processing method of the tuning top data is: the internal microcontroller of the optical module continuously receives the input tuning top signal at a fixed frequency. After receiving a certain amount of data, it is judged whether the preamble data of the data frame meets the preamble rule. If it meets, it enters the subsequent interactive data analysis and tuning top function implementation; otherwise, the data frame will be discarded directly. The processing method is shown in Figure 3 .

[0010] Because the top adjustment signal adopts single data line transmission, has no synchronous clock signal and is easily disturbed by outside, the top adjustment data received by the microcontroller in the optical module can be abnormal data. The abnormal data is divided into misaligned data and completely wrong data. According to the traditional processing of the top adjustment data, the abnormal data is completely discarded, which leads to the problems of top adjustment communication flashing, data packet loss and the like. Taking the data with the preamble code 0x40 as an example, the normal data and the abnormal data received are as shown in the following table. Figure 4 SUMMARY

[0011] To this end, the technical problem to be solved by the present application is to provide a top adjustment optical module data processing method which can greatly improve the anti-interference ability and transmission reliability of the top adjustment signal.

[0012] To solve the above technical problem, the present application provides a top adjustment optical module data processing method, which comprises the following steps:

[0013] S1, continuously multiple bit top adjustment signals are represented as a top adjustment data matrix through data abstraction;

[0014] S2, the top adjustment data matrix is subjected to a transpose operation to obtain a top adjustment data transpose matrix;

[0015] S3, a feature matrix is set, and the feature matrix and the top adjustment data transpose matrix are subjected to a multiplication operation to obtain a target matrix;

[0016] S4, elements in the target matrix are subjected to a summation operation, and whether the top adjustment data is a characteristic similar code of a preamble of a current data frame is judged according to the summation operation result; if yes, data recovery and synchronization processing are performed; otherwise, the current data frame is discarded.

[0017] In an embodiment of the present application, in step S4, judging the top adjustment data according to the summation operation result comprises: when only one column summation operation result is 1, the corresponding top adjustment data is the characteristic similar code of the preamble of the current data frame; otherwise, the corresponding top adjustment data is a non-characteristic similar code of the preamble of the current data frame.

[0018] In an embodiment of the present application, in step S4, the data recovery and synchronization processing comprises: right shifting the current data frame by L-1 bit positions; wherein L is the number of the column whose summation operation result is 1.

[0019] In an embodiment of the present application, the feature matrix is:

[0020]

[0021] wherein A is the feature matrix.

[0022] ​In one embodiment of the present application, the top-up data matrix is A, the top-up data transpose matrix is X, and the target matrix is B, the top-up data matrix is abstracted as variable A(n), the top-up data transpose matrix X is abstracted as variable X(i), and the target matrix B is calculated as follows:

[0023]

[0024] Wherein, n is the order, and the convolution operation is used for operation.

[0025] In one embodiment of the present application, the following steps are further included:

[0026] The local optical module and the remote optical module are configured to work in the host mode and the slave mode, and the local optical module and the remote optical module have the same application program and parameters, and can adapt to the corresponding working mode according to the application demand or scene.

[0027] In one embodiment of the present application, the following steps are further included:

[0028] A fixed frequency synchronization frame is added between the local optical module and the remote optical module, and when the local optical module or the remote optical module receives the synchronization frame signal, the data frame receiver is synchronized.

[0029] The present application also provides a computer device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to realize the steps of the method of any one of the above.

[0030] The present application also provides a computer readable storage medium, which stores a computer program, wherein the program is executed by a processor to realize the steps of the method of any one of the above.

[0031] The present application also provides a processor, which is used to run a program, wherein the program is executed to realize the method of any one of the above.

[0032] The above technical solution of the present application has the following advantages compared with the prior art:

[0033] The top-up optical module data processing method of the present application realizes the output and recognition of the preamble characteristic similar code through matrix operation, improves the anti-interference ability, data processing ability and transmission reliability of the optical module top-up communication, and reduces the packet loss rate of the optical module top-up communication.

[0034] The above description is only a summary of the technical solution of the present application, in order to more clearly understand the technical means of the present application, the content of the specification can be implemented, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the following preferred embodiments are described in detail, and the accompanying drawings are described as follows. Attached Figure Description

[0035] To make the content of this invention easier to understand, the invention will be further described in detail below with reference to specific embodiments and accompanying drawings, wherein...

[0036] Figure 1 This is a schematic diagram of existing optical module top-mounted communication;

[0037] Figure 2 This is a schematic diagram of the internal structure of an existing overhead light module;

[0038] Figure 3 This is the existing method for processing top-down data;

[0039] Figure 4 This is a schematic diagram of the top-mounted receiving data;

[0040] Figure 5 This is a flowchart of the data processing method for the top-mounted light module in a preferred embodiment of the present invention;

[0041] Figure 6 This is a schematic diagram of the data processing method for the top-mounted optical module in a preferred embodiment of the present invention;

[0042] Figure 7 This is a schematic diagram of the existing fixed working model of an optical module;

[0043] Figure 8 This is a schematic diagram of the adaptive working model of the optical module in a preferred embodiment of the present invention;

[0044] Figure 9 This is a schematic diagram of the existing optical module top-mounted communication method;

[0045] Figure 10 This is a schematic diagram of the optical module top-level communication method with synchronization frame mechanism in a preferred embodiment of the present invention. Detailed Implementation

[0046] The present invention will be further described below with reference to the accompanying drawings and specific embodiments, so that those skilled in the art can better understand and implement the present invention. However, the embodiments described are not intended to limit the present invention.

[0047] Example 1

[0048] Reference Figures 5-6 As shown, this embodiment discloses a data processing method for a top-mounted optical module, which includes the following steps:

[0049] Step S1, a plurality of continuous bit pilot signals are represented as a pilot data matrix by data abstraction; specifically, one pilot signal can be represented as 1 bit of data, and the plurality of continuous bit pilot signals are represented as a pilot data matrix X=[x1, x2, x3,..., x n ] by data abstraction. The 8-bit pilot signal is represented as 1 byte of pilot data, that is, 1 Byte pilot data.

[0050] Step S2, performing a transpose operation on the pilot data matrix to obtain a pilot data transpose matrix;

[0051] Specifically, the pilot data transpose matrix is represented as X=[x1, x2, x3,..., x n ] T

[0052] Step S3, setting a feature matrix, and performing a multiplication operation on the feature matrix and the pilot data transpose matrix to obtain a target matrix;

[0053] Specifically, the feature matrix is represented as:

[0054]

[0055] The multiplication operation of the feature matrix A and the transpose matrix X can obtain the following expression:

[0056]

[0057] That is, the target matrix B=AX, then B=[A 11 x1+...A 1n x n ,...,A m1 x1+...A mn x n ].

[0058] Step S4, performing a summation operation on the elements in the target matrix, and judging whether the pilot data is a characteristic similar code of the preamble of the current data frame according to the summation operation result; if yes, performing data recovery and synchronization processing; otherwise, discarding the current data frame.

[0059] Specifically, in step S4, judging the pilot data according to the summation operation result, including: when the result of the summation operation of only one column is 1, the corresponding pilot data is a characteristic similar code of the preamble of the current data frame; otherwise, the corresponding pilot data is a non-characteristic similar code of the preamble of the current data frame.

[0060] Taking the received preamble data as an example, 0x40, the 8-order matrix of the pilot data is X=[0 1 0 00 0 00]. The feature matrix A is set as the following data:

[0061]

[0062] So we can get:

[0063]

[0064] Sum the element data in the target matrix B to get SUM Bx , and SUM Bx = 1, L = 1. Similarly, when the received preamble data value is 0x80, the data corresponding operation gets B = [0 1 0 0 0 0 0 0], and SUM Bx = 1, L = 2.

[0065] When the received preamble data value is 0x42, the data corresponding operation gets B = [1 0 0 1 0 0 0 0], SUM Bx = 2.

[0066]

[0067] By the above method, we can calculate all the data matrix X corresponding to SUM Bx = 1, and the corresponding data value is:

[0068] D = {DATA1, DATA2, DATA3, DATA4, DATA5, DATA6, DATA7, DATA8},

[0069] For example, D = {0x40, 0x80, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20}, and the column number L = {1, 2, 3, 4, 5, 6, 7, 8}. This set of data is called the characteristic code of the preamble 0x40. Conversely, the data corresponding to SUM Bx = 1 is called the non-characteristic code of the preamble 0x40.

[0070] Alternatively, let the data matrix be A, the data transpose matrix be X, and the target matrix be B. Abstract the data matrix as variable A(n), and abstract the data transpose matrix X as variable X(i). The target matrix B is calculated as follows:

[0071]

[0072] Where n is the order, and a convolution operator is used for operation. The convolution operator is a multiplication-addition operation unit in the microcontroller of the optical module, which can quickly complete the above-mentioned complex matrix algorithm processing.

[0073] Further, in step S4, the data recovery and synchronization processing is performed, including: moving the current data frame right by L-1 bit positions, so that the disturbed data frame is synchronized and aligned, thereby realizing data recovery.

[0074] Currently, the local optical module is usually fixedly designed as the host end, and the remote optical module is fixedly designed as the slave end. Figure 7 As shown in the fixed working model diagram,

[0075] Further, the data processing method of the top-adjusting optical module in the application further includes the following steps:

[0076] The local optical module and the remote optical module are configured to work in the host mode and the slave mode, and the local optical module and the remote optical module are configured with the same application program and parameters. Figure 8 As shown in the optical module adaptive working model,

[0077] Currently, the common communication data interaction mode is that the local optical module and the remote optical module realize the transmission of the top-adjusting communication frame as shown in Figure 9 As shown in the fixed working model diagram,

[0078] Further, the data processing method of the top-adjusting optical module in the application further includes the following steps:

[0079] A fixed-frequency synchronization frame is added between the local optical module and the remote optical module, and when the local optical module or the remote optical module receives the synchronization frame signal, the data frame receiver is synchronized in parameters. Figure 10 In addition, when the optical module does not receive the synchronization frame signal within a specified time, it means that the top-adjusting communication is timed out or disconnected, at which time the related functions of the optical module can be reset, thereby improving the reliability of the top-adjusting communication of the optical module.

[0080] The application abstracts the top-adjusting signal of the optical module into a matrix data, invents a feature matrix, and realizes the output and recognition of the preamble feature similar code by using matrix convolution operation, thereby improving the anti-interference ability of the top-adjusting communication of the optical module and reducing the packet loss rate of the top-adjusting communication of the optical module.

[0081] The application designs a self-adaptive working model of the optical module, so that the local end and the remote end optical modules can work in the master mode and the slave mode, the local end optical module and the remote end optical module are configured with the same application program and parameters, and the working mode can be self-adaptively switched according to the application demand or the scene. The compatibility of the optical module tuning function is greatly improved, meanwhile, the development and configuration processes are reduced, thereby the production and maintenance costs are greatly reduced.

[0082] The application increases the fixed frequency tuning communication synchronization frame mechanism, and improves the reliability and safety of the optical module tuning communication.

[0083] Embodiment two

[0084] The application further provides a computer device, including a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method in embodiment one when executing the program.

[0085] Embodiment three

[0086] The application further provides a computer readable storage medium, which stores a computer program, and the program implements the steps of the method in embodiment one when executed by a processor.

[0087] Embodiment four

[0088] The application further provides a processor, which is used for running a program, and the program executes the method in embodiment one when running.

[0089] Those skilled in the art should understand that the embodiments of the application can be provided as a method, a system or a computer program product. Therefore, the application can be in the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware. Moreover, the application can be in the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage etc.) containing computer usable program code.

[0090] The application is described with reference to the flowcharts and / or block diagrams according to the methods, devices (systems) and computer program products of the embodiments of the application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams and the combination of the flows and / or blocks can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce the functions described in the flowcharts and / or block diagrams. Figure 1 One flow or multiple flows and / or blocks Figure 1means for performing the function specified by the block or blocks.

[0091] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the flow Figure 1 one or more flows and / or blocks Figure 1 means for performing the function specified by the block or blocks.

[0092] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the flow Figure 1 one or more flows and / or blocks Figure 1 means for performing the function specified by the block or blocks.

[0093] Obviously, the above-described embodiments are only examples and are not intended to limit the present application. Based on the above description, one of ordinary skill in the art can make other various changes or modifications to the present application. Here, it is not necessary or possible to exhaust all the embodiments. The obvious changes or modifications derived therefrom are still within the scope of the present application.

Claims

1. A method for data processing of a tuneable top light module, characterized in that, The method comprises the following steps: S1, continuously multiple bit top signals are represented as a top data matrix by data abstraction; S2, the top data matrix is transposed to obtain a top data transpose matrix; S3, a feature matrix is set, and the feature matrix and the top data transpose matrix are multiplied to obtain a target matrix, wherein the feature matrix is: ; S4, elements in the target matrix are summed, and whether the top data is a characteristic similar code of a preamble of a current data frame is determined according to a summation result; If yes, data recovery and synchronization processing are performed; Otherwise, the current data frame is discarded; wherein determining the top data according to the summation result comprises: when only one column summation result is 1, the corresponding top data is the characteristic similar code of the preamble of the current data frame; otherwise, the corresponding top data is a non-characteristic similar code of the preamble of the current data frame; the data recovery and synchronization processing comprises: moving the current data frame right by L-1 bit positions; wherein L is the number of the column whose summation result is 1.

2. The method of claim 1, wherein, Supposing the top data matrix is A, the top data transpose matrix is X, and the target matrix is B, the top data matrix is abstracted into variable A(n), the top data transpose matrix X is abstracted into variable X(i), and the target matrix B is calculated as follows: where n is the order, and the convolution operator is used for the operation.

3. The method of claim 1, wherein, The method further comprises the following steps: The local optical module and the remote optical module are configured to work in a host mode and a slave mode, and the local optical module and the remote optical module have the same application program and parameters, and can adaptively work in a corresponding mode according to application requirements or a scene.

4. The method of claim 1, wherein, The method further comprises the following steps: A fixed-frequency synchronization frame is added between the local optical module and the remote optical module, and when the local optical module or the remote optical module receives the synchronization frame signal, the data frame receiver is parameter-synchronized.

5. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the program to implement the steps of the method in any one of claims 1 to 4.

6. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the steps of the method in any one of claims 1 to 4.

7. A processor, comprising: The processor is configured to run a program, and the program is configured to implement the method in any one of claims 1 to 4 when running.

Citation Information

Patent Citations

  • Frame synchronous detection method based on zero correlation zone sequence

    CN105142212A

  • Random access preamble detection method and device, computer equipment and storage medium

    CN111225438A