Time synchronization method, device and system
By calculating the time offset information from the server on the client and referring to the historical offset information during network fluctuations to determine a reasonable time synchronization update strategy, the accuracy problem of time synchronization in the prior art during network fluctuations is solved, and more stable time synchronization is achieved.
Patent Information
- Application Number
- CN202411162825.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2044-08-23
AI Technical Summary
The prior art is difficult to maintain the accuracy of time synchronization when network fluctuations, resulting in the possibility of jumping in client time display and the inability to accurately and stably synchronize.
By receiving time synchronization instructions, the time offset information with the server is calculated. When determining that the time offset information is abnormal, the historical time offset information is obtained and the reference time offset interval is determined. The current time of the client is updated only when the time offset information satisfies the reference time offset interval.
It effectively reduces time abnormalities and jump problems caused by network fluctuations, and enhances the coherence and stability of system time.
Smart Images

Figure CN118694464B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a time synchronization method, a time synchronization device and system, a computing device, a computer-readable storage medium, and a computer program product. Background Art
[0002] In the development of computer network technology, many operations need to be coordinated. If you want to achieve coordinated operations, you need to have an accurate time synchronization foundation. Network Time Protocol (NTP) is an application layer protocol in the TCP / IP protocol suite, which is used to synchronize the clocks between the client and the server and provide high-precision time correction.
[0003] The NTP algorithm measures the time difference between the client and the server by sending and receiving timestamps, calculating the round-trip network delay and the time deviation between the two clocks. The client then uses the network delay and time difference to adjust the local clock to keep it synchronized with the server. In actual applications, network fluctuations may occur. When the network fluctuates, the time deviation acquisition may be inaccurate, which in turn affects the accuracy of synchronization when fine-tuning the clock, causing the client time display to jump, making it impossible to accurately and stably synchronize the time. Summary of the invention
[0004] In view of this, the embodiment of the present application provides a time synchronization method. The present application also relates to a time synchronization device and system, a computing device, a computer-readable storage medium and a computer program product to solve the above problems existing in the prior art.
[0005] According to a first aspect of an embodiment of the present application, a time synchronization method is provided, which is applied to a client and includes:
[0006] Receiving a time synchronization instruction, and calculating time offset information between the server and the server based on the time synchronization instruction;
[0007] In the case where it is determined that the time offset information is abnormal information, obtaining historical time offset information;
[0008] Determine a reference time offset interval according to the historical time offset information;
[0009] In a case where the time offset information satisfies the reference time offset interval, the current client time of the client is updated based on the time offset information.
[0010] According to a second aspect of an embodiment of the present application, a time synchronization system is provided, including a client and a server, wherein:
[0011] The client is configured to send a time synchronization message to the server based on a time synchronization instruction;
[0012] The server is configured to send a synchronization response message to the client in response to the time synchronization message;
[0013] The client is further configured to calculate the time offset information between the client and the server based on the time synchronization message and the synchronization response message; when it is determined that the time offset information is abnormal information, obtain historical time offset information; determine a reference time offset interval based on the historical time offset information; and when the time offset information satisfies the reference time offset interval, update the current client time of the client based on the time offset information.
[0014] According to a third aspect of an embodiment of the present application, a time synchronization device is provided, which is applied to a client and includes:
[0015] A receiving module, configured to receive a time synchronization instruction, and calculate time offset information between the server and the receiving device based on the time synchronization instruction;
[0016] an acquisition module, configured to acquire historical time offset information when determining that the time offset information is abnormal information;
[0017] A determination module, configured to determine a reference time offset interval according to the historical time offset information;
[0018] An updating module is configured to update the current client time of the client based on the time offset information when the time offset information satisfies the reference time offset interval.
[0019] According to a fourth aspect of an embodiment of the present application, a computing device is provided, including:
[0020] Memory and processor;
[0021] The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions. When the computer programs / instructions are executed by the processor, the steps of the above-mentioned time synchronization method are implemented.
[0022] According to a fifth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program / instruction, and the computer program / instruction implements the steps of the above-mentioned time synchronization method when executed by a processor.
[0023] According to a sixth aspect of an embodiment of the present application, a computer program product is provided, comprising a computer program / instruction, which implements the steps of the above-mentioned time synchronization method when executed by a processor.
[0024] The time synchronization method provided in the present application is applied to a client, including receiving a time synchronization instruction, and calculating the time offset information between the client and the server based on the time synchronization instruction; when it is determined that the time offset information is abnormal information, obtaining historical time offset information; determining a reference time offset interval based on the historical time offset information; and when the time offset information satisfies the reference time offset interval, updating the current client time of the client based on the time offset information.
[0025] Through the time synchronization method provided in the embodiment of the present application, when performing time synchronization, it is determined whether the current network conditions are normal based on the time offset information. When the time offset information is abnormal information, it is further determined whether the abnormal fluctuation of the time offset information satisfies the time offset interval. When the abnormal fluctuation of the time offset information satisfies the time offset interval, time synchronization is performed. By screening the abnormal time offset information, the time jump problem caused by large time anomalies caused by network fluctuations can be reduced, thereby effectively enhancing the consistency and stability of the system time. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 is a flow chart of a time synchronization method provided by an embodiment of the present application;
[0027] Figure 2 is a schematic diagram of a time synchronization method provided by an embodiment of the present application;
[0028] Figure 3 It is a flowchart of a time synchronization method applied to a rail transit integrated monitoring system provided by an embodiment of the present application;
[0029] Figure 4 It is a structural diagram of a time synchronization device provided by an embodiment of the present application;
[0030] Figure 5 It is a structural diagram of a time synchronization system provided by an embodiment of the present application;
[0031] Figure 6 It is a structural block diagram of a computing device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0032] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.
[0033] The terms used in one or more embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present application. The singular forms of "a", "said" and "the" used in one or more embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present application refers to and includes any or all possible combinations of one or more associated listed items.
[0034] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0035] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards in the relevant regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0036] First, the terms involved in one or more embodiments of the present application are explained.
[0037] Network Time Protocol: (NTP) is an application layer protocol in the TCP / IP protocol suite, used to synchronize the clocks between the client and the server, providing high-precision time correction. The NTP algorithm measures the time difference between the client and the server by sending and receiving timestamps, calculates the round-trip time, i.e., the network delay, and determines the time deviation between the two clocks. The client then uses this information to fine-tune its own clock to keep in sync with the server, and this process is repeated to adapt to changes in network conditions.
[0038] The current NTP implementation mainly focuses on providing accurate time synchronization, and calibrates the local clock by calculating the round-trip delay and time deviation between the client and the server through UDP communication. The working principle of the NTP protocol involves exchanging timestamps between the client and the server, and calculating the precise time difference through a specific algorithm. The NTP protocol calibrates the client's clock by calculating the round-trip delay and time deviation. When faced with scenarios with unsatisfactory network conditions, the actual time will fluctuate incoherently due to network delays.
[0039] Based on this, a time synchronization method is provided in the present application. The present application also relates to a time synchronization device and system, a computing device, a computer-readable storage medium and a computer program product, which are described in detail one by one in the following embodiments.
[0040] Figure 1 A flowchart of a time synchronization method provided according to an embodiment of the present application is shown. The time synchronization method is applied to a client and specifically includes the following steps:
[0041] Step 102: Receive a time synchronization instruction, and calculate time offset information between the server and the server based on the time synchronization instruction.
[0042] In the application scenario of time synchronization, two terminals are involved, one is the client (also called the calibrated terminal) and the other is the server (also called the master clock). The method provided in this application is applied to the client to adjust the time of the client to synchronize with the server.
[0043] The time synchronization instruction can be understood as an instruction for controlling the client to perform time synchronization. The time synchronization instruction can be automatically triggered based on a certain trigger condition, for example, triggered once every fixed time period, or triggered once when performing certain specific tasks. It can also be based on instructions sent by users or other clients. In the method provided in this application, there is no limitation on the method for obtaining the time synchronization instruction, which is subject to actual application.
[0044] The time offset information can be understood as the time offset between the client and the server calculated by the time synchronization algorithm. The time synchronization method provided by the present application, based on the received time synchronization instruction, the client performs time interactive synchronization with the server and calculates the time offset information between the client and the server. Specifically, the time offset information between the client and the server is calculated based on the time synchronization instruction, including:
[0045] Sending a time synchronization message to a server in response to the time synchronization instruction, and recording a first timestamp of the time synchronization message;
[0046] Receive a synchronization response message returned by the server in response to the time synchronization message, and record a fourth timestamp of receiving the synchronization response message, wherein the synchronization response message records a second timestamp of the server receiving the time synchronization message and a third timestamp of sending the synchronization response message;
[0047] The current network delay and the current time deviation between the client and the server are calculated according to the first timestamp, the second timestamp, the third timestamp and the fourth timestamp.
[0048] In the specific implementation manner provided by the present application, the initial time offset information between the client and the server is calculated based on the time synchronization instruction and is obtained by NTP (Network Time Protocol) algorithm. NTP is a protocol for synchronizing device clocks on a computer network. Its main purpose is to ensure that each device in the network can use the same time standard to coordinate various network activities. The core function of NTP is to enable network devices to obtain highly accurate and consistent time information to ensure the synchronization of various network operations.
[0049] The architecture of NTP uses a master-slave architecture, where one or more NTP servers serve as master clock sources and other devices serve as slave clock sources. The master server is usually connected to a high-precision clock source, such as an atomic clock, to provide accurate time information. Clock hierarchy involves forming a hierarchy in the network, where devices at each level provide time information to devices in the upper level through synchronous operation. This hierarchy helps ensure that devices throughout the network receive accurate time information.
[0050] In actual applications, a client sends an NTP message (time synchronization message) to a server. The time synchronization message carries a first timestamp T1 when the client sends the time synchronization message.
[0051] When the time synchronization message arrives at the server, a second timestamp T2 indicating when the server receives the time synchronization message will be added to the time synchronization message.
[0052] The server will give a corresponding response based on the time synchronization message, that is, send a synchronization response message based on the time synchronization message, and record the third timestamp T3 of the server sending the synchronization response message. The first timestamp T1, the second timestamp T2 and the third timestamp T3 are written into the synchronization response message.
[0053] The client receives the synchronization response message, and records a fourth timestamp T4 of receiving the synchronization response message.
[0054] At this point, the first timestamp T1, the second timestamp T2, the third timestamp T3 and the fourth timestamp T4 are obtained in the client. The current network delay (Delay) and the current time offset (Offset) of the client relative to the server can be further calculated based on these four timestamps.
[0055] Specifically, referring to the following formula 1 and the following formula 2, the current network delay is calculated based on the following formula 1, and the current time deviation is calculated based on the following formula 2.
[0056] Delay = (T4 - T1) - (T3 - T2)Formula 1
[0057] Offset = ((T2-T1) + (T3-T4)) / 2Formula 2
[0058] Among them, Delay represents the current network delay of the client relative to the server, Offset represents the current time deviation of the client relative to the server, T1 is the first timestamp, T2 is the second timestamp, T3 is the third timestamp, and T4 is the fourth timestamp. The current network delay and the current time deviation can be regarded as the time offset information corresponding to the time synchronization instruction.
[0059] Step 104: When it is determined that the time offset information is abnormal information, historical time offset information is obtained.
[0060] After obtaining the time offset information, it is necessary to further determine whether the time offset information is abnormal information. In the method provided in the present application, abnormal information can be understood as abnormal conditions existing in the time offset information.
[0061] In a specific implementation manner provided in the present application, the time offset information includes the current network delay and the current time deviation. In this implementation manner, whether it is abnormal information is further determined by the current network delay. Specifically, the method further includes:
[0062] When the current network delay is greater than a preset delay threshold, determining that the time offset information is abnormal information;
[0063] When the current network delay is less than or equal to the preset delay threshold, it is determined that the time offset information is normal information.
[0064] The preset delay threshold is a delay threshold provided in the embodiment of the present application for determining whether the time offset information is abnormal. Generally, the time offset information includes the current network delay. If the current network delay is greater than the preset delay threshold, it means that the time offset information is abnormal information. If the current network delay is less than or equal to the preset delay threshold, it can be determined that the time offset information is normal information.
[0065] For example, taking the preset delay threshold of the system as 5 milliseconds, if the current network delay in the time offset information calculated in the above steps is 3 milliseconds, it means that the time offset information is normal information, and the current client time of the client can be directly updated according to the current time deviation in the time offset information. If the current network delay in the time offset information calculated in the above steps is 6 milliseconds, it means that the time offset information is abnormal information, and it is necessary to perform the operation of obtaining the historical time offset information.
[0066] The historical time offset information specifically refers to the historical time offset information corresponding to multiple time synchronization instructions before the current time synchronization instruction. For example, before the current time synchronization instruction, the time offset information corresponding to the past 10 time synchronization instructions is counted as the historical time offset information. Or the time offset information corresponding to the past 20 time synchronization instructions is counted as the historical time offset information.
[0067] In practical applications, a data structure of a preset length, such as an array or a data queue, may be set to store historical time offset information in the data structure of the preset length, and when it is determined that the time offset information corresponding to the current time synchronization instruction is abnormal information, the historical time offset information is retrieved from the data structure of the preset length.
[0068] In another specific implementation provided by the present application, obtaining historical time offset information includes:
[0069] A historical time deviation array and a historical network delay array are obtained, wherein the historical time deviation array stores a preset number of historical time deviations, and the historical network delay array stores a preset number of historical network delays.
[0070] Furthermore, the time offset information includes network delay and time deviation. Accordingly, the historical time offset information also further includes historical network delay information and historical time deviation information. At the same time, the data structure of the preset length can be divided into a network delay data structure and a time deviation data structure, in which a preset number of historical network delays are stored, and in which a preset number of historical time deviations are stored.
[0071] Taking a loop array with a data structure of length 50 as an example, a network delay loop array and a time deviation loop array are set in the system, wherein the network delay loop array stores the network delay corresponding to the past 50 time synchronization instructions, and the time deviation loop array stores the time deviation corresponding to the past 50 time synchronization instructions. The loop array stores a preset amount of information. When new data is added to the loop array, the data that enters the loop array earliest will be eliminated. In the method provided in the present application, the preset length of the data structure is an even number.
[0072] Step 106: Determine a reference time offset interval according to the historical time offset information.
[0073] The reference time offset interval can be understood as a range interval used to determine whether the time offset information is abnormal. When the time offset information is within the reference time offset interval, it can be considered that the time offset information is acceptable, and when the time offset information is outside the reference time offset interval, it is considered that the time offset information is unacceptable.
[0074] Therefore, determining the reference time offset interval is very important in the method provided in this application. In the method provided in this application, it is necessary to determine the reference time offset interval based on historical time offset information. The historical time offset information records the time offset information corresponding to the time synchronization instructions of the preset number of times in the past. Determining the reference time offset interval through the historical time offset information can better reflect the recent network status of the client more accurately.
[0075] Based on this, in another specific implementation manner provided in the present application, determining a reference time offset interval according to the historical time offset information includes:
[0076] Determine a first time deviation and a second time deviation in the historical time deviation array, and determine a first network delay and a second network delay in the historical network delay array;
[0077] Determine a reference time deviation interval according to the first time deviation and the second time deviation;
[0078] A reference network delay interval is determined according to the first network delay and the second network delay.
[0079] In practical applications, the historical time offset information includes historical time deviation and historical network delay. The first time offset and the second time offset are determined from the historical time deviation, and the first network delay and the second network delay are determined from the historical network delay data.
[0080] It should be noted that the first time deviation, the second time deviation, the first network delay, and the second network delay are all specific values in the historical time offset information. The historical time offset information includes multiple historical time deviations and multiple network delays, from which the corresponding first time deviation, second time deviation, first network delay, and second network delay are selected.
[0081] In order to better reflect the accuracy of selecting the first time deviation, the second time deviation, the first network delay, and the second network delay from the historical time offset information, the first time deviation and the second time deviation are determined in the historical time deviation array, and the first network delay and the second network delay are determined in the historical network delay array, including:
[0082] The historical time deviations in the historical time deviation array are sorted in ascending order, and the value of the lower quartile is selected as the first time deviation in the time deviation sorting result, and the value of the upper quartile is selected as the second time deviation;
[0083] The historical network delays in the historical network delay array are sorted in ascending order, and the value of the lower quartile is selected as the first network delay in the network delay sorting result, and the value of the upper quartile is selected as the second network delay.
[0084] In practical applications, the historical time deviations in the historical time deviation array are sorted in ascending order, and according to the time deviation sorting results, the quartile values are selected as the first time deviation and the second time deviation. Quartiles are also called quartile points, which refer to the values at the 25% and 75% positions when the values are arranged from small to large and divided into four equal parts in statistics. Among them, the value at the 25% position is the lower quartile, and the value at the 75% position is the upper quartile. Quartiles can be used to better understand the distribution of data and better perform data analysis.
[0085] Specifically, the value of the lower quartile (the number at the 25% position) from the time deviation sorting result is selected as the first time deviation, and the value of the upper quartile (the number at the 75% position) is selected as the second time deviation; the value of the lower quartile (the number at the 25% position) from the network delay sorting result is selected as the first network delay, and the value of the upper quartile (the number at the 75% position) is selected as the second network delay.
[0086] After determining the first time deviation, the second time deviation, the first network delay, and the second network delay, a reference time deviation interval may be determined according to the first time deviation and the second time deviation, and a reference network delay interval may be determined according to the first network delay and the second network delay.
[0087] In practical applications, the first time deviation and the second time deviation can be used as the minimum and maximum values of the reference time deviation interval, and the first network delay and the second network delay can be used as the minimum and maximum values of the reference network delay interval. The reference time deviation interval and the reference network delay interval can also be determined according to the algorithm of the time deviation interval provided in the embodiment of the present application.
[0088] In a specific implementation manner provided in the present application, determining a reference time deviation interval according to the first time deviation and the second time deviation includes:
[0089] Calculate the maximum value of the reference time deviation according to the preset interval upper limit formula, the first time deviation and the second time deviation;
[0090] Calculate the minimum value of the reference time deviation according to the preset interval lower bound formula, the first time deviation and the second time deviation;
[0091] A reference time deviation interval is determined according to the maximum reference time deviation value and the minimum reference time deviation value.
[0092] The preset interval upper bound formula is used to determine the maximum value of a certain interval. Specifically, the preset interval upper bound formula is shown in the following formula 3:
[0093] Max = D2+ V*(D2-D1) Formula 3
[0094] Among them, Max is the maximum value of the interval; D1 is the lower quartile; D2 is the upper quartile; V is the fluctuation threshold, which is a constant in the method provided in this application.
[0095] The maximum value of the interval can be calculated according to the above formula 3. Taking the calculation of the maximum value of the reference time deviation as an example, Max is the maximum value of the reference time deviation, D1 is the first time deviation, and D2 is the second time deviation. V is the fluctuation threshold, which is a constant of 1.5 in the method provided in the embodiment of the present application. The maximum value of the reference time deviation can be calculated by the above formula 3.
[0096] The preset interval lower bound formula is used to determine the minimum value of a certain interval. Specifically, the preset interval lower bound formula is shown in the following formula 4:
[0097] Min = D1- V*(D2-D1) Formula 4
[0098] Among them, Min is the minimum value of the interval; D1 is the lower quartile; D2 is the upper quartile; V is the fluctuation threshold, which is a constant in the method provided in this application.
[0099] The minimum value of the interval can be calculated according to the above formula 4. Taking the calculation of the maximum value of the reference time deviation as an example, Min is the minimum value of the reference time deviation, D1 is the first time deviation, and D2 is the second time deviation. V is the fluctuation threshold, which is a constant of 1.5 in the method provided in the embodiment of the present application. The minimum value of the reference time deviation can be calculated by the above formula 4.
[0100] The minimum reference time deviation and the maximum reference time deviation can be calculated by using the above formula 3 and formula 4, as well as the first time deviation and the second time deviation, so as to determine the reference time deviation interval according to the minimum reference time deviation and the maximum reference time deviation.
[0101] In another specific implementation manner provided in the present application, determining a reference network delay interval according to the first network delay and the second network delay includes:
[0102] Calculate the maximum value of the reference network delay according to the preset interval upper bound formula, the first network delay and the second network delay;
[0103] Calculate the minimum value of the reference network delay according to the preset interval lower bound formula, the first network delay and the second network delay;
[0104] A reference network delay interval is determined according to the maximum reference network delay value and the minimum reference network delay value.
[0105] Based on the same calculation method as the above-mentioned minimum reference time deviation and maximum reference time deviation, the above-mentioned Formula 3 and Formula 4, as well as the first network delay and the second network delay, can be used to calculate the maximum reference network delay and the minimum reference network delay. The reference network delay interval can be further determined by the maximum reference network delay and the minimum reference network delay.
[0106] Through the method for determining the reference time deviation interval and the reference network delay interval provided in the embodiment of the present application, the fluctuation interval of the time deviation or network delay can be better calculated. The recent network fluctuation of the client can be statistically analyzed through the historical time offset information, so as to better judge whether the network fluctuation of the time offset information is within the normal range, so as to perform subsequent time synchronization processing.
[0107] In a specific implementation provided by the present application, determining a reference time offset interval according to the historical time offset information includes:
[0108] Determining first time offset information and second time offset information in the historical time offset information;
[0109] Calculate the maximum value of the reference time offset according to the preset interval upper bound formula, the first time offset information and the second time offset information;
[0110] Calculate the minimum value of the reference time offset according to the preset interval lower bound formula, the first time offset information and the second time offset information;
[0111] A reference time offset interval is determined according to the reference time offset maximum value and the reference time offset minimum value.
[0112] Furthermore, determining the first time offset information and the second time offset information in the historical time offset information includes:
[0113] Sorting the historical time offset information in ascending order;
[0114] In the sorting results, the value of the lower quartile is selected as the first time offset information, and the value of the upper quartile is selected as the second time offset information.
[0115] It should be noted that for the specific implementation method of determining the first time offset information and the second time offset information, please refer to the above description of the first time offset and the second time offset. For the specific implementation method of determining the reference time offset interval, please refer to the above description of the reference time offset interval, which will not be repeated here.
[0116] Step 108: When the time offset information satisfies the reference time offset interval, the current client time of the client is updated based on the time offset information.
[0117] After the above steps are processed, the reference time offset interval can be obtained. Therefore, it can be further determined whether the time offset information satisfies the reference time offset interval. If the time offset information satisfies the reference time offset interval, it means that the current network fluctuation is at a normal level. On the contrary, if the time offset information is outside the reference time offset interval, it means that the current network fluctuation is abnormal.
[0118] If the current network fluctuation is at a normal level, the synchronization command can be executed, and the calculated time offset information is used to update the current client time of the client. If the current network fluctuation is abnormal, the time synchronization command will not be processed.
[0119] In a specific implementation provided by the present application, the reference time offset interval includes a reference time offset interval and a reference network delay interval, and the time offset information includes a current network delay and a current time offset;
[0120] The method further comprises:
[0121] In a case where the current time deviation is within the reference time deviation interval and the current network delay is within the reference network delay interval, determining that the time offset information satisfies the reference time offset interval;
[0122] In a case where the current time deviation is outside the reference time deviation interval, or the current network delay is outside the reference network delay interval, it is determined that the time offset information does not satisfy the reference time offset interval.
[0123] In practical applications, the reference time offset interval specifically includes a reference time offset interval and a reference network delay interval, and the time offset information specifically includes a current network delay and a current time offset. Specifically, when the current network delay is within the reference network delay interval and the current time offset is within the reference time offset interval, it indicates that the current network fluctuation is at a normal level, and it can be determined that the time offset information satisfies the reference time offset interval.
[0124] On the contrary, if the current time deviation is outside the reference time deviation interval, or the current network delay is outside the reference network delay interval, it means that the current network fluctuation is at an abnormal level, and it is determined that the time offset information does not meet the reference time offset interval.
[0125] In another specific embodiment provided in the present application, the method further comprises:
[0126] In a case where the time offset information does not satisfy the reference time offset interval, the current client time of the client is not updated based on the time offset information.
[0127] When the time offset information does not satisfy the reference time offset interval, the time synchronization operation in response to the time synchronization instruction is not performed, that is, the current client time of the client is not updated based on the time offset information.
[0128] When it is determined that the time offset information satisfies the reference time offset interval, the current client time of the client is updated according to the time offset information. Furthermore, the current client time of the client is updated according to the current time deviation in the time offset information.
[0129] In actual applications, regardless of whether the time synchronization instruction is executed, the time offset information corresponding to the time synchronization instruction will be obtained. The time offset information records the network fluctuation between the client and the server in the current situation. In order to better record the network fluctuation information and provide data support for subsequent data processing, the method also includes:
[0130] The historical time offset information is updated according to the time offset information.
[0131] That is, in the method provided by the present application, the historical time offset information is updated according to the time offset information corresponding to each time synchronization instruction. Specifically, the time offset information is added to the historical time offset information. If the number in the historical time offset information is insufficient, the time offset information can be directly added. If the number in the historical time offset information has reached the threshold, the earliest historical time offset information is taken out, and the current time offset information is added to the historical time offset information.
[0132] The time synchronization method provided in the embodiment of the present application is applied to a client, including receiving a time synchronization instruction, and calculating the time offset information between the client and the server based on the time synchronization instruction; when it is determined that the time offset information is abnormal information, obtaining historical time offset information; determining a reference time offset interval based on the historical time offset information; and when the time offset information satisfies the reference time offset interval, updating the current client time of the client based on the time offset information.
[0133] Through the method provided by the embodiment of the present application, after obtaining the current time synchronization instruction and calculating the time offset information between the client and the server, the time offset information needs to be further screened to determine whether it is abnormal information. If the time offset information is determined to be abnormal information, it is necessary to further determine whether the time offset information is a network fluctuation within a normal range based on the historical time offset information. Only when the network fluctuation is within the normal range when the time offset information is in the normal range, the current client time will be updated based on the time offset information, otherwise the current time offset information will be discarded. Through this method, the application of erroneous time offset information can be effectively reduced, the client time jump caused by abnormal network fluctuations can be avoided, and the consistency and stability of the system time can be enhanced.
[0134] The following combination Figure 2 , the time synchronization method is further described. Figure 2 A schematic diagram of a time synchronization method provided by an embodiment of the present application is shown.
[0135] like Figure 2 As shown, the time synchronization method is applied to the client. The client receives a time synchronization instruction and sends a time synchronization message to the server based on the time synchronization execution, and adds the first timestamp T1 of the client to the time synchronization message.
[0136] The server receives the time synchronization message sent by the client, and records the second timestamp T2 of the server receiving the message in the time synchronization message. In response to the time synchronization message, the server sends a synchronization response message to the client, adds the first timestamp and the second timestamp to the synchronization response message, and also adds the third timestamp T3 of the server sending the synchronization response message to the synchronization response message. It should be noted that the second timestamp T2 and the third timestamp T3 are both server timestamps of the server.
[0137] After receiving the synchronization response message sent by the server, the client will record the fourth timestamp T4 when the client receives the message. So far, the client has collected the time offset information used to calculate the time offset of the client compared to the server. The time offset information specifically includes the current network delay (Delay) and the current time deviation (Offset).
[0138] When the current network delay is less than or equal to the preset delay threshold, the local client clock of the client is updated using the current time deviation.
[0139] When the current network delay is greater than a preset delay threshold, the historical time deviation and the historical network delay are obtained, a reference time deviation interval is determined according to the historical time deviation, and a reference network delay interval is determined according to the historical network delay.
[0140] It is further determined whether the current network delay is within the reference network delay interval and whether the current time deviation is within the reference time deviation interval. If the current network delay is within the reference network delay interval and the current time deviation is within the reference time deviation interval, the local client clock of the client is updated using the current time deviation. Otherwise, the current clock synchronization is not performed.
[0141] See also Figure 3 , Figure 3 The flowchart of a time synchronization method applied to a rail transit integrated monitoring system provided by an embodiment of the present application is shown. The method is applied to a transportation object terminal in the rail transit integrated monitoring system. Specifically, it includes:
[0142] Step 302: Receive the current time synchronization instruction, and calculate the current network delay and current time deviation between the server and the server based on the time synchronization instruction.
[0143] Step 304: Determine whether the current network delay is greater than a preset delay threshold, if so, execute step 306, if not, execute step 314.
[0144] Step 306: Obtain a historical time deviation array and a historical network delay array, obtain at least one historical time deviation from the historical time deviation array, and obtain at least one historical network delay from the historical network delay array.
[0145] Step 308: Sort the historical time deviations in ascending order, select the lower quartile value as the first time deviation, select the upper quartile value as the second time deviation in the time deviation sorting result, and determine the reference time deviation interval according to the preset interval upper limit formula and the preset interval lower limit formula.
[0146] Step 310: Sort the historical network delays in ascending order, select the lower quartile value as the first network delay, select the upper quartile value as the second network delay, and determine the reference network delay interval according to the preset interval upper limit formula and the preset interval lower limit formula.
[0147] Step 312: Determine whether the current time deviation is within the reference time deviation interval and the current network delay is within the reference network delay interval. If so, execute step 314; if not, execute step 316.
[0148] Step 314: Update the current terminal time based on the current time deviation.
[0149] Step 316: Terminate the current time synchronization instruction.
[0150] Step 318: Add the current time deviation to the historical time deviation array, and add the current network delay to the historical network delay array.
[0151] Through the method provided by the embodiment of the present application, after obtaining the current time synchronization instruction and calculating the time offset information between the client and the server, the time offset information needs to be further screened to determine whether it is abnormal information. If the time offset information is determined to be abnormal information, it is necessary to further determine whether the time offset information is a network fluctuation within a normal range based on the historical time offset information. Only when the network fluctuation is within the normal range when the time offset information is in the normal range, the current client time will be updated based on the time offset information, otherwise the current time offset information will be discarded. Through this method, the application of erroneous time offset information can be effectively reduced, the client time jump caused by abnormal network fluctuations can be avoided, and the consistency and stability of the system time can be enhanced.
[0152] Corresponding to the above method embodiment, the present application also provides a time synchronization device embodiment, Figure 4 FIG. 1 shows a schematic diagram of the structure of a time synchronization device provided by an embodiment of the present application. Figure 4 As shown, the device comprises:
[0153] The receiving module 402 is configured to receive a time synchronization instruction and calculate the time offset information between the server and the receiving module based on the time synchronization instruction;
[0154] The acquisition module 404 is configured to acquire historical time offset information when it is determined that the time offset information is abnormal information;
[0155] A determination module 406 is configured to determine a reference time offset interval according to the historical time offset information;
[0156] The updating module 408 is configured to update the current client time of the client based on the time offset information when the time offset information satisfies the reference time offset interval.
[0157] Optionally, the receiving module 402 is further configured to:
[0158] Sending a time synchronization message to a server in response to the time synchronization instruction, and recording a first timestamp of the time synchronization message;
[0159] Receive a synchronization response message returned by the server in response to the time synchronization message, and record a fourth timestamp of receiving the synchronization response message, wherein the synchronization response message records a second timestamp of the server receiving the time synchronization message and a third timestamp of sending the synchronization response message;
[0160] The current network delay and the current time deviation between the client and the server are calculated according to the first timestamp, the second timestamp, the third timestamp and the fourth timestamp.
[0161] Optionally, the device further includes an abnormal information determination module, configured to:
[0162] When the current network delay is greater than a preset delay threshold, determining that the time offset information is abnormal information;
[0163] When the current network delay is less than or equal to the preset delay threshold, it is determined that the time offset information is normal information.
[0164] Optionally, the acquisition module 404 is further configured to:
[0165] A historical time deviation array and a historical network delay array are obtained, wherein the historical time deviation array stores a preset number of historical time deviations, and the historical network delay array stores a preset number of historical network delays.
[0166] Optionally, the determining module 406 is further configured to:
[0167] Determine a first time deviation and a second time deviation in the historical time deviation array, and determine a first network delay and a second network delay in the historical network delay array;
[0168] Determine a reference time deviation interval according to the first time deviation and the second time deviation;
[0169] A reference network delay interval is determined according to the first network delay and the second network delay.
[0170] Optionally, the determining module 406 is further configured to:
[0171] The historical time deviations in the historical time deviation array are sorted in ascending order, and the value of the lower quartile is selected as the first time deviation in the time deviation sorting result, and the value of the upper quartile is selected as the second time deviation;
[0172] The historical network delays in the historical network delay array are sorted in ascending order, and the value of the lower quartile is selected as the first network delay in the network delay sorting result, and the value of the upper quartile is selected as the second network delay.
[0173] Optionally, the determining module 406 is further configured to:
[0174] Calculate the maximum value of the reference time deviation according to the preset interval upper limit formula, the first time deviation and the second time deviation;
[0175] Calculate the minimum value of the reference time deviation according to the preset interval lower bound formula, the first time deviation and the second time deviation;
[0176] A reference time deviation interval is determined according to the maximum reference time deviation value and the minimum reference time deviation value.
[0177] Optionally, the determining module 406 is further configured to:
[0178] Calculate the maximum value of the reference network delay according to the preset interval upper bound formula, the first network delay and the second network delay;
[0179] Calculate the minimum value of the reference network delay according to the preset interval lower bound formula, the first network delay and the second network delay;
[0180] A reference network delay interval is determined according to the maximum reference network delay value and the minimum reference network delay value.
[0181] Optionally, the reference time offset interval includes a reference time deviation interval and a reference network delay interval, and the time offset information includes a current network delay and a current time deviation;
[0182] The device also includes a judgment module, which is configured to:
[0183] In a case where the current time deviation is within the reference time deviation interval and the current network delay is within the reference network delay interval, determining that the time offset information satisfies the reference time offset interval;
[0184] In a case where the current time deviation is outside the reference time deviation interval, or the current network delay is outside the reference network delay interval, it is determined that the time offset information does not satisfy the reference time offset interval.
[0185] Optionally, the device further includes a termination module configured to:
[0186] In a case where the time offset information does not satisfy the reference time offset interval, the current client time of the client is not updated based on the time offset information.
[0187] Optionally, the device further includes an updating module configured to:
[0188] The historical time offset information is updated according to the time offset information.
[0189] Through the device provided by the embodiment of the present application, after obtaining the current time synchronization instruction and calculating the time offset information between the client and the server, the time offset information is further screened to determine whether it is abnormal information. If the time offset information is determined to be abnormal information, it is necessary to further determine whether the time offset information is a network fluctuation within a normal range based on the historical time offset information. Only when the network fluctuation is within the normal range when the time offset information is in the time offset information, the current client time will be updated based on the time offset information, otherwise the current time offset information will be discarded. Through this method, the application of erroneous time offset information can be effectively reduced, the client time jump caused by abnormal network fluctuations can be avoided, and the consistency and stability of the system time can be enhanced.
[0190] Figure 5 A schematic diagram of the structure of a time synchronization system provided by an embodiment of the present application is shown. Figure 5 As shown, the time synchronization system includes a client 502 and a server 504 .
[0191] The client 502 is configured to send a time synchronization message to the server 504 based on the time synchronization instruction;
[0192] The server 504 is configured to send a synchronization response message to the client 502 in response to the time synchronization message;
[0193] The client 502 is further configured to calculate the time offset information between the client and the server based on the time synchronization message and the synchronization response message; when it is determined that the time offset information is abnormal information, obtain historical time offset information; determine a reference time offset interval based on the historical time offset information; and when the time offset information satisfies the reference time offset interval, update the current client time of the client based on the time offset information.
[0194] Through the system provided by the embodiment of the present application, after obtaining the current time synchronization instruction and calculating the time offset information between the client and the server, the time offset information is further screened to determine whether it is abnormal information. If the time offset information is determined to be abnormal information, it is necessary to further determine whether the time offset information is a network fluctuation within a normal range based on the historical time offset information. Only when the network fluctuation is within the normal range when the time offset information is in the normal range, the current client time will be updated based on the time offset information, otherwise the current time offset information will be discarded. Through this method, the application of erroneous time offset information can be effectively reduced, the client time jump caused by abnormal network fluctuations can be avoided, and the consistency and stability of the system time can be enhanced.
[0195] The above is a schematic scheme of a time synchronization device of this embodiment. It should be noted that the technical scheme of the time synchronization device and the technical scheme of the above time synchronization method belong to the same concept, and the details not described in detail in the technical scheme of the time synchronization device can be referred to the description of the technical scheme of the above time synchronization method.
[0196] Figure 6 The block diagram of a computing device 600 according to an embodiment of the present application is shown. The components of the computing device 600 include but are not limited to a memory 610 and a processor 620. The processor 620 is connected to the memory 610 via a bus 630, and the database 650 is used to store data.
[0197] The computing device 600 also includes an access device 640 that enables the computing device 600 to communicate via one or more networks 660. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 640 may include one or more of any type of network interface (e.g., a network interface card (NIC)) that is wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.
[0198] In one embodiment of the present application, the above components of the computing device 600 and Figure 6 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 6 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as needed.
[0199] The computing device 600 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 600 may also be a mobile or stationary server.
[0200] The processor 620 is used to execute the following computer program / instruction, which implements the steps of the above-mentioned time synchronization method when executed by the processor.
[0201] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above time synchronization method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above time synchronization method.
[0202] An embodiment of the present specification further provides a computer-readable storage medium storing a computer program / instruction, which implements the steps of the above-mentioned time synchronization method when executed by a processor.
[0203] The above is a schematic solution of a computer-readable storage medium of this embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the above time synchronization method belong to the same concept, and the details not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the above time synchronization method.
[0204] An embodiment of the present specification further provides a computer program product, including a computer program / instruction, which implements the steps of the above-mentioned time synchronization method when executed by a processor.
[0205] The above is a schematic solution of a computer program product of this embodiment. It should be noted that the technical solution of the computer program product and the technical solution of the above time synchronization method belong to the same concept, and the details not described in detail in the technical solution of the computer program product can be referred to the description of the technical solution of the above time synchronization method.
[0206] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0207] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0208] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0209] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0210] The preferred embodiments of the present application disclosed above are only used to help explain the present application. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the present application. The present application selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present application, so that those skilled in the art can understand and use the present application well. The present application is only limited by the claims and their full scope and equivalents.
Claims
1. A time synchronization method, characterized in that: Applied to the client, including: Receiving a time synchronization instruction, and calculating time offset information between the server and the server based on the time synchronization instruction, wherein the time offset information includes a current network delay and a current time deviation; In the case where it is determined that the time offset information is abnormal information, historical time offset information is obtained, wherein obtaining the historical time offset information includes obtaining a historical time offset array and a historical network delay array, and in the case where the current network delay is greater than a preset delay threshold, the time offset information is determined to be abnormal information, a preset number of historical time offsets are stored in the historical time offset array, and a preset number of historical network delays are stored in the historical network delay array; Determine a reference time offset interval according to the historical time deviation array and the historical network delay array, wherein the reference time offset interval includes a reference time deviation interval and a reference network delay interval; When the current time deviation is within the reference time deviation interval and the current network delay is within the reference network delay interval, it is determined that the time offset information satisfies the reference time offset interval; when the current time deviation is outside the reference time deviation interval or the current network delay is outside the reference network delay interval, it is determined that the time offset information does not satisfy the reference time offset interval; In a case where the time offset information satisfies the reference time offset interval, the current client time of the client is updated based on the time offset information.
2. The method according to claim 1, characterized in that Calculating the time offset information between the server and the time synchronization instruction includes: Sending a time synchronization message to a server in response to the time synchronization instruction, and recording a first timestamp of the time synchronization message; Receive a synchronization response message returned by the server in response to the time synchronization message, and record a fourth timestamp of receiving the synchronization response message, wherein the synchronization response message records a second timestamp of the server receiving the time synchronization message and a third timestamp of sending the synchronization response message; The current network delay and the current time deviation between the client and the server are calculated according to the first timestamp, the second timestamp, the third timestamp and the fourth timestamp.
3. The method according to claim 2, characterized in that The method further comprises: When the current network delay is less than or equal to the preset delay threshold, it is determined that the time offset information is normal information.
4. The method according to claim 1, characterized in that Determining a reference time offset interval according to the historical time deviation array and the historical network delay array includes: Determine a first time deviation and a second time deviation in the historical time deviation array, and determine a first network delay and a second network delay in the historical network delay array; Determine a reference time deviation interval according to the first time deviation and the second time deviation; A reference network delay interval is determined according to the first network delay and the second network delay.
5. The method according to claim 4, characterized in that Determining a first time deviation and a second time deviation in the historical time deviation array, and determining a first network delay and a second network delay in the historical network delay array, comprises: The historical time deviations in the historical time deviation array are sorted in ascending order, and the value of the lower quartile is selected as the first time deviation in the time deviation sorting result, and the value of the upper quartile is selected as the second time deviation; The historical network delays in the historical network delay array are sorted in ascending order, and the value of the lower quartile is selected as the first network delay in the network delay sorting result, and the value of the upper quartile is selected as the second network delay.
6. The method according to claim 4, characterized in that Determining a reference time deviation interval according to the first time deviation and the second time deviation includes: Calculate the maximum value of the reference time deviation according to the preset interval upper limit formula, the first time deviation and the second time deviation; Calculate the minimum value of the reference time deviation according to the preset interval lower bound formula, the first time deviation and the second time deviation; A reference time deviation interval is determined according to the maximum reference time deviation value and the minimum reference time deviation value.
7. The method according to claim 4, characterized in that Determining a reference network delay interval according to the first network delay and the second network delay includes: Calculate the maximum value of the reference network delay according to the preset interval upper bound formula, the first network delay and the second network delay; Calculate the minimum value of the reference network delay according to the preset interval lower bound formula, the first network delay and the second network delay; A reference network delay interval is determined according to the maximum reference network delay value and the minimum reference network delay value.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: The historical time offset information is updated according to the time offset information.
9. A time synchronization system, characterized in that: Includes client and server; among them, The client is configured to send a time synchronization message to the server based on a time synchronization instruction; The server is configured to send a synchronization response message to the client in response to the time synchronization message; The client is further configured to calculate the time offset information between the client and the server according to the time synchronization message and the synchronization response message, wherein the time offset information includes the current network delay and the current time offset; in the case where the time offset information is determined to be abnormal information, obtain the historical time offset information, wherein obtaining the historical time offset information includes obtaining a historical time offset array and a historical network delay array, and in the case where the current network delay is greater than a preset delay threshold, determine that the time offset information is abnormal information, the historical time offset array stores a preset number of historical time offsets, and the historical network delay array stores a preset number of historical network delays; according to the historical time offset array and the historical The network delay array determines a reference time offset interval, wherein the reference time offset interval includes a reference time offset interval and a reference network delay interval; when the current time offset is within the reference time offset interval and the current network delay is within the reference network delay interval, it is determined that the time offset information satisfies the reference time offset interval; when the current time offset is outside the reference time offset interval or the current network delay is outside the reference network delay interval, it is determined that the time offset information does not satisfy the reference time offset interval; when the time offset information satisfies the reference time offset interval, the current client time of the client is updated based on the time offset information.
10. A time synchronization device, characterized in that: Applied to the client, including: A receiving module, configured to receive a time synchronization instruction, and calculate time offset information between the server and the server based on the time synchronization instruction, wherein the time offset information includes a current network delay and a current time deviation; an acquisition module, configured to acquire historical time offset information when it is determined that the time offset information is abnormal information, wherein acquiring the historical time offset information includes acquiring a historical time offset array and a historical network delay array, and when the current network delay is greater than a preset delay threshold, determining that the time offset information is abnormal information, the historical time offset array stores a preset number of historical time offsets, and the historical network delay array stores a preset number of historical network delays; A determination module, configured to determine a reference time offset interval according to the historical time deviation array and the historical network delay array, wherein the reference time offset interval includes a reference time deviation interval and a reference network delay interval; A judgment module is configured to determine that the time offset information satisfies the reference time offset interval when the current time offset is within the reference time offset interval and the current network delay is within the reference network delay interval; and to determine that the time offset information does not satisfy the reference time offset interval when the current time offset is outside the reference time offset interval or the current network delay is outside the reference network delay interval; An updating module is configured to update the current client time of the client based on the time offset information when the time offset information satisfies the reference time offset interval.
11. A computing device, characterized in that: include: Memory and processor; The memory is used to store computer programs or instructions, and the processor is used to execute the computer programs or instructions. When the computer program or instructions are executed by the processor, the steps of the method described in any one of claims 1 to 8 are implemented.
12. A computer-readable storage medium storing a computer program or instruction, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
13. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Method for assessing synchronization between a communication device and a remote time server
GB2595881B
Information processing device, information processing method and program
JP2018202842A
