Time synchronization method and device, electronic equipment and storage medium
A technology for synchronizing reports and time. It is applied in electrical components, time division multiplexing systems, and multiplexing communications. It can solve problems such as poor accuracy, and achieve the effect of improving the accuracy of time synchronization and reducing the scope of time calculation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 It is a flowchart of a time synchronization method provided by Embodiment 1 of the present invention. This embodiment is applicable to the time synchronization situation in the client and server modes. This method can be executed by the time synchronization device in the embodiment of the present invention. The device can be realized by means of software and / or hardware, and integrated into electronic equipment, wherein the electronic equipment mainly refers to an NTP client. Such as figure 1 As shown, the method specifically includes the following steps:
[0030] S110. Send a time synchronization message of the network time protocol NTP and receive a response message of the time synchronization message.
[0031] Among them, the client sends the time synchronization message, the server receives the time synchronization message and sends a response message, and the client receives the response message. During this process, the time synchronization can be perfo...
Embodiment 2
[0080] image 3 It is a schematic structural diagram of a time synchronization device provided by Embodiment 2 of the present invention. This embodiment is applicable to the time synchronization situation in the client and server modes, the device can be implemented in software and / or hardware, and the device can be integrated in any device that provides time synchronization functions, such as image 3 As shown, the time synchronization device specifically includes: a message transmission module 310 , an acquisition module 320 and a time synchronization module 330 .
[0081] A message transmission module 310, configured to send a network time protocol timed message and receive a response message to the timed message;
[0082] An acquisition module 320, configured to acquire the time when the response message leaves the machine, and calculate the time required for the response message to arrive at the client application process from leaving the machine;
[0083] The time sync...
Embodiment 3
[0103] Figure 4 It is a schematic structural diagram of an electronic device provided by Embodiment 3 of the present invention. Figure 4 A block diagram of an electronic device 412 suitable for implementing embodiments of the invention is shown. Figure 4 The electronic device 412 shown is only an example, and should not limit the functions and scope of use of this embodiment of the present invention. Device 412 is a typical time-keeping enabled computing device.
[0104] Such as Figure 4 As shown, electronic device 412 takes the form of a general-purpose computing device. Components of the electronic device 412 may include, but are not limited to: one or more processors 416, a storage device 428, and a bus 418 connecting different system components (including the storage device 428 and the processor 416).
[0105] Bus 418 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics por...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com