CN105490798B - A kind of cross-platform multiple types of terminals standard time and operational time synchronous method and synchronization system - Google Patents
A kind of cross-platform multiple types of terminals standard time and operational time synchronous method and synchronization system Download PDFInfo
- Publication number
- CN105490798B CN105490798B CN201510829061.3A CN201510829061A CN105490798B CN 105490798 B CN105490798 B CN 105490798B CN 201510829061 A CN201510829061 A CN 201510829061A CN 105490798 B CN105490798 B CN 105490798B
- Authority
- CN
- China
- Prior art keywords
- time
- information
- module
- combat
- standard
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 31
- 230000008569 process Effects 0.000 claims abstract description 22
- 230000005540 biological transmission Effects 0.000 claims description 37
- 238000004088 simulation Methods 0.000 claims description 14
- 238000004364 calculation method Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 7
- 230000001105 regulatory effect Effects 0.000 claims description 5
- 230000009471 action Effects 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000000875 corresponding effect Effects 0.000 description 3
- 230000002079 cooperative effect Effects 0.000 description 2
- 239000013078 crystal Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000007727 signaling mechanism Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0008—Synchronisation information channels, e.g. clock distribution lines
- H04L7/0012—Synchronisation information channels, e.g. clock distribution lines by comparing receiver clock with transmitter clock
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/12—Synchronisation of different clock signals provided by a plurality of clock generators
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Electric Clocks (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The present invention provides a kind of cross-platform multiple types of terminals standard time and operational time synchronous method and synchronization system, which includes: the network topology structure of settling time server, multiple terminal devices;Multiple terminal devices ask for standard time information, adjust the standard time between multiple terminal devices according to standard time information;The time server sets operational time information according to manoeuvre process, and operational time information is pushed to the terminal device;Multiple terminal devices receive the operational time information, and adjust the operational time between multiple terminal devices according to operational time information;The system includes time server, multiple terminal devices, and the terminal device includes multiple fixed terminals and multiple mobile terminals.Method for synchronizing time provided by the invention realizes in military operation or manoeuvre the standard time of each terminal and the calibration of operational time and synchronous, ensure that time unification in military operation.
Description
Technical Field
The invention relates to the technical field of mobile communication, in particular to a cross-platform multi-type terminal standard time and combat time synchronization method and a cross-platform multi-type terminal standard time and combat time synchronization system.
Background
With the development of military operation to the direction of multi-military-species combined operation, the war organization form is increasingly complex, the cooperative requirements of all the parties of the operation are higher and higher, the time unification is the key point for ensuring the cooperative operation of all the military species, although all the terminals in the existing operation command system have local system time, the running time deviation of the terminals is caused by the frequency deviation of a crystal oscillator between the terminals, the time inconsistency between the terminals is easily caused by the temperature, the electromagnetic wave interference and the like, and the cooperative operation is damaged, so that a standard time source is required to be adopted for calibrating each terminal clock so as to keep the high synchronization of the standard time and the operation time between the terminals and achieve the purpose of time unification. The operation time refers to artificially defined time information, is simulated according to the requirement of a practice process, is actual standard time, can be associated with the standard time and can also be independently set, and is a key factor for ensuring the success of military operations due to the unification and synchronization of the operation time and the standard time.
At present, a fixed terminal and a mobile terminal are mainly used for displaying time information, the time display of the fixed terminal generally takes the system time of a local machine as a basis, the problems that the time between multiple terminals is not easy to unify, the display mode cannot meet the requirements of military operation and the like exist, the mobile terminal mainly takes mobile phone equipment as a main part, the mobile phone terminal can only carry out the calibration of standard time, the calibration method depends on an operator to carry out the time calibration of a single terminal and the time synchronization between the multiple terminals, meanwhile, the time display of the mobile terminal takes 'grading' as a unit, for the military operation, firstly, the time accuracy is insufficient, and secondly, the time of 'second' grade cannot be displayed in real time. For the combat time information, the existing mobile terminal can not receive and display the combat time information at all, and does not have the association capability of the combat time unification and the standard time and the combat time, so that in order to solve the problems and realize the time unification between the fixed terminal and the mobile terminal, a cross-platform multi-type terminal time unification system is urgently needed to be developed.
Disclosure of Invention
The invention provides a cross-platform multi-type terminal standard time and operation time synchronization method and a cross-platform multi-type terminal standard time and operation time synchronization system, which are used for solving the problems that the existing command terminal is insufficient in standard time precision, cannot display second-level time, has no operation time information and the like, realizing the unification and synchronization of standard time and operation time and carrying out real-time regulation and control on the operation time on a terminal according to exercise progress requirements.
The specific technical scheme of the invention is as follows:
the invention provides a cross-platform multi-type terminal standard time and combat time synchronization method, which comprises the following steps:
s1, establishing a time server and a network topology structure of a plurality of terminal devices;
s2, the plurality of terminal devices ask for standard time information from the time server, and the standard time among the plurality of terminal devices is adjusted according to the standard time information, wherein the standard time information comprises standard time, time difference and information transmission delay;
s3, the time server sets combat time information according to the exercise progress and pushes the combat time information to the terminal equipment, wherein the combat time information comprises combat time and combat time state information, and the combat time state information comprises a pause or continuation state of the combat time, a time node corresponding to standard time for pause or continuation of the combat time, a time node for immediate start or stop of the combat time and a simulation step length proportion of the combat time;
and S4, the plurality of terminal devices receive the fighting time information, and adjust the fighting time among the plurality of terminal devices according to the fighting time information and the information transmission delay acquired in the step S2.
Further, the method for standard time synchronization among a plurality of terminal devices in step S2 includes the following steps:
s201, a plurality of terminal devices send time calibration requests to the time server;
s202, the time server receives the time calibration request and sends the standard time information to the terminal equipment;
s203, the terminal equipment receives the standard time information, reads local time and judges whether the local time is synchronous with the standard time in the standard time information; and if the time difference is not synchronous, adjusting the standard time of the terminal equipment according to the time difference in the standard time information.
Further, the method for obtaining the time difference in the standard time information and the information transmission delay comprises the following steps:
① all the terminals are connected toThe time server sends a time calibration request and records the time node T sending the time calibration request1;
② the time server receives the time alignment request and records the time node T receiving the time alignment request2;
③ the time server sends out time synchronization information and records the time node T sending the time synchronization information3The time synchronization information includes a time node T receiving the time alignment request2And a time node T for transmitting the time synchronization information3;
④ A plurality of the terminal equipments all receive the time synchronization information and record the time node T receiving the time synchronization information4;
⑤ according to the T recorded in steps ①, ②, ③ and ④1、T2、T3、T4Respectively calculating the time difference theta and the information transmission delay delta between the time server and each terminal, wherein the time difference theta and the information transmission delay delta are calculated according to the following formula:
time difference
Information transmission delay delta ═ T2-T1)+(T4-T3);
⑥, obtaining the synchronized standard time by the plurality of terminal devices through adding the local time and the time difference theta calculated in the step ⑤, obtaining the fighting time by the plurality of terminal devices through the received fighting time information, and obtaining the synchronized fighting time by adding the information transmission delay delta calculated in the step ⑤ to the fighting time.
Furthermore, the simulation step length proportion of the combat time is the time proportion of the time required by the exercise process and the time required by the actual process.
Further, the plurality of terminal devices display the synchronized standard time and the synchronized fighting time, the standard time is synchronously displayed in a second level or a millisecond level, and the fighting time is synchronously displayed in a second level.
Further, the time server sets a standard time synchronization interval threshold, and after the interval threshold is reached, the terminal device performs synchronization of the standard time again in step S2; the time source of the time server is one of GPS time and a Beidou standard clock.
Further, in step S3, the time server regulates and controls the combat time information at any time according to a maneuver progress, and simultaneously pushes the combat time information to the terminal devices, and the plurality of terminal devices regulate and control the combat time status according to the received combat time information.
Preferably, during the combat period, the terminal device may send an instruction for requesting the combat time information to the time server, and the time server receives the instruction and sends the combat time information to the terminal device.
The invention also provides a synchronization system applying the cross-platform multi-type terminal standard time and combat time synchronization method, the system comprises a time server and a plurality of terminal devices, the terminal devices comprise a plurality of fixed terminals and a plurality of mobile terminals, the fixed terminals are connected with the time server through a wired network, and the mobile terminals are connected with the time server through a wireless network; wherein,
the time server comprises a receiving module, a first recording module, a pushing module, a time calibration module and an operation time regulation and control module, wherein the receiving module and the pushing module are connected with the first recording module, the time calibration module and the operation time regulation and control module;
the receiving module is used for receiving the data sent by the terminal equipmentTime calibration request and command for asking for the combat time information; the pushing module is used for pushing the standard time information, the fighting time information and the time synchronization information; the time calibration module is used for processing the time calibration request sent by the terminal equipment and generating the standard time information; the first recording module is used for recording the time node T receiving the time calibration request2And a time node T for transmitting the time synchronization information3(ii) a The combat time regulating module generates the combat time information according to a maneuver process, and is used for processing an instruction for asking for the combat time information sent by the terminal equipment;
a plurality of terminal equipment all includes sending module, record module, acquires module, calculation module, standard time adjustment module, time of war adjustment module, display module, sending module record module acquire the module standard time adjustment module time of war adjustment module reaches display module all with calculation module connects, sending module is used for sending time calibration request and ask for the instruction of time of war information, record module is used for the record to send the time node T of time calibration request1And a time node T for receiving the time synchronization information4(ii) a The acquisition module is used for acquiring standard time information, combat time information and the time synchronization information; the calculation module is used for receiving T1、T2、T3、T4The time node calculates the time difference theta and the information transmission delay delta of each terminal device; the standard time adjusting module is used for adjusting the standard time after the terminal equipment is synchronized by adding the local time to the time difference theta calculated by the calculating module; the combat time adjusting module is used for adding the received combat time to the information transmission delay delta to adjust the synchronized combat time of the terminal equipment; and the display module is used for displaying the standard time and the fighting time after the terminal equipment is synchronized.
Furthermore, the operation time regulating module comprises an operation time setting module and a simulation step length setting module, the operation time setting module sets operation time according to exercise progress requirements, and the simulation step length setting module sets step length proportion according to exercise preset actions and the operation time.
The invention has the following beneficial effects: the time synchronization method provided by the invention realizes the calibration and synchronization of the standard time and the operation time of each terminal in the military operation, prevents the condition of non-uniform time, ensures the smooth implementation of the military operation, realizes the data communication with the time server within the range of a wireless network, realizes the receiving of the regulation and control instruction at any time, unifies the pushing time arrangement, increases the flexibility of time synchronization, realizes the unified synchronization of the operation time and the standard time among the terminals, and ensures the smooth implementation of the operation cooperative action; in addition, the synchronization system provided by the invention does not need to establish an independent synchronization signaling mechanism, the cost investment of time synchronization is reduced, and the time calibration and the operation time information are transmitted in the time server, so that the synchronization time is more timely and effective, the time delay is small, the precision is high, and the requirements of each terminal on the time synchronization in military operation or exercise are met.
Drawings
Fig. 1 is a method for synchronizing standard time and combat time of a cross-platform multi-type terminal according to embodiment 1;
FIG. 2 is a flowchart illustrating a standard time synchronization method in a cross-platform multi-type terminal standard time and combat time synchronization method according to embodiment 2;
fig. 3 is a schematic structural diagram of a cross-platform multi-type terminal standard time and combat time synchronization system according to embodiment 4;
FIG. 4 is a block diagram illustrating a time server in a cross-platform multi-type terminal standard time and combat time synchronization system according to embodiment 4;
fig. 5 is a block diagram illustrating a terminal device in a cross-platform multi-type terminal standard time and combat time synchronization system according to embodiment 4;
fig. 6 is a block diagram illustrating a structure of a combat time control module in a cross-platform multi-type terminal standard time and combat time synchronization system according to embodiment 4.
Detailed Description
The present invention will be described in further detail with reference to the following examples and drawings.
Example 1
As shown in fig. 1, embodiment 1 of the present invention provides a method for synchronizing operation time based on military exercises, where the method for synchronizing operation time includes the following steps:
s1, establishing a time server and a network topology structure of a plurality of terminal devices; in the invention, the terminal equipment comprises a plurality of fixed terminals and a plurality of mobile terminals, the fixed terminals are connected with the time server by a wired network, the mobile terminals are connected with the time server by a wireless network, the time server and the plurality of terminal equipment jointly establish a network topology structure, and data transmission and command push can be realized in the network area range, thereby facilitating the realization of the synchronization of standard time and fighting time of each terminal equipment through the time server.
S2, the plurality of terminal devices ask for standard time information from the time server, and the standard time among the plurality of terminal devices is adjusted according to the standard time information, wherein the standard time information comprises standard time, time difference and information transmission delay; because there may be a time error between the local time of each terminal device and the standard time of the time server, the reasons for the error may include the following: because the crystal oscillator frequency of each terminal has deviation, the interference of temperature and electromagnetic wave will cause the operation time error between each terminal, so the method can ensure the synchronization of the standard time between each terminal under the condition of uncertain time difference and information transmission delay of each terminal device, so the standard time of each terminal device must be adjusted by the method in order to ensure the synchronization of the standard time in the exercise process.
S3, the time server sets combat time information according to the exercise progress and pushes the combat time information to the terminal equipment, wherein the combat time information comprises combat time and combat time state information, and the combat time state information comprises a pause or continuation state of the combat time, a time node corresponding to standard time for pause or continuation of the combat time, a time node for immediate start or stop of the combat time and a simulation step length proportion of the combat time; the combat time information is sent to each terminal device, so that each terminal device can receive the combat time information, and each terminal device can acquire the combat time and the combat state, thereby ensuring the synchronization of the combat time and the combat state and further enhancing the cooperative action capacity among troops.
S4, the plurality of terminal devices receive the combat time information and adjust the combat time among the plurality of terminal devices according to the combat time information and the information transmission delay acquired in the step S2.
The embodiment 1 of the invention provides a cross-platform multi-type terminal standard time and operation time synchronization method for ensuring that military exercises or operations are smoothly carried out, the synchronization method realizes the synchronization and calibration of standard time and operation time by using a time server as a same clock source among terminal devices, in addition, the method effectively eliminates the influence of time difference and information transmission delay on time synchronization, ensures the synchronization of time, and ensures the uniformity of time in operation.
In the invention, the cross-platform meaning can be operated on a windows system and an android system to realize the synchronization of standard time and combat time of equipment between the two systems, and the multi-type meaning supports equipment such as a fixed terminal, a mobile terminal and an intelligent television.
Example 2
Embodiment 2 of the present invention provides a cross-platform multi-type terminal standard time and combat time synchronization method, and embodiment 2 further defines a specific method for the standard time synchronization on the basis of embodiment 1, and by using the standard time synchronization method, not only can the consistency between each terminal device and the standard time in the time server be realized, but also the synchronization of the standard time between each terminal device can be realized, thereby ensuring the accuracy and synchronization of the standard time of each terminal device, and effectively ensuring the smooth performance of military demonstration.
As shown in fig. 2, it should be emphasized that the method for standard time synchronization between terminals in step S2 in embodiment 1 includes the following steps:
s201, a plurality of terminal devices send time calibration requests to the time server; when the terminal equipment starts the standard time display module, each terminal equipment needs to send a time calibration request to the time server in order to ensure the accuracy of local time, so that the active calibration function is realized.
S202, the time server receives the time calibration request and sends the standard time information to the terminal equipment; and the time server sends standard time information to synchronize the time between the terminal devices, wherein the standard time information comprises standard time, time difference and information transmission delay.
S203, the terminal equipment receives the standard time information, reads local time and judges whether the local time is synchronous with the standard time in the standard time information; and if the time difference is not synchronous, adjusting the standard time of the terminal equipment according to the time difference in the standard time information. After receiving the standard time information, each terminal device firstly judges whether the standard time in the time server is consistent with the local time in the terminal device, if so, the time server does not need to be adjusted, if not, the time server calculates the time difference through a calculation module in the terminal device, adjusts and displays the standard time of the terminal device according to the time difference, and at the moment, the standard time of the terminal device is calibrated and synchronized.
In order to achieve synchronization of standard time and combat time of each terminal device and calibration with a time server, the technical scheme further defines that the method for acquiring the time difference in the standard time information and the information transmission delay comprises the following steps:
① each of the terminal equipments sends a time alignment request to the time server and records the time node T sending the time alignment request1The T is1A time node for sending a time calibration request to each terminal device;
② the time server receives the time alignment request and records the time node T receiving the time alignment request2The T is2A time node for which a time server receives a time calibration request;
③ the time server sends out time synchronization information and records the time node T sending the time synchronization information3The T is3A time node for sending time synchronization information to each terminal device for a time server, wherein the time synchronization information comprises a time node T for receiving the time calibration request2And a time node T for transmitting the time synchronization information3;
④ A plurality of the terminal equipments each receive the time synchronization information and record the time of receptionTime node T for synchronizing information4The T is4Time nodes for receiving time synchronization information for each terminal device;
⑤ according to the T recorded in steps ①, ②, ③ and ④1、T2、T3、T4Respectively calculating the time difference theta and the information transmission delay delta between the time server and each terminal,
T2=T1+θ+δ
T4=T3-θ+δ
the time difference theta and the information transmission delay delta are calculated according to the following formula:
time difference
Information transmission delay delta ═ T2-T1)+(T4-T3);
From the above formula, the time difference theta and the information transmission delay delta are only equal to T1And T2Difference, T3And T4The difference is related to T2、T3The difference is irrelevant, namely the final result is irrelevant to the time required by the time server to process the request, so that the technical scheme further limits that each terminal adjusts the local time (standard time) according to the time difference theta so as to calibrate and synchronize the standard time of each terminal.
⑥, obtaining the synchronized standard time by the plurality of terminal devices through adding the local time and the time difference theta calculated in the step ⑤, obtaining the fighting time by the plurality of terminal devices through the received fighting time information, and obtaining the synchronized fighting time by adding the information transmission delay delta calculated in the step ⑤ to the fighting time.
The method can enable each terminal device to obtain the current standard time and the network delay, the information transmission delay and the time difference of the time synchronization information sent by the time server in the network transmission process can be calculated through a calculation formula given in the method, the standard time of each terminal device can be calculated through the calculated time difference, the local time of each terminal device is adjusted, the fighting time of each terminal device can be calculated through the calculated information transmission delay, the fighting time of each terminal device is adjusted, the fighting time and the standard time of each terminal device can be calibrated and synchronized through the calculation method, and the accuracy of the adjusted local time is improved.
The method provided by the technical scheme can realize time synchronization of each terminal device, ensure the consistency of each terminal device on time information, and avoid deviation of military operation cooperation caused by inconsistent time of the terminal devices.
Example 3
Embodiment 3 provides a cross-platform multi-type terminal standard time and combat time synchronization method, and embodiment 3 further defines a simulation step size proportion set in the time synchronization in the combat process on the basis of embodiment 1.
It should be noted that the simulation step size ratio of the combat time is a time ratio of time required by a practice process to time required by an actual process. For example, the time required by the actual process is 5 hours, but in the invention, in order to quickly deduce the exercise process, the time required by the exercise process is set to be 2.5 hours, all exercise preset items are shortened according to the time required by the actual process, so that a step length proportion is formed with the time required by the actual process, and the step length proportion must be unified so as to ensure the coordination and unification in each troops in the exercise.
In order to meet the requirements of time unification and synchronization and use of time information in the exercise, the technical scheme defines that a plurality of terminal devices display synchronized standard time and combat time, the standard time is synchronously displayed in a second level or a millisecond level, and the combat time is synchronously displayed in the second level. In the technical scheme, the terminal equipment can display the standard time and the operation time, and in order to overcome the defect that the time display of the mobile terminal in the prior art does not have the time of the second level, the standard time is limited to be displayed as the second level or the millisecond level in the technical scheme, and the operation time is synchronously displayed in the second level, so that the military operation can be coordinated according to the second level unit.
When the system running time is too long, if only one time of time synchronization is performed, running accumulated errors may occur, and when the running time is long enough and the accumulated errors are large enough, the situation that the standard time displayed by each terminal is inconsistent with the combat time or is not synchronous with the standard time occurs, which is further defined in the technical scheme, the time server sets a standard time synchronization interval threshold, and after the interval threshold is reached, each terminal device performs the calibration and synchronization of the standard time in step S2 of embodiment 1 again; the time source of the time server is one of GPS time and a Beidou standard clock. The setting of the interval threshold can enable the standard time of each terminal to be automatically calibrated and refreshed after the interval threshold, so that the consistency of the standard time is always kept in the fighting process of each terminal device, for example, the interval threshold is 15 minutes, and the time calibration is automatically carried out again after every 15 minutes, so that the synchronization and the unification of the time are ensured.
The operation time control has randomness, and therefore, in step S3 of embodiment 1 is defined in the present technical solution, the time server controls operation time information at any time according to a maneuver progress, and pushes the operation time information to the terminal device, and the terminal device controls an operation time state according to the received operation time information. The time server records the combat time information, changes in real time along with the control action of the combat time control module, and actively pushes the combat time information to each terminal device, so that each terminal device adjusts the combat time and the combat time state according to the combat time information.
In order to prevent that in the operation process of a system, terminal equipment cannot receive combat time information sent by a time server in real time due to communication faults or other reasons or when the terminal equipment cannot determine the combat time information and the combat time state when entering the system for the first time, the technical scheme limits that each terminal equipment can send an instruction for asking for the combat time information to the time server, and the time server receives the instruction and sends the combat time information to the terminal equipment; the time server sends the combat time information to the terminal equipment by actively sending a combat time information acquisition instruction, so that the terminal equipment acquires the combat time information and synchronizes with the combat time information of other terminal equipment.
Example 4
As shown in fig. 4 and 5, the present invention further provides a synchronization system applying the cross-platform multi-type terminal standard time and combat time synchronization method, the system includes a time server, a plurality of terminal devices, the terminal devices include a plurality of fixed terminals and a plurality of mobile terminals, the fixed terminals establish a wired network connection with the time server, and the mobile terminals establish a wireless network connection with the time server; the mobile terminal can be understood as a mobile phone for example, but the mobile terminal is not limited to a mobile phone in the technical scheme, other mobile terminals can be adopted, as long as the mobile terminal is an Android operating system, the information receiving and processing can be realized, and the standard time and the combat time can be displayed.
The time server comprises a receiving module, a first recording module, a pushing module, a time calibration module and an operation time regulation and control module, wherein the receiving module and the pushing module are all connected with the first recording module, the time calibration module and the operation time regulation and control module, the connection is system application connection, and communication connection is formed between terminals and between the terminals and the time server within a wireless network range.
The receiving module is used for receiving the time calibration request sent by the terminal equipment and an instruction for asking for the combat time information; the pushing module is used for pushing the standard time information, the fighting time information and the time synchronization information; the time calibration module is used for processing the time calibration request sent by the terminal equipment and generating the standard time information; the first recording module is used for recording the time node T receiving the time calibration request2And a time node T for transmitting the time synchronization information3(ii) a The combat time regulating module generates the combat time information according to a maneuver process, and is used for processing an instruction for asking for the combat time information sent by the terminal equipment;
the plurality of terminal devices comprise a sending module, a second recording module, an obtaining module, a calculating module, a standard time adjusting module, a fighting time adjusting module and a display module, wherein the sending module and the obtaining module are both chips for information transmission, the second recording module is a recording chip, the calculating module is a processor in the terminal devices and can calculate required values through a formula or a calculating method, the standard time adjusting module and the fighting time adjusting module calculate and adjust standard time and synchronous time after the standard time and the synchronous time are calculated through the calculated values, the display module is similar to a display screen with the display chip and can display the fighting time and the standard time through the display screen, and the sending module, the second recording module, the obtaining module, the standard time adjusting module, the fighting time adjusting module and the display module are all connected with the calculating module, the connections referred to herein are system inter-application connections, and within the scope of a wireless network, both communication connections between terminals and a time server.
The sending module is used for sending the time calibration request and a command for asking for the combat time information, and the second recording module is used for recording a time node T for sending the time calibration request1And a time node T for receiving the time synchronization information4(ii) a The acquisition module is used for acquiring standard time information, combat time information and the time synchronization information; the calculation module is used for receiving T1、T2、T3、T4The time node calculates the time difference theta and the information transmission delay delta of each terminal device; the standard time adjusting module is used for adjusting the standard time after the terminal equipment is synchronized by adding the local time to the time difference theta calculated by the calculating module; the combat time adjusting module is used for adding the received combat time to the information transmission delay delta to adjust the synchronized combat time of the terminal equipment; and the display module is used for displaying the standard time and the fighting time after the terminal equipment is synchronized.
The terminal device in the synchronization system provided by the invention further comprises a matching module, the matching module is connected with the calculating module, the obtaining module and the standard time adjusting module, the matching module is used for judging whether the standard time in the standard time information obtained by the terminal device is consistent with the local time in the terminal device or not, if the standard time is consistent, the calculating module is not required to calculate the time error, and the standard time adjusting module is not required to adjust the local standard time, if the matching module judges that the local time of the terminal device is inconsistent with the standard time of the time server, the calculating module calculates, and the standard time adjusting module adjusts the standard time of the terminal device according to the time difference calculated by the calculating module.
The terminal equipment in the synchronization system provided by the invention also comprises an information feedback module, wherein the information feedback module is used for collecting and editing the burst condition in the exercise process into information and sending the information to the time server through the sending module, and the time server adjusts the operation time information in time through the operation time regulating module according to the burst information of the information feedback module and pushes the information to each terminal equipment, so that each terminal equipment knows the information and adjusts the operation state in time according to the received operation time information.
As shown in fig. 6, the operation time control module is specifically defined in the present technical solution, and the operation time control module includes an operation time setting module and a simulation step size setting module, the operation time setting module sets operation time according to a maneuver progress requirement, and the simulation step size setting module sets a step size ratio according to the maneuver progress and the operation time. During specific operation, the operation time regulation and control module designs a network regulation and control command format, and sets operation time information and a simulation step length ratio according to needs, and in order to have greater flexibility, the operation time regulation and control module can set the pause or continuous state of operation time, the time node for starting or stopping operation time at corresponding standard time, and the time node for immediately starting or stopping operation time at any time, and sends the operation time information to each terminal device through the pushing module, so that each terminal device can change the operation time information in real time.
The time server in the synchronization system provided by the invention also comprises an information encryption module, the terminal devices comprise information decryption modules, the information and the instruction are encrypted and decrypted in the transmission process, the information leakage is mainly prevented, other mobile terminals or fixed terminals are prevented from receiving the information within the range of the network topology structure, and the requirement of high confidentiality in military operation is met.
The present invention is not limited to the above-mentioned preferred embodiments, and any other products in various forms can be obtained by anyone in the light of the present invention, but any changes in the shape or structure thereof, which have the same or similar technical solutions as those of the present application, fall within the protection scope of the present invention.
Claims (8)
1. A cross-platform multi-type terminal standard time and combat time synchronization method is characterized by comprising the following steps:
s1, establishing a time server and a network topology structure of a plurality of terminal devices;
s2, the plurality of terminal devices ask for standard time information from the time server, and the standard time among the plurality of terminal devices is adjusted according to the standard time information, wherein the standard time information comprises standard time, time difference and information transmission delay;
the method for standard time synchronization among a plurality of terminal devices in step S2 includes the following steps:
s201, a plurality of terminal devices send time calibration requests to the time server;
s202, the time server receives the time calibration request and sends the standard time information to the terminal equipment;
s203, the terminal equipment receives the standard time information, reads local time and judges whether the local time is synchronous with the standard time in the standard time information; if not, adjusting the standard time of the terminal equipment according to the time difference in the standard time information;
the method for acquiring the time difference in the standard time information and the information transmission delay comprises the following steps:
① each of the terminal equipments sends a time alignment request to the time server and records the time node T sending the time alignment request1;
② the time server receives the time alignment request and records the time node T receiving the time alignment request2;
③ the time server sends out time synchronization information and records the time node T sending the time synchronization information3The time synchronization information includes a time node T receiving the time alignment request2And a time node T for transmitting the time synchronization information3;
④ A plurality of the terminal equipments all receive the time synchronization information and record the time node T receiving the time synchronization information4;
⑤ according to the T recorded in steps ①, ②, ③ and ④1、T2、T3、T4Respectively calculating the time difference theta and the information transmission delay delta between the time server and each terminal, wherein the time difference theta and the information transmission delay delta are calculated according to the following formula:
time difference
Information transmission delay delta ═ T2-T1)+(T4-T3);
⑥, the plurality of terminal equipments obtain the synchronized standard time by adding the local time and the time difference theta calculated in the step ⑤, the plurality of terminal equipments obtain the fighting time by the received information of the fighting time, and the fighting time and the information transmission delay delta calculated in the step ⑤ are added to obtain the synchronized fighting time;
s3, the time server sets combat time information according to the exercise progress and pushes the combat time information to the terminal equipment, wherein the combat time information comprises combat time and combat time state information, and the combat time state information comprises a pause or continuation state of the combat time, a time node corresponding to standard time for pause or continuation of the combat time, a time node for immediate start or stop of the combat time and a simulation step length proportion of the combat time;
and S4, the plurality of terminal devices receive the fighting time information, and adjust the fighting time among the plurality of terminal devices according to the fighting time information and the information transmission delay acquired in the step S2.
2. The method for synchronizing standard time and combat time of a multi-type terminal across platforms according to claim 1, wherein the simulation step size ratio of the combat time is a time ratio of time required for a performance process to time required for an actual process.
3. The cross-platform multi-type terminal standard time and operation time synchronization method according to claim 1, wherein a plurality of the terminal devices display the standard time and the operation time after synchronization, the standard time is displayed in a second order or a millisecond order, and the operation time is displayed in a second order.
4. The cross-platform multi-type terminal standard time and combat time synchronization method according to claim 1, wherein said time server sets a standard time synchronization interval threshold, and after said interval threshold is reached, said terminal device performs synchronization of said standard time again in step S2; the time source of the time server is one of GPS time and a Beidou standard clock.
5. The method as claimed in claim 1, wherein in step S3, the time server regulates and controls the time information of the combat according to the exercise progress at any time, and simultaneously pushes the time information of the combat to the terminal devices, and a plurality of the terminal devices regulate and control the state of the combat time according to the received time information of the combat.
6. The method as claimed in claim 1, wherein the terminal devices each can request the time server for the time information during the time of the battle by sending the time server the instruction, and the time server receives the instruction and sends the time information to the terminal devices.
7. A synchronization system applying the cross-platform multi-type terminal standard time and combat time synchronization method of any one of claims 1 to 6, wherein the system comprises a time server, a plurality of terminal devices, the terminal devices comprise a plurality of fixed terminals and a plurality of mobile terminals, the fixed terminals establish wired network connection with the time server, and the mobile terminals establish wireless network connection with the time server; wherein,
the time server comprises a receiving module, a first recording module, a pushing module, a time calibration module and an operation time regulation and control module, wherein the receiving module and the pushing module are connected with the first recording module, the time calibration module and the operation time regulation and control module;
the receiving module is used for receiving the time calibration request sent by the terminal equipment and an instruction for asking for the combat time information; the pushing module is used for pushing the standard time information, the fighting time information and the time synchronization information; the time calibration module is used for processing the time calibration request sent by the terminal equipment and generating the standard time information; the first recording module is used for recording the time node T receiving the time calibration request2And a time node T for transmitting the time synchronization information3(ii) a The combat time regulating module generates the combat time information according to a maneuver process, and is used for processing an instruction for asking for the combat time information sent by the terminal equipment;
the plurality of terminal devices comprise a sending module, a second recording module, an acquisition module, a calculation module, a standard time adjustment module, a combat time adjustment module and a display module, wherein the sending module, the second recording module, the acquisition module, the standard time adjustment module, the combat time adjustment module and the display module are all connected with the calculation module,
the sending module is used for sending the time calibration request and a command for asking for the combat time information, and the second recording module is used for recording a time node T for sending the time calibration request1And a time node T for receiving the time synchronization information4(ii) a The acquisition module is used for acquiring standard time information, combat time information and the time synchronization information; the calculation module is used for receiving T1、T2、T3、T4The time node calculates the time difference theta and the information transmission delay delta of each terminal device; the standard time adjusting module is used for adjusting the standard time after the terminal equipment is synchronized by adding the local time to the time difference theta calculated by the calculating module; the combat time adjusting module is used for adding the received combat time to the information transmission delay delta to adjust the synchronized combat time of the terminal equipment; the display module is used for displayingAnd the standard time and the fighting time after the terminal equipment is synchronized.
8. The synchronization system of claim 7, wherein the operation time control module comprises an operation time setting module and a simulation step length setting module, the operation time setting module sets operation time according to exercise progress requirements, and the simulation step length setting module sets a step length ratio according to the exercise preset action and the operation time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510829061.3A CN105490798B (en) | 2015-11-25 | 2015-11-25 | A kind of cross-platform multiple types of terminals standard time and operational time synchronous method and synchronization system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510829061.3A CN105490798B (en) | 2015-11-25 | 2015-11-25 | A kind of cross-platform multiple types of terminals standard time and operational time synchronous method and synchronization system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105490798A CN105490798A (en) | 2016-04-13 |
CN105490798B true CN105490798B (en) | 2019-03-15 |
Family
ID=55677547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510829061.3A Expired - Fee Related CN105490798B (en) | 2015-11-25 | 2015-11-25 | A kind of cross-platform multiple types of terminals standard time and operational time synchronous method and synchronization system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105490798B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108075876B (en) * | 2016-11-18 | 2020-09-08 | 腾讯科技(深圳)有限公司 | Time calibration method, device and system |
CN106790729B (en) * | 2017-03-30 | 2021-04-09 | 努比亚技术有限公司 | Device and method for communicating with client |
CN112615691A (en) * | 2019-10-06 | 2021-04-06 | 上海淡竹体育科技有限公司 | Method for accurately aligning time among multiple terminals of timing type sports test system |
CN113260038A (en) * | 2020-02-07 | 2021-08-13 | 维沃移动通信有限公司 | Acquisition method of reference time information, information transceiving method and related equipment |
CN111638749A (en) * | 2020-06-02 | 2020-09-08 | 北京润科通用技术有限公司 | Simulation system synchronization method, simulation device and system |
CN113541913B (en) * | 2020-11-05 | 2022-08-02 | 中兴通讯股份有限公司 | Clock calibration method, clock calibration device, electronic device, and readable medium |
CN113157048B (en) * | 2021-04-23 | 2022-08-26 | 杭州安恒信息技术股份有限公司 | Behavior data analysis method based on multi-terminal time axis and related components |
CN113783649B (en) * | 2021-08-06 | 2023-12-29 | 深圳市科陆电子科技股份有限公司 | Terminal timing method, system, electronic equipment and storage medium |
CN114006674B (en) * | 2021-12-31 | 2022-04-01 | 深圳市海清视讯科技有限公司 | Time correction method, device, equipment and storage medium for attendance equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222288A (en) * | 2008-02-01 | 2008-07-16 | 华为技术有限公司 | IP network transmission method, system and equipment automatically adapting network jitter |
CN103220120A (en) * | 2012-01-20 | 2013-07-24 | 腾讯科技(深圳)有限公司 | Time synchronizing method of mobile terminal, mobile terminal and time synchronizing system |
-
2015
- 2015-11-25 CN CN201510829061.3A patent/CN105490798B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222288A (en) * | 2008-02-01 | 2008-07-16 | 华为技术有限公司 | IP network transmission method, system and equipment automatically adapting network jitter |
CN103220120A (en) * | 2012-01-20 | 2013-07-24 | 腾讯科技(深圳)有限公司 | Time synchronizing method of mobile terminal, mobile terminal and time synchronizing system |
Non-Patent Citations (1)
Title |
---|
分布式作战仿真系统实时互联关键技术研究;姚刚;《中国优秀硕士学位论文全文数据库.工程科技Ⅱ辑》;20120315(第3期);第4.2、4.3、6.1节 |
Also Published As
Publication number | Publication date |
---|---|
CN105490798A (en) | 2016-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105490798B (en) | A kind of cross-platform multiple types of terminals standard time and operational time synchronous method and synchronization system | |
US10019333B2 (en) | Methods, systems, and computer readable media for emulating network devices with different clocks | |
US9736804B2 (en) | Methods, systems, and computer readable media for synchronizing timing among network interface cards (NICS) in a network equipment test device | |
DE102016110238B4 (en) | Method and device for synchronizing a slave clock generator with a master clock generator | |
CN101815177B (en) | Synchronous displaying device, synchronous displaying method and superposition splice displaying system | |
EP3096570A1 (en) | Time distribution in wireless communication systems | |
WO2016141071A1 (en) | Wireless synchronization based on beacons | |
CN113259293B (en) | Frequency compensation method and device | |
CN109327899A (en) | A kind of method, apparatus and system synchronization time of mobile unit synchronization time | |
US10440598B2 (en) | Methods and apparatus for clock drift mitigation with snoop-based ranging | |
CN109392074A (en) | Clock correcting method and device | |
TWI545926B (en) | Time synchronization method and system | |
CN106664145A (en) | Method for transmitting time synchronization messages in a communication network, network component, and communication network | |
WO2017080247A1 (en) | Synchronization method and device | |
KR20150085701A (en) | Method and its apparatus for controlling the terminal's timing in wireless communication system | |
Pocovi et al. | Measurement framework for assessing reliable real-time capabilities of wireless networks | |
WO2017113404A1 (en) | Network node, packet transmission method and network | |
CN107947888A (en) | A kind of task level synchronous method based on network service | |
CN112788100A (en) | Time synchronization method and device, storage medium and electronic device | |
CN109921871A (en) | A kind of method for synchronizing time, device and network system | |
CN113285851A (en) | Method and system suitable for testing network connection performance of power distribution safety equipment | |
CN106301745A (en) | The method and device of time synchronized between main control board and slave control board | |
CN107395307A (en) | A kind of clock synchronizing method and equipment | |
CN109699068A (en) | A kind of base station synchronization method and device | |
Wang et al. | TAPv2: An approach towards sub-microsecond level timing accuracy over air interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190315 Termination date: 20191125 |
|
CF01 | Termination of patent right due to non-payment of annual fee |