Terminal device, time adjusting method of terminal device and communication system
First Claim
1. A terminal device comprising:
- a time measuring unit which is configured to measure time;
an estimated error memory unit which is configured to store an estimated error between a measured time measured by the time measuring unit and current time;
a time information requesting unit which is configured to request another terminal device to transmit a measured time and an estimated error of said another terminal device;
a time information transmitting unit which is configured to transmit the measured time measured by the time measuring unit and the estimated error stored in the estimated error memory unit to another terminal device in response to a request from said another terminal device;
a time information receiving unit which is configured to receive the measured time and the estimated error of another terminal device requested by the time information requesting unit;
an estimated error calculating unit which is configured to calculate an error containing the estimated error of another terminal device received by the time information receiving unit as an updating-use estimated error; and
a time updating unit which is configured, when the updating-use estimated error calculated by the estimated error calculating unit is smaller than the estimated error stored in the estimated error memory unit, to store the updating-use estimated error in the estimated error memory unit thus updating the estimated error, and to adjust the measured time measured by the time measuring unit based on the measured time of said another terminal device received by the time information receiving unit.
1 Assignment
0 Petitions
Accused Products
Abstract
A terminal device includes: a time information receiving unit which receives measured time and an estimated error of another terminal device; an estimated error calculating unit which calculates an error containing the estimated error of another terminal device received by the time information receiving unit as an updating-use estimated error; and a time updating unit which, when the updating-use estimated error calculated by the estimated error calculating unit is smaller than an estimated error stored in an estimated error memory unit, stores the updating-use estimated error calculated by the estimated error calculating unit in the estimated error memory unit thus updating the estimated error stored in the estimated error memory unit, and adjusts a measured time measured by a time measuring unit in response to the measured time of another terminal device received by the time information receiving unit.
71 Citations
8 Claims
-
1. A terminal device comprising:
-
a time measuring unit which is configured to measure time; an estimated error memory unit which is configured to store an estimated error between a measured time measured by the time measuring unit and current time; a time information requesting unit which is configured to request another terminal device to transmit a measured time and an estimated error of said another terminal device; a time information transmitting unit which is configured to transmit the measured time measured by the time measuring unit and the estimated error stored in the estimated error memory unit to another terminal device in response to a request from said another terminal device; a time information receiving unit which is configured to receive the measured time and the estimated error of another terminal device requested by the time information requesting unit; an estimated error calculating unit which is configured to calculate an error containing the estimated error of another terminal device received by the time information receiving unit as an updating-use estimated error; and a time updating unit which is configured, when the updating-use estimated error calculated by the estimated error calculating unit is smaller than the estimated error stored in the estimated error memory unit, to store the updating-use estimated error in the estimated error memory unit thus updating the estimated error, and to adjust the measured time measured by the time measuring unit based on the measured time of said another terminal device received by the time information receiving unit. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer readable storage medium storing a program causing a computer of a terminal device to execute processing comprising the steps of:
-
storing an estimated error between a measured time measured by a time measuring unit of the terminal device and current time in an estimated error memory unit; requesting other terminal device to transmit a measured time and an estimated error of said another terminal device; transmitting the measured time measured by the time measuring unit and the estimated error stored in the estimated error memory unit to another terminal device in response to a request from said another terminal device; receiving the measured time and the estimated error of said another terminal device which are requested in said step of requesting the transmission of the measured time and the estimated error of said another terminal device; calculating an error which contains the estimated error of said another terminal device received in the step of receiving the measured time and the estimated error of said another terminal device as an updating-use estimated error; determining whether or not updating-use estimated error calculated in the step of calculating the updating-use estimated error is smaller than the estimated error stored in the estimated error memory unit; adjusting the measured time measured by the time measuring unit based on the measured time of said another terminal device received in the step of receiving the measured time and the estimated error of said another terminal device when updating-use estimated error is smaller than the estimated error in the step of determining whether or not the updating-use estimated error is smaller than the estimated error; and updating the estimated error by storing the updating-use estimated error as an estimated error in the estimated error memory unit when updating-use estimated error is smaller than the estimated error in the step of determining whether or not the updating-use estimated error is smaller than the estimated error.
-
-
7. A communication system which includes a plurality of terminal devices and is configured to perform transmission/reception of information between the terminal devices, wherein said each terminal device comprising:
-
a time measuring unit which is configured to measure time; an estimated error memory unit which is configured to store an estimated error between a measured time measured by the time measuring unit and current time; a time information requesting unit which is configured to request another terminal device to transmit a measured time and an estimated error of said another terminal device; a time information transmitting unit which is configured to transmit the measured time measured by the time measuring unit and the estimated error stored in the estimated error memory unit to another terminal device in response to a request from said another terminal device; a time information receiving unit which is configured to receive the measured time and the estimated error of another terminal device requested by the time information requesting unit; an estimated error calculating unit which is configured to calculate an error containing the estimated error of another terminal device received by the time information receiving unit as an updating-use estimated error; and a time updating unit which is configured, when the updating-use estimated error calculated by the estimated error calculating unit is smaller than the estimated error stored in the estimated error memory unit, to store the updating-use estimated error in the estimated error memory unit thus updating the estimated error, and to adjust the measured time measured by the time measuring unit based on the measured time of another terminal device received by the time information receiving unit.
-
-
8. A time adjustment method of terminal devices in a communication system which includes a plurality of terminal devices and is configured to perform transmission/reception of information between the terminal devices, the time adjustment method comprising the steps of:
-
storing an estimated error between a measured time measured by a time measuring unit of the terminal device and current time in an estimated error memory unit; requesting another terminal device to transmit a measured time and an estimated error of said another terminal device; transmitting the measured time measured by the time measuring unit and the estimated error stored in the estimated error memory unit to said another terminal device in response to a request from said another terminal device; receiving the measured time and the estimated error of another terminal device which are requested in said step of requesting the transmission of the measured time and the estimated error of said another terminal device; calculating an error which contains the estimated error of said another terminal device received in the step of receiving the measured time and the estimated error of said another terminal device as an updating-use estimated error; determining whether or not updating-use estimated error calculated in the step of calculating the updating-use estimated error is smaller than the estimated error stored in the estimated error memory unit; adjusting the measured time measured by the time measuring unit based on the measured time of said another terminal device received in the step of receiving the measured time and the estimated error of said another terminal device when updating-use estimated error is smaller than the estimated error in the step of determining whether or not the updating-use estimated error is smaller than the estimated error; and updating the estimated error by storing the updating-use estimated error calculated in the step of calculating the updating-use estimated error in the estimated error memory unit as an estimated error in the estimated error memory unit when updating-use estimated error is smaller than the estimated error in the step of determining whether or not the updating-use estimated error is smaller than the estimated error.
-
Specification