# US 2015/0146713 A1 · Time synchronization method and system using WiFi-direct

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0146713 A1
- Document ID: US20150146713A1
- Status: Published application
- Kind: A1
- Application number: 14/397,012
- Filed: 2013-05-30
- Published: 2015-05-28
- Earliest claimed: 2012-06-04
- Assignees: Zte Corporation
- Applicants: ZTE Corporation
- Inventors: Hui Yang
- Web page: https://patentgrep.com/patent/US20150146713A1

## CPC

- H04W 56/0015: {one node acting as a reference for the others}
- H04W 56/003: {Arrangements to increase tolerance to errors in transmission or reception timing}
- H04W 84/12: WLAN [Wireless Local Area Networks]
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

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.

## Claims

### Claim 1

A method for time synchronization by WiFi-direct, comprising steps of:
acquiring, by a master device, information on standard date and time from a base station for time synchronization;
establishing a WiFi-direct connection between the master device and a slave device;
acquiring, by the slave device, the information on the standard date and time actively or passively from the master device through the WiFi-direct connection; and
calculating, by the slave device, actual standard date and time without the impact of a transmission delay using the information on the standard date and time, and setting local system date and time as the actual standard date and time.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the step of acquiring, by the slave device, the information on the standard date and time actively comprises steps of:
sending, by the slave device, a time synchronization request to the master device through the WiFi-direct connection to request for the standard date and time, wherein the time synchronization request contains a time stamp of sending the time synchronization request;
receiving, by the slave device, a time synchronization response sent by the master device in response to the time synchronization request, and acquiring a time stamp of receiving the time synchronization response; and
analyzing, by the slave device, the time synchronization response, and extracting the information on the standard date and time as well as the time stamp of sending the time synchronization request contained in the time synchronization response.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the step of calculating, by the slave device, actual standard date and time without the impact of a transmission delay using the information on the standard date and time comprises steps of:
calculating, by the slave device, the transmission delay according to the time stamp of receiving the time synchronization response and the time stamp of sending the time synchronization request; and
acquiring, by the salve device, the actual standard date and time by adding the transmission delay to the standard date and time.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the step of acquiring, by the slave device, the information on the standard date and time passively comprises steps of:
calculating, by the master device, the transmission delay according to information interaction during establishment of the WiFi-direct connection of the master device with the slave device;
generating, by the master device, a time synchronization message containing information on the transmission delay and the standard date and time, and sending the time synchronization message to the slave device; and
after receiving the time synchronization message, extracting, by the slave device, the information on the transmission delay and the standard date and time.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the step of calculating, by the slave device, actual standard date and time without the impact of a transmission delay using the information on the standard date and time comprises a step of:
acquiring, by the salve device, the actual standard date and time by adding the transmission delay to the standard date and time.

### Claim 6

A system for time synchronization by WiFi-direct, comprising a master device and a slave device connected via a WiFi-direct connection, wherein
the master device is configured for acquiring information on standard date and time from a base station for time synchronization; and
the slave device is configured for: acquiring the information on the standard date and time actively or passively from the master device through the WiFi-direct connection; calculating actual standard date and time without the impact of a transmission delay using the information on the standard date and time; and setting local system date and time as the actual standard date and time.

### Claim 7 (depends on 6)

The system according to claim 6, wherein the slave device comprises:
a wireless transceiver configured for sending a time synchronization request to the master device through the WiFi-direct connection to request for the standard date and time, and receiving a time synchronization response sent by the master device in response to the time synchronization request, wherein the time synchronization request contains a time stamp of sending the time synchronization request;
a time extracting unit configured for acquiring a time stamp of receiving the time synchronization response; and
an analyzing unit configured for analyzing the time synchronization response to extract the information on the standard date and time as well as the time stamp of sending the time synchronization request contained in the time synchronization response.

### Claim 8 (depends on 7)

The system according to claim 7, wherein the slave device comprises:
a time calculating unit configured for calculating the transmission delay according to the time stamp of receiving the time synchronization response and the time stamp of sending the time synchronization request, and acquiring the actual standard date and time by adding the transmission delay to the standard date and time; and
a time adjusting unit configured for setting the local system date and time as the actual standard date and time.

### Claim 9 (depends on 6)

The system according to claim 6, wherein the master device comprises:
a transmission delay calculating unit configured for calculating the transmission delay according to information interaction during establishment of the WiFi-direct connection of the master device with the slave device;
a message generating unit configured for generating a time synchronization message containing information on the transmission delay and the standard date and time; and
a wireless transceiver configured for sending the time synchronization message to the slave device.

### Claim 10 (depends on 9)

The system according to claim 9, wherein the message generating unit is further configured for generating the time synchronization response in response to the time synchronization request.
