Clock synchronization method, electronic equipment and network based on HDC broadband carrier

HDC broadband carrier technology is used to perform clock synchronization in HPLC wired and HRF wireless modes, which solves the problem of low clock synchronization efficiency in the existing technology and achieves simplified processes and efficient synchronization.

CN118590177BActive Publication Date: 2024-09-27DELIXI GROUP INSTRUMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411067542.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-09-27
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

In the existing technology, power line carrier communication has low efficiency in the clock synchronization process and requires multiple nodes to interact and measure the transmission delay, resulting in a cumbersome process.

Method used

A clock synchronization method based on HDC broadband carrier is used to align the clocks of the master node and the target slave node in HPLC wired transmission mode, and then measure the wireless transmission delay in HRF wireless reception mode, and use the constant wireless transmission delay for clock synchronous.

Benefits of technology

It greatly simplifies the clock synchronization process, improves clock synchronization efficiency, eliminates the step of measuring wireless transmission delay, and improves synchronization accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590177B
    Figure CN118590177B
Patent Text Reader

Abstract

The present application provides a clock synchronization method, electronic device and network based on HDC broadband carrier, wherein, when performing clock synchronization, the master node and the target slave node in the electric energy meter network first interact in the HPLC wired transmission mode to synchronize the clocks of the two, providing a standard measurement environment for measuring the wireless transmission delay; then, the master node and the target slave node interact again in the HRF wireless mode, measure the wireless transmission delay, and use the wireless transmission delay to quickly align the slave clock of the target slave node with the master clock of the master node. In the present application, the geographical location of each node in the electric energy meter network does not change, so the wireless transmission delay is also unchanged. In this way, when using the wireless transmission mode for clock synchronization, it is only necessary to measure the wireless transmission delay once, and the measured wireless transmission delay can be directly used in the subsequent clock synchronization process, eliminating the step of measuring the wireless transmission delay, greatly simplifying the clock synchronization process, and improving the clock synchronization efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a clock synchronization method, electronic equipment and network based on HDC broadband carrier. Background Art

[0002] High-speed power line carrier (HPLC) is a communication method that uses power lines as a data transmission medium. Since power lines are the most popular and widely covered physical media, data information can be transmitted through power lines without rewiring. All electronic devices connected to power lines can be formed into a communication network for information exchange and communication, which not only saves complicated engineering and resource costs, but also ensures the robustness of the power grid structure. Compared with traditional low-speed narrowband power line carrier technology, HPLC technology has the advantages of large bandwidth and high transmission rate, which can meet the higher requirements of low-voltage power line carrier communication.

[0003] Since HPLC evolved from the power grid, it has the disadvantages of complex topology and inflexible routing management. Its automatic routing function is far inferior to that of the Internet backbone network. If a node used to transmit power data fails, or a section of the line fails, the original HPLC data transmission route will be unavailable, and it will take a long time to form a new route. Therefore, a solution based on microwave power radio (HRF) was proposed. HRF adds wireless communication function on the basis of HPLC wired communication. Together with HPLC, it performs dual-mode transmission of data, enhancing the robustness of the data transmission network. Dual-mode technology uses orthogonal frequency division multiplexing (OFDM) modulation, turbo coding, and copy interleaving technology at the physical layer; the number of nodes supported by the link layer network increases from 1000 to 2000 nodes, and on the basis of the link layer protocol of HPLC, the networking routing mechanism of the HRF channel is added to support the two channels to serve as alternate routing paths for each other to form a network; the protocol adds a complete encryption algorithm and encryption mechanism to ensure network security.

[0004] The business of the power grid requires clock synchronization, that is, each node in the power grid runs the same clock, so that each node has a consistent understanding of the same time. In the related technology, multiple node clock synchronization is achieved through the 1588 method. Each synchronization using the 1588 method requires multiple interactions between nodes, which is a cumbersome process and leads to low clock synchronization efficiency. Summary of the invention

[0005] The present application provides a clock synchronization method, electronic device and network based on HDC broadband carrier, which can simplify the clock synchronization process of the electric energy meter network and improve the clock synchronization efficiency.

[0006] In a first aspect, the present application provides a clock synchronization method based on HDC broadband carrier, which is applied to a target slave node in an electric energy meter network, wherein the electric energy meter network includes a master node and at least one slave node, wherein the at least one slave node includes the target slave node to be clock synchronized, wherein both the target slave node and the master node support HPLC wired transmission mode, the target slave node supports HRF wireless reception mode, and the master node supports HRF wireless transmission mode; the method includes:

[0007] In the HPLC wired transmission mode, the target slave node receives first clock signals from N wired transmission paths respectively, where N is a positive integer; wherein each of the first clock signals carries a first clock reading; in the case where the nodes on the wired transmission path transparently transmit the clock signal sent by the master node, the first clock reading is the clock reading of the master clock set in the master node at the time when the first clock signal is sent; in the case where the nodes on the wired transmission path non-transparently transmit the clock signal sent by the master node, the first clock reading is the clock reading of the clock of the first node at the time when the first clock signal is sent, the first node is the previous slave node adjacent to the target slave node on the signal transmission path, and the first clock signal is generated and sent by the first node when the clock of the first node is successfully synchronized with the clock of the master node;

[0008] The target slave node performs a first clock synchronization operation based on the first clock readings respectively carried by the N first clock signals, so as to synchronize the slave clock of the target slave node with the master clock of the master node;

[0009] The target slave node receives the second clock signal sent by the master node in the HRF wireless receiving mode, and determines the target wireless transmission delay between the master node and the slave node based on the second clock reading carried by the second clock signal; the second clock reading is the clock reading corresponding to the master clock set in the master node at the time of sending the second clock signal;

[0010] In the HRF wireless receiving mode, the target slave node receives the third clock signal sent by the master node, and performs a second clock synchronization operation based on the third clock reading carried by the third clock signal and the target wireless transmission delay, so that the slave clock of the target slave node is synchronized with the master clock of the master node; wherein the third clock reading is the clock reading corresponding to the master clock set in the master node at the time of sending the third clock signal.

[0011] In some possible designs, the target slave node performs a first clock synchronization operation based on first clock readings respectively carried by the N first clock signals, including:

[0012] The target slave node extracts first clock reading information respectively carried by N first clock signals;

[0013] For each of the first clock signals, a wired transmission delay corresponding to the first clock signal is measured according to the first clock reading information respectively carried by the first clock signal and the reception time of the first clock signal; when the nodes on the wired transmission path transparently transmit the clock signal sent by the master node, the first wired transmission delay is the total wired transmission delay between the master node and the target slave node; when the nodes on the wired transmission path non-transparently transmit the clock signal sent by the master node, the first wired transmission delay is the wired transmission delay between the first node and the target slave node;

[0014] Determining a first alignment time corresponding to the first clock signal according to a reception time of the first clock signal and the first wired transmission delay;

[0015] According to the first alignment moments respectively corresponding to the N first clock signals and the first clock readings carried by the first clock signals, the slave clock in the target slave node is adjusted to complete the first clock synchronization operation.

[0016] In some possible designs, adjusting the slave clock in the target slave node according to the first alignment moments respectively corresponding to the N first clock signals and the first clock reading carried by the first clock signal to complete the first clock synchronization operation includes:

[0017] Determine a central moment of N of the first alignment moments;

[0018] According to the time difference between the central time and the first clock reading carried by the first clock signal, the slave clock of the target slave node is adjusted to complete the first clock synchronization operation.

[0019] In some possible designs, when the nodes on the wired transmission path perform non-transparent transmission of the clock signal, the N first clock readings are not completely the same; adjusting the slave clock in the target slave node according to the first alignment moments respectively corresponding to the N first clock signals and the first clock readings respectively carried by the N first clock signals to complete the first clock synchronization operation includes:

[0020] Obtaining N slave clock readings corresponding to a preset time according to the first alignment time corresponding to the N first clock signals and the first clock readings respectively carried by the N first clock signals; the N slave clock readings correspond one-to-one to the N first clock signals;

[0021] adjusting the slave clock of the target slave node according to an average value of the N slave clock readings and a time difference between the N slave clock readings to complete the first clock synchronization operation;

[0022] or,

[0023] Obtaining N slave clock adjustment amplitudes according to first alignment moments corresponding to the N first clock signals and first clock readings respectively carried by the N first clock signals;

[0024] The slave clock of the target slave node is adjusted according to the average value of the adjustment amplitudes of the N slave clocks to complete the first clock synchronization operation.

[0025] In some possible designs, determining a target wireless transmission delay between the master node and the slave node based on a second clock reading carried by the second clock signal includes:

[0026] The difference between the second clock reading and the reception time of the second clock signal is determined as the target wireless transmission delay.

[0027] In some possible designs, the master node periodically sends the third clock signal; and the target slave node periodically receives the third clock signal.

[0028] In some possible designs, the sending period of the third clock signal is related to the drift speed of the crystal oscillator in the master node and the operating temperature of the master node; or, the sending period of the third clock signal is pre-configured by the user.

[0029] In a second aspect, the present application provides a clock synchronization method based on HDC broadband carrier, which is applied to a master node in an electric energy meter network, wherein the electric energy meter network includes the master node and at least one slave node, wherein the at least one slave node includes a target slave node to be clock synchronized, wherein both the target slave node and the master node support HPLC wired transmission mode, the target slave node supports HRF wireless reception mode, and the master node supports HRF wireless transmission mode; the method includes:

[0030] In the HPLC wired transmission mode, the master node sends a first clock signal to the target slave node through N wired transmission paths, so that the target slave node performs a first clock synchronization operation according to the first clock readings carried by the received N first clock signals, and synchronizes the slave clock of the target slave node with the master clock of the master node, where N is a positive integer; wherein, when the nodes on the wired transmission path transparently transmit the clock signal sent by the master node, the first clock signal is the clock signal sent by the master node, and the first clock reading is the clock reading of the master clock set in the master node at the time of sending the first clock signal; when the nodes on the wired transmission path non-transparently transmit the clock signal sent by the master node, the first clock reading is the clock reading of the clock of the first node at the time of sending the first clock signal, the first node is the previous slave node adjacent to the target slave node on the signal transmission path, and the first clock signal is regenerated and sent by the first node when the clock of the first node is successfully synchronized with the clock of the master node;

[0031] The master node sends a second clock signal to the target slave node in the HRF wireless transmission mode, so that the target slave node determines the target wireless transmission delay between the master node and the slave node based on a second clock reading carried by the second clock signal; the second clock reading is a clock reading corresponding to the master clock set in the master node at the time of sending the second clock signal;

[0032] In the HRF wireless transmission mode, the master node sends a third clock signal to the target slave node, so that the target slave node performs a second clock synchronization operation based on the third clock reading carried by the third clock signal and the target wireless transmission delay, and synchronizes the slave clock of the target slave node with the master clock of the master node; wherein the third clock reading is the clock reading corresponding to the master clock set in the master node at the time of sending the third clock signal.

[0033] In some possible designs, the master node periodically sends the third clock signal; and the target slave node periodically receives the third clock signal.

[0034] In some possible designs, the sending period of the third clock signal is related to the drift speed of the crystal oscillator in the master node and the operating temperature of the master node; or, the sending period of the third clock signal is pre-configured by the user.

[0035] In a third aspect, an embodiment of the present application provides an electric energy meter, comprising: a second HPLC communication module, the electric energy meter is connected to the power line through the second HPLC communication module, so that the electric energy meter supports the HPLC wired transmission mode; and the electric energy meter includes an HRF receiving module, so that the electric energy meter supports the HRF wireless receiving mode; the electric energy meter is used to execute any method described in the first aspect above.

[0036] In a fourth aspect, an embodiment of the present application provides an electric energy meter, comprising: a first HPLC communication module, wherein the electric energy meter is connected to a power line through the first HPLC communication module, so that the electric energy meter supports an HPLC wired transmission mode; and the electric energy meter comprises an HRF sending module, so that the master node supports an HRF wireless transmission mode; the electric energy meter is used to execute the method described in any one of the aforementioned second aspects.

[0037] In a fifth aspect, an embodiment of the present application provides an electronic device, including: a memory and a processor;

[0038] The memory is configured to store computer program instructions;

[0039] The processor is configured to run the computer program instructions so that the electronic device implements the method as described in any one of the first aspects, or implements the method as described in any one of the second aspects.

[0040] In a sixth aspect, an embodiment of the present application provides a computer program product, and an electronic device runs the computer program product so that the electronic device implements the method as described in any one of the first aspect, or implements the method as described in any one of the second aspect.

[0041] In a seventh aspect, an embodiment of the present application provides an electric energy meter network, including: a master node and at least one slave node;

[0042] The master node includes a first HPLC communication module, and the master node is connected to the power line through the first HPLC communication module, so that the master node supports the HPLC wired transmission mode; and the master node includes an HRF transmission module, so that the master node supports the HRF wireless transmission mode;

[0043] Any of the slave nodes includes a second HPLC communication module, and the slave node is connected to the power line through the second HPLC communication module, so that the slave node supports the HPLC wired transmission mode; and the slave node includes an HRF receiving module, so that the slave node supports the HRF wireless receiving mode;

[0044] Among them, the slave node to be clock synchronized is used to execute the method described in any one of the first aspects; the master node is used to execute the method described in any one of the second aspects.

[0045] The embodiment of the present application provides a clock synchronization method, electronic device and network based on HDC broadband carrier, wherein when the master node and the target slave node in the electric energy meter network perform clock synchronization, the master node and the target slave node first interact in the HPLC wired transmission mode to align the clocks of the two, thereby providing a standard measurement environment for measuring the wireless transmission delay; then, the master node and the target slave node interact again in the HRF wireless receiving mode to measure the wireless transmission delay between the two, and the wireless transmission delay can be used to quickly align the slave clock of the target slave node with the master clock of the master node. In the present application, since the geographical location of each node in the electric energy meter network is unchanged, the wireless transmission delay is also unchanged. In this way, when the wireless transmission mode is used for clock synchronization, only one wireless transmission delay needs to be measured, and the measured wireless transmission delay can be directly used when the node position does not change in the subsequent clock synchronization process, eliminating the step of measuring the wireless transmission delay. Compared with the related art that uses wired transmission for clock synchronization, each clock synchronization needs to measure the wireless transmission delay, the present application greatly simplifies the clock synchronization process and improves the clock synchronization efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 This is a flowchart of clock synchronization of nodes through 1588 in the related art;

[0047] Figure 2 A schematic diagram of the structure of an electric energy meter network provided in an embodiment of the present application;

[0048] Figure 3 A flow chart of a clock synchronization method based on HDC broadband carrier provided in an embodiment of the present application;

[0049] Figure 4A and Figure 4B A schematic diagram showing the relationship between the reception time of the third clock signal and the clock reading estimated by the target slave node, exemplarily shown in the present application;

[0050] Figure 5 A flow chart of a clock synchronization method based on HDC broadband carrier provided in another embodiment of the present application;

[0051] Figure 6 A flow chart of a clock synchronization method based on HDC broadband carrier provided in another embodiment of the present application;

[0052] Figure 7 A flow chart of a clock synchronization method based on HDC broadband carrier provided in another embodiment of the present application;

[0053] Figure 8 A scene diagram of clock synchronization of nodes in an electric energy meter network shown in an embodiment of the present application;

[0054] Fig. 9 For this application Figure 8 Flowchart of the clock synchronization method based on HDC broadband carrier in the scenario shown;

[0055] Fig.10 A structural diagram of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0056] In this application, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c alone can mean: a alone, b alone, c alone, a and b in combination, a and c in combination, b and c in combination, or a, b, and c in combination, where a, b, and c can be single or multiple. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

[0057] The terms "connected" and "connected" should be understood in a broad sense. For example, the "connected" or "connected" of a circuit structure can refer to not only physical connection, but also electrical connection or signal connection. For example, it can be directly connected, that is, physically connected, or indirectly connected through at least one intermediate element, as long as the circuit is connected, or it can be the internal connection of two elements; signal connection can refer to signal connection through a circuit or through a media medium, such as radio waves. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0058] In the related technology, two nodes that need to synchronize their clocks use 1588 to synchronize their clocks. Figure 1As shown, clock synchronization using 1588 includes the following steps:

[0059] S101. The master node sends a sync message to the slave node, and records the clock reading of the master clock at the time of sending the sync message as Ta.

[0060] The slave node receives the sync message and records the time when the sync message is received as Tb.

[0061] S102. The slave node sends a delay-req message to the master node, and records the clock reading Tc of the slave clock at the sending time.

[0062] The master node receives the delay-req message and records the clock reading of the master clock at the time when the delay-req message is received as Td.

[0063] Through the above process, the master node records Ta and Td, and the slave node records Tb and Tc.

[0064] S103. The master node sends the recorded clock readings Ta and Td to the slave node.

[0065] S104. The slave node calculates the wired transmission delay between the master node and the slave node according to the clock readings Ta, Tb, Tc and Td, and synchronizes the clock.

[0066] Among them, the slave node can calculate 2 times the wired transmission delay according to the formula: (Td-Ta)-(Tc-Tb), and then divide it by 2 to get the wired transmission delay. Using the calculated wired transmission delay, the slave node can infer the moment when it receives the sync message, and the master clock reading of the master node is: Ta+wired transmission delay. Based on this, the slave node can adjust the slave clock according to the time difference between the clock reading Tb of the slave clock at the actual moment of receiving the sync message and the moment (Ta+wired transmission delay) calculated above, so that the slave clock of the slave node is synchronized with the master clock of the master node.

[0067] When using the 1588 method, each time clock synchronization is performed, the master node and the slave node need to interact multiple times through the power line to measure the transmission delay between the two. The clock synchronization process is cumbersome, resulting in low clock synchronization efficiency.

[0068] Based on this, the present application provides a clock synchronization method, electronic device and network based on HDC broadband carrier, wherein, when the master node and the target slave node in the electric energy meter network perform clock synchronization, the master node and the target slave node first interact in the HPLC wired transmission mode to align the clocks of the two, thereby providing a standard measurement environment for measuring the wireless transmission delay; then, the master node and the target slave node interact again in the HRF wireless transmission mode to measure the wireless transmission delay between the two, and the wireless transmission delay can be used to quickly synchronize the slave clock of the target slave node with the master clock of the master node. In the present application, since the geographical location of each node in the electric energy meter network does not change, the wireless transmission delay is also unchanged. In this way, when the wireless transmission mode is used for clock synchronization, only one wireless transmission delay needs to be measured. In the case that the node position does not change during the subsequent clock synchronization process, the previously measured wireless transmission delay can be directly used, eliminating the step of measuring the wireless transmission delay. Compared with the need to measure the wireless transmission delay for each clock synchronization during the transmission mode, the present application greatly simplifies the clock synchronization process and improves the clock synchronization efficiency. In addition, the method of the present application only needs to add an HRF sending module or an HRF receiving module to the node that needs clock synchronization to perform wireless clock synchronization, and has strong scalability.

[0069] Among them, HDC: high-speed dual-mode communication.

[0070] In this application, HDC includes: HPLC wired communication and HRF wireless communication. In HPLC wired communication, the master node and the target slave node are in HPLC wired transmission mode; in HRF wireless communication, the master node is in HRF wireless transmission mode, and the target slave node is in HRF wireless reception mode.

[0071] The clock synchronization method based on HDC broadband carrier provided in this application can be applied to Figure 2 See the energy meter network shown. Figure 2 As shown, the electric energy meter network 20 includes: a master node 21 and at least one slave node 22. The master node 21 and the at least one slave node 22 are respectively connected to the power line 23 through their respective HPLC communication modules, and the master node 21 and the at least one slave node 22 form the electric energy meter network 20 through the power line 23.

[0072] The master node 21 includes: an HPLC communication module, an HRF wireless module, a clock signal generation module and a processing module.

[0073] The HRF wireless module in the master node may include an HRF sending module and an HRF receiving module, or the HRF wireless module in the master node includes an HRF sending module but does not include an HRF receiving module.

[0074] The HPLC communication module is used to enable the master node to work in the HPLC wired transmission mode and interact with any slave node in the electric energy meter network through the power line 23; the HRF sending module is used to enable the master node to work in the HRF wireless transmission mode to communicate wirelessly with the target slave node; the clock signal generation module is used to generate the corresponding clock signal; the processing module is used to control the HPLC communication module, the HRF sending module and the clock signal generation module to perform their respective corresponding operations.

[0075] Each slave node includes: an HPLC communication module, an HRF wireless module and a processing module. The HRF wireless module in the slave node may include an HRF transmitting module and an HRF receiving module, or include an HRF receiving module but not an HRF transmitting module.

[0076] The HPLC communication module is used to enable the slave node to work in the HPLC wired transmission mode and interact with the master node in the electric energy meter network through the power line 23; the HRF receiving module is used to enable the slave node to work in the HRF wireless receiving mode and communicate wirelessly with the master node; the processing module is used to control the HPLC communication module and the HRF receiving module to perform their respective corresponding operations, as well as to perform related calculation operations.

[0077] It should be noted that the electric energy meter network 20 may also include one or more electric energy meters that do not have the HRF wireless receiving function. These electric energy meters cannot communicate with the master node in a wireless manner to achieve clock synchronization.

[0078] Next, several embodiments are combined with the accompanying drawings to describe in detail the operations performed by the master node and the target slave node that need to perform clock synchronization. Figure 2 Any slave node supporting the HRF wireless receiving mode in the illustrated embodiment.

[0079] Figure 3 This is a flow chart of a clock synchronization method based on HDC broadband carrier provided in one embodiment of the present application. Figure 3 As shown, the method of this embodiment includes:

[0080] S301: The master node sends a clock signal to a target slave node through N wired transmission paths in the HPLC wired transmission mode. Correspondingly, the target slave node receives a first clock signal from each of the N wired transmission paths in the HPLC wired transmission mode.

[0081] Wherein, N is a positive integer, and the present application does not limit the size of N. It should be understood that the number of wired transmission paths depends on the clock synchronization strategy of the electric energy meter network and the architecture of the electric energy meter network. The starting points of the N wired transmission paths are all master nodes, and the end points of the N wired transmission paths are all target slave nodes.

[0082] The nodes on the wired transmission path can perform transparent transmission or non-transparent transmission of the received clock signal.

[0083] Transparent transmission means that the nodes on the wired transmission path transparently transmit the received clock signal, that is, the intermediate slave nodes on the wired transmission path will not synchronize their own clocks based on the received clock signal. In the case of transparent transmission, the first clock signal received by the target slave node is the clock signal sent by the master node. Accordingly, the first clock reading carried by the first clock signal is the clock reading of the master clock at the moment when the master node sends the first clock signal.

[0084] Non-transparent transmission refers to a method in which a node on a wired transmission path synchronizes its own clock with the master clock of a master node based on a received clock signal, and then regenerates the clock signal and transmits it to the next adjacent node. In the case of non-transparent transmission, the first clock signal received by the target slave node is regenerated by the previous adjacent slave node on the wired transmission path (referred to as the first node in this application) when its own clock is aligned with the master clock of the master node, and the first clock reading carried by the first clock signal is the clock reading of the slave clock of the first node at the moment when the first node sends the first clock signal.

[0085] It should be noted that each node in the electric energy meter network may pre-negotiate and agree to use a transparent transmission method or a non-transparent transmission method to transmit the clock signal sent by the master node.

[0086] Through S301 , the target slave node can obtain N first clock signals.

[0087] S302: The target slave node performs a first clock synchronization operation based on first clock readings respectively carried by N first clock signals, so as to synchronize a slave clock of the target slave node with a master clock of the master node.

[0088] In some embodiments, the target slave node receives the first clock signal and records the time of receiving the first clock signal. Next, Figure 1 The 1588 method shown measures the wired transmission delay, and determines the alignment time of the time when the master node or the first node sends the first clock signal on the slave clock of the target slave node based on the wired transmission delay combined with the reception time of the first clock signal and the first clock reading carried by the first clock signal. Then, according to all the alignment times, the slave clock of the target slave node is synchronized with the master clock of the master node.

[0089] Wherein, in the case of transparent transmission, the measured and determined wired transmission delay is the wired transmission delay between the master node and the target slave node. In the case of non-transparent transmission, the measured and determined wired transmission delay is the wired transmission delay between the master node and the first node.

[0090] Through S301 and S302, the master clock of the master node and the slave clock of the target slave node are synchronized, thereby providing a standard measurement basis for measuring the wireless transmission delay between the master node and the target slave node, avoiding inaccurate wireless transmission delay in subsequent measurements due to clock asynchrony.

[0091] S303: The master node sends a second clock signal to the target slave node in the HRF wireless transmission mode. Correspondingly, the target slave node receives the second clock signal sent by the master node in the HRF wireless reception mode.

[0092] S304: The target slave node determines a target wireless transmission delay between the master node and the target slave node based on a second clock reading carried by the second clock signal.

[0093] The second clock reading is the clock reading corresponding to the master clock of the master node at the time when the master node sends the second clock signal. For example, the second clock reading is recorded as: T A .

[0094] In some embodiments, the master node sends the second clock signal to the target slave node through the HRF sending module, and the target slave node receives the second clock signal through the HRF receiving module, so that the target slave node can obtain the second clock reading from the second clock signal. In addition, the target slave node records the reception time of the second clock signal, which is recorded as: T B Then, the time difference between the receiving time of the second clock signal and the sending time of the second clock signal is the target wireless transmission delay △ between the target slave node and the master node. 无线 , that is, satisfying the formula: 无线 = T B -T A .

[0095] In other embodiments, S303 and S304 may be repeatedly performed M times, where M is an integer greater than 1. That is, the master node may send M second clock signals, and the target slave node calculates M candidate wireless transmission delays based on the M second clock signals, and then calculates the average value of the M candidate wireless transmission delays as the target wireless transmission delay. By calculating the average value, the accuracy of measuring the wireless transmission delay can be improved.

[0096] S305: The master node sends a third clock signal to the target slave node in the HRF wireless transmission mode, the third clock signal carrying a third clock reading. Correspondingly, the target slave node receives the third clock signal sent by the master node in the HRF wireless reception mode.

[0097] The third clock reading is the clock reading corresponding to the master clock of the master node at the time when the master node sends the third clock signal. For example, the third clock reading is recorded as T C .

[0098] S306. The target slave node performs a second clock synchronization operation based on the third clock reading carried by the third clock signal and the target wireless transmission delay, so as to synchronize the slave clock of the target slave node with the master clock of the master node.

[0099] In some embodiments, the target slave node receives the third clock signal and records the reception time T of the third clock signal. D The target slave node is based on T C and 无线 , it can be inferred that the sending time of the third clock signal is the clock reading of the slave clock of the target slave node: T C +△ 无线 Then according to the receiving time T of the third clock signal D and the estimated clock reading T C +△ 无线 The time difference between them adjusts the slave clock of the target slave node.

[0100] For example, please refer to Figure 4A As shown, the horizontal axis represents the time axis. If the receiving time of the third clock signal is T D Later than the estimated clock reading T C +△ 无线 , then the slave clock reading of the target slave node is reduced by the amount of the third clock signal received at the time T D and the estimated clock reading T C +△ 无线 Please refer to Figure 4B As shown, the horizontal axis represents the time axis. If the receiving time of the third clock signal is T D Earlier than the estimated clock reading T C +△ 无线 , then the slave clock reading of the target slave node is increased by the receiving time T of the third clock signal D and the estimated clock reading T C +△ 无线 The time difference between.

[0101] The method of this embodiment requires that the master node and the target slave node that need to be clock aligned interact in the HPLC wired transmission mode to align the clocks of the two nodes, then measure the wireless transmission delay in the HRF wireless transmission mode, and use the wireless transmission delay to quickly align the slave clock of the target slave node with the master clock of the master node. Among them, the geographical location of each node in the electric energy meter network does not change, so the wireless transmission delay is also unchanged. In this way, when the wireless transmission mode is used for clock synchronization, it is only necessary to measure the wireless transmission delay once, and the measured wireless transmission delay can be directly used in the subsequent clock synchronization process, eliminating the step of measuring the wireless transmission delay, greatly simplifying the clock synchronization process, and improving the clock synchronization efficiency.

[0102] exist Figure 3 Based on the embodiment shown, the master node can periodically send the third clock signal to the target slave node according to the synchronization period, and accordingly, the target slave node periodically receives the third clock signal. Each time the target slave node receives a third clock signal, it performs a second clock synchronization operation according to the target wireless transmission delay.

[0103] That is, S305 and S306 can be repeatedly executed according to the synchronization cycle, so that the slave clock of the target slave node and the master clock of the master node can maintain a synchronized state, meeting the requirements of the electric energy meter network.

[0104] In some embodiments, the synchronization period is related to the drift speed of the crystal oscillator in the master node and the operating temperature of the master node. In other embodiments, the synchronization period can also be pre-configured by the user.

[0105] Figure 5 A flowchart of a clock synchronization method based on HDC broadband carrier provided in one embodiment of the present application. Figure 3 In the embodiment shown, S302 can be performed by Figure 5 The method of the embodiment shown is implemented. The method of this embodiment includes:

[0106] S501. A target slave node extracts first clock reading information respectively carried by N first clock signals.

[0107] S502: For each first clock signal, measure and obtain a first wired transmission delay corresponding to the first clock signal according to first clock reading information carried by the first clock signal and a reception time of the first clock signal.

[0108] Wherein, when the nodes on the wired transmission path transparently transmit the clock signal sent by the master node, the first wired transmission delay is the total wired transmission delay between the master node and the target slave node.

[0109] Wherein, when the nodes on the wired transmission path perform non-transparent transmission on the clock signal sent by the master node, the first wired transmission delay is the wired transmission delay between the first node and the target slave node.

[0110] The target slave node can measure and obtain the first wired transmission delay corresponding to the first clock signal through the 1588 method.

[0111] S503: Determine a first alignment time corresponding to the first clock signal according to a reception time of the first clock signal and a first wired transmission delay.

[0112] The target slave node estimates that the time obtained by subtracting the first wired transmission delay from the time when the first clock signal is received is the first alignment time corresponding to the first clock signal.

[0113] S504: Adjust the slave clock in the target slave node according to the first alignment moments respectively corresponding to the N first clock signals and the first clock readings carried by the first clock signals to complete the first clock synchronization operation.

[0114] When N=1, the target slave node adjusts the clock reading of its own slave clock using the time difference between the first alignment moment and the first clock reading. The adjustment method can be referred to the detailed description of S306.

[0115] When N is greater than 1, due to measurement errors, the N first alignment moments correspond to N different moments, then the target slave node determines the center moment of the N first alignment moments, and uses the center moment as the time point corresponding to the sending moment of the first clock signal on the slave clock of the target slave node. Then, the target slave node uses the time difference between the alignment moment and the first clock reading to adjust the clock reading of its own slave clock. The adjustment method can refer to the detailed description of S306.

[0116] In the method of this embodiment, the master node and the target slave node perform clock synchronization in the HPLC wired transmission mode. Considering that the wired transmission delays of different wired transmission paths are different, the measurement and calculation errors in the clock synchronization process are reduced by averaging, thereby achieving higher clock synchronization accuracy. This improves the clock synchronization accuracy in the wireless mode.

[0117] It should be noted that Figure 5 The illustrated embodiment is applicable to a scenario in which nodes on N wired transmission paths all transparently transmit the same clock signal sent by the master node.

[0118] Figure 6 This is a flowchart of a clock synchronization method based on HDC broadband carrier provided in another embodiment of the present application. Figure 6 As shown, the method of this embodiment includes:

[0119] S601. Obtain N slave clock readings corresponding to a preset time according to first alignment times corresponding to N first clock signals and first clock readings respectively carried by the N first clock signals.

[0120] The preset time may be a future time randomly determined by the target slave node, or may be a time corresponding to a clock reading selected from the N first clock readings, such as the time corresponding to the latest first clock reading. The present application does not limit the implementation method for determining the preset time.

[0121] In this step, the N slave clock readings corresponding to the preset time refer to the clock readings of the N slave clocks derived from the target slave node at the preset time, and the N slave clock readings correspond one to one to the N first clock signals. The slave clock derived from the target slave node mentioned here refers to a slave clock provided by the target slave node for a wired transmission path.

[0122] S602: Determine an average value of N slave clock readings, and adjust the slave clock of the target slave node according to the determined average value and the N slave clock readings to complete a first clock synchronization operation.

[0123] For each slave clock derived from the target slave node, the derived slave clock is adjusted based on the time difference between the average value and the slave clock reading corresponding to the preset time. After all adjustments are completed, all slave clocks derived from the target slave nodes are synchronized with each other and with the master clock of the master node, that is, the first clock synchronization operation is completed.

[0124] Exemplarily, two first clock signals are used as an example:

[0125] The first clock signal 1 is sent by the adjacent first node on the wired transmission path 1. The first clock reading carried by the first clock signal 1 is 17 minutes and 05 seconds. The first alignment time corresponding to the first clock signal 1 is 17 minutes and 06 seconds. The slave clock reading obtained by reading the slave clock 1 based on the preset time is 17 minutes and 31 seconds.

[0126] The first clock signal 2 is sent by the adjacent first node on the wired transmission path 2. The first clock reading carried by the first clock signal 2 is 17 minutes and 8 seconds. The first alignment time corresponding to the first clock signal 2 is 17 minutes and 11 seconds. The slave clock reading obtained by reading the slave clock 2 based on the preset time is 17 minutes and 33 seconds.

[0127] Next, determine the average value of the two slave clock readings: 17 minutes and 32 seconds. For clock 1, the slave clock reading corresponding to the preset time is 17 minutes and 31 seconds. Based on the average value, it should be adjusted to 17 minutes and 32 seconds, that is, 1 second faster; for slave clock 2, the slave clock reading corresponding to the preset time is 17 minutes and 33 seconds. Based on the average value, it should be adjusted to 17 minutes and 32 seconds, that is, 1 second slower. In this way, clock 1 and clock 2 derived by the target slave node can be regarded as one slave clock.

[0128] In summary, when the master node uses multiple wired transmission paths to send clock signals to the target slave node, and the nodes on the wired transmission paths transmit the clock signals non-transparently, the method of this embodiment can integrate the impact of the transmission delays of N different wired transmission paths to achieve accurate synchronization between the slave clock of the target slave node and the master clock of the master node.

[0129] Figure 7 This is a flowchart of a clock synchronization method based on HDC broadband carrier provided in another embodiment of the present application. Figure 7 As shown, the method of this embodiment includes:

[0130] S701 . Obtain N slave clock adjustment amplitudes according to first alignment moments corresponding to N first clock signals and first clock readings respectively carried by the N first clock signals.

[0131] For each first clock signal, calculate the time difference between the corresponding first clock reading and the first alignment moment. This time difference is the clock adjustment amplitude. If the clock adjustment amplitude is a positive value, it means that the slave clock needs to be adjusted faster. If the clock adjustment amplitude is a negative value, it means that the slave clock needs to be adjusted slower. For the specific method of calculating the clock adjustment amplitude, please refer to Figure 4A and Figure 4B For the sake of simplicity, the illustrated embodiments will not be described in detail here.

[0132] By performing calculations on the N first clock signals respectively, N clock adjustment amplitudes corresponding to the N first clock signals can be obtained.

[0133] S702: Adjust the slave clock of the target slave node according to the average value of the adjustment amplitudes of the N slave clocks to complete a first clock synchronization operation.

[0134] The adjustment amplitudes of N slave clocks are added together and then divided by N to obtain an average value; then the slave clock of the target slave node is accelerated or decelerated according to the size of the average value, thereby completing the first clock synchronization operation.

[0135] Exemplarily, two first clock signals are used as an example:

[0136] The first clock signal 1 is sent by the adjacent first node on the wired transmission path 1. The first clock reading carried by the first clock signal 1 is 17 minutes and 5 seconds. The first alignment time corresponding to the first clock signal 1 is 17 minutes and 6 seconds. The slave clock adjustment amplitude corresponding to the first clock signal 1 is -1 second.

[0137] The first clock signal 2 is sent by the adjacent first node on the wired transmission path 2. The first clock reading carried by the first clock signal 2 is 17 minutes and 8 seconds, and the first alignment time corresponding to the first clock signal 2 is 17 minutes and 11 seconds. The slave clock adjustment amplitude corresponding to the first clock signal 2 is -3 seconds.

[0138] Next, the average of the two slave clock adjustments is determined to be -2 seconds. Based on the average, the target slave node's slave clock should be adjusted 2 seconds slower.

[0139] In summary, when the master node uses multiple wired transmission paths to send clock signals to the target slave node, and the nodes on the wired transmission paths transmit the clock signals non-transparently, the method of this embodiment can integrate the impact of the transmission delays of N different wired transmission paths to achieve accurate synchronization between the slave clock of the target slave node and the master clock of the master node.

[0140] It should be noted that Figure 6 and Figure 7 The illustrated embodiment is applicable to a scenario where nodes on N wired transmission paths perform non-transparent transmission of a clock signal sent by a master node. Figure 6 and Figure 7 The illustrated embodiment may be applicable to a scenario where a master node transmits a clock signal through different wired transmission paths at the same time, and may also be applicable to a scenario where a master node transmits a clock signal through different wired transmission paths at different times.

[0141] See also Figure 8 As shown, in a specific embodiment, the electric energy meter network includes nodes 1 to 7, wherein node 1 is a master node and node 4 is a target slave node. There are two wired transmission paths between node 1 and node 4, wired transmission path 1 includes: node 1, node 2, node 3 and node 4, and wired transmission path 2 includes: node 1, node 5, node 6, node 7 and node 4.

[0142] Among them, in the case of transparent transmission:

[0143] (1) Use wired transmission path 1 to send a clock signal to node 4:

[0144] Node 1 generates a first clock signal and sends it to node 2 via the power line at time T1; node 2 forwards the first clock signal to node 3 via the power line; node 3 then forwards the first clock signal to node 4 via the power line. Among them, both node 2 and node 3 do not process the received first clock signal; node 4 receives the first clock signal at time T2, and uses the received first clock signal to synchronize its own clock with the clock of node 1 through the 1588 method.

[0145] (2) Use wired transmission path 2 to send a clock signal to node 4:

[0146] Node 1 generates a first clock signal and sends it to node 5 via the power line at time T1; node 5 forwards the first clock signal to node 6 via the power line; node 6 then forwards the first clock signal to node 7 via the power line; node 7 forwards the first clock signal to node 4 via the power line. Nodes 5, 6, and 7 do not process the received first clock signal; node 4 receives the first clock signal at time T3, and uses the received first clock signal to synchronize its own clock with the clock of node 1 through the 1588 method.

[0147] It should be noted that:

[0148] Combination Fig. 9 As shown, if the master node transmits the first clock signal using the wired transmission path 1 alone, the wired transmission delay measured by node 4 through the 1588 method is the total wired transmission delay corresponding to the wired transmission path 1, which is recorded as △ total(1) Then, the first alignment time corresponding to the clock of node 4 at time T1 is: T2-△ total(1) .

[0149] Combination Fig. 9 As shown in Figure 2, if the master node uses wired transmission path 2 alone to transmit the clock signal, the wired transmission delay measured by node 4 through 1588 is the total wired transmission delay corresponding to wired transmission path 2, recorded as △ total(2) Then, the first alignment time corresponding to the clock of node 4 at time T1 is: T3-△ total(2) .

[0150] in, Figure 8 The △ shown in total Indicates △ total(1) or total(2) .

[0151] Combination Fig. 9 As shown, if the master node simultaneously transmits the first clock signal using wired transmission path 1 and wired transmission path 2, then the target slave node obtains two first alignment moments by calculation, which are: T2-△ total(1)、T3-△ total(2) The target slave node takes the center time of the two first alignment times as the time corresponding to time T1 on the clock of node 4.

[0152] Among them, in the case of non-transparent transmission:

[0153] (1) Use wired transmission path 1 to send a clock signal to node 4:

[0154] Node 1 sends a clock signal to node 2 via the power line. Node 2 synchronizes its own clock with the clock of node 1 based on the received clock signal. Then node 2 regenerates the clock signal and sends it to node 3 via the power line. Node 3 synchronizes its own clock with the clock of node 2 based on the received clock signal. Since the clock of node 2 has been successfully synchronized with the clock of node 1, the clock of node 3 is also synchronized with the clock of node 1. Then, node 3 regenerates the clock signal and sends it to node 4 via the power line. Node 4 synchronizes its own clock with the clock of node 3 based on the received clock signal. Since the clock of node 3 has been successfully synchronized with the clock of node 1, the clock of node 4 is synchronized with the clock of node 1.

[0155] Among them, the clock synchronization of any two adjacent nodes on the wired transmission path 1 can be achieved through the 1588 method, and the wired transmission delay of each hop on the wired transmission path can be measured, including: △1, △2, and △3.

[0156] (2) Use wired transmission path 2 to send a clock signal to node 4:

[0157] Node 1 sends a clock signal to node 5 via the power line. Node 5 synchronizes its own clock with the clock of node 1 based on the received clock signal. Then node 5 regenerates the clock signal and sends it to node 6. Node 6 synchronizes its own clock with the clock of node 5 based on the received clock signal. Since the clock of node 5 has been successfully synchronized with the clock of node 1, the clock of node 6 is also synchronized with the clock of node 1. Then, node 6 regenerates the clock signal and sends it to node 7 via the power line. Node 7 synchronizes its own clock with the clock of node 6 based on the received clock signal. Since the clock of node 6 has been successfully synchronized with the clock of node 1, the clock of node 6 is synchronized with the clock of node 1. Then, node 7 regenerates the clock signal and sends it to node 4 via the power line. Node 4 synchronizes its own clock with the clock of node 7 based on the received clock signal through the 1588 method. Since the clock of node 7 has been successfully synchronized with the clock of node 1, the clock of node 4 is synchronized with the clock of node 1.

[0158] Among them, the clock synchronization of any two adjacent nodes on the wired transmission path 2 can be achieved through the 1588 method, and the wired transmission delay of each hop on the wired transmission path can be measured, including: △4, △5, △6 and △7.

[0159] In addition, in the case of non-transparent transmission, the clock signal sent by node 3 to node 4 is the first clock signal mentioned above. Node 4 measures the wired transmission delay △3 between node 3 and node 4 based on the first clock signal sent by node 3; node 4 then determines the first alignment time 1 based on △3 and the time of receiving the first clock signal.

[0160] Similarly, the clock signal sent by node 7 to node 4 is the first clock signal mentioned above, and node 4 measures the wired transmission delay △7 between node 7 and node 4 using the first clock signal sent by node 7. Node 4 then determines the first alignment time 2 based on △7 and the time of receiving the first clock signal.

[0161] Then, node 4 can use Figure 6 The embodiment shown or Figure 7 The method of the embodiment shown is to adjust the clock reading of the slave clock of node 4. Figure 6 and Figure 7 An example of adjustment based on two first clock signals is shown in FIG.

[0162] The present application also provides an electronic device. Fig.10 As shown, the electronic device 1000 provided in this embodiment includes: a memory 1001 and a processor 1002 .

[0163] The memory 1001 may be an independent physical unit, and may be connected to the processor 1002 via a bus 1003. The memory 1001 and the processor 1002 may also be integrated together and implemented by hardware. The memory 1001 is used to store program instructions, and the processor 1002 calls the program instructions to execute the technical solution executed by the slave node or the technical solution executed by the master node in any of the above method embodiments.

[0164] Optionally, when part or all of the methods of the above embodiments are implemented by software, the electronic device 1000 may also include only a processor 1002. The memory 1001 for storing programs is located outside the electronic device 1000, and the processor 1002 is connected to the memory through circuits / wires to read and execute the programs stored in the memory. The processor 1002 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and a NP. The processor 1002 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0165] The memory 1001 may include a volatile memory, such as a random-access memory (RAM); the memory may also include a non-volatile memory, such as a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory may also include a combination of the above types of memory.

[0166] Illustratively, an embodiment of the present application provides a chip system, the chip system comprising: a processor; the processor is used to execute the technical solution executed by the target slave node in any of the above method embodiments, or the technical solution executed by the master node.

[0167] Exemplarily, an embodiment of the present application provides a readable storage medium on which computer program instructions are stored. The computer program instructions are executed by a processor of an electronic device so that the electronic device executes the technical solution executed by the target slave node in any of the above method embodiments, or the technical solution executed by the master node.

[0168] Exemplarily, an embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device executes the technical solution executed by the target slave node in any of the above method embodiments, or the technical solution executed by the master node.

[0169] For example, the present application provides an electric energy meter, the structure of which is shown in FIG. Figure 1 The master node in the embodiment is used to execute the technical solution executed by the master node in any of the above method embodiments.

[0170] For example, the present application provides an electric energy meter, the structure of which is shown in FIG. Figure 1 The slave node in the embodiment is used to execute the technical solution executed by the target slave node in any of the above method embodiments.

[0171] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0172] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A clock synchronization method based on HDC broadband carrier, characterized in that: The method is applied to a target slave node in an electric energy meter network, wherein the electric energy meter network includes a master node and at least one slave node, wherein the at least one slave node includes the target slave node to be clock synchronized, wherein both the target slave node and the master node support a high-speed power line carrier (HPLC) wired transmission mode, wherein the target slave node supports a microwave power wireless (HRF) wireless reception mode, and wherein the master node supports an HRF wireless transmission mode; and wherein the method comprises: In the HPLC wired transmission mode, the target slave node receives first clock signals from N wired transmission paths respectively, where N is a positive integer; wherein each of the first clock signals carries a first clock reading; in the case where the nodes on the wired transmission path transparently transmit the clock signal sent by the master node, the first clock reading is the clock reading of the master clock set in the master node at the time when the first clock signal is sent; in the case where the nodes on the wired transmission path non-transparently transmit the clock signal sent by the master node, the first clock reading is the clock reading of the clock of the first node at the time when the first clock signal is sent, the first node is the previous slave node adjacent to the target slave node on the signal transmission path, and the first clock signal is generated and sent by the first node when the clock of the first node is successfully synchronized with the clock of the master node; The target slave node performs a first clock synchronization operation based on the first clock readings respectively carried by the N first clock signals, so as to synchronize the slave clock of the target slave node with the master clock of the master node; The target slave node receives the second clock signal sent by the master node in the HRF wireless receiving mode, and determines the target wireless transmission delay between the master node and the target slave node based on the second clock reading carried by the second clock signal; the second clock reading is the clock reading corresponding to the master clock set in the master node at the time of sending the second clock signal; In the HRF wireless receiving mode, the target slave node receives the third clock signal sent by the master node, and performs a second clock synchronization operation based on the third clock reading carried by the third clock signal and the target wireless transmission delay, so that the slave clock of the target slave node is synchronized with the master clock of the master node; wherein the third clock reading is the clock reading corresponding to the master clock set in the master node at the time of sending the third clock signal.

2. The method according to claim 1, characterized in that The target slave node performs a first clock synchronization operation based on first clock readings respectively carried by the N first clock signals, including: The target slave node extracts first clock reading information respectively carried by N first clock signals; For each of the first clock signals, a first wired transmission delay corresponding to the first clock signal is measured according to the first clock reading information carried by the first clock signal and the reception time of the first clock signal; when the nodes on the wired transmission path transparently transmit the clock signal sent by the master node, the first wired transmission delay is the total wired transmission delay between the master node and the target slave node; when the nodes on the wired transmission path non-transparently transmit the clock signal sent by the master node, the first wired transmission delay is the wired transmission delay between the first node and the target slave node; Determining a first alignment time corresponding to the first clock signal according to a reception time of the first clock signal and the first wired transmission delay; According to the first alignment moments respectively corresponding to the N first clock signals and the first clock readings respectively carried by the N first clock signals, the slave clock in the target slave node is adjusted to complete the first clock synchronization operation.

3. The method according to claim 2, characterized in that When the nodes on the wired transmission path transmit the clock signal transparently, the N first clock readings are the same; and adjusting the slave clock in the target slave node according to the first alignment moments respectively corresponding to the N first clock signals and the first clock readings respectively carried by the N first clock signals to complete the first clock synchronization operation, including: Determine a central moment of N of the first alignment moments; According to the time difference between the central time and the first clock reading, the slave clock of the target slave node is adjusted to complete the first clock synchronization operation.

4. The method according to claim 2, characterized in that: In the case where the nodes on the wired transmission path perform non-transparent transmission of the clock signal, the N first clock readings are not completely the same; adjusting the slave clock in the target slave node according to the first alignment moments respectively corresponding to the N first clock signals and the first clock readings respectively carried by the N first clock signals to complete the first clock synchronization operation, including: Obtaining N slave clock readings corresponding to a preset time according to the first alignment time corresponding to the N first clock signals and the first clock readings respectively carried by the N first clock signals; the N slave clock readings correspond one-to-one to the N first clock signals; adjusting the slave clock of the target slave node according to an average value of the N slave clock readings and a time difference between the N slave clock readings to complete the first clock synchronization operation; or, Obtaining N slave clock adjustment amplitudes according to first alignment moments corresponding to the N first clock signals and first clock readings respectively carried by the N first clock signals; The slave clock of the target slave node is adjusted according to the average value of the adjustment amplitudes of the N slave clocks to complete the first clock synchronization operation.

5. The method according to claim 1, characterized in that Determining a target wireless transmission delay between the master node and the slave node based on a second clock reading carried by the second clock signal includes: The difference between the second clock reading and the reception time of the second clock signal is determined as the target wireless transmission delay.

6. The method according to claim 1, characterized in that The master node periodically sends the third clock signal; the target slave node periodically receives the third clock signal.

7. The method according to claim 6, characterized in that The sending period of the third clock signal is related to the drift speed of the crystal oscillator in the master node and the operating temperature of the master node; or, the sending period of the third clock signal is pre-configured by the user.

8. A clock synchronization method based on HDC broadband carrier, characterized in that: A master node applied to an electric energy meter network, the electric energy meter network comprising the master node and at least one slave node, the at least one slave node comprising a target slave node to be clock synchronized, the target slave node and the master node both supporting a high-speed power line carrier (HPLC) wired transmission mode, the target slave node supporting a microwave power wireless (HRF) wireless receiving mode, and the master node supporting an HRF wireless transmission mode; the method comprising: In the HPLC wired transmission mode, the master node sends a clock signal to the target slave node through N wired transmission paths, so that the target slave node performs a first clock synchronization operation according to the first clock readings carried by the received N first clock signals, and synchronizes the slave clock of the target slave node with the master clock of the master node, where N is a positive integer; wherein, when the nodes on the wired transmission path transparently transmit the clock signal sent by the master node, the first clock signal is the clock signal sent by the master node, and the first clock reading is the clock reading of the master clock set in the master node at the time of sending the first clock signal; when the nodes on the wired transmission path non-transparently transmit the clock signal sent by the master node, the first clock reading is the clock reading of the clock of the first node at the time of sending the first clock signal, the first node is the previous slave node adjacent to the target slave node on the signal transmission path, and the first clock signal is regenerated and sent by the first node when the clock of the first node is successfully synchronized with the clock of the master node; The master node sends a second clock signal to the target slave node in the HRF wireless transmission mode, so that the target slave node determines the target wireless transmission delay between the master node and the slave node based on a second clock reading carried by the second clock signal; the second clock reading is a clock reading corresponding to the master clock set in the master node at the time of sending the second clock signal; In the HRF wireless transmission mode, the master node sends a third clock signal to the target slave node, so that the target slave node performs a second clock synchronization operation based on the third clock reading carried by the third clock signal and the target wireless transmission delay, and synchronizes the slave clock of the target slave node with the master clock of the master node; wherein the third clock reading is the clock reading corresponding to the master clock set in the master node at the time of sending the third clock signal.

9. The method according to claim 8, characterized in that The master node periodically sends the third clock signal; the target slave node periodically receives the third clock signal.

10. The method according to claim 9, characterized in that The sending period of the third clock signal is related to the drift speed of the crystal oscillator in the master node and the operating temperature of the master node; or, the sending period of the third clock signal is pre-configured by the user.

11. An electronic device, characterized in that: include: Memory and processor; The memory is configured to store computer program instructions; The processor is configured to execute the computer program instructions so that the electronic device performs the method according to any one of claims 1 to 7, or is configured to perform the method according to any one of claims 8 to 10.

12. An electric energy meter network, characterized in that: include: A master node and at least one slave node; The master node includes a first high-speed power line carrier HPLC communication module, and the master node is connected to the power line through the first HPLC communication module, so that the master node supports the HPLC wired transmission mode; and the master node includes a microwave power wireless HRF transmission module, so that the master node supports the HRF wireless transmission mode; Any of the slave nodes includes a second HPLC communication module, and the slave node is connected to the power line through the second HPLC communication module, so that the slave node supports the HPLC wired transmission mode; and the slave node includes an HRF receiving module, so that the slave node supports the HRF wireless receiving mode; Wherein, the slave node to be clock synchronized is used to execute the method described in any one of claims 1 to 7; The master node is used to execute the method described in any one of claims 8 to 10.