A clock synchronization method, device, mobile terminal and storage medium
By calculating the clock synchronization error and adaptively adjusting the clock synchronization period, the problem of low clock synchronization accuracy in the prior art is solved, and more efficient and stable clock synchronization is achieved.
Patent Information
- Application Number
- CN202210623155.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-02
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2042-06-02
AI Technical Summary
The existing clock synchronization method has low clock synchronization accuracy because the synchronization period is a preset fixed value and cannot be adjusted adaptively.
By obtaining the clock synchronization beacon, the first clock synchronization error is calculated, and the adaptive adjustment parameters are adaptively adjusted according to the error and synchronization period, and the adaptive clock synchronization period is calculated in combination with the formula to perform clock synchronization.
It realizes adaptive adjustment of clock synchronization cycle, improves the accuracy of clock synchronization, reduces frequent signaling interactions, adapts to complex communication environments, and ensures stable clock synchronization of terminals.
Smart Images

Figure CN115001617B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of clock synchronization technology, and in particular to a clock synchronization method, device, mobile terminal and storage medium. Background Art
[0002] As the basis for real-time control and post-fault analysis of power systems, clock synchronization technology provides clock synchronization support for the stable operation of synchronous phasor measurement unit (PUM) sampling, phasor measurement, traveling wave ranging, sequence of event (SOE) recording, fault recording, and monitoring systems in low-voltage distribution networks.
[0003] The existing clock synchronization method uses a pre-set synchronization period, which cannot be adaptively adjusted based on the clock synchronization error between the synchronization terminal and the terminal to be synchronized. When the clock error is within a reasonable range, the preset synchronization period is too small, resulting in frequent synchronization between the terminals, increased signaling overhead, and reduced transmission efficiency; when the clock error is too large, the preset synchronization period is too large and cannot meet the terminal's requirements for synchronization accuracy.
[0004] In summary, the existing clock synchronization method has a problem of low accuracy because the synchronization period is a preset fixed value and cannot be adjusted adaptively. Summary of the invention
[0005] The embodiments of the present invention provide a clock synchronization method, device, mobile terminal and storage medium, which can realize adaptive adjustment of the clock synchronization period according to the clock synchronization error, thereby improving the accuracy of clock synchronization.
[0006] A first aspect of an embodiment of the present application provides a clock synchronization method, including:
[0007] Get the clock synchronization beacon;
[0008] Calculating a first clock synchronization error according to the clock synchronization beacon; wherein the first clock synchronization error is an error generated when performing the nth clock synchronization, and n is a positive integer;
[0009] According to the first clock synchronization error and the synchronization period adaptive adjustment parameter, in combination with the first formula, the first clock synchronization period is calculated; wherein the first clock synchronization period is the period when the n+1th clock synchronization is performed;
[0010] The (n+1)th clock synchronization is performed according to the first clock synchronization cycle.
[0011] In a possible implementation manner of the first aspect, the method further includes:
[0012] When the clock synchronization beacon is not acquired within a preset period of time, an early warning signal is generated;
[0013] The early warning signal is sent to the power line carrier gateway, so that the power line carrier gateway retransmits the clock synchronization beacon according to the early warning signal.
[0014] In a possible implementation manner of the first aspect, calculating the first clock synchronization error according to the clock synchronization beacon is specifically:
[0015] Calculate M initial clock synchronization errors of M terminals according to the clock synchronization beacon; where M is a positive integer;
[0016] A maximum value is obtained from the M initial clock synchronization errors as a first clock synchronization error.
[0017] In a possible implementation manner of the first aspect, M initial clock synchronization errors of the M terminals are calculated according to the clock synchronization beacon, specifically:
[0018] The clock synchronization beacon includes: a network clock and a perpetual calendar of a first terminal; wherein the first terminal is any one of the M terminals;
[0019] Calculate a first difference value according to the network clock and the perpetual calendar of the first terminal;
[0020] An initial clock synchronization error of the first terminal is calculated according to the first difference and the first timing result, wherein the first timing result is the time required for the first terminal to obtain a clock synchronization beacon during the nth clock synchronization.
[0021] In a possible implementation manner of the first aspect, before acquiring the clock synchronization beacon, the method further includes:
[0022] Setting a power line carrier gateway as a clock synchronization reference for a low voltage distribution network; wherein the power line carrier gateway is a gateway that is synchronized with a standard clock source;
[0023] Perform the nth clock synchronization according to the preset clock synchronization period.
[0024] A second aspect of an embodiment of the present application provides a clock synchronization device, including: an acquisition module, a first calculation module, a second calculation module and a synchronization module;
[0025] Wherein, the acquisition module is used to acquire the clock synchronization beacon;
[0026] The first calculation module is used to calculate a first clock synchronization error according to the clock synchronization beacon; wherein the first clock synchronization error is an error generated when performing the nth clock synchronization, and n is a positive integer;
[0027] The second calculation module is used to calculate the first clock synchronization period according to the first clock synchronization error and the synchronization period adaptive adjustment parameter in combination with the first formula; wherein the first clock synchronization period is the period when the n+1th clock synchronization is performed;
[0028] The synchronization module is used to perform the (n+1)th clock synchronization according to the first clock synchronization cycle.
[0029] In a possible implementation manner of the second aspect, the method further includes:
[0030] When the clock synchronization beacon is not acquired within a preset period of time, an early warning signal is generated;
[0031] The early warning signal is sent to the power line carrier gateway, so that the power line carrier gateway retransmits the clock synchronization beacon according to the early warning signal.
[0032] In a possible implementation manner of the second aspect, calculating the first clock synchronization error according to the clock synchronization beacon is specifically:
[0033] Calculate M initial clock synchronization errors of M terminals according to the clock synchronization beacon; where M is a positive integer;
[0034] A maximum value is obtained from the M initial clock synchronization errors as a first clock synchronization error.
[0035] A third aspect of an embodiment of the present application provides a mobile terminal, including a processor and a memory, the memory storing computer-readable program code, and the processor implementing the steps of the above-mentioned clock synchronization method when executing the computer-readable program code.
[0036] A fourth aspect of an embodiment of the present application provides a storage medium, which stores a computer-readable program code. When the computer-readable program code is executed, the steps of the above-mentioned clock synchronization method are implemented.
[0037] Compared with the prior art, an embodiment of the present invention provides a clock synchronization method, device, mobile terminal and storage medium, the method comprising: obtaining a clock synchronization beacon; calculating a first clock synchronization error according to the clock synchronization beacon; wherein the first clock synchronization error is the error generated when performing the nth clock synchronization, and n is a positive integer; according to the first clock synchronization error and the synchronization period adaptive adjustment parameter, combined with a first formula, a first clock synchronization period is calculated; wherein the first clock synchronization period is the period when performing the n+1th clock synchronization; and performing the n+1th clock synchronization according to the first clock synchronization period.
[0038] Its beneficial effect is that after calculating the first clock synchronization error according to the clock synchronization beacon, the embodiment of the present invention combines the synchronization period adaptive adjustment parameter and the first formula to calculate the first clock synchronization period. Since the value of the first clock synchronization error is different in each clock synchronization process, the first clock synchronization period calculated by combining the synchronization period adaptive adjustment parameter and the first formula will change with the change of the value of the first clock synchronization error, thereby realizing the adaptive adjustment of the clock synchronization period according to the clock synchronization error, thereby realizing the accuracy of clock synchronization based on the adaptively adjustable synchronization period. In addition, the embodiment of the present invention can reduce frequent signaling interactions and ensure the differentiated clock synchronization requirements of diversified services such as synchronous phasor measurement sampling, phasor measurement, traveling wave ranging, and fault recording.
[0039] Furthermore, in the process of calculating the first clock synchronization period, the clock synchronization accuracy requirement is used as the basis for calculation. When the clock synchronization accuracy requirement is higher, the first clock synchronization period increases accordingly; when the clock synchronization accuracy requirement is lower, the first clock synchronization period decreases accordingly, thereby reducing overhead while ensuring the clock synchronization accuracy.
[0040] Finally, when the clock synchronization beacon is not obtained within the preset time period, the embodiment of the present invention determines that the clock synchronization beacon has packet loss, and sends an early warning signal to require the power line carrier gateway to retransmit. It can adapt to complex communication environments such as severe electromagnetic interference and strong noise, and solve the problem that the terminal cannot synchronize the clock or the clock error increases due to the influence of the communication environment. It realizes packet loss adaptation, ensures that the terminal can stably execute clock synchronization, and greatly improves the clock synchronization accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a flowchart of a clock synchronization method provided by an embodiment of the present invention;
[0042] Figure 2 It is a schematic diagram of a multi-service environment adaptive clock synchronization method based on a power line carrier provided by an embodiment of the present invention;
[0043] Figure 3 It is a structural diagram of a clock synchronization device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] Reference Figure 1 , is a flow chart of a clock synchronization method provided by an embodiment of the present invention, including S101-S104:
[0046] S101: Acquire a clock synchronization beacon.
[0047] In this embodiment, before acquiring the clock synchronization beacon, the method further includes:
[0048] Setting a power line carrier gateway as a clock synchronization reference for a low voltage distribution network; wherein the power line carrier gateway is a gateway that is synchronized with a standard clock source;
[0049] Perform the nth clock synchronization according to the preset clock synchronization period.
[0050] S102: Calculate a first clock synchronization error according to the clock synchronization beacon.
[0051] The first clock synchronization error is an error generated when performing the nth clock synchronization, and n is a positive integer.
[0052] In this embodiment, the calculating the first clock synchronization error according to the clock synchronization beacon is specifically:
[0053] Calculating M initial clock synchronization errors of M terminals according to the clock synchronization beacon; wherein M is a positive integer;
[0054] A maximum value is obtained from the M initial clock synchronization errors as the first clock synchronization error.
[0055] Among them, the M terminals are M power distribution terminals.
[0056] In a specific embodiment, the calculating of M initial clock synchronization errors of M terminals according to the clock synchronization beacon is specifically:
[0057] The clock synchronization beacon includes: a network clock and a perpetual calendar of a first terminal; wherein the first terminal is any one of the M terminals;
[0058] Calculate a first difference value according to the network clock and the perpetual calendar of the first terminal;
[0059] An initial clock synchronization error of the first terminal is calculated according to the first difference and a first timing result; wherein the first timing result is a time duration required for the first terminal to obtain the clock synchronization beacon during the nth clock synchronization.
[0060] S103: Calculate a first clock synchronization period according to the first clock synchronization error and the synchronization period adaptive adjustment parameter in combination with the first formula.
[0061] The first clock synchronization period is the period for performing the n+1th clock synchronization;
[0062] S104: Perform the (n+1)th clock synchronization according to the first clock synchronization cycle.
[0063] In this embodiment, it also includes:
[0064] When the clock synchronization beacon is not acquired within a preset period of time, generating an early warning signal;
[0065] The early warning signal is sent to a power line carrier gateway, so that the power line carrier gateway retransmits the clock synchronization beacon according to the early warning signal.
[0066] For further explanation of the specific process of clock synchronization, please refer to Figure 2 , Figure 2 It is a schematic diagram of a multi-service environment adaptive clock synchronization method based on power line carrier provided by an embodiment of the present invention.
[0067] in, Figure 2 It includes a power line carrier gateway 201 and a power distribution terminal 202. Further, the power line carrier gateway 201 includes: an early warning receiving module, a CCO (Central Coordinator) module, a power line carrier communication module and a cycle adaptive module; the power distribution terminal includes: a STA (Station) module and a packet loss early warning module.
[0068] The specific process of clock synchronization is as follows:
[0069] S1101: Synchronize the power line carrier gateway 201 with the standard clock source and initialize the clock synchronization period T of the distribution network service i i,1 =T 0 , provide time synchronization for the distribution terminals 202 within the jurisdiction.
[0070] S1102: Using the synchronized power line carrier gateway 201 as the clock synchronization reference of the low voltage distribution network, using the CCO module inside the power line carrier gateway 201 to synchronize the clock with the clock synchronization period T i,n Perform the nth clock synchronization. The CCO module sends a clock synchronization beacon to the power distribution terminal 202 through the power line carrier communication module, and the oscillation timing module in the power distribution terminal 202 starts timing. In addition, an extended beacon entry is added to the clock synchronization beacon, including the network timebase (NTB) and the perpetual calendar, to improve the accuracy of clock synchronization.
[0071] Among them, the network clock NTB in step S1102 uses 40ns as the counting unit, and is periodically sent to the distribution terminal 202 within the jurisdiction through the CCO module in the power line carrier gateway 201. In theory, the perpetual calendar synchronization of ±4s for the entire network can be achieved. The network clock NTB and the perpetual calendar are added to the clock synchronization beacon. In the process of the CCO module of the power line carrier gateway 201 providing time to the 202STA module of the distribution terminal, the STA module can automatically compensate and update the perpetual calendar microsecond unit based on the network clock NTB, thereby achieving microsecond-level time synchronization of the power line carrier gateway 201 and the distribution terminal 202. In addition, the embodiment of the present invention only expands the content of the clock synchronization beacon on the basis of the low-voltage power line carrier communication standard, and there is no need to install modules or equipment. It is low in cost, small in modification, and easy to implement.
[0072] S1103: The STA module in the power distribution terminal 202 receives and parses the clock synchronization beacon to obtain a clock synchronization error.
[0073] Among them, S1103 is specifically:
[0074] If the STA module does not receive the clock synchronization beacon within the preset time period, the packet loss warning module of the distribution terminal to which the STA module belongs generates a warning signal and sends it to the warning receiving module of the power line carrier gateway 201 through the power line carrier, so that the warning receiving module requires the CCO module to retransmit the clock synchronization beacon.
[0075] If the STA module receives the clock synchronization beacon within the preset time period, the oscillation timing module ends the timing and generates the first timing result, which is the time required to obtain the clock synchronization beacon in the nth clock synchronization. The STA module parses the network clock NTB and the perpetual calendar in the clock synchronization beacon to obtain the clock synchronization error, and further combines the clock synchronization error and the first timing result to perform clock compensation on the distribution terminal.
[0076] S1104: The cycle adaptation module in the power line carrier gateway dynamically adjusts the new clock synchronization cycle T according to the clock synchronization error and the clock synchronization accuracy requirements of different distribution network services. i,n+1 (i.e. the first clock synchronization cycle), and the new clock synchronization cycle T i,n+1 Sent to the CCO module for the n+1th synchronization.
[0077] Among them, the clock synchronization period T is dynamically adjusted i,n+1 The process can be expressed by the following dynamic adjustment formula:
[0078]
[0079] Among them, k is the synchronization period adaptive adjustment parameter, ε iis the clock synchronization accuracy requirement for distribution network service i, is the maximum clock synchronization error in the distribution network service i in the nth synchronization. Assuming that service i contains M distribution terminals, then It can be expressed by the following formula:
[0080]
[0081] in, is the initial clock synchronization error of distribution terminal 1, is the initial clock synchronization error of the distribution terminal m, is the initial clock synchronization error of the power distribution terminal M. Then, That is, it is the maximum value among the M initial clock synchronization errors, that is, the first clock synchronization error.
[0082] Further, It can be expressed by the following formula:
[0083]
[0084] in, is the difference between the network clock and the perpetual calendar of the power distribution terminal m in the nth synchronization, that is, the first difference, It is the time required for the distribution terminal m to obtain the clock synchronization beacon in the nth synchronization, that is, the first timing result obtained from the time when the CCO module sends the clock synchronization beacon to the distribution terminal through the power line carrier communication module until the distribution terminal receives the clock synchronization beacon.
[0085] Furthermore, the principle of synchronization cycle adaptation is:
[0086] The maximum clock synchronization error when the service i is synchronized for the nth time Smaller, the n+1th synchronization period T of service i i,n+1 will increase, thereby reducing the signaling overhead; when When it is larger, the n+1th synchronization period T of service i i,n+1 will be reduced, thus ensuring the clock synchronization accuracy. When the clock synchronization accuracy requirement of service i is high, that is, ε i When it is smaller, the n+1th synchronization period T of service i i,n+1 will be reduced to ensure the clock synchronization accuracy; when the clock synchronization accuracy requirement of service i is low, that is, ε i When it is larger, the n+1th synchronization period T of service i i,n+1 will increase, thereby reducing the overhead while ensuring the clock synchronization accuracy. In summary, the clock synchronization accuracy requirement ε of the distribution network service i in the embodiment of the present invention is iand the maximum clock synchronization error of distribution network service i in the nth synchronization analyzed by the STA module Based on the dynamic adjustment formula, the n+1th synchronization period T is dynamically adjusted i,n+1 , to achieve synchronous cycle adaptation of different distribution network services.
[0087] For further explanation of the clock synchronization device, please refer to Figure 3 , Figure 3 3 is a schematic diagram of the structure of a clock synchronization device provided by an embodiment of the present invention, comprising: an acquisition module 301, a first calculation module 302, a second calculation module 303 and a synchronization module 304;
[0088] Wherein, the acquisition module 301 is used to acquire a clock synchronization beacon;
[0089] The first calculation module 302 is used to calculate a first clock synchronization error according to the clock synchronization beacon; wherein the first clock synchronization error is an error generated when performing the nth clock synchronization, and n is a positive integer;
[0090] The second calculation module 303 is used to calculate the first clock synchronization period according to the first clock synchronization error and the synchronization period adaptive adjustment parameter in combination with the first formula; wherein the first clock synchronization period is the period when the n+1th clock synchronization is performed;
[0091] The synchronization module 304 is used to perform the (n+1)th clock synchronization according to the first clock synchronization cycle.
[0092] In this embodiment, it also includes:
[0093] When the clock synchronization beacon is not acquired within a preset period of time, generating an early warning signal;
[0094] The early warning signal is sent to a power line carrier gateway, so that the power line carrier gateway retransmits the clock synchronization beacon according to the early warning signal.
[0095] In this embodiment, the calculating the first clock synchronization error according to the clock synchronization beacon is specifically:
[0096] Calculating M initial clock synchronization errors of M terminals according to the clock synchronization beacon; wherein M is a positive integer;
[0097] A maximum value is obtained from the M initial clock synchronization errors as the first clock synchronization error.
[0098] A specific embodiment of the present invention provides a mobile terminal, including a processor and a memory, wherein the memory stores a computer-readable program code, and the processor implements the steps of the above-mentioned clock synchronization method when executing the computer-readable program code.
[0099] A specific embodiment of the present invention provides a storage medium, wherein the storage medium stores computer-readable program codes, and when the computer-readable program codes are executed, the steps of the above-mentioned clock synchronization method are implemented.
[0100] The embodiment of the present invention obtains a clock synchronization beacon through an acquisition module; calculates a first clock synchronization error according to the clock synchronization beacon through a first calculation module; wherein the first clock synchronization error is an error generated when performing the nth clock synchronization, and n is a positive integer; calculates a first clock synchronization period according to the first clock synchronization error and the synchronization period adaptively adjusting parameters through a second calculation module, combined with a first formula; wherein the first clock synchronization period is a period when performing the n+1th clock synchronization; and performs the n+1th clock synchronization through the synchronization module according to the first clock synchronization period.
[0101] After calculating the first clock synchronization error according to the clock synchronization beacon, the embodiment of the present invention combines the synchronization period adaptive adjustment parameter and the first formula to calculate the first clock synchronization period. Since the value of the first clock synchronization error is different in each clock synchronization process, the first clock synchronization period calculated by combining the synchronization period adaptive adjustment parameter and the first formula will change with the change of the value of the first clock synchronization error, thereby realizing the adaptive adjustment of the clock synchronization period according to the clock synchronization error, thereby realizing the accuracy of clock synchronization based on the adaptively adjustable synchronization period. In addition, the embodiment of the present invention can reduce frequent signaling interactions and ensure the differentiated clock synchronization requirements of diversified services such as synchronous phasor measurement sampling, phasor measurement, traveling wave ranging, and fault recording.
[0102] Furthermore, in the process of calculating the first clock synchronization period, the clock synchronization accuracy requirement is used as the basis for calculation. When the clock synchronization accuracy requirement is higher, the first clock synchronization period increases accordingly; when the clock synchronization accuracy requirement is lower, the first clock synchronization period decreases accordingly, thereby reducing overhead while ensuring the clock synchronization accuracy.
[0103] Finally, when the clock synchronization beacon is not obtained within the preset time period, the embodiment of the present invention determines that the clock synchronization beacon has packet loss, and sends an early warning signal to require the power line carrier gateway to retransmit. It can adapt to complex communication environments such as severe electromagnetic interference and strong noise, and solve the problem that the terminal cannot synchronize the clock or the clock error increases due to the influence of the communication environment. It realizes packet loss adaptation, ensures that the terminal can stably execute clock synchronization, and greatly improves the clock synchronization accuracy.
[0104] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A clock synchronization method, characterized in that: include: Get the clock synchronization beacon; Calculate a first clock synchronization error according to the clock synchronization beacon; wherein the first clock synchronization error is an error generated when performing the nth clock synchronization, and n is a positive integer; According to the first clock synchronization error and the synchronization period adaptive adjustment parameter, in combination with the first formula, a first clock synchronization period is calculated; wherein the first clock synchronization period is the period when the n+1th clock synchronization is performed; Performing an (n+1)th clock synchronization according to the first clock synchronization cycle; Among them, the first formula is: Among them, T i,n+1 is the first clock synchronization period, k is the synchronization period adaptive adjustment parameter, ε i The clock synchronization accuracy requirement preset for the distribution network service i currently performing clock synchronization, is the first clock synchronization error in distribution network service i in the nth clock synchronization.
2. A clock synchronization method according to claim 1, characterized in that: Also includes: When the clock synchronization beacon is not acquired within a preset period of time, generating an early warning signal; The early warning signal is sent to a power line carrier gateway, so that the power line carrier gateway retransmits the clock synchronization beacon according to the early warning signal.
3. A clock synchronization method according to claim 2, characterized in that: The calculating the first clock synchronization error according to the clock synchronization beacon is specifically: Calculating M initial clock synchronization errors of M terminals according to the clock synchronization beacon; wherein M is a positive integer; A maximum value is obtained from the M initial clock synchronization errors as the first clock synchronization error.
4. A clock synchronization method according to claim 3, characterized in that: The calculating of the M initial clock synchronization errors of the M terminals according to the clock synchronization beacon is specifically: The clock synchronization beacon includes: a network clock and a perpetual calendar of a first terminal; wherein the first terminal is any one of the M terminals; Calculate a first difference value according to the network clock and the perpetual calendar of the first terminal; An initial clock synchronization error of the first terminal is calculated according to the first difference and a first timing result; wherein the first timing result is a time duration required for the first terminal to obtain the clock synchronization beacon during the nth clock synchronization.
5. A clock synchronization method according to claim 1, characterized in that: Before acquiring the clock synchronization beacon, the method further includes: Setting a power line carrier gateway as a clock synchronization reference for a low voltage distribution network; wherein the power line carrier gateway is a gateway that is synchronized with a standard clock source; Perform the nth clock synchronization according to the preset clock synchronization period.
6. A clock synchronization device, characterized in that: include: An acquisition module, a first calculation module, a second calculation module and a synchronization module; Wherein, the acquisition module is used to acquire a clock synchronization beacon; The first calculation module is used to calculate a first clock synchronization error according to the clock synchronization beacon; wherein the first clock synchronization error is an error generated when performing the nth clock synchronization, and n is a positive integer; The second calculation module is used to calculate the first clock synchronization period according to the first clock synchronization error and the synchronization period adaptive adjustment parameter in combination with the first formula; wherein the first clock synchronization period is the period when the n+1th clock synchronization is performed; The synchronization module is used to perform the (n+1)th clock synchronization according to the first clock synchronization cycle; Among them, the first formula is: Among them, T i,n+1 is the first clock synchronization period, k is the synchronization period adaptive adjustment parameter, ε i The clock synchronization accuracy requirement preset for the distribution network service i currently performing clock synchronization, is the first clock synchronization error in distribution network service i in the nth clock synchronization.
7. A clock synchronization device according to claim 6, characterized in that: Also includes: When the clock synchronization beacon is not acquired within a preset period of time, generating an early warning signal; The early warning signal is sent to a power line carrier gateway, so that the power line carrier gateway retransmits the clock synchronization beacon according to the early warning signal.
8. A clock synchronization device according to claim 7, characterized in that: The calculating the first clock synchronization error according to the clock synchronization beacon is specifically: Calculating M initial clock synchronization errors of M terminals according to the clock synchronization beacon; wherein M is a positive integer; A maximum value is obtained from the M initial clock synchronization errors as the first clock synchronization error.
9. A mobile terminal, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer-readable program code, and when the processor executes the computer-readable program code, the steps of a clock synchronization method according to any one of claims 1 to 5 are implemented.
10. A storage medium, characterized in that: The storage medium stores computer-readable program codes, and when the computer-readable program codes are executed, the steps of a clock synchronization method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Time synchronizing device and method
CN103532652A
Time synchronization method and time synchronization device for local clock and GPS clock in network measurement
CN106817184A