Method and device for determining secure transmission route of network time synchronization message

By dynamically updating the sub-link security parameters and signal-to-noise ratio in the routing table, the optimal transmission route for network time synchronization messages is determined, solving the problem of message transmission security when attackers exist in the network, and achieving efficient and flexible Routing and exception location.

CN115883443BActive Publication Date: 2024-10-15Chinese People's Liberation Army Cyberspace Force Information Engineering University
View PDF 15 Cites 0 Cited by

Patent Information

Application Number
CN202211665095.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-22
Publication Date
2024-10-15
Estimated Expiration
2042-12-22

AI Technical Summary

Technical Problem

In the network, existing routing algorithms cannot effectively ensure the security of network time synchronization message transmission, especially in the presence of attackers.

Method used

By obtaining the sub-links of all candidate physical links between the sending end and the legal receiving end, dynamically updating the sub-link security parameters and signal-to-noise ratio in the routing table, and determining the best value based on the preset security and signal-to-noise ratio thresholds. Optimize routing, and update routing information through training signal interaction and abnormal situation analysis to ensure the safe transmission of network time synchronization messages.

Benefits of technology

It improves the security and reliability of network time synchronization message transmission. It can prioritize safe routes in attack scenarios and locate abnormal sub-links, providing clues for attackers to investigate, reducing processing delays and minimizing the impact on time synchronization accuracy. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115883443B_ABST
    Figure CN115883443B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for determining a secure transmission route of a network time synchronization message, comprising: a sending end obtains all sub-links involved in all possible physical links between each legal receiving end corresponding to the network time synchronization message transmission of this node; obtains a route set corresponding to each legal receiving end recorded in a routing table of the sending end, and based on the route set between the sending end and the legal receiving end, controls the sending end to perform message interaction of the network time synchronization message with the legal receiving end based on the best route in the route set. The present invention can determine the best route based on the security and reliability of the sub-link, and improves the security of the network time synchronization message transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method and device for determining a network time synchronization message secure transmission route. Background Art

[0002] Routing is the process of finding the best path for data transmission in a network. Routing has two basic actions, namely determining the best route and transmitting data through the network. In the entire routing process, the latter is also called data exchange. Relatively speaking, the exchange process is relatively simple, while the process of selecting the best path is relatively complex.

[0003] In actual application, a specific routing algorithm is used to find the best route to the destination. The parameters considered for the best route include the number of hops, delay, and transmission communication time. According to different characteristics, routing algorithms can be divided into static routing algorithms and dynamic routing algorithms. Static routing algorithms are table mappings established by users or network administrators before starting routing. Typical algorithms include Dijkstra algorithm and diffusion method. Dynamic routing algorithms are routers that automatically establish routing tables and can make timely adjustments based on changes in actual conditions. Dynamic routing algorithms can be supplemented with static routing in appropriate places. Typical algorithms include distance vector routing algorithms and link state shortest route optimization algorithms SPF.

[0004] However, there may be one or more external or internal attackers in the network. For example, there may be too many attackers during the transmission of network time synchronization messages. The routing determined based on the above routing algorithm cannot guarantee the security of message transmission during the transmission of network time synchronization messages. Summary of the invention

[0005] In view of the above problems, the present invention provides a method and device for determining a secure transmission route for a network time synchronization message, thereby improving the security of the network time synchronization message transmission.

[0006] In order to achieve the above object, the present invention provides the following technical solutions:

[0007] A method for determining a secure transmission route of a network time synchronization message, applied to a sending end, comprising:

[0008] Obtain all sub-links involved in all candidate physical links between a sending end and each legal receiving end corresponding to the transmission of a network time synchronization message, wherein the sending end represents one of the time servers, master clocks or boundary clocks at all levels of the network time synchronization system, and the legal receiving end represents each legal terminal receiving the network time synchronization service in the network time synchronization system;

[0009] Obtaining a set of routes corresponding to each of the legal receiving ends recorded in the routing table of the sending end, wherein the routing table is a sub-link security parameter dynamically updated based on abnormal conditions of training signal interaction and network time synchronization message interaction between the sending end and each of the legal receiving ends, a sub-link signal-to-noise ratio dynamically updated based on periodic measurement, a principle for determining the best route, and a routing information table determined by a preset total security parameter threshold and a total signal-to-noise ratio threshold, and the routing table is composed of a set of routes corresponding to each legal receiving end;

[0010] Based on the route set between the sending end and the legal receiving end, the sending end is controlled to perform message interaction of the network time synchronization message with the legal receiving end based on the best route in the route set.

[0011] Optionally, the method further comprises:

[0012] The sending end obtains all sub-links involved in all candidate physical links between all legal receiving ends corresponding to the network time synchronization message transmission of this node;

[0013] Determine the security parameters of each sub-link and establish a sub-link security parameter data table;

[0014] Based on the signal-to-noise ratio of each sub-link, a sub-link signal-to-noise ratio data table is established.

[0015] Optionally, the method further comprises:

[0016] The transmitting end generates a training signal, wherein the training signal is a signal obtained by performing Polar encoding and OFDM-IM modulation on a predetermined binary training sequence;

[0017] The sending end determines the best route to each of the receiving ends according to the determination principle of the best route;

[0018] The transmitting end transmits the training signal to each of the legal receiving ends according to the optimal route and receives a return signal, wherein the return signal is a signal that each of the legal receiving ends directly returns the received training signal to the transmitting end, and the receiving state information of each receiving end receiving the training signal is obtained according to the return signal;

[0019] Perform statistical analysis based on the receiving state information corresponding to all the legal receiving ends, and update the sub-link security parameter data table;

[0020] Based on the updated sub-link security parameter data table and the sub-link signal-to-noise ratio data table, the best route to each legal receiving end is re-determined.

[0021] Optionally, the receiving state information includes that the receiving end receives a training signal, that the receiving end does not receive a training signal, and that the receiving end receives an illegal training signal; wherein the performing statistical analysis based on the receiving state information corresponding to all the legal receiving ends and updating the sub-link security parameter data table includes:

[0022] If the legitimate receiving end receives the training signal, the security parameter of each sub-link involved in the best route corresponding to the legitimate receiving end is increased by a specific value, and the updated sub-link security parameter corresponding to the legitimate receiving end is temporarily stored;

[0023] If the legitimate receiving end does not receive the training signal, reducing the security parameter of each sub-link involved in the best route of the legitimate receiving end by a specific value, and temporarily storing the updated sub-link security parameter corresponding to the legitimate receiving end;

[0024] If the legal receiving end receives an illegal training signal, the frequency spectrum of each cluster of the sub-block corresponding to the return signal is analyzed to obtain a normal cluster and an abnormal cluster;

[0025] Decrease the security parameter of the sub-link corresponding to the abnormal cluster by a specific value, increase the security parameter of the sub-link corresponding to the normal cluster by a specific value, and temporarily store the updated sub-link security parameter corresponding to the legal receiving end;

[0026] The sending end performs statistical analysis on the temporarily stored updated sub-link security parameters corresponding to all legal receiving ends obtained in one interaction to obtain statistical results;

[0027] If the statistical result meets the preset update condition, update the security parameter of the sub-link corresponding to the statistical result;

[0028] If the statistical result does not meet the preset update condition, the original security parameter of the sub-link is maintained.

[0029] Optionally, the method further comprises:

[0030] In response to repeatedly executing the training interaction process, updating the sub-link security parameter data table, and determining a candidate route based on the sub-link security parameter data table and the security parameter threshold, and the sub-link signal-to-noise ratio data table and the signal-to-noise ratio threshold;

[0031] Determine the best route and two backup routes based on the cross relationship between each of the candidate routes;

[0032] Based on the optimal route and the backup route, a route set corresponding to each legal receiving end is generated.

[0033] Optionally, the route set includes at least an optimal route and a backup route, wherein the controlling the sending end to perform message interaction of the network time synchronization message with the legitimate receiving end based on the optimal route in the route set includes:

[0034] Based on the optimal route, controlling the sending end to perform message interaction of the network time synchronization message with the legitimate receiving end based on the optimal route in the route set;

[0035] If the network time synchronization message is transmitted based on the optimal route, and the legitimate receiving end or the sending end receives abnormally, an abnormal sub-link is detected, and the current optimal route is deleted from the route set;

[0036] A backup route that does not include the abnormal sub-link in the backup routes is determined as a new optimal route, so that the sending end is controlled to perform message interaction of the network time synchronization message with the legal receiving end based on the new optimal route.

[0037] Optionally, the method further comprises:

[0038] If there is a reception anomaly, the transmitting end updates the abnormal sub-link security parameter corresponding to the legal receiving end and temporarily stores it, and the reception anomaly includes the reception anomaly of the legal receiving end or the transmitting end;

[0039] Based on a preset sub-link security parameter update period, statistics are collected on abnormal sub-link security parameters corresponding to each of the legal receiving ends temporarily stored within a specific period to obtain statistical results;

[0040] Update the security parameters of the corresponding sub-link according to the statistical results to obtain a new sub-link security parameter data table;

[0041] Based on the latest sub-link security parameter data table and the latest sub-link signal-to-noise ratio data table, determine a new backup route for a legitimate receiving end whose number of backup routes in the route set is less than a preset parameter threshold, so that the legitimate receiving end obtains the new backup route;

[0042] When the security parameter of the sub-link meets a predetermined threshold condition, the sending end generates warning information, and the warning information is used to prompt the network management object to check for attackers in the sub-link.

[0043] A device for determining a secure transmission route of a network time synchronization message, applied to a sending end, comprising:

[0044] A first acquisition unit is used to obtain all sub-links involved in all candidate physical links between a sending end and each legal receiving end corresponding to the transmission of a network time synchronization message, wherein the sending end represents one of the time servers, master clocks or boundary clocks at various levels of the network time synchronization system, and the legal receiving end represents each legal terminal receiving the network time synchronization service in the network time synchronization system;

[0045] A second acquisition unit is used to acquire a set of routes corresponding to each of the legal receiving ends recorded in the routing table of the sending end, wherein the routing table is a sub-link security parameter dynamically updated based on abnormal conditions of training signal interaction and network time synchronization message interaction between the sending end and each of the legal receiving ends, a sub-link signal-to-noise ratio dynamically updated based on periodic measurement, a principle for determining the best route, and a routing information table determined by a preset total security parameter threshold and a total signal-to-noise ratio threshold, and the routing table is composed of a set of routes corresponding to each legal receiving end;

[0046] A route determination unit is used to control the sending end to perform message interaction of the network time synchronization message with the legal receiving end based on the best route in the route set based on the route set between the sending end and the legal receiving end.

[0047] A storage medium stores executable instructions, which, when executed by a processor, implement a method for determining a secure transmission route for a network time synchronization message as described in any one of the above.

[0048] An electronic device, comprising:

[0049] Memory, used to store programs;

[0050] The processor is used to execute the program, wherein the program is specifically used to implement the method for determining the secure transmission route of the network time synchronization message as described in any one of the above items.

[0051] Compared with the prior art, the present invention provides a method and device for determining the secure transmission route of a network time synchronization message, including: a sending end obtains all sub-links involved in all possible physical links between each legal receiving end corresponding to the network time synchronization message transmission of this node; obtains the route set corresponding to each legal receiving end recorded in the routing table of the sending end, and based on the route set between the sending end and the legal receiving end, controls the sending end to perform message interaction of the network time synchronization message with the legal receiving end based on the best route in the route set. The present invention can determine the best route based on the security and reliability of the sub-link, and improves the security of the network time synchronization message transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0053] Figure 1 A schematic diagram of a flow chart of a method for determining a secure transmission route of a network time synchronization message provided by an embodiment of the present invention;

[0054] Figure 2 A schematic diagram of the structure of a device for determining a secure transmission route for a network time synchronization message provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0055] 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.

[0056] The terms "first" and "second" and the like in the specification and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may include steps or units that are not listed.

[0057] In an embodiment of the present invention, a method for determining a network time synchronization message secure transmission route is provided. Figure 1 The method can be applied at the sending end and includes the following steps:

[0058] S101: Obtain all sub-links involved in all candidate physical links between a sending end corresponding to a network time synchronization message transmission and each legal receiving end.

[0059] Among them, the candidate physical links are all physical links that can transmit messages between the sending end and each legal receiving end, that is, the candidate physical links only consider the ability to transmit messages, and temporarily do not consider the performance of each sub-link and other issues. The sending end refers to the time servers (NTP system) / master clocks at all levels and boundary clocks (PTP system) at all levels of the network time synchronization system. The legal receiving end refers to the legal terminals that receive network time synchronization services in the network time synchronization system. Network time synchronization is achieved through the interaction of network time synchronization messages between the sending end and the legal receiving end.

[0060] In a network environment, the physical link from the sender to the legitimate receiver is composed of several sub-links (for example, switching devices such as switches, routers, and repeaters in the network, the links from the sender to the switching device, the switching device to the switching device, and the switching device to the receiver are all sub-links).

[0061] S102: Obtain a routing set corresponding to each of the legal receiving ends recorded in the routing table of the sending end.

[0062] The routing table is a sub-link security parameter dynamically updated based on abnormal conditions of training signal interaction and network time synchronization message interaction between the transmitter and each of the legal receiving ends, a sub-link signal-to-noise ratio dynamically updated based on periodic measurement, a principle for determining the best route, a routing information table determined by a preset total security parameter threshold and a total signal-to-noise ratio threshold, and the routing table is composed of a routing set corresponding to each legal receiving end. Among them, priority is given to the maximum total security parameter, and on this basis, the principle of channel quality priority is considered.

[0063] S103: Based on the route set between the sending end and the legitimate receiving end, control the sending end to perform message interaction of the network time synchronization message with the legitimate receiving end based on the best route in the route set.

[0064] Specifically, the routing table is a routing information table determined based on the sub-link security parameters dynamically updated by the training signal interaction between the transmitting end and each receiving end and the abnormal interaction of the network time synchronization message, based on the sub-link signal-to-noise ratio dynamically updated by periodic measurement, based on the maximum priority of the total security parameter, taking into account the channel quality principle, and based on the preset total security parameter threshold and total signal-to-noise ratio threshold. The routing information table is composed of a routing set corresponding to each legal receiving end.

[0065] It should be noted that, in the embodiment of the present invention, the route set and the best route are dynamically updated according to abnormal conditions in the message interaction process.

[0066] That is, in the embodiment of the present invention, a routing table is generated by pre-training, and each route in each routing set constituting the routing table is mainly determined based on the security parameters and transmission quality parameters of the sub-link, wherein the method further includes: the sending end obtains all sub-links involved in all candidate physical links between each legal receiving end corresponding to the transmission of the network time synchronization message of this node; determines the security parameters of each of the sub-links, and establishes a sub-link security parameter data table; and establishes a sub-link signal-to-noise ratio data table based on the signal-to-noise ratio of each of the sub-links.

[0067] For example, the sub-link coding set Γ in the network is initially defined as {1,2,…,Μ max}, where M max The sub-link security parameter A is defined as the total number of sub-links in the network. j (j∈Γ), set A j The maximum value A jmax Set A to be the number of channel simulation systems deployed on the sub-link. j The minimum value of A is 0. j The initial value A j0 Set to A jmax / 2. Among them, a number of frequency selective channel simulation systems are pre-deployed on all physical sub-links in the network, that is, the channel simulation system is a system that can control the frequency selectivity of the transmission signal, so as to control the equivalent signal-to-noise ratio, so that the equivalent signal-to-noise ratio of the data symbols (OFDM data) carried by the active sub-carriers of the OFDM-IM signal from the illegal wiring channel is reasonably degraded, while the OFDM-IM signal from the legal main channel is basically not affected by the channel distortion. When the system is initialized, the initial value of the security parameters of each sub-link is broadcast, and the time servers (NTP system) / master clocks at all levels of the system and the boundary clocks (PTP system) at all levels establish sub-link security parameter data tables. Define the sub-link transmission quality parameter Q j (j∈Γ), Q j Equal to the sub-link signal-to-noise ratio, i.e. Q j =SRN j The system periodically measures the signal-to-noise ratio of each sublink and broadcasts the updated SNR. j (j∈Γ) data, the system time servers (NTP system) / master clocks at all levels and boundary clocks (PTP system) at all levels update the sub-link signal-to-noise ratio data table stored locally based on this.

[0068] The process of determining the secure transmission route of the network time synchronization message in the embodiment of the present invention includes a training process and an application process.

[0069] In one implementation of the embodiment of the present invention, the training process includes: the transmitting end generates a training signal, the training signal is a signal obtained by performing Polar encoding and OFDM-IM modulation on a predetermined binary training sequence; the transmitting end determines the best route to each of the receiving ends according to the principle of determining the best route; wherein, priority is given to the maximum total security parameter, and on this basis, the principle of optimal channel quality is considered; the transmitting end transmits the training signal to each legal receiving end according to the best route and receives a return signal, the return signal is a signal that each legal receiving end directly returns the received training signal to the transmitting end, and the receiving state information of each receiving end receiving the training signal is obtained according to the return signal; statistical analysis is performed based on the receiving state information corresponding to all the legal receiving ends, and the sub-link security parameter data table is updated; based on the updated sub-link security parameter data table and the sub-link signal-to-noise ratio data table, the best route to each legal receiving end is re-determined.

[0070] Further, the receiving status information includes whether the receiving end has received a training signal, whether the receiving end has not received a training signal, and whether the receiving end has received an illegal training signal; wherein, the statistical analysis based on the receiving status information corresponding to all the legal receiving ends and updating the sub-link security parameter data table include: if the legal receiving end receives a training signal, increasing the security parameter of each sub-link involved in the best route corresponding to the legal receiving end by a specific value, and temporarily storing the updated sub-link security parameter corresponding to the legal receiving end; if the legal receiving end does not receive a training signal, reducing the security parameter of each sub-link involved in the best route corresponding to the legal receiving end by a specific value, and temporarily storing the updated sub-link security parameter corresponding to the legal receiving end. Updated sublink security parameters; if the legal receiving end receives an illegal training signal, analyze the spectrum of each cluster of the sub-block corresponding to the return signal to obtain a normal cluster and an abnormal cluster; reduce the security parameters of the sublink corresponding to the abnormal cluster by a specific value, increase the security parameters of the sublink corresponding to the normal cluster by a specific value, and temporarily store the updated sublink security parameters corresponding to the legal receiving end; the sending end counts the temporarily stored updated sublink security parameters corresponding to all legal receiving ends obtained in one interaction to obtain a statistical result; if the statistical result meets the preset update condition, update the security parameters of the sublink corresponding to the statistical result; if the statistical result does not meet the preset update condition, maintain the original security parameters of the sublink. For example, for the same sublink, if 80% or more of the temporarily stored updated sublink security parameters are consistent, the security parameters of the sublink are updated accordingly; if the statistical result does not reach 80%, the original security parameters are maintained. Among them, the specific value can be determined based on the actual application scenario, for example, it can be 1.

[0071] Correspondingly, the above training interaction process is repeated to continuously update the sub-link security parameter data table. Based on the sub-link security parameter data table and security parameter threshold, as well as the sub-link signal-to-noise ratio data table and signal-to-noise ratio threshold, candidate routes are determined; based on the cross-relationship between each of the candidate routes, the best route and two backup routes are determined; based on the best route and the backup routes, a route set corresponding to each legal receiving end is generated.

[0072] The training process can be completed in advance before actual application, for example, during system initialization, or initiated by the system administrator when necessary. The training process is carried out by time servers (NTP system) / master clocks at all levels and boundary clocks (PTP system) at all levels as transmitters. Each transmitter sends a training signal to each linked service terminal (legal receiver) in the form of a broadcast. The training signal is an OFDM-IM signal compiled and modulated for the network time synchronization message, but the training signal does not modulate the time synchronization message, only the training sequence (such as a binary sequence, which can be predetermined to ensure the uniformity of the entire system) is modulated.

[0073] During the training process, the training goal is to achieve that each sender determines the best route based on the maximum priority of the total security parameter and the principle of channel quality. i The sub-link encoding set of the best route can be defined as:

[0074]

[0075] Among them, Λ i From a certain sender to a legitimate receiver R i The sub-link code set corresponding to all possible routes of A In order to only consider the sub-link code set corresponding to all possible routes selected by the principle of maximum total security parameter, the definitions of other symbols are the same as above. Since the training process of each sender is the same, only one sender is used as an example below.

[0076] The best route is determined by obtaining the correct and secure network time synchronization message transmission scenario. The sender sends the training signal to the legitimate receiver R i , requiring that the number of channel simulation systems enabled by each link in the optimal route should not be less than 50% of the total number. Correspondingly, the legal receiving end R i The signal reception situation can be divided into the following two types:

[0077] (1) An OFDM-IM signal is received. In this case, R iThe signal is not processed in any way and is directly returned to the sender via the original route (reverse link). The signal structure and security transmission algorithm remain unchanged, and the routing information is extracted from the IM data, which is opposite to the forward link.

[0078] (2) OFDM-IM signals cannot be received. In this case, signals cannot be returned to the transmitter.

[0079] The sending end receives the return signal of each legal receiving end, and the legal receiving end R i For example, according to the actual application reception situation, it can be divided into the following three types:

[0080] (1) The OFDM-IM signal cannot be received. If the return signal is not received within the preset time limit, the transmission is considered to have failed. In this case, the security parameters of all sub-links are Subtract 1 from R i The sub-link security parameter updated by the return signal is recorded as Temporary Storage

[0081] (2) A normal OFDM-IM signal is received. In this case, the security parameters of all sub-links are Add 1 to each and save temporarily

[0082] (3) An illegal OFDM-IM signal is received. In this case, the spectrum of each cluster of the sub-block corresponding to the received OFDM-IM signal is analyzed to determine the normal cluster (the sub-carrier corresponding to the normal cluster is flat fading) and the abnormal cluster (the sub-carrier corresponding to the abnormal cluster has obvious frequency selective fading). The security parameters of the sub-link corresponding to the abnormal cluster are calculated based on the IM data of each cluster. Minus 1, the security parameter of the sub-link corresponding to the normal cluster Add 1, save temporarily

[0083] The sender receives all the According to the statistical results, update the sub-link security parameter data table: for the same sub-link, if 80% or more of the training results (for different terminals corresponding to the same sub-link) are j,Ri If the statistical training results are consistent (the original security parameters are increased by 1 or decreased by 1), the security parameters of the sub-link are updated accordingly; if the statistical training results do not reach 80%, the original security parameters are maintained.

[0084] After the training process, three routes are obtained, one of which is the best route and the other two are used as backup routes. The system time servers (NTP system) / master clocks at all levels and boundary clocks (PTP system) at all levels establish routing tables based on this.

[0085] The system's time servers (NTP system) / master clocks and boundary clocks (PTP system) at all levels inform each service terminal of the three determined routes through notification signals. The notification signal is still an OFDM-IM signal (the OFDM-IM signal is a signal after processing the network time synchronization message based on Polar coding, channel simulation system and OFDM-IM modulation). The active subcarriers of the first three clusters of the corresponding subblock of the signal carry the best route and two backup route data (binary sublink numbers arranged in order of experience), and the active subcarriers of the remaining clusters modulate all-1 or all-zero sequences. Each terminal receives the notification signal, and after demodulation, obtains the best route and backup route corresponding to the time server / master clock / boundary clock, and establishes a terminal-side routing table based on this. At this point, the training process ends.

[0086] After the training is completed, the application process is entered. During application, a route set corresponding to each legal receiving end can be obtained based on the pre-trained routing table, and the route set includes at least an optimal route and a backup route, wherein the control of the sending end to perform message interaction of the network time synchronization message with the legal receiving end based on the optimal route in the route set includes:

[0087] Based on the optimal route, controlling the sending end to perform message interaction of the network time synchronization message with the legitimate receiving end based on the optimal route in the route set;

[0088] If the network time synchronization message is transmitted based on the optimal route, the legitimate receiving end or the sending end receives an abnormality, detects an abnormal sub-link, and deletes the current optimal route from the route set; the backup route that does not include the abnormal sub-link in the backup route is determined as the new optimal route, so that the sending end is controlled to perform message exchange of the network time synchronization message with the legitimate receiving end based on the new optimal route in the route set.

[0089] Furthermore, in actual application, if there is a reception anomaly, the transmitting end updates the abnormal sub-link security parameters of the corresponding legal receiving end and temporarily stores them, and the reception anomaly includes the reception anomaly of the legal receiving end or the transmitting end; based on a pre-set sub-link security parameter update period, the abnormal sub-link security parameters corresponding to each of the legal receiving ends temporarily stored within a specific period are counted to obtain statistical results; according to the statistical results, the security parameters of the corresponding sub-link are updated to obtain a new sub-link security parameter data table; based on the latest sub-link security parameter data table and the latest sub-link signal-to-noise ratio data table, a new backup route is determined for the legal receiving end whose number of backup routes in the route set is less than a preset parameter threshold, so that the legal receiving end obtains the new backup route; when the security parameters of the sub-link meet the predetermined threshold conditions, the transmitting end generates an early warning message, and the early warning message is used to prompt the network management object to check for attackers in the sub-link.

[0090] The specific period is the most recent period, and the preset parameter threshold may be 2, that is, the legal receiving end whose number of backup routes in the route set is less than 2 determines a new backup route and informs the legal receiving end. The predetermined threshold condition may be that when the security parameter of a sub-link reaches 0 or is lower than a predetermined threshold, the sending end alerts the network management object to check for attackers in the sub-link.

[0091] During the application process, the system's time servers (NTP system) / master clocks at all levels and boundary clocks (PTP system) at all levels and the terminals they serve exchange messages based on the NTP / PTP protocol, the network time synchronization physical layer security algorithm applicable to any channel environment, and the optimal route determined by the training process.

[0092] Under normal circumstances, both parties of the timing service use the best route determined by the training process to exchange messages. Under abnormal circumstances, if one party of the interaction receives an illegal OFDM-IM signal, the abnormal sub-link is determined in the same way as above. If the time server / master clock / boundary clock side receives an illegal OFDM-IM signal, the abnormal sub-link is determined and updated and temporarily stored. The backup route that does not contain the abnormal sublink is immediately enabled (as the new best route), and the original best route is deleted from the routing table. The abnormal code (predetermined, using binary code to indicate various abnormal situations) and the abnormal sublink number are modulated in the active subcarriers of the first three clusters of the subblock corresponding to the next OFDM-IM signal, and the enabled backup route is modulated in the IM data of cluster 3 and sent to the terminal, and the terminal updates the routing table; if the terminal side receives an illegal OFDM-IM signal, the abnormal sublink is determined and then the backup route that does not contain the abnormal sublink is immediately enabled (as the new best route), and the original best route is deleted from the routing table, and the abnormal code and the abnormal sublink number are modulated in the active subcarriers of the first three clusters of the next OFDM-IM signal, and the enabled backup route is modulated in the IM data of cluster 3 and sent to the time server / master clock / boundary clock, and the time server / master clock / boundary clock updates the routing table, updates and temporarily stores

[0093] In the case where the OFDM-IM signal is not received, the signal transmitter detects it by setting the time limit as described above. If the signal from the receiving end is not received before the time limit, it is determined that the OFDM-IM signal transmission has failed. In this case, when the sending end is a time server / master clock / boundary clock, A is updated and temporarily stored. j,Ri (A j,Ri =Equal to the sublink security parameter of the sublink that constitutes the original optimal route minus 1), and then immediately enable the backup route (as the new optimal route), modulate the abnormal code in the active subcarriers of the first three clusters of the subblock corresponding to the next OFDM-IM signal, and modulate the enabled backup route in the IM data of cluster 3. The terminal receives the signal and updates the routing table accordingly; when the sending end is a terminal, immediately enable the backup route (as the new optimal route), modulate the abnormal code in the active subcarriers of the first three clusters of the next OFDM-IM signal, and modulate the enabled backup route in the IM data of cluster 3 and send it to the time server / master clock / boundary clock. The time server / master clock / boundary clock updates the routing table, updates and temporarily stores it

[0094] The system time servers (NTP system) / master clocks and boundary clocks (PTP system) at all levels update the abnormal sub-links in the most recent period according to the pre-set sub-link security parameter update cycle. Perform statistics, the statistical method is the same as above, update the security parameters of the relevant sub-links according to the statistical results, and obtain a new sub-link security parameter data table. According to the latest sub-link security parameter data table and the latest sub-link signal-to-noise ratio data table, determine new routes for service terminals with less than 3 routes according to the algorithm described above, and notify the corresponding service terminals of the supplementary routes through notification signals to ensure that there are 3 determined routes for message interaction between the system time servers (NTP system) / master clocks at all levels and the boundary clocks (PTP system) at all levels and each terminal they serve.

[0095] When the security parameter of a sub-link in the system reaches 0 or is lower than a predetermined threshold, the relevant time server / master clock / boundary clock can inform the network administrator to check for attackers on the sub-link.

[0096] The method for determining the secure transmission route of network time synchronization messages provided by the present invention solves the route selection problem of secure transmission of network time synchronization messages under attack scenarios, and can give priority to the security of transmission while taking into account the reliability of transmission. It can also locate abnormal sub-links and provide clues for attackers to investigate. It has both the high efficiency of static routing and the environmental adaptability and flexibility advantages of dynamic routing. It improves routing efficiency and processing complexity, reduces processing delay, and has little impact on time synchronization accuracy.

[0097] Correspondingly, in an embodiment of the present invention, a device for determining a network time synchronization message secure transmission route is also provided, which is applied to a sending end, see Figure 2 , the device comprises:

[0098] The first acquisition unit 201 is used to obtain all sub-links involved in all candidate physical links between a sending end and each legal receiving end corresponding to the transmission of the network time synchronization message, wherein the sending end represents one of the time servers, master clocks or boundary clocks at all levels of the network time synchronization system, and the legal receiving end represents each legal terminal receiving the network time synchronization service in the network time synchronization system;

[0099] The second acquisition unit 202 is used to acquire the route set corresponding to each of the legal receiving ends recorded in the routing table of the sending end, wherein the routing table is a sub-link security parameter dynamically updated based on the abnormal situation of the training signal interaction and the network time synchronization message interaction between the sending end and each of the legal receiving ends, a sub-link signal-to-noise ratio dynamically updated based on periodic measurement, a principle for determining the best route, and a routing information table determined by a preset total security parameter threshold and a total signal-to-noise ratio threshold, and the routing table is composed of a route set corresponding to each legal receiving end;

[0100] The route determination unit 203 is used to control the sending end to perform message exchange of the network time synchronization message with the legal receiving end based on the best route in the route set based on the route set between the sending end and the legal receiving end.

[0101] An embodiment of the present invention provides a device for determining a route for secure transmission of a network time synchronization message, which is applied to a sending end and includes: a first acquisition unit that obtains all sub-links involved in all possible physical links between the sending end and each legal receiving end corresponding to the transmission of the network time synchronization message; a second acquisition unit that obtains a route set corresponding to each of the legal receiving ends recorded in the routing table of the sending end; and a route determination unit that controls the sending end to perform message interaction of the network time synchronization message with the legal receiving end based on the best route in the route set based on the route set between the sending end and the legal receiving end. The route set and the best route are dynamically updated according to abnormal conditions during the message interaction process. The present invention can determine the best route based on the security and reliability of the sub-links, thereby improving the security of the transmission of the network time synchronization message.

[0102] In one embodiment, the device further comprises:

[0103] Optionally, the method further comprises:

[0104] The first acquisition unit is used for the transmitting end to acquire all sub-links involved in all candidate physical links between all legal receiving ends corresponding to the transmission of the network time synchronization message of the node;

[0105] A first determining unit, configured to determine a security parameter of each of the sub-links and establish a sub-link security parameter data table;

[0106] The second determining unit is configured to establish a sub-link signal-to-noise ratio data table based on the signal-to-noise ratio of each sub-link.

[0107] Optionally, the device further comprises:

[0108] A signal generating unit, configured to generate a training signal at a transmitting end, wherein the training signal is a signal obtained by performing Polar coding and OFDM-IM modulation on a predetermined binary training sequence;

[0109] A third determining unit, configured for the transmitting end to determine the best route to each of the receiving ends according to the determination principle of the best route;

[0110] A transmission unit, configured for the transmitting end to transmit the training signal to each of the legal receiving ends according to the optimal route and receive a return signal, wherein the return signal is a signal that each of the legal receiving ends directly returns the received training signal to the transmitting end, and obtain reception status information of each receiving end receiving the training signal according to the return signal;

[0111] An analysis unit, configured to perform statistical analysis based on the receiving state information corresponding to all the legal receiving ends, and update the sub-link security parameter data table;

[0112] The re-determination unit is used to re-determine the best route to each legal receiving end based on the updated sub-link security parameter data table and the sub-link signal-to-noise ratio data table.

[0113] Optionally, the receiving state information includes whether the receiving end receives a training signal, whether the receiving end does not receive a training signal, and whether the receiving end receives an illegal training signal; wherein the analyzing unit is specifically configured to:

[0114] If the legitimate receiving end receives the training signal, the security parameter of each sub-link involved in the best route corresponding to the legitimate receiving end is increased by a specific value, and the updated sub-link security parameter corresponding to the legitimate receiving end is temporarily stored;

[0115] If the legitimate receiving end does not receive the training signal, reducing the security parameter of each sub-link involved in the best route of the legitimate receiving end by a specific value, and temporarily storing the updated sub-link security parameter corresponding to the legitimate receiving end;

[0116] If the legal receiving end receives an illegal training signal, the frequency spectrum of each cluster of the sub-block corresponding to the return signal is analyzed to obtain a normal cluster and an abnormal cluster;

[0117] Decrease the security parameter of the sub-link corresponding to the abnormal cluster by a specific value, increase the security parameter of the sub-link corresponding to the normal cluster by a specific value, and temporarily store the updated sub-link security parameter corresponding to the legal receiving end;

[0118] The sending end performs statistical analysis on the temporarily stored updated sub-link security parameters corresponding to all legal receiving ends obtained in one interaction to obtain statistical results;

[0119] If the statistical result meets the preset update condition, update the security parameter of the sub-link corresponding to the statistical result;

[0120] If the statistical result does not meet the preset update condition, the original security parameter of the sub-link is maintained.

[0121] Optionally, the device further includes: a routing set generating unit, configured to:

[0122] In response to repeatedly executing the training interaction process, updating the sub-link security parameter data table, and determining a candidate route based on the sub-link security parameter data table and the security parameter threshold, and the sub-link signal-to-noise ratio data table and the signal-to-noise ratio threshold;

[0123] Determine the best route and two backup routes based on the cross relationship between each of the candidate routes;

[0124] Based on the optimal route and the backup route, a route set corresponding to each legal receiving end is generated.

[0125] Optionally, the route set includes at least an optimal route and a backup route, wherein the route determination unit includes a control subunit, which is used to control the sending end to perform message interaction of the network time synchronization message with the legal receiving end based on the optimal route in the route set, and the control subunit is specifically used to:

[0126] Based on the optimal route, controlling the sending end to perform message interaction of the network time synchronization message with the legitimate receiving end based on the optimal route in the route set;

[0127] If the network time synchronization message is transmitted based on the optimal route, and the legitimate receiving end or the sending end receives abnormally, an abnormal sub-link is detected, and the current optimal route is deleted from the route set;

[0128] A backup route that does not include the abnormal sub-link in the backup routes is determined as a new optimal route, so that the sending end is controlled to perform message interaction of the network time synchronization message with the legal receiving end based on the new optimal route.

[0129] Optionally, the device further includes: an exception handling unit, configured to:

[0130] If there is a reception anomaly, the transmitting end updates the abnormal sub-link security parameter corresponding to the legal receiving end and temporarily stores it, and the reception anomaly includes the reception anomaly of the legal receiving end or the transmitting end;

[0131] Based on a preset sub-link security parameter update period, statistics are collected on abnormal sub-link security parameters corresponding to each of the legal receiving ends temporarily stored within a specific period to obtain statistical results;

[0132] Update the security parameters of the corresponding sub-link according to the statistical results to obtain a new sub-link security parameter data table;

[0133] Based on the latest sub-link security parameter data table and the latest sub-link signal-to-noise ratio data table, determine a new backup route for a legitimate receiving end whose number of backup routes in the route set is less than a preset parameter threshold, so that the legitimate receiving end obtains the new backup route;

[0134] When the security parameter of the sub-link meets a predetermined threshold condition, the sending end generates warning information, and the warning information is used to prompt the network management object to check for attackers in the sub-link.

[0135] Based on the foregoing embodiments, an embodiment of the present invention provides a storage medium, wherein the storage medium stores executable instructions, and when the instructions are executed by a processor, the method for determining a secure transmission route for a network time synchronization message as described in any one of the foregoing embodiments is implemented.

[0136] An embodiment of the present invention further provides an electronic device, including:

[0137] Memory, used to store programs;

[0138] The processor is used to execute the program, and the program is specifically used to implement the method for determining the secure transmission route of the network time synchronization message as described in any one of the above.

[0139] In addition, all functional units in the embodiments of the present application can be integrated into one processing module, or each unit can be a separate unit, or two or more units can be integrated into one unit; the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units. A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memory (ROM), random access memory (RAM), disks or optical disks, and other media that can store program codes.

[0140] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0141] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0142] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one 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 invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for determining a secure transmission route for a network time synchronization message, characterized in that: Applied to the sending end, including: Obtain all sub-links involved in all candidate physical links between a sending end and each legal receiving end corresponding to the transmission of a network time synchronization message, wherein the sending end represents one of the time servers, master clocks or boundary clocks at all levels of the network time synchronization system, and the legal receiving end represents each legal terminal receiving the network time synchronization service in the network time synchronization system; Obtaining a set of routes corresponding to each of the legal receiving ends recorded in the routing table of the sending end, wherein the routing table is determined based on a sub-link security parameter dynamically updated based on abnormal conditions of training signal interaction and network time synchronization message interaction between the sending end and each of the legal receiving ends, a sub-link signal-to-noise ratio dynamically updated based on periodic measurement, a principle for determining an optimal route, a preset total security parameter threshold and a total signal-to-noise ratio threshold, and the routing table is composed of a set of routes corresponding to each legal receiving end, and the set of routes is composed of an optimal route and a backup route between the sending end and a single legal receiving end connected thereto; Based on the route set between the sending end and the legitimate receiving end, controlling the sending end to perform message interaction of the network time synchronization message with the legitimate receiving end based on the best route in the route set; The method further comprises: The sending end obtains all sub-links involved in all candidate physical links between all legal receiving ends corresponding to the network time synchronization message transmission of this node; Determine the security parameters of each sub-link and establish a sub-link security parameter data table; Based on the signal-to-noise ratio of each sub-link, establishing a sub-link signal-to-noise ratio data table; The transmitting end generates a training signal, wherein the training signal is a signal obtained by performing Polar encoding and OFDM-IM modulation on a predetermined binary training sequence; The sending end determines the best route to each of the receiving ends according to the determination principle of the best route; The transmitting end transmits the training signal to each of the legal receiving ends according to the optimal route and receives a return signal, wherein the return signal is a signal that each of the legal receiving ends directly returns the received training signal to the transmitting end, and the receiving state information of each receiving end receiving the training signal is obtained according to the return signal; Perform statistical analysis based on the receiving state information corresponding to all the legal receiving ends, and update the sub-link security parameter data table; Based on the updated sub-link security parameter data table and the sub-link signal-to-noise ratio data table, the best route to each legal receiving end is re-determined.

2. The method according to claim 1, characterized in that The receiving state information includes whether the receiving end has received a training signal, whether the receiving end has not received a training signal, and whether the receiving end has received an illegal training signal; wherein the performing of statistical analysis based on the receiving state information corresponding to all the legal receiving ends and updating the sub-link security parameter data table includes: If the legitimate receiving end receives the training signal, the security parameter of each sub-link involved in the best route corresponding to the legitimate receiving end is increased by a specific value, and the updated sub-link security parameter corresponding to the legitimate receiving end is temporarily stored; the specific value is determined based on the actual application scenario, wherein the specific value includes 1; If the legitimate receiving end does not receive the training signal, reducing the security parameter of each sub-link involved in the best route of the legitimate receiving end by a specific value, and temporarily storing the updated sub-link security parameter corresponding to the legitimate receiving end; If the legal receiving end receives an illegal training signal, the frequency spectrum of each cluster of the sub-block corresponding to the return signal is analyzed to obtain a normal cluster and an abnormal cluster; Decrease the security parameter of the sub-link corresponding to the abnormal cluster by a specific value, increase the security parameter of the sub-link corresponding to the normal cluster by a specific value, and temporarily store the updated sub-link security parameter corresponding to the legal receiving end; The sending end performs statistical analysis on the temporarily stored updated sub-link security parameters corresponding to all legal receiving ends obtained in one interaction to obtain statistical results; If the statistical result meets the preset update condition, update the security parameter of the sub-link corresponding to the statistical result; If the statistical result does not meet the preset update condition, the original security parameter of the sub-link is maintained.

3. The method according to claim 2, characterized in that The method further comprises: In response to repeatedly executing the training interaction process, updating the sub-link security parameter data table, and determining a candidate route based on the sub-link security parameter data table and the security parameter threshold, and the sub-link signal-to-noise ratio data table and the signal-to-noise ratio threshold; Determine the best route and two backup routes based on the cross relationship between each of the candidate routes; Based on the optimal route and the backup route, a route set corresponding to each legal receiving end is generated.

4. The method according to claim 3, characterized in that The route set includes at least an optimal route and a backup route, wherein the controlling the sending end to perform message interaction of the network time synchronization message with the legitimate receiving end based on the optimal route in the route set includes: Based on the optimal route, controlling the sending end to perform message interaction of the network time synchronization message with the legitimate receiving end based on the optimal route in the route set; If the network time synchronization message is transmitted based on the optimal route, and the legitimate receiving end or the sending end receives abnormally, an abnormal sub-link is detected, and the current optimal route is deleted from the route set; A backup route that does not include the abnormal sub-link in the backup routes is determined as a new optimal route, so that the sending end is controlled to perform message interaction of the network time synchronization message with the legal receiving end based on the new optimal route.

5. The method according to claim 4, characterized in that The method further comprises: If there is a reception anomaly, the transmitting end updates the abnormal sub-link security parameter corresponding to the legal receiving end and temporarily stores it, and the reception anomaly includes the reception anomaly of the legal receiving end or the transmitting end; Based on a preset sub-link security parameter update cycle, statistics are collected on abnormal sub-link security parameters corresponding to each of the legal receiving ends temporarily stored in a most recent sub-link security parameter update cycle to obtain statistical results; Update the security parameters of the corresponding sub-link according to the statistical results to obtain a new sub-link security parameter data table; Based on the latest sub-link security parameter data table and the latest sub-link signal-to-noise ratio data table, determine a new backup route for a legitimate receiving end whose number of backup routes in the route set is less than a preset parameter threshold, so that the legitimate receiving end obtains the new backup route; When the security parameter of the sub-link meets a predetermined threshold condition, the sending end generates warning information, and the warning information is used to prompt the network management object to check for attackers in the sub-link.

6. A device for determining a secure transmission route of a network time synchronization message, characterized in that: Applied to the sending end, including: A first acquisition unit is used to obtain all sub-links involved in all candidate physical links between a sending end and each legal receiving end corresponding to the transmission of a network time synchronization message, wherein the sending end represents one of the time servers, master clocks or boundary clocks at various levels of the network time synchronization system, and the legal receiving end represents each legal terminal receiving the network time synchronization service in the network time synchronization system; A second acquisition unit is used to acquire a set of routes corresponding to each of the legal receiving ends recorded in the routing table of the sending end, wherein the routing table is determined based on a sub-link security parameter dynamically updated based on abnormal conditions of training signal interaction and network time synchronization message interaction between the sending end and each of the legal receiving ends, a sub-link signal-to-noise ratio dynamically updated based on periodic measurement, a principle for determining an optimal route, a preset total security parameter threshold and a total signal-to-noise ratio threshold, and the routing table is composed of a set of routes corresponding to each legal receiving end, and the route set is composed of an optimal route and a backup route between the sending end and a single legal receiving end connected thereto; A route determination unit, configured to control the sending end to perform message interaction of the network time synchronization message with the legal receiving end based on the best route in the route set based on the route set between the sending end and the legal receiving end; The first acquisition unit is further used to acquire, through the sending end, all sub-links involved in all candidate physical links between all legal receiving ends corresponding to the transmission of the network time synchronization message of the node; A first determining unit, configured to determine a security parameter of each of the sub-links and establish a sub-link security parameter data table; A second determining unit, configured to establish a sub-link signal-to-noise ratio data table based on the signal-to-noise ratio of each of the sub-links; A signal generating unit, configured to generate a training signal at a transmitting end, wherein the training signal is a signal obtained by performing Polar coding and OFDM-IM modulation on a predetermined binary training sequence; A third determining unit, configured for the transmitting end to determine the best route to each of the receiving ends according to the determination principle of the best route; A transmission unit, configured for the transmitting end to transmit the training signal to each of the legal receiving ends according to the optimal route and receive a return signal, wherein the return signal is a signal that each of the legal receiving ends directly returns the received training signal to the transmitting end, and obtain reception status information of each receiving end receiving the training signal according to the return signal; An analysis unit, configured to perform statistical analysis based on the receiving state information corresponding to all the legal receiving ends, and update the sub-link security parameter data table; The re-determination unit is used to re-determine the best route to each legal receiving end based on the updated sub-link security parameter data table and the sub-link signal-to-noise ratio data table.

7. A storage medium, characterized in that: The storage medium stores executable instructions, and when the instructions are executed by the processor, the method for determining the secure transmission route of the network time synchronization message according to any one of claims 1 to 5 is implemented.

8. An electronic device, characterized in that: include: Memory, used to store programs; A processor is used to execute the program, wherein the program is specifically used to implement the method for determining the secure transmission route of the network time synchronization message as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Physical Layer Security Method Applicable To Non-Orthogonal Multiple Access System

    AU2020100505A4

  • Ad hoc network security path method

    CN101110762A

  • Mobile AD Hoc network self-adapting secure routing method based on reliability

    CN102158864A

  • Safety access method based on channel prediction and user QoS

    CN106899524A

  • Network time synchronization message security transmission method and device

    CN108964910A