Atomic clock control method and device, equipment, storage medium and computer product

By dividing the temperature range during the atomic clock holding phase, constructing a timekeeping model library, and using a sliding time window and attention mechanism for temperature feature encoding and weighted aggregation, the frequency correction problem of atomic clocks in wide temperature ranges and multi-clock types is solved, improving timekeeping accuracy and system stability.

CN121578613APending Publication Date: 2026-02-27THE FIFTH RES INST OF TELECOMM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610027975.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-09
Publication Date
2026-02-27

AI Technical Summary

Technical Problem

Existing technologies struggle to achieve accurate prediction and adaptive compensation over a wide temperature range or in scenarios with rapid temperature fluctuations during the atomic clock maintenance phase, leading to decreased timekeeping accuracy and system robustness, especially with insufficient adaptability in scenarios involving various atomic clock types.

Method used

By dividing the temperature range during the atomic clock holding phase, a timekeeping model library is constructed. Temperature features are encoded and weighted by using a sliding time window and attention mechanism. Frequency correction is performed by combining an LSTM network, and a suitable timekeeping model is dynamically selected for frequency correction.

Benefits of technology

This improves the prediction accuracy and environmental adaptability of atomic clock frequency correction, and enhances the stability and reliability of the timekeeping system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121578613A_ABST
    Figure CN121578613A_ABST
Patent Text Reader

Abstract

The invention discloses an atomic clock control method, device and equipment, a storage medium and a computer product, and relates to the technical field of atomic clock control, and the method comprises the steps: determining an operation temperature sequence of an atomic clock in a slidable time window and an atomic clock type when the atomic clock is in a holding stage; calling a corresponding punctuality model based on the atomic clock type and the temperature interval in which the operating temperature sequence in the slidable time window is located; inputting the operating temperature sequence in the slidable time window into the timekeeping model to obtain a predictive control word of the atomic clock in the next time step of the last time step in the slidable time window; and performing frequency correction on the atomic clock based on the predictive control word. The timekeeping precision of the atomic clock in the keeping stage is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of atomic clock control, and particularly relates to an atomic clock control method and device, equipment, a storage medium and a computer product. BACKGROUND

[0002] As a high-precision time and frequency reference, atomic clocks are widely used in time service systems, communication networks and high-precision measurement and control fields, and the stability and accuracy of the output of the atomic clocks directly determine the time synchronization performance of the time service system. In the case that a reference time and frequency source is normally available, the existing time service system usually adopts a phase-locked loop, a clock adjustment algorithm or a closed-loop control mode to tame the output of a local atomic clock to an external reference source (such as GPS), so as to obtain good long-term stability and frequency accuracy. When the reference source is interrupted or unavailable, the system enters a holdover stage, and needs to rely on the frequency stability characteristics and time keeping algorithm of the atomic clock to predict and compensate the frequency deviation, so as to maintain the time and frequency continuity of the system.

[0003] In the related art, the frequency deviation of the atomic clock is predicted based on a pre-established clock state model in the holdover stage, and a recursive estimation method such as Kalman filtering is combined to update the control word, so as to maintain the short-term stability of the output frequency. However, on the one hand, the state space model and noise statistical characteristics of the related art are usually calibrated for a specific type of atomic clock, and lack the ability of unified modeling and parameter configuration for multiple types of atomic clocks. When the system replaces the type of atomic clock or contains multiple types of atomic clocks at the same time, it is difficult to quickly adapt and maintain consistent time keeping performance. On the other hand, the related art generally does not explicitly introduce environmental parameters such as temperature that are closely related to the performance of the atomic clock, or only uses a static frequency-temperature compensation model, and cannot depict the trajectory of the change of temperature over time and the difference in the frequency drift characteristics of the atomic clock under different temperature intervals. It is difficult to achieve accurate prediction and adaptive compensation in a wide temperature range or a rapid temperature fluctuation scenario, thereby easily leading to a decrease in time keeping accuracy and system robustness in the holdover stage. SUMMARY

[0004] The main purpose of the present application is to provide an atomic clock control method, device, equipment, storage medium and computer product, which aims to solve the technical problem of low time keeping accuracy of the atomic clock in the holdover stage in the related art.

[0005] To achieve the above-mentioned purpose, the present application provides an atomic clock control method, which comprises the following steps: When the atomic clock is in the holdover stage, determining a running temperature sequence of the atomic clock in a slidable time window and a type of the atomic clock; The corresponding time keeping model is called based on the type of atomic clock and the temperature interval in which the running temperature sequence in the slidable time window is located; wherein the time keeping model is trained based on the historical temperature data of the temperature interval in which the running temperature sequence of the atomic clock in the reference source locking state is located and the control word data at the time when the historical temperature data is located; The running temperature sequence in the slidable time window is input into the time keeping model to obtain the predicted control word of the next time step of the last time step in the slidable time window of the atomic clock. The frequency of the atomic clock is corrected based on the predicted control word.

[0006] In an embodiment, when the atomic clock is in the holding phase, the steps of determining the temperature interval in which the running temperature of the atomic clock is located and the type of the atomic clock further include the steps of: When the atomic clock is in the reference source locking state, the running temperature sequence of the atomic clock is obtained by using the slidable time window and the control word data at the time when each locking state running temperature in the running temperature sequence is recorded synchronously; The temperature interval in which all the running temperature sequences are located is determined, and for each temperature interval, all the running temperature sequences in the temperature interval are taken as historical temperature data, and the corresponding control word data is combined to form a training sample set; The time keeping model corresponding to each temperature interval is trained based on the training sample set; wherein for each type of atomic clock, one temperature interval corresponds to one time keeping model.

[0007] In an embodiment, the step of inputting all the holding phase running temperature data of all the time steps in the slidable time window into the time keeping model to obtain the predicted control word of the next time step of the last time step in the slidable time window of the atomic clock includes: The holding phase running temperature data of all the time steps in the slidable time window is input into the encoding layer of the time keeping model for time sequence feature encoding to obtain a temperature feature encoding sequence; The temperature feature encoding sequence is weighted and aggregated by an attention aggregation mechanism to obtain a temperature aggregated feature representation; The temperature aggregated feature representation is subjected to lightweight sequence modeling by an LSTM network and outputs a final time sequence representation; The final time sequence representation is input into a fully connected output layer to obtain the predicted control word.

[0008] In an embodiment, the encoder includes an LSTM layer and a Dropout layer, and the fully connected output layer includes two fully connected layers.

[0009] In an embodiment, after the step of training the time keeping model corresponding to each temperature interval based on the training sample set, the steps further include: The trained time-keeping model is stored in a preset model library; the preset model library is used to store time-keeping models corresponding to different temperature intervals of each type of atomic clock.

[0010] In an embodiment, the step of calling the corresponding time-keeping model based on the type of atomic clock and the temperature interval in which the running temperature sequence within the slidable time window is located comprises: determining the temperature interval in which the running temperature sequence within the slidable time window is located based on the temperature mean of the running temperature sequence within the slidable time window; calling the corresponding time-keeping model from the preset model library based on the type of atomic clock and the temperature interval in which the running temperature sequence is located.

[0011] The second aspect, in order to achieve the above object, the present application further provides an atomic clock control device, characterized in that the device comprises: The data determination module is configured to determine the running temperature sequence of the atomic clock within the slidable time window and the type of atomic clock when the atomic clock is in the holding phase. The model calling module is configured to call the corresponding time-keeping model based on the type of atomic clock and the temperature interval in which the running temperature sequence within the slidable time window is located; wherein the time-keeping model is trained based on the historical temperature data of the atomic clock in the reference source locking state within the slidable time window and the control word data at the time when the historical temperature data is located. The prediction module is configured to input the running temperature sequence within the slidable time window into the time-keeping model to obtain the predicted control word of the next time step of the last time step of the atomic clock in the slidable time window. The control module is configured to perform frequency correction on the atomic clock based on the predicted control word.

[0012] The third aspect, in order to achieve the above object, the present application further provides an atomic clock control device, characterized in that the device comprises: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program is configured to implement the steps of the above atomic clock control method.

[0013] The fourth aspect, in order to achieve the above object, the present application further provides a storage medium, characterized in that the storage medium is a computer readable storage medium, and the storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the atomic clock control method according to any one of claims 1 to 6.

[0014] The fifth aspect, in order to achieve the above object, the present application further provides a computer program product, characterized in that the computer program product comprises a computer program, and the computer program is executed by a processor to implement the steps of the above atomic clock control method.

[0015] The one or more technical solutions proposed in the present application have at least the following technical effects: By introducing an adaptive timekeeping control mechanism based on temperature intervals and atomic clock types in the atomic clock holding phase, modeling the running temperature sequence using a sliding time window, and combining an attention mechanism to weight and aggregate the importance of different historical temperature time steps, the present application can more accurately depict the dynamic influence of temperature changes on atomic clock frequency drift. At the same time, the timekeeping model is trained and managed according to the atomic clock type and temperature interval, and the matching model is automatically selected for control word prediction in the case of temperature interval change or different atomic clock types, effectively avoiding the problem of insufficient adaptability of a single model in a wide temperature range or multi-clock type scenario, thereby significantly improving the prediction accuracy, environmental adaptability, and stability and reliability of the holding phase atomic clock frequency correction and timekeeping system. BRIEF DESCRIPTION OF DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and serve to explain the principles of the present application together with the specification.

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the accompanying drawings needed to be used in the embodiment or related art description will be briefly introduced. Obviously, for those skilled in the art, other drawings can also be obtained based on these drawings without creative labor.

[0018] Figure 1 The flowchart of the atomic clock control method in the embodiments of the present application.

[0019] Figure 2 The structure diagram of the slidable time window in the embodiments of the present application.

[0020] Figure 3 The structure diagram of the model library in the embodiments of the present application.

[0021] Figure 4 The structure diagram of the timekeeping model.

[0022] Figure 5 The module connection diagram of the atomic clock control device.

[0023] Figure 6 The structure diagram of the atomic clock control device.

[0024] The purpose of the present application, functional characteristics and advantages will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION

[0025] It should be understood that the specific embodiments described herein are merely illustrative of the present application and do not limit the present application.

[0026] In order to better understand the technical solutions of the present application, the following will be described in detail in combination with the drawings of the specification and specific embodiments.

[0027] Atomic clocks, as high-precision time and frequency references, play a core role in time service systems. The pros and cons of their output performance directly affect the time synchronization accuracy of the entire time service system. Under normal conditions of reference signals, time service systems usually use technologies such as phase-locked loops or clock adjustment algorithms to lock the output of atomic clocks to the reference source, thereby obtaining high-stability and high-accuracy time and frequency outputs. For example, by continuously calibrating the local atomic clock to keep it synchronized with external standard time and frequency signals such as GPS, the long-term stability and frequency accuracy of the local clock can be significantly improved. When the reference source signal is lost and the system enters the holding phase, the system needs to rely on timekeeping algorithms to maintain the stable output of the atomic clock to continue to provide reliable high-precision time references for the system.

[0028] The existing atomic clock timekeeping strategy has the following shortcomings in the holding phase: Insufficient characterization: Although the existing frequency drift modeling in the holding phase can also introduce external environmental quantities such as temperature, it mostly uses pre-calibrated static frequency-temperature compensation curves or a small number of fixed parameters, which is insufficient to characterize the trajectory of temperature changes over time and the differences in atomic clock characteristics under different temperature intervals. Such models usually simplify the temperature influence as a single function relationship, which is difficult to simultaneously consider the frequency stability in each temperature interval under wide temperature range operation or rapid temperature fluctuation scenarios, and is prone to problems such as insufficient compensation in some temperature intervals and excessive compensation in some intervals, which limits the frequency extrapolation accuracy and timekeeping stability in the holding phase.

[0029] Poor adaptability: Different types of atomic clocks have their own unique frequency stability and noise characteristics, and it is difficult to consider the working characteristics of various clocks using a unified timekeeping mechanism. Existing timekeeping schemes are often optimized for specific clock types, lacking generality and adaptability for multiple types of atomic clocks. Therefore, in a system composed of multiple types of atomic clocks, a single algorithm cannot fully exploit the performance advantages of various types of atomic clocks.

[0030] In summary, there is a need for an atomic clock control method and timekeeping system that divides the timekeeping model according to the temperature interval, thereby improving the prediction accuracy and system robustness in a wide temperature working range, and the atomic clock type is configurable and the model selection automatically adapts to the current temperature interval.

[0031] Based on this, the main solution of the embodiment of the present application is: in the atomic clock maintaining stage, the running temperature sequence of the atomic clock is obtained through the sliding time window, and the temperature interval in which the atomic clock is located is determined in combination with the atomic clock type, and the corresponding time-keeping model is automatically called from the time-keeping preset model library constructed according to the atomic clock type x temperature interval.

[0032] Specifically, the embodiment of the present application provides an atomic clock control method, referring to Figure 1 , Figure 1 The flowchart of the first embodiment of the atomic clock control method of the present application is shown in the figure.

[0033] In this embodiment, the atomic clock control method includes steps S10-S40: Step S10, when the atomic clock is in the maintaining stage, the running temperature sequence of the atomic clock in the slidable time window and the atomic clock type are determined.

[0034] Step S20, based on the atomic clock type and the temperature interval in which the running temperature sequence in the slidable time window is located, the corresponding time-keeping model is called.

[0035] The time-keeping model is trained based on the historical temperature data of the temperature interval in which the atomic clock in the reference source locking state is located in the slidable time window and the control word data at the time when the historical temperature data is located.

[0036] Step S30, the running temperature sequence in the slidable time window is input into the time-keeping model, and the predicted control word of the next time step of the last time step in the slidable time window of the atomic clock is obtained.

[0037] Step S40, based on the predicted control word, the frequency of the atomic clock is corrected.

[0038] Specifically, the maintaining stage represents the state of the reference original signal of the atomic clock when the reference original signal is lost, and the embodiment adopts the mode of multi-step input and single-step output, as shown in Figure 2 , to depict the influence of different time windows on the change trend of the control word. For example, 30-step input and 1-step output are used to predict the control word data of the future 1 time step by using the temperature data of the past 30 time steps. Through the slidable time window, the window moves backward in the time sequence, and a new input-output sample is generated each time, realizing direct prediction of the sequence, generating the predicted control word of the atomic clock at the corresponding time, which is used for frequency correction of the atomic clock in the maintaining stage.

[0039] In a feasible implementation, before step S10, steps A10-A30 are included: Step A10, when the atomic clock is in a reference source lock state, use a slidable time window to obtain a running temperature sequence of the atomic clock and synchronously record the control word data at the time of each lock state running temperature in the running temperature sequence.

[0040] Step A20, determine the temperature interval of all running temperature sequences, for each temperature interval, take all running temperature sequences in the temperature interval as historical temperature data, combine the corresponding control word data to form a training sample set.

[0041] Step A30, based on the training sample set, train the timekeeping model corresponding to each temperature interval.

[0042] Among them, for each type of atomic clock, a temperature interval corresponds to a timekeeping model.

[0043] Step A40, store the trained timekeeping model in a preset model library; the preset model library is used to store the timekeeping models of different temperature intervals corresponding to each type of atomic clock.

[0044] Specifically, when the device atomic clock is in a reference source lock state, the device periodically collects environmental temperature measurement values through a temperature sensor and synchronously records the atomic clock control word corresponding to the temperature. The temperature sequence and the control word sequence are stored in a data buffer area as training samples for use when the model is trained.

[0045] In the model training stage, historical temperature and control word samples collected under the atomic clock lock state can be used to respectively perform normalization preprocessing, loss function setting and parameter optimization for each model subset. The trained model parameters and corresponding atomic clock type and temperature interval labels are stored in the atomic clock type-temperature interval timekeeping preset model library.

[0046] As shown in Figure 3 To adapt to different types of atomic clocks, the present embodiment groups and manages the models in the preset model library according to the atomic clock type and the temperature interval. For each type of atomic clock (such as rubidium clock, cesium clock, etc.), a corresponding timekeeping model is trained in each temperature interval to form an atomic clock type-temperature interval timekeeping preset model library. The temperature range of temperature interval 1 is t1-t2, the temperature range of temperature interval 1 is t2-t3, and the temperature range of temperature interval 1 is t3-t4. A configurable preset model library is established for different atomic clock types and different temperature intervals to realize the self-adaptation of the timekeeping algorithm to temperature factors and atomic clock type differences.

[0047] It can be understood that, through the design of the embodiment, different parameters of the time keeping model can be used for different types of atomic clocks in the same temperature range. When the temperature range changes or the type of atomic clock switches, the system can quickly select and call a model matched with the current device, thereby improving the adaptability and accuracy of the time keeping control.

[0048] On this basis, in the embodiment, step S20 includes steps B10-B20: Step B10, determining the temperature range in which the temperature sequence is located based on the mean temperature of the running temperature sequence in the slidable time window.

[0049] Step B20, calling a corresponding time keeping model from the preset model library based on the type of atomic clock and the temperature range in which the temperature sequence is located.

[0050] Specifically, in the system time keeping phase, an intelligent model selection mechanism is realized based on the above-mentioned preset model library: when the device enters the time keeping state, the atomic clock type identifier and the latest temperature sequence (for example, 30 consecutive sampled temperature values) are first obtained, and then the mean temperature of the temperature sequence is calculated to determine the current environmental temperature range. Then, according to the identified atomic clock type and the determined temperature range, a time keeping model matched with the combination is selected from the preset model library as a dedicated model. The selected dedicated model then performs inference calculation on the input temperature time sequence, and outputs a predicted atomic clock control word. Finally, the server returns the predicted control word to the device end through the network, and the control module of the device adjusts the control parameters of the corresponding atomic clock according to the predicted control word, thereby completing the time keeping calibration control.

[0051] Further, in the embodiment, step S30 includes steps C10-C40: Step C10, inputting the holding phase running temperature data of all time steps in the slidable time window to the encoding layer of the time keeping model for time sequence feature encoding, to obtain a temperature feature encoding sequence.

[0052] Step C20, obtaining a temperature aggregation feature representation by weighting and aggregating the temperature feature encoding sequence through an attention aggregation mechanism.

[0053] Step C30, performing lightweight sequence modeling on the temperature aggregation feature representation through an LSTM network and outputting a final time sequence representation.

[0054] Step C40, inputting the final time sequence representation to a fully connected output layer to obtain a predicted control word.

[0055] The encoder includes an LSTM layer and a Dropout layer, and the fully connected output layer includes two fully connected layers.

[0056] Specifically, referring to Figure 4 In the embodiment, the time-keeping model can be composed of an encoder, a decoder and a recurrent prediction output module, wherein the encoder comprises an LSTM layer and a Dropout layer connected in sequence, the decoder is composed of an attention mechanism layer, and the recurrent prediction output module is composed of an LSTM layer and two fully connected layers connected in sequence.

[0057] The embodiment adopts a structure form of'multi-layer LSTM encoding + attention mechanism aggregation + fully connected output' in model design, and the outputs of the layers are sequentially transmitted as the inputs of the next layer. For the input temperature sliding window sequence, first, a time series feature is encoded through an LSTM network to extract the hidden state reflecting the temperature change trend; an attention aggregation mechanism is introduced based on the LSTM output sequence, the importance of the hidden state of each time step for the current prediction task is weighted and aggregated to obtain the aggregated feature representation of the temperature sequence, so that the model can automatically focus on the time segments that have more significant impact on the frequency drift of the atomic clock; the feature representation after attention aggregation is input into the next layer of LSTM network to perform lightweight sequence modeling on the aggregated context and output the final time series representation, and finally output to the fully connected output layer to generate the prediction value of the atomic clock control word at the corresponding time, which is used for frequency correction of the atomic clock in the holding stage.

[0058] It can be understood that the model library and model selection process designed in the embodiment ensure that the most suitable prediction model is selected for different atomic clock types and environmental temperature conditions, and the 'LSTM-attention mechanism' time-keeping model structure is combined to realize accurate prediction and timely correction of the atomic clock control word. This mechanism of dividing models according to atomic clock types and temperature intervals and dynamically selecting and applying the models ensures that the application can select appropriate models for frequency calibration control under various temperature change environments, fully utilizes the advantages of each model, and improves the reliability and control accuracy of the time-keeping system.

[0059] It should be noted that the above examples are only used to understand the present application and do not limit the atomic clock control method of the present application. More forms of simple transformation based on this technical concept are within the protection scope of the present application.

[0060] The present application also provides an atomic clock control device, please refer to Figure 5 The atomic clock control device comprises: A data determination module is configured to determine the running temperature sequence of the atomic clock in a slidable time window and the atomic clock type when the atomic clock is in a holding stage. The model invocation module is used to invoke the corresponding timekeeping model based on the atomic clock type and the temperature range of the operating temperature sequence within the sliding time window. The timekeeping model is trained based on historical temperature data of the operating temperature sequence within the sliding time window when the atomic clock is in the reference source locked state, as well as control word data at the time when the historical temperature data is located. The prediction module is used to input the operating temperature sequence within the sliding time window into the timekeeping model to obtain the prediction control word of the atomic clock for the next time step after the last time step in the sliding time window. The control module is used to perform frequency correction on the atomic clock based on the predictive control word.

[0061] The atomic clock control device provided in this application, employing the atomic clock control method described in the above embodiments, can solve the technical problem of low timekeeping accuracy of atomic clocks during the holding phase in related technologies. Compared with related technologies, the beneficial effects of the atomic clock control device provided in this application are the same as those of the atomic clock control method provided in the above embodiments, and other technical features in the atomic clock control device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0062] This application provides an atomic clock control device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the atomic clock control method in the above embodiments.

[0063] The following is for reference. Figure 6 The diagram illustrates a structural schematic of an atomic clock control device suitable for implementing embodiments of this application. The atomic clock control device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 6 The atomic clock control device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0064] like Figure 6As shown, the atomic clock control device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in read-only memory 1002 (ROM) or a program loaded from storage device 1003 into random access memory 1004 (RAM). The random access memory 1004 also stores various programs and data required for the operation of the atomic clock control device. The processing unit 1001, read-only memory 1002, and random access memory 1004 are interconnected via bus 1005. An input / output interface 1006 (I / O interface) is also connected to bus 1005. Typically, the following systems can be connected to the input / output interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. Communication device 1009 allows the atomic clock control device to communicate wirelessly or wiredly with other devices to exchange data. Although atomic clock control devices with various systems are shown in the figure, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems may be implemented alternatively.

[0065] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0066] The atomic clock control device provided in this application, employing the atomic clock control method described in the above embodiments, can solve the technical problem of low timekeeping accuracy of atomic clocks during the holding phase in related technologies. Compared with related technologies, the beneficial effects of the atomic clock control device provided in this application are the same as those of the atomic clock control method provided in the above embodiments, and other technical features of this atomic clock control device are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0067] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0068] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0069] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the atomic clock control method in the above embodiments.

[0070] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0071] The aforementioned computer-readable storage medium may be included in the atomic clock control device; or it may exist independently and not be assembled into the atomic clock control device.

[0072] The aforementioned computer-readable storage medium carries one or more programs that, when executed by the atomic clock control device, cause the atomic clock control device to: determine the operating temperature sequence and atomic clock type of the atomic clock within a sliding time window when the atomic clock is in a hold phase; call the corresponding timekeeping model based on the atomic clock type and the temperature range of the operating temperature sequence within the sliding time window; wherein the timekeeping model is trained based on historical temperature data of the temperature range of the operating temperature sequence within the sliding time window when the atomic clock is in a reference source locked state and control word data at the time when the historical temperature data is located; input the operating temperature sequence within the sliding time window into the timekeeping model to obtain the predictive control word of the atomic clock for the next time step after the last time step in the sliding time window; and perform frequency correction on the atomic clock based on the predictive control word.

[0073] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0074] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0075] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0076] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described atomic clock control method, which can solve the technical problem of low timekeeping accuracy of atomic clocks during the holding phase in related technologies. Compared with related technologies, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the atomic clock control method provided in the above embodiments, and will not be repeated here.

[0077] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the atomic clock control method described above.

[0078] The computer program product provided in this application can solve the technical problem of low timekeeping accuracy of atomic clocks during the holding phase in related technologies. Compared with related technologies, the beneficial effects of the computer program product provided in this application are the same as those of the atomic clock control method provided in the above embodiments, and will not be repeated here.

[0079] The above are only some embodiments of this application and do not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the content of this application specification and drawings, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A method for controlling an atomic clock, characterized in that, The method includes: While the atomic clock is in the holding phase, the operating temperature sequence of the atomic clock and the atomic clock type are determined within a sliding time window; Based on the atomic clock type and the temperature range of the operating temperature sequence within the sliding time window, the corresponding timekeeping model is invoked; wherein, the timekeeping model is trained based on historical temperature data of the operating temperature sequence within the sliding time window of the atomic clock when it is in a reference source locked state, as well as control word data at the time when the historical temperature data is located. The operating temperature sequence within the sliding time window is input into the timekeeping model to obtain the prediction control word of the atomic clock at the next time step after the last time step in the sliding time window. The atomic clock is frequency corrected based on the predicted control word.

2. The atomic clock control method as described in claim 1, characterized in that, Before the step of determining the temperature range of the atomic clock's operating temperature and the type of the atomic clock during the holding phase, the method further includes the following step: When the atomic clock is in the reference source locked state, the sliding time window is used to obtain the operating temperature sequence of the atomic clock and the control word data at the time of each locked state operating temperature in the operating temperature sequence are recorded synchronously. Determine the temperature range in which all the operating temperature sequences are located. For each temperature range, take all the operating temperature sequences in the temperature range as historical temperature data and combine them with the corresponding control word data to form a training sample set. Based on the training sample set, a timekeeping model corresponding to each of the temperature ranges is trained; wherein, for each type of atomic clock, one temperature range corresponds to one timekeeping model.

3. The atomic clock control method as described in claim 1, characterized in that, The step of inputting the holding phase operating temperature data of all time steps within the sliding time window into the timekeeping model to obtain the predictive control word of the atomic clock for the next time step after the last time step in the sliding time window includes: The holding phase running temperature data of all time steps within the sliding time window are input into the encoding layer of the timekeeping model for time series feature encoding to obtain the temperature feature encoding sequence. The temperature feature encoding sequence is weighted and aggregated using an attention aggregation mechanism to obtain a temperature aggregated feature representation. The temperature aggregation feature representation is modeled into a lightweight sequence using an LSTM network, and the final time-series representation is output. The final timing representation is input into the fully connected output layer to obtain the prediction control word.

4. The atomic clock control method as described in claim 3, characterized in that, The encoder includes an LSTM layer and a Dropout layer, and the fully connected output layer includes two fully connected layers.

5. The atomic clock control method as described in claim 2, characterized in that, After the step of training the timekeeping model corresponding to each temperature range based on the training sample set, the method further includes: The trained timekeeping model is stored in a preset model library; the preset model library is used to store timekeeping models for different temperature ranges corresponding to various types of atomic clocks.

6. The atomic clock control method as described in claim 5, characterized in that, Based on the atomic clock type and the temperature range of the operating temperature sequence within the sliding time window, the steps for invoking the corresponding timekeeping model include: Based on the average temperature of the operating temperature sequence within the sliding time window, the temperature range in which the temperature sequence is located is determined. Based on the type of atomic clock and the temperature range in which the temperature sequence is located, the corresponding timekeeping model is called from the preset model library.

7. An atomic clock control device, characterized in that, The device includes: The data determination module is used to determine the operating temperature sequence and atomic clock type of the atomic clock within a sliding time window when the atomic clock is in the holding phase. The model invocation module is used to invoke the corresponding timekeeping model based on the atomic clock type and the temperature range of the operating temperature sequence within the sliding time window; wherein, the timekeeping model is trained based on historical temperature data of the atomic clock in the temperature range of the operating temperature sequence within the sliding time window when it is in the reference source locked state, and control word data at the time when the historical temperature data is located. The prediction module is used to input the operating temperature sequence within the sliding time window into the timekeeping model to obtain the prediction control word of the atomic clock for the next time step after the last time step in the sliding time window. The control module is used to perform frequency correction on the atomic clock based on the predictive control word.

8. An atomic clock control device, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the atomic clock control method as described in any one of claims 1 to 6.

9. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the atomic clock control method as described in any one of claims 1 to 6.

10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the atomic clock control method as described in any one of claims 1 to 6.