WiFi-Direct Time Synchronization with Delay Compensation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Users face inconvenience in manually setting system date and time for multiple digital devices, as mobile phones can only display received date and time information locally and not propagate it to other devices, leading to inconsistent timekeeping across devices.
Innovation Solution
A method and system for time synchronization using WiFi-direct, where a master device acquires date and time information from a base station and transmits it to a slave device via WiFi-direct connection, allowing the slave device to calculate and set its local time without transmission delay, enabling automatic synchronization.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If a mobile phone displays standard date and time information locally only, then the display function is simple and reliable, but the time information cannot be propagated to other devices, requiring manual setting for each digital device
Solution Approach 1:
The mobile phone acts as an intermediary device that receives standard time information from the base station and propagates it to other digital devices through WiFi-direct connection. This mediator approach enables automatic time synchronization across multiple devices without requiring each device to independently receive time signals from the base station, thus improving ease of operation while managing device complexity through a centralized time propagation mechanism
2Measurement precision
If time information is transmitted from master device to slave device via WiFi-direct, then automatic synchronization is achieved, but transmission delay affects time accuracy
Solution Approach 1:
The system performs preliminary measurements of transmission delay during the time synchronization process. The slave device calculates the one-way transmission delay by comparing the timestamp of the time synchronization request with the timestamp of the time synchronization response. This preliminary delay measurement enables the system to compensate for transmission delay and achieve accurate time synchronization by adjusting the synchronized time based on the calculated delay
3Reliability
If manual setting of system date and time is required for each digital device, then each device can be configured independently, but user convenience is greatly reduced
Solution Approach 1:
The system enables digital devices to perform self-service time synchronization by automatically receiving time information from the master device through WiFi-direct connection. Each slave device independently calculates transmission delay and adjusts its local time based on the synchronized time, achieving automatic time configuration without requiring manual user intervention while maintaining reliable time synchronization across devices
Data Source
AI summary
Disclosed are a time synchronization method and system using WiFi-direct. The method comprises: a master control device obtaining from a base station standard date and time information used for time synchronization; establishing a WiFi-Direct connection between the master control device and a slave device; in accordance with an active manner, the slave device obtaining a time synchronization manner or a passive reception time synchronization manner, and obtaining the standard date and time information from the master control device through the WiFi-Direct connection; and the slave device calculating an actual standard date and time with the influence of transmission time delay eliminated using the standard date and time information, and setting a system date and time thereof using the actual standard date and time. The master control device of the present invention transmits to each slave device standard date and time information obtained from a base station through Wi-Fi Direct to enable each slave device to achieve time synchronization.


