Clock error processing method based on common inductance integrated system and related product
By calculating and correcting clock error data in synesthesia integrated system, the problem of clock element output being affected by the external environment is solved, phase noise is affected, and communication link performance and dynamic adaptability are improved.
Patent Information
- Application Number
- CN202411174877.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2024-11-12
AI Technical Summary
In synesthesia integrated system, the output of the clock element is affected by the external physical environment, resulting in phase noise, clock deviation and frequency offset, affecting the performance of the communication link.
After outputting the target clock pulse signal of the previous cycle on the clock element and transmitting it to the optical receiving end through the optical fiber through the optical transmitting end, the clock error data is calculated, and the clock pulse signal is corrected based on the data to generate the target clock pulse of the current cycle signal, eliminates the influence of phase noise.
Effectively reduce clock deviation and frequency offset, improve communication link performance, and enhance the dynamic adaptability of the system.
Smart Images

Figure CN118944756A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical fiber communication technology, and in particular to a clock error processing method based on a synaesthesia integrated system and related products. Background Art
[0002] The synaesthesia integrated system refers to the integration of communication and sensing functions, so that the system has both communication and perception functions. While transmitting information through the wireless channel, it actively recognizes and analyzes the characteristics of the channel to perceive the physical characteristics of the surrounding environment, so that the communication and perception functions enhance each other.
[0003] Clock elements widely used in synaesthesia integrated systems naturally generate sine waves to provide a time reference for the system. However, the output of clock elements will be affected by external physical environments such as temperature and pressure, causing phase noise, which in turn leads to clock deviation and frequency offset, ultimately affecting the performance of the communication link. Summary of the invention
[0004] The present application provides a clock error processing method and related products based on a synaesthesia integrated system to solve the problem in the prior art that the output of the clock element will be affected by the external physical environment such as temperature, pressure, etc., causing phase noise, and then leading to clock deviation and frequency offset, ultimately affecting the performance of the communication link.
[0005] To achieve the above purpose, the embodiment of the present application provides a clock error processing method based on a synaesthesia integrated system, comprising:
[0006] After the clock element outputs the target clock pulse signal of the previous cycle and transmits it to the optical receiving end through the optical fiber via the optical transmitting end, the clock error data between the optical transmitting end and the optical receiving end of the previous cycle is calculated;
[0007] According to the clock error data of the previous cycle, the target clock pulse signal of the previous cycle is corrected to obtain the target clock pulse signal of the current cycle, so that the clock element outputs the target clock pulse signal of the current cycle and transmits it to the optical receiving end through the optical fiber via the optical transmitting end.
[0008] As an improvement of the above scheme, if the previous cycle is the first cycle, the target clock pulse signal of the previous cycle is corrected according to the clock error data of the previous cycle to obtain the target clock pulse signal of the current cycle, including:
[0009] Inputting the clock error data of the first cycle into a pre-trained clock pulse signal model to obtain a target clock pulse signal of the second cycle, wherein the pre-trained clock pulse signal model is trained by historical clock error data;
[0010] If the previous cycle is not the first cycle, the target clock pulse signal of the previous cycle is corrected according to the clock error data of the previous cycle to obtain the target clock pulse signal of the current cycle, including:
[0011] The target clock pulse signal of the previous cycle is used as the initial clock pulse signal of the current cycle. The initial clock pulse signal of the current cycle is corrected according to the clock error data of the previous cycle to obtain the target clock pulse signal of the current cycle.
[0012] As an improvement of the above solution, the calculating of the clock error data between the optical transmitting end and the optical receiving end in the previous cycle includes:
[0013] Acquire a first frequency and a first clock parameter of a target clock pulse signal of a previous cycle at the optical transmitting end;
[0014] Acquire a second frequency and a second clock parameter of a target clock pulse signal of a previous cycle at the optical receiving end;
[0015] Calculate the frequency difference between the first frequency of the previous cycle and the second frequency of the previous cycle;
[0016] Calculating a clock parameter difference between a first clock parameter of a previous cycle and a second clock parameter of a current cycle;
[0017] The clock error data of the previous cycle is obtained according to the frequency difference of the previous cycle and the clock parameter difference of the current cycle.
[0018] As an improvement of the above solution, the clock error data of the previous cycle is obtained according to the frequency difference of the previous cycle and the clock parameter difference of the current cycle, including:
[0019] Performing smoothing processing on the frequency difference of the previous cycle for several times, calculating the average value of the frequency difference after the smoothing processing for several times, and obtaining the average frequency difference of the previous cycle;
[0020] The clock parameter difference of the previous cycle is smoothed several times, and the average value of the clock parameter differences after the smoothing processes is calculated to obtain the average clock parameter difference of the previous cycle.
[0021] As an improvement of the above solution, the method of causing the clock element to output a target clock pulse signal of the current cycle and transmitting the target clock pulse signal to the optical receiving end through the optical fiber via the optical transmitting end includes:
[0022] The clock element outputs the target clock pulse signal of the current cycle, and transmits it to the optical receiving end through the optical fiber via the optical transmitting end, and returns to the step of calculating the clock error data between the optical transmitting end and the optical receiving end of the previous cycle after the clock element outputs the target clock pulse signal of the previous cycle, and transmits it to the optical receiving end through the optical fiber via the optical transmitting end, until the clock error data of the previous cycle meets the preset correction stop condition, and the correction is stopped;
[0023] The preset correction stop condition includes at least one of: an average frequency difference of the current cycle is smaller than a preset frequency difference and an average clock parameter difference of the current cycle is smaller than a preset clock parameter difference.
[0024] As an improvement of the above solution, after obtaining the target clock pulse signal of the current cycle, the clock error processing method based on the synaesthesia integrated system further includes:
[0025] Taking the target clock pulse signal of the previous cycle as the initial clock pulse signal of the current cycle, calculating the mean absolute error between the frequency of the initial clock pulse signal of the current cycle and the frequency of the target clock pulse signal of the current cycle;
[0026] If the mean absolute error is less than the preset absolute error, the clock element is made to output the target clock pulse signal of the current cycle, and the target clock pulse signal is transmitted to the optical receiving end through the optical fiber via the optical transmitting end.
[0027] To achieve the above purpose, the present application also provides a synaesthesia integration system, including:
[0028] A clock element, used for outputting a target clock pulse signal;
[0029] An optical transmitting end, used for transmitting the target clock pulse signal output by the clock element to an optical receiving end through an optical fiber;
[0030] The optical receiving end is used to receive the target clock pulse signal transmitted by the optical transmitting end;
[0031] Sensor processing modules for:
[0032] A first calculation unit is used to calculate the clock error data between the optical transmitting end and the optical receiving end in the previous cycle after the clock element outputs the target clock pulse signal of the previous cycle and transmits it to the optical receiving end through the optical fiber via the optical transmitting end;
[0033] The correction unit is used to correct the target clock pulse signal of the previous cycle according to the clock error data of the previous cycle to obtain the target clock pulse signal of the current cycle, so that the clock element outputs the target clock pulse signal of the current cycle and transmits it to the optical receiving end through the optical fiber via the optical transmitting end.
[0034] To achieve the above-mentioned purpose, an embodiment of the present application also provides a clock error processing device based on a synaesthesia integration system, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and the processor implements the clock error processing method based on the synaesthesia integration system as described above when executing the computer program.
[0035] To achieve the above-mentioned purpose, an embodiment of the present application also provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to execute the clock error processing method based on the synaesthesia integration system as mentioned above.
[0036] To achieve the above objectives, an embodiment of the present application further provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the clock error processing method based on the synaesthesia integration system as described above.
[0037] Compared with the prior art, the clock error processing method based on the synaesthesia integration system provided in the embodiment of the present application is to calculate the clock error data between the optical transmitting end and the optical receiving end of the previous cycle after the clock element outputs the target clock pulse signal of the previous cycle and transmits it to the optical receiving end through the optical fiber via the optical transmitting end; according to the clock error data of the previous cycle, the target clock pulse signal of the previous cycle is corrected to obtain the target clock pulse signal of the current cycle, so that the clock element outputs the target clock pulse signal of the current cycle, and transmits it to the optical receiving end through the optical fiber via the optical transmitting end. It can be seen that the embodiment of the present application adjusts the clock pulse signal of the next cycle by correcting the clock pulse signal, eliminates the influence of phase noise, and thereby reduces clock deviation and frequency offset, and ultimately improves the performance of the communication link. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 is a flow chart of a clock error processing method based on a synaesthesia integrated system provided in an embodiment of the present application;
[0039] Figure 2 It is a structural block diagram of a synaesthesia integration system provided in an embodiment of the present application;
[0040] Figure 3is another structural block diagram of a synaesthesia integration system provided by an embodiment of the present application;
[0041] Figure 4 is another structural block diagram of a synaesthesia integration system provided by an embodiment of the present application;
[0042] Figure 5 It is a structural block diagram of a clock error processing device based on a synaesthesia integration system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0044] See also Figure 1 , Figure 1 : is a flowchart of a clock error processing method based on a synaesthesia integration system provided by an embodiment of the present application, and the clock error processing method based on the synaesthesia integration system includes:
[0045] S1, after the clock element outputs the target clock pulse signal of the previous cycle and transmits it to the optical receiving end through the optical fiber via the optical transmitting end, calculate the clock error data between the optical transmitting end and the optical receiving end of the previous cycle;
[0046] S2. According to the clock error data of the previous cycle, the target clock pulse signal of the previous cycle is corrected to obtain the target clock pulse signal of the current cycle, so that the clock element outputs the target clock pulse signal of the current cycle and transmits it to the optical receiving end through the optical fiber via the optical transmitting end.
[0047] like Figure 2 The synaesthesia integration system provided in the embodiment of the present application includes: an optical transmitting module and an optical receiving module; wherein the optical transmitting module includes an optical transmitting end and a clock element, and the optical receiving module includes an optical receiving end and a sensor processing module; the clock element is used to provide a periodic clock pulse signal, and establish a transmission connection between the optical transmitting end and the optical receiving end through an optical fiber (such as a multi-core optical fiber); the optical transmitting end directly transmits the clock pulse signal to the optical receiving end through the optical fiber, and can also convert the clock pulse signal into an optical signal with the same frequency, and then output it to the optical receiving end through the optical fiber, the optical receiving end receives the clock pulse signal, and can also receive the optical signal, the sensor processing module executes the clock error processing method based on the synaesthesia integration system provided in the embodiment of the present application, and can also convert the optical signal received by the optical receiving end into a clock pulse signal with the same frequency.
[0048] In an embodiment of the present application, the target clock pulse signal of the previous cycle is corrected to obtain the target clock pulse signal of the current cycle, and the clock element automatically adjusts the output of the target clock pulse signal, thereby eliminating the influence of phase noise, thereby reducing clock deviation and frequency offset, improving the dynamic adaptability of the optical receiving end, and ultimately improving the communication link performance; dynamic adaptability refers to the ability to flexibly and quickly adapt to different environments, conditions and situations, and to change the behavior and decision of the optical transmitting end accordingly.
[0049] In an optional embodiment, if the previous cycle is the first cycle, the target clock pulse signal of the previous cycle is corrected according to the clock error data of the previous cycle to obtain the target clock pulse signal of the current cycle, including:
[0050] Inputting the clock error data of the first cycle into a pre-trained clock pulse signal model to obtain a target clock pulse signal of the second cycle, wherein the pre-trained clock pulse signal model is trained by historical clock error data;
[0051] If the previous cycle is not the first cycle, the target clock pulse signal of the previous cycle is corrected according to the clock error data of the previous cycle to obtain the target clock pulse signal of the current cycle, including:
[0052] The target clock pulse signal of the previous cycle is used as the initial clock pulse signal of the current cycle. The initial clock pulse signal of the current cycle is corrected according to the clock error data of the previous cycle to obtain the target clock pulse signal of the current cycle.
[0053] In an embodiment of the present application, the clock element outputs the target clock pulse of the first cycle, converts it into an optical signal through the optical transmitting end and transmits it to the optical receiving end through the optical fiber, calculates the clock error data between the optical transmitting end and the optical receiving end of the first cycle, inputs it into a pre-trained clock pulse signal model, and obtains the target clock pulse signal of the second cycle; specifically, the training steps of the clock pulse signal model are: the clock element outputs a reference clock pulse signal, starts a cycle cycle, and trains the clock error data calculated in a single cycle, that is, the historical clock error data, through a fully connected neural network to predict the clock pulse signal of the next cycle.
[0054] The clock error data between the optical transmitter and the optical receiver in the second cycle is calculated, and correction is performed according to the clock error data in the second cycle to obtain the target clock pulse signal in the third cycle, and so on. In the embodiment of the present application, the first correction is performed through the clock pulse signal model to achieve real-time tracking and locking of a high-precision reference clock pulse signal, further improving the frequency and time synchronization rate between the optical transmitter and the optical receiver.
[0055] It should be noted that the target clock pulse signal is determined by its frequency and clock parameters.
[0056] Specifically, according to the following formula, the frequency of the initial clock pulse signal of the current cycle is corrected to obtain the frequency of the target clock pulse signal of the current cycle:
[0057] f RF =f d -(i-1)·Δf;
[0058] In the formula, f d is the frequency of the initial clock pulse signal of the current cycle, i is the transmission channel number, and Δf is the frequency offset of the previous cycle; wherein the frequency offset is the frequency difference or the average frequency difference.
[0059] According to the following formula, the clock parameters of the initial clock pulse signal of the current cycle are corrected to obtain the clock parameters of the target clock pulse signal of the current cycle:
[0060] t RF =t d -(i-1)·Δt;
[0061] Where, t d is the clock parameter of the initial clock pulse signal of the current cycle, i is the transmission channel number, and Δt is the clock deviation of the previous cycle; wherein the clock deviation is the clock parameter difference or the average clock parameter difference.
[0062] In an optional embodiment, the calculating the clock error data between the optical transmitting end and the optical receiving end in the previous cycle includes:
[0063] Acquire a first frequency and a first clock parameter of a target clock pulse signal of a previous cycle at the optical transmitting end;
[0064] Acquire a second frequency and a second clock parameter of a target clock pulse signal of a previous cycle at the optical receiving end;
[0065] Calculate the frequency difference between the first frequency of the previous cycle and the second frequency of the previous cycle;
[0066] Calculating a clock parameter difference between a first clock parameter of a previous cycle and a second clock parameter of a current cycle;
[0067] The clock error data of the previous cycle is obtained according to the frequency difference of the previous cycle and the clock parameter difference of the current cycle.
[0068] Specifically, the frequency difference between the first frequency of the previous cycle and the second frequency of the previous cycle is calculated according to the following formula:
[0069] f=f2-f1
[0070] Wherein, f2 is the second frequency of the target clock pulse signal of the previous cycle at the optical receiving end, and f1 is the first frequency of the target clock pulse signal of the previous cycle at the optical transmitting end;
[0071] The clock parameter difference between the first clock parameter of the previous cycle and the second clock parameter of the current cycle is calculated according to the following formula:
[0072] t=t2-t1
[0073] Wherein, t2 is the second clock parameter of the target clock pulse signal of the previous cycle at the optical receiving end, and t1 is the first clock parameter of the target clock pulse signal of the previous cycle at the optical transmitting end.
[0074] In an optional embodiment, obtaining the clock error data of the previous cycle according to the frequency difference of the previous cycle and the clock parameter difference of the current cycle includes:
[0075] Performing several smoothing processes on the frequency difference of the previous cycle, calculating the average value of the frequency difference after the several smoothing processes, and obtaining the average frequency difference of the previous cycle;
[0076] The clock parameter difference of the previous cycle is smoothed several times, and the average value of the clock parameter differences after the smoothing is calculated to obtain the average clock parameter difference of the previous cycle.
[0077] Exemplarily, for the smoothing of the frequency difference: by using a low-pass filter and setting a cutoff frequency, high-frequency noise is filtered out and the low-frequency part is retained, thereby achieving the purpose of smoothing the frequency change; specifically, the frequency difference is smoothed according to the low-pass filter in the optical receiving end;
[0078] For clock deviation smoothing, the sliding window averaging method is used, that is, the clock deviation within a time window is averaged, which can effectively remove short-term waves.
[0079] In an embodiment of the present application, the frequency difference and clock parameter difference of the previous cycle are smoothed, and the clock error data of the previous cycle (the average frequency difference of the previous cycle and the average clock parameter difference of the previous cycle) is confirmed based on the average value after smoothing, thereby improving the accuracy of the data.
[0080] In an optional embodiment, the step of causing the clock element to output a target clock pulse signal of the current cycle and transmitting the target clock pulse signal to the optical receiving end through the optical fiber via the optical transmitting end includes:
[0081] The clock element outputs the target clock pulse signal of the current cycle, and transmits it to the optical receiving end through the optical fiber via the optical transmitting end, and returns to the step of calculating the clock error data between the optical transmitting end and the optical receiving end of the previous cycle after the clock element outputs the target clock pulse signal of the previous cycle, and transmits it to the optical receiving end through the optical fiber via the optical transmitting end, until the clock error data of the previous cycle meets the preset correction stop condition, and the correction is stopped;
[0082] The preset correction stop condition includes at least one of: an average frequency difference of the current cycle is smaller than a preset frequency difference and an average clock parameter difference of the current cycle is smaller than a preset clock parameter difference.
[0083] In an embodiment of the present application, by continuously correcting the clock pulse signal, adjusting the clock pulse signal for the next cycle, eliminating the influence of phase noise, reducing the clock frequency offset and clock deviation of the optical receiving end, the influence of the clock deviation and frequency offset can be well suppressed, and the dynamic adaptability of the optical receiving end is improved, wherein dynamic adaptability refers to the ability to flexibly and quickly adapt to different environments, conditions and situations, and to change the behavior and decision of the optical transmitting end accordingly.
[0084] In an optional embodiment, after obtaining the target clock pulse signal of the current cycle, the clock error processing method based on the synaesthesia integration system further includes:
[0085] Taking the target clock pulse signal of the previous cycle as the initial clock pulse signal of the current cycle, calculating the mean absolute error between the frequency of the initial clock pulse signal of the current cycle and the frequency of the target clock pulse signal of the current cycle;
[0086] If the mean absolute error is less than the preset absolute error, the clock element is made to output the target clock pulse signal of the current cycle, and the target clock pulse signal is transmitted to the optical receiving end through the optical fiber via the optical transmitting end.
[0087] In the embodiment of the present application, when the average absolute error is less than the preset absolute error, a cyclic correction is performed to improve the accuracy of the correction result. Specifically, the average absolute error is calculated according to the following formula:
[0088]
[0089] Among them, f d is the frequency of the initial clock pulse signal of the current cycle, f Ris the frequency of the target clock pulse signal in the current cycle, and n is the number of cycles.
[0090] Alternatively, if Figure 3 The integrated synaesthesia system also includes: a phase modulator, a wavelength division multiplexer and a low-pass filter; wherein the phase modulator is used to change the phase of the optical signal according to a certain rule; the frequency modulator is used to adjust the signal frequency; the wavelength division multiplexer is used to compound the wavelengths of multiple clock pulse signals in the optical fiber, and in order to make the delay difference adjustable rather than fixed, an adjustable delay line is connected to each output fiber core of the wavelength division multiplexer; the low-pass filter is used to filter the clock pulse signal.
[0091] The clock error processing method based on the synaesthesia integration system provided in the embodiment of the present application is to calculate the clock error data between the optical transmitting end and the optical receiving end of the previous cycle after the clock element outputs the target clock pulse signal of the previous cycle and transmits it to the optical receiving end through the optical fiber via the optical transmitting end; according to the clock error data of the previous cycle, the target clock pulse signal of the previous cycle is corrected to obtain the target clock pulse signal of the current cycle, so that the clock element outputs the target clock pulse signal of the current cycle, and transmits it to the optical receiving end through the optical fiber via the optical transmitting end. It can be seen that the embodiment of the present application adjusts the clock pulse signal of the next cycle by correcting the clock pulse signal, eliminates the influence of phase noise, and thereby reduces clock deviation and frequency offset, and ultimately improves the performance of the communication link.
[0092] See also Figure 4 , Figure 4 is another structural block diagram of a synaesthesia integration system provided in an embodiment of the present application, wherein the synaesthesia integration system includes:
[0093] The clock element 11 is used to output a target clock pulse signal;
[0094] An optical transmitting end 12, used for transmitting the target clock pulse signal output by the clock element to an optical receiving end via an optical fiber;
[0095] The optical receiving end 13 is used to receive the target clock pulse signal transmitted by the optical transmitting end;
[0096] The sensor processing module 14 includes:
[0097] A first calculation unit is used to calculate the clock error data between the optical transmitting end and the optical receiving end in the previous cycle after the clock element outputs the target clock pulse signal of the previous cycle and transmits it to the optical receiving end through the optical fiber via the optical transmitting end;
[0098] The correction unit is used to correct the target clock pulse signal of the previous cycle according to the clock error data of the previous cycle to obtain the target clock pulse signal of the current cycle, so that the clock element outputs the target clock pulse signal of the current cycle and transmits it to the optical receiving end through the optical fiber via the optical transmitting end.
[0099] Optionally, the correction unit is further used for:
[0100] If the previous cycle is the first cycle, input the clock error data of the first cycle into a pre-trained clock pulse signal model to obtain a target clock pulse signal of the second cycle, wherein the pre-trained clock pulse signal model is obtained by training with historical clock error data;
[0101] If the previous cycle is not the first cycle, the target clock pulse signal of the previous cycle is used as the initial clock pulse signal of the current cycle. The initial clock pulse signal of the current cycle is corrected according to the clock error data of the previous cycle to obtain the target clock pulse signal of the current cycle.
[0102] Optionally, the first computing unit is further configured to:
[0103] Acquire a first frequency and a first clock parameter of a target clock pulse signal of a previous cycle at the optical transmitting end;
[0104] Acquire a second frequency and a second clock parameter of a target clock pulse signal of a previous cycle at the optical receiving end;
[0105] Calculate the frequency difference between the first frequency of the previous cycle and the second frequency of the previous cycle;
[0106] Calculating a clock parameter difference between a first clock parameter of a previous cycle and a second clock parameter of a current cycle;
[0107] The clock error data of the previous cycle is obtained according to the frequency difference of the previous cycle and the clock parameter difference of the current cycle.
[0108] Optionally, the first computing unit is further configured to:
[0109] Performing several smoothing processes on the frequency difference of the previous cycle, calculating the average value of the frequency difference after the several smoothing processes, and obtaining the average frequency difference of the previous cycle;
[0110] The clock parameter difference of the previous cycle is smoothed several times, and the average value of the clock parameter differences after the smoothing is calculated to obtain the average clock parameter difference of the previous cycle.
[0111] Optionally, the correction unit is further used for:
[0112] The clock element outputs the target clock pulse signal of the current cycle, and transmits it to the optical receiving end through the optical fiber via the optical transmitting end, and returns to the step of calculating the clock error data between the optical transmitting end and the optical receiving end of the previous cycle after the clock element outputs the target clock pulse signal of the previous cycle, and transmits it to the optical receiving end through the optical fiber via the optical transmitting end, until the clock error data of the previous cycle meets the preset correction stop condition, and the correction is stopped;
[0113] The preset correction stop condition includes at least one of: an average frequency difference of the current cycle is smaller than a preset frequency difference and an average clock parameter difference of the current cycle is smaller than a preset clock parameter difference.
[0114] Optionally, the sensor processing module 14 further includes:
[0115] A second calculation unit is used to use the target clock pulse signal of the previous cycle as the initial clock pulse signal of the current cycle, and calculate the mean absolute error between the frequency of the initial clock pulse signal of the current cycle and the frequency of the target clock pulse signal of the current cycle;
[0116] A judgment unit is used to make the clock element output a target clock pulse signal of the current cycle if the average absolute error is less than a preset absolute error, and transmit the target clock pulse signal to the optical receiving end through the optical fiber via the optical transmitting end.
[0117] It is worth noting that the working process of each module in the synaesthesia integration system described in the embodiment of the present application can refer to the working process of the clock error processing method based on the synaesthesia integration system described in the above embodiment, which will not be repeated here.
[0118] The embodiment of the present application provides a synaesthesia integration system, which calculates the clock error data between the optical transmitting end and the optical receiving end of the previous cycle after the clock element outputs the target clock pulse signal of the previous cycle and transmits it to the optical receiving end through the optical fiber via the optical transmitting end; according to the clock error data of the previous cycle, the target clock pulse signal of the previous cycle is corrected to obtain the target clock pulse signal of the current cycle, so that the clock element outputs the target clock pulse signal of the current cycle, and transmits it to the optical receiving end through the optical fiber via the optical transmitting end. It can be seen that the embodiment of the present application adjusts the clock pulse signal of the next cycle by correcting the clock pulse signal, eliminates the influence of phase noise, and thereby reduces clock deviation and frequency offset, and ultimately improves the performance of the communication link.
[0119] In addition, an embodiment of the present application further provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to execute the clock error processing method based on the synaesthesia integration system as described in any of the above embodiments.
[0120] In addition, an embodiment of the present application further provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements a clock error processing method based on a synaesthesia integration system as described in any of the above embodiments.
[0121] See also Figure 5 , Figure 5 1 is a structural block diagram of a clock error processing device based on a synaesthesia integration system provided in an embodiment of the present application, and the clock error processing device based on a synaesthesia integration system includes: a processor 21, a memory 22, and a computer program stored in the memory 22 and executable on the processor 21. When the processor 21 executes the computer program, the steps in the above-mentioned clock error processing method embodiment based on the synaesthesia integration system are implemented. Alternatively, when the processor 21 executes the computer program, the functions of each module / unit in the above-mentioned device embodiments are implemented.
[0122] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory 22 and executed by the processor 21 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the clock error processing device based on the synaesthesia integration system.
[0123] The clock error processing device based on the synaesthesia integration system may include, but is not limited to, a processor 21 and a memory 22. Those skilled in the art can understand that the schematic diagram is only an example of a clock error processing device based on the synaesthesia integration system, and does not constitute a limitation on the clock error processing device based on the synaesthesia integration system, and may include more or fewer components than shown in the figure, or combine certain components, or different components, for example, the clock error processing device based on the synaesthesia integration system may also include input and output devices, network access devices, buses, etc.
[0124] The processor 21 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 21 is the control center of the clock error processing device based on the synaesthesia integration system, and uses various interfaces and lines to connect various parts of the clock error processing device based on the synaesthesia integration system.
[0125] The memory 22 can be used to store the computer program and / or module, and the processor 21 realizes various functions of the clock error processing device based on the synaesthesia integration system by running or executing the computer program and / or module stored in the memory 22, and calling the data stored in the memory 22. The memory 22 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 22 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0126] Wherein, if the module / unit integrated by the clock error processing device based on the synaesthesia integration system is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor 21. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0127] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0128] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications are also considered to be within the scope of protection of the present application.
Claims
1. A clock error processing method based on synaesthesia integrated system, It is characterized in that include: After the clock element outputs the target clock pulse signal of the previous cycle and transmits it to the optical receiving end through the optical fiber via the optical transmitting end, the clock error data between the optical transmitting end and the optical receiving end of the previous cycle is calculated; According to the clock error data of the previous cycle, the target clock pulse signal of the previous cycle is corrected to obtain the target clock pulse signal of the current cycle, so that the clock element outputs the target clock pulse signal of the current cycle and transmits it to the optical receiving end through the optical fiber via the optical transmitting end.
2. The clock error processing method based on the synaesthesia integrated system according to claim 1, It is characterized in that If the previous cycle is the first cycle, the target clock pulse signal of the previous cycle is corrected according to the clock error data of the previous cycle to obtain the target clock pulse signal of the current cycle, including: Inputting the clock error data of the first cycle into a pre-trained clock pulse signal model to obtain a target clock pulse signal of the second cycle, wherein the pre-trained clock pulse signal model is trained by historical clock error data; If the previous cycle is not the first cycle, the target clock pulse signal of the previous cycle is corrected according to the clock error data of the previous cycle to obtain the target clock pulse signal of the current cycle, including: The target clock pulse signal of the previous cycle is used as the initial clock pulse signal of the current cycle. The initial clock pulse signal of the current cycle is corrected according to the clock error data of the previous cycle to obtain the target clock pulse signal of the current cycle.
3. The clock error processing method based on the synaesthesia integrated system according to claim 1, It is characterized in that The calculating of the clock error data between the optical transmitting end and the optical receiving end in the previous cycle includes: Acquire a first frequency and a first clock parameter of a target clock pulse signal of a previous cycle at the optical transmitting end; Acquire a second frequency and a second clock parameter of a target clock pulse signal of a previous cycle at the optical receiving end; Calculate the frequency difference between the first frequency of the previous cycle and the second frequency of the previous cycle; Calculating a clock parameter difference between a first clock parameter of a previous cycle and a second clock parameter of a current cycle; The clock error data of the previous cycle is obtained according to the frequency difference of the previous cycle and the clock parameter difference of the current cycle.
4. The clock error processing method based on the synaesthesia integrated system as claimed in claim 3, It is characterized in that The clock error data of the previous cycle is obtained according to the frequency difference of the previous cycle and the clock parameter difference of the current cycle, including: Performing smoothing processing on the frequency difference of the previous cycle for several times, calculating the average value of the frequency difference after the smoothing processing for several times, and obtaining the average frequency difference of the previous cycle; The clock parameter difference of the previous cycle is smoothed several times, and the average value of the clock parameter differences after the smoothing processes is calculated to obtain the average clock parameter difference of the previous cycle.
5. The clock error processing method based on the synaesthesia integrated system as claimed in claim 4, It is characterized in that The method of causing the clock element to output a target clock pulse signal of the current cycle and transmitting the target clock pulse signal to the optical receiving end through the optical fiber via the optical transmitting end includes: The clock element outputs the target clock pulse signal of the current cycle, and transmits it to the optical receiving end through the optical fiber via the optical transmitting end, and returns to the step of calculating the clock error data between the optical transmitting end and the optical receiving end of the previous cycle after the clock element outputs the target clock pulse signal of the previous cycle, and transmits it to the optical receiving end through the optical fiber via the optical transmitting end, until the clock error data of the previous cycle meets the preset correction stop condition, and the correction is stopped; The preset correction stop condition includes at least one of: an average frequency difference of the current cycle is smaller than a preset frequency difference and an average clock parameter difference of the current cycle is smaller than a preset clock parameter difference.
6. The clock error processing method based on the synaesthesia integrated system according to claim 1, It is characterized in that After obtaining the target clock pulse signal of the current cycle, the clock error processing method based on the synaesthesia integrated system further includes: Taking the target clock pulse signal of the previous cycle as the initial clock pulse signal of the current cycle, calculating the mean absolute error between the frequency of the initial clock pulse signal of the current cycle and the frequency of the target clock pulse signal of the current cycle; If the mean absolute error is less than the preset absolute error, the clock element is made to output the target clock pulse signal of the current cycle, and the target clock pulse signal is transmitted to the optical receiving end through the optical fiber via the optical transmitting end.
7. A synaesthesia integrated system, It is characterized in that include: A clock element, used for outputting a target clock pulse signal; An optical transmitting end, used for transmitting the target clock pulse signal output by the clock element to an optical receiving end through an optical fiber; The optical receiving end is used to receive the target clock pulse signal transmitted by the optical transmitting end; Sensor processing module, including: A first calculation unit is used to calculate the clock error data between the optical transmitting end and the optical receiving end in the previous cycle after the clock element outputs the target clock pulse signal of the previous cycle and transmits it to the optical receiving end through the optical fiber via the optical transmitting end; The correction unit is used to correct the target clock pulse signal of the previous cycle according to the clock error data of the previous cycle to obtain the target clock pulse signal of the current cycle, so that the clock element outputs the target clock pulse signal of the current cycle and transmits it to the optical receiving end through the optical fiber via the optical transmitting end.
8. A clock error processing device based on a synaesthesia integrated system, It is characterized in that The system comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor. When executing the computer program, the processor implements the clock error processing method based on the synaesthesia integration system according to any one of claims 1 to 6.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored computer program; wherein, when the computer program is run, it controls the device where the computer-readable storage medium is located to execute the clock error processing method based on the synaesthesia integration system according to any one of claims 1 to 6.
10. A computer program product, It is characterized in that The method comprises a computer program / instruction, which, when executed by a processor, implements a clock error processing method based on a synaesthesia integration system as claimed in any one of claims 1 to 6.
