US20190261439A1 - Wireless apparatus, wireless apparatus processing method, and program - Google Patents

Wireless apparatus, wireless apparatus processing method, and program Download PDF

Info

Publication number
US20190261439A1
US20190261439A1 US16/330,310 US201716330310A US2019261439A1 US 20190261439 A1 US20190261439 A1 US 20190261439A1 US 201716330310 A US201716330310 A US 201716330310A US 2019261439 A1 US2019261439 A1 US 2019261439A1
Authority
US
United States
Prior art keywords
self
clock
time synchronization
synchronization processing
wireless
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.)
Granted
Application number
US16/330,310
Other versions
US10834768B2 (en
Inventor
Takeshi Itagaki
Hideyuki Suzuki
Junji Kato
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Assigned to SONY CORPORATION reassignment SONY CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ITAGAKI, TAKESHI, KATO, JUNJI, SUZUKI, HIDEYUKI
Publication of US20190261439A1 publication Critical patent/US20190261439A1/en
Application granted granted Critical
Publication of US10834768B2 publication Critical patent/US10834768B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • H04W56/002Mutual synchronization
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • H04W56/0015Synchronization between nodes one node acting as a reference for the others
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/16Interfaces between hierarchically similar devices
    • H04W92/18Interfaces between hierarchically similar devices between terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present technology relates to a wireless apparatus, a wireless apparatus processing method, and a program.
  • Time synchronization between a plurality of wirelessly-connected apparatuses has been conventionally known (see Patent Document 1, for example).
  • IEEE1588 precision time protocol (PTP), IEEE802.11 fine timing measurement (FTM), and the like are known as protocols for time synchronization.
  • PTP Precision time protocol
  • FTM fine timing measurement
  • a time offset observation accuracy influences on a time synchronization accuracy.
  • a concept of the present technology lies in a wireless apparatus including:
  • a time synchronization processing part configured to perform a time synchronization processing between a self-apparatus and other apparatus configuring a wireless network together with the self-apparatus;
  • a parent/child determination part configured to determine whether the self-apparatus is a parent node or a child node in the wireless network
  • time synchronization processing part performs the time synchronization processing as a clock master for a child node under control when the self-apparatus is a parent node, and performs the time synchronization processing as a clock slave for a parent node when the self-apparatus is a child node.
  • the time synchronization processing part performs a time synchronization processing between a self-apparatus and other apparatus configuring a wireless network together with the self-apparatus.
  • the time synchronization processing may be a time synchronization processing in the IEEE1588 precision time protocol (PTP) protocol.
  • the time synchronization processing may be a time synchronization processing in the IEEE802.11 fine timing measurement (FTM) protocol.
  • the parent/child determination part determines whether the self-apparatus is a parent node or a child node in the wireless network.
  • the wireless network may be a Wi-Fi P2P network in which a P2P group owner as the parent node and a P2P client as the child node are present.
  • the wireless network may be a network in the infrastructure mode in which an access point as the parent node and a station as the child node are present.
  • the time synchronization processing part then performs the time synchronization processing as a clock master when the self-apparatus is a parent node, and performs the time synchronization processing as a clock slave when the self-apparatus is a child node.
  • the parent node in the wireless network performs the time synchronization processing as a clock master.
  • the time offset observation accuracy can be enhanced, and thus the time synchronization accuracy between a plurality of wireless apparatuses in the wireless network can be enhanced.
  • an information reception part configured to receive clock accuracy information and timestamp information sent from the other apparatus, and in a case where determining that a clock accuracy of the other apparatus is higher than a clock accuracy of the self-apparatus on the basis of the clock accuracy information sent from the other apparatus when the self-apparatus is a parent node, the time synchronization processing part may correct a clock value of the self-apparatus by use of the timestamp information sent from the other apparatus, and may then perform the time synchronization processing.
  • the clock accuracy information and the timestamp information may be stored and transmitted in the IEEE802.11 Public Action Frame. Further, in this case, the clock accuracy information and the timestamp information are stored and transmitted in the IEEE802.11 Association Request Frame, for example.
  • the clock accuracy of the child node as clock slave is higher than the clock accuracy of the parent node as clock master, the clock value of the parent node is corrected, and then the time synchronization processing is performed, thereby reducing the possibilities that the wireless network is synchronized at a largely-different time from an outside time.
  • an information transmission part configured to transmit clock accuracy information and timestamp information to the other apparatus, and when the self-apparatus is a child node, clock accuracy information and timestamp information of the self-apparatus may be transmitted to other apparatus.
  • the clock accuracy information may indicate which a clock of the self-apparatus is set or updated with reference to.
  • the timestamp information may indicate a clock value of the self-apparatus corresponding to a timing of the transmission.
  • the clock accuracy information and the timestamp information may be stored and transmitted in the IEEE802.11 Public Action Frame. Further, in this case, for example, the clock accuracy information and the timestamp information may be stored and transmitted in the IEEE802.11 Association Request Frame.
  • FIG. 1 is a diagram illustrating an operation outline of PTP.
  • FIG. 2 is a diagram for explaining uncertain elements for time observation in wireless transmission.
  • FIG. 3 is a diagram illustrating how a network delay is due to packet relaying.
  • FIG. 4 is a diagram illustrating an exemplary topology in which a plurality of child nodes are connected to a parent node via Wi-Fi P2P.
  • FIG. 5 is a diagram illustrating a clock comparison algorithm (1/2) used in the best master selection function defined in the IEEE1588.
  • FIG. 6 is a diagram illustrating the clock comparison algorithm (2/2) used in the best master selection function defined in the IEEE1588.
  • FIG. 7 is a functional bloc diagram of a terminal (wireless apparatus) configuring a wireless network.
  • FIG. 8 is a diagram illustrating a parent flow of processings according to a first embodiment.
  • FIG. 9 is a diagram illustrating a flow of a Clock Role determination processing according to the first embodiment.
  • FIG. 10 is a diagram illustrating an operation outline of a FTM protocol.
  • FIG. 11 is a diagram illustrating an exemplary topology (an exemplary case in which a clock accuracy of wireless child nodes is better than that of a wireless parent node) in which a plurality of child nodes are connected to a parent node via Wi-Fi P2P.
  • FIG. 12 is a diagram illustrating a parent flow of processings according to a second embodiment.
  • FIG. 13 is a diagram illustrating a flow of a previous information exchange processing according to the second embodiment.
  • FIG. 14 is diagrams illustrating exemplary formats of a previous information notification frame.
  • FIG. 15 is a diagram illustrating a flow of a previous correction processing according to the second embodiment.
  • the IEEE1588 standard “1588-2008-IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems” is defined as a time synchronization protocol via a network.
  • the protocol in the standard is called precision time protocol (PTP).
  • FIG. 1 illustrates an operation outline of PTP.
  • clock master transmits a correction value measurement SYNC frame to the clock slave.
  • the transmission time is assumed as “time t1.”
  • Time t1 is a measurement time in the clock master apparatus.
  • time t2 a time when the SYNC frame reaches the clock slave is assumed as “time t2.”
  • Time t2 is a measurement time in the clock slave apparatus.
  • the clock master then notifies the measured “time t1” to the clock slave in a Follow-up frame. Thereby, the clock slave can acquire a propagation delay time from the clock master to the clock slave. Consequently, the propagation delay time ⁇ tms from the clock master to the clock slave is indicated in the following Equation (1).
  • the Delay_Request frame is then transmitted from the clock slave, and the transmission time “time t3” is measured.
  • the clock master measures “time t4” when it receives the Delay_Request frame, and notifies the value in the Delay_Response frame to the clock slave. By doing so, the propagation delay time ⁇ tsm from the clock slave to the clock master is indicated in the following Equation (2).
  • the time offset value offset between the clock master and the clock slave is calculated as in the following Equation (3) due to Equation (1), Equation (2), and symmetry of the propagation path.
  • the offset value can be also derived at high accuracy.
  • FIG. 2 illustrates uncertain elements in time observation in wireless transmission.
  • a processing time changes due to system load in a case where the exchange processings are performed in software (transmission processing delay and reception processing delay in FIG. 2 ).
  • carrier sensing is performed in a case where packets are transmitted via wireless LAN, and random backoff time standby is performed in a case where a wireless access of other station is detected, thereby preventing a collision by offsetting transmission timings of a plurality of hosts (channel access delay in FIG. 2 ).
  • the timestamps do not necessarily indicate actual packet exchange times depending on a position of the processing layer for timestamps.
  • a network delay varies due to a processing residence time ( ⁇ S, ⁇ R) occurring in an intermediate network device for transferring packets, and the time offset observation accuracy lowers.
  • a hardware support processing in the PHY layer (physical layer) is recommended in order to acquire accurate exchange times and to observe a time offset in the IEEE1588 specification.
  • a transparent clock (TC) function is defined as a switching hub for realizing a residence time correction function in an intermediate node.
  • TC transparent clock
  • FIG. 4 illustrates an exemplary topology in which a plurality of child nodes are connected to a parent node via Wi-Fi P2P.
  • the illustrated example assumes that P2P clients as a plurality of child nodes are connected to a P2P group owner as parent node.
  • a P2P group owner may be determined depending on the characteristics of an application in a Wi-Fi P2P network.
  • a terminal A is determined as P2P group owner, and a terminal B and a terminal C are further determined as P2P clients.
  • the terminal B as P2P client serves as the clock master in the time synchronization processing, the following disadvantages occur when time synchronization between the terminals is performed.
  • direct communication is made between the terminal B and the terminal A in the time synchronization processing between the terminal B and the terminal A as described in the following (1).
  • indirect communication is made between the terminal B and the terminal C via the terminal A in the time synchronization processing between the terminal B and the terminal C as described in the following (2).
  • (2) When a comparison between (1) and (2) is made, (2) includes more wireless communication periods, and has a larger influence on the offset observation accuracy due to the residence time because of the presence of the intermediate node. Thus, the time offset observation accuracy is influenced by the network topology.
  • the IEEE1588 specification defines the best master selection function as a mechanism for selecting the clock master in the time synchronization processing.
  • the best master selection function an apparatus present on a network reports to surroundings an attribute (Table 12 in the IEEE1588 specification (version 2008)) including its time accuracy in an announcement message, and selects a clock more suitable for the clock master on the basis of the clock comparison algorithm in the IEEE1588 specification.
  • FIG. 5 and FIG. 6 illustrate the clock comparison algorithm.
  • FIG. 5 and FIG. 6 correspond to FIG. 27 “Data Set Comparison algorithm, part1”, and FIG. 28 “Data Set Comparison algorithm, part2” in the IEEE1588 specification, respectively.
  • There is known selection of a clock master on the basis of the time accuracy of each apparatus (each terminal) and the number of relays at the layer 3 (network layer) level but a mechanism for selecting a clock master in consideration of the number of relays at the layer 2 (datalink layer) level is not conventionally present. In a case where wireless LAN is used for transmission, a relay at the layer 2 level is caused, and the problem arises.
  • a terminal mounting a high-accuracy clock thereon and operating as grandmaster is additionally prepared in the current IEEE1588 specification and its implementation.
  • each terminal mounts the grandmaster function in the IEEE1588 thereon, and any of mutually-connected terminals is in charge of the grandmaster function, thereby synchronizing between terminals in a closed network and without additionally preparing a grandmaster apparatus.
  • a plurality of terminals having a similar level of clock accuracy are connected, and the offset observation accuracy due to a residence time in a wireless medium or an intermediate node is regarded as more serious than due to difference in accuracy of the clock mounted on each terminal.
  • a start topology is formed about the P2P group owner as a parent node, and thus the terminal A as P2P group owner is selected as clock master. Such selection is made so that the numbers of hops from the clock master terminal to all the clock slave terminals are the same, and the same level of offset observation accuracy is obtained among all the P2P client devices due to the absence of an intermediate node.
  • the Wi-Fi P2P network is described herein as a wireless network by way of example, but a start topology about an access point (AP) is formed also in a network in the infrastructure mode in which the access point (AP) as a parent node and a station (STA) as child node are present, and thus a similar configuration can be applied.
  • AP access point
  • STA station
  • a solution for dynamically selecting a terminal to be the clock master is introduced in consideration of a wireless topology in which terminals participating in a wireless network are currently configured.
  • FIG. 7 illustrates a functional block diagram of each terminal (wireless apparatus) 100 configuring a wireless network.
  • the terminal 100 has a media control part 101 , a wireless communication part 102 , a user interface part 103 , a main control part 104 , and a memory 105 .
  • the media control part 101 is a block having the functions such as a video control function of shooting an image or outputting an image, and a speech control function of collecting speech and outputting sounds, for example.
  • the wireless communication part 102 is a functional block in charge of all the functions of a wireless protocol mainly in the communication layers below the datalink layer for packets generated in the main control part 104 or incoming wireless frames.
  • the user interface part 103 notifies a user-input operation signal to the main control part 104 .
  • the user interface part 103 may have a function of notifying an input from a sensor for collecting environment data to the main control part 104 in addition to operation signals.
  • the main control part 104 corresponds to a host processor in the terminal 100 , executes application programs held in the memory 105 , controls input/output signals of the user interface part 103 , and performs communication protocol processings mainly in the network layer and its upper layers. Further, the main control part 104 puts information in and out of the media control part 101 .
  • a wireless stereo speaker is assumed as an exemplary use case in which the terminal (wireless apparatus) 100 of FIG. 7 is connected as in FIG. 4 , for example.
  • the terminal A is a parent node of audio
  • FIG. 8 illustrates a parent flow of processings according to a first embodiment.
  • the parent flow is configured of three phases including “connection processing,” “Clock Role determination processing,” and “time synchronization processing.” The contents of the respective phases will be described.
  • connection processing is for general wireless LAN.
  • SCAN Serial Bus
  • Authentication Authentication
  • Association and “4-way Handshake” correspond thereto in the infrastructure mode.
  • the Clock Role determination processing is directed for determining whether a self-terminal (self-apparatus) operates as clock master or clock slave.
  • FIG. 9 illustrates a flow of the Clock Role determination processing according to the first embodiment.
  • step ST 1 a determination is made as to whether an operation mode in the currently-participating wireless LAN network is the infrastructure mode or Wi-Fi P2P.
  • step ST 2 a determination is made as to whether the self-terminal operates as access point or station (STA). In a case where the self-terminal operates as access point, in step ST 3 , the self-terminal determines to operate as clock master, and in a case where the self-terminal operates as station, in step ST 4 , the self-terminal determines to operate as clock slave.
  • STA access point or station
  • step ST 5 a determination is made as to whether the self-terminal operates as P2P group owner or P2P client. In a case where the self-terminal operates as P2P group owner, in step ST 6 , the self-terminal determines to operate as clock master, and in a case where the self-terminal operates as P2P client, in step ST 7 , the self-terminal determines to operate as clock slave.
  • the time synchronization processing is directed for calculating a time offset with a communication party and performing time synchronization according to the determination in the Clock Role determination processing described above.
  • the time synchronization processing is performed in the layer 3 (network layer, mainly IP layer) and its upper layers, the time synchronization processing (see FIG. 1 ) in the above PTP protocol is performed, and in a case where the self-terminal is a clock slave, the clock value (system clock value) is corrected as needed according to the calculated time offset.
  • the clock slave receives the Delay_Response frame, the information required for calculating the time offset with the party is obtained.
  • a method using frame exchange in the layer 2 (datalink layer, corresponding to MAC layer in the case of wireless LAN) is also present for calculating a time offset.
  • the fine timing measurement (FTM) protocol defined in the IEEE802.11 standard is used.
  • FIG. 10 illustrates an operation outline of the FTM protocol.
  • a time offset between the clock master (Responding STA in the Figure) and the clock slave (Initiating STA in the Figure) is similarly acquired by replacing t1 to t4 with t11 to t14 in the above Equation (3).
  • the clock slave (Initiating STA) receives the FTM _2 frame, the information required for calculating the time offset with the party is obtained.
  • the sequence may be repeatedly performed several times to make calculations with a plurality of sets of t11 to t14, thereby enhancing the accuracy.
  • the parent node as clock master in the wireless network performs the time synchronization processing.
  • the time offset observation accuracy can be enhanced, thereby enhancing the time synchronization accuracy between a plurality of wireless apparatuses in the wireless network.
  • the clock accuracy of a child node may be higher than that of a parent node in the parent node and the child node which are in wireless LAN connection.
  • a topology as illustrated in FIG. 11 is possible.
  • the terminal C is connected to the Internet via another interface, and holds a higher-accuracy (more-excellent) clock by network time protocol (NTP).
  • NTP network time protocol
  • the terminal A as wireless parent node is not connected to the outside, and a clock value having no relationship with the outside is manually set.
  • the terminal A is forcibly assumed as clock master and the terminals B and C synchronize therewith as in the first embodiment, synchronization between the terminals can be realized, but the synchronization is performed at different times from the outside, and the clock accuracy of the terminal C can be deteriorated.
  • the second embodiment there is provided a mechanism for realizing preferable time synchronization between wireless terminals while preventing a large deterioration in clock accuracy even in the case.
  • FIG. 12 is a parent flow of processings according to the second embodiment.
  • the parent flow is configured of five phases including “previous information exchange processing,” “connection processing,” “Clock Role determination processing,” “previous correction processing,” and “time synchronization processing.” The contents of the respective phases will be described.
  • FIG. 13 illustrates a flow of the previous information exchange processing according to the second embodiment.
  • clock accuracy information and timestamp information (system clock value) are exchanged between the respective terminals.
  • the example of FIG. 13 illustrates that information is transmitted from a wireless machine A to a wireless machine B.
  • the wireless machine A generates a previous information notification frame storing the clock accuracy information and the timestamp information.
  • the wireless machine A sends the previous information notification frame to the wireless machine B.
  • the wireless machine B holds the clock accuracy information and the timestamp information stored in the previous information notification frame received from the wireless machine A.
  • the clock accuracy information indicates which the clock of a self-apparatus is set or updated with reference to, such as timeSource information in the IEEE1588 standard.
  • Table 2 indicates the timeSource values defined in the IEEE1588 standard. In Table 2, a lower value indicates a higher accuracy.
  • each terminal sets the timeSource value according to the definition, only the terminal C takes “NTP,” and the terminal A and the terminal B take “HAND SET” or “INTERNAL OSCILLATOR” in the case of FIG. 11 .
  • Each terminal employs the value as “clock accuracy information” described above. Further, each terminal acquires the clock value of self-apparatus corresponding to a timing to transmit the information (the clock accuracy information and the timestamp information).
  • Each terminal employs the value as “timestamp information” described above.
  • Each terminal stores the two items of information in the previous information notification frame for transmission.
  • the description will be made herein assuming that the previous information notification frame is realized as IEEE802.11 Public Action frame.
  • FIG. 14( a ) illustrates an exemplary format of the previous information notification frame in this case.
  • the clock accuracy information is stored in the Clock Accuracy Information field in FIG. 14( a ) .
  • the previous information notification frame does not necessarily need to be realized by the Public Action frame.
  • it may be mounted as Information Element on part of the Association Request frame to be notified.
  • FIG. 14 ( b ) illustrates an exemplary format in this case.
  • it may be transmitted in other Management frames such as Association Response, Probe Response, Beacon, and Authentication frames.
  • a terminal which receives the information saves the clock accuracy information and the timestamp information together with the transmission source MAC address in association with the transmission source identifier.
  • connection processing is for general wireless LAN.
  • Scan “Authentication,” “Association”, and “4-way Handshake” correspond thereto in the infrastructure mode.
  • association Request/Response frame is used for the previous information notification frame
  • the previous information exchange processing is included in the present processing.
  • the Clock Role determination processing is directed for determining whether a self-terminal (self-apparatus) operates as clock master or clock slave. Though not described in detail, it is similar to the Clock Role determination processing according to the first embodiment.
  • a time (clock) previous correction processing is performed after Clock Role determination.
  • the processing is performed only by a wireless parent node (access point in the infrastructure mode or P2P group owner in Wi-Fi P2P). At this time, the wireless parent node is determined to operate as clock master.
  • FIG. 15 illustrates a flow of the previous correction processing.
  • the terminal confirms an operation mode and a role in step ST 21 .
  • the terminal determines whether one or more items of clock accuracy information are acquired from a child node.
  • step ST 23 the terminal determines whether the clock accuracy indicated by the clock accuracy information is higher (more excellent) than its clock accuracy.
  • the terminal updates its system clock value (time) to the system clock value of the child node indicating the higher accuracy on the basis of the timestamp information.
  • the wireless parent node may update its system clock value after acquiring the timestamp information from the wireless child node again via communication at this time.
  • the time synchronization processing is directed for calculating a time offset with a communication party for synchronization according to the determination in the Clock Role determination processing described above. Though not described in detail, it is similar to the time synchronization processing according to the first embodiment described above.
  • the parent node as clock master in a wireless network performs the time synchronization processing. Therefore, the time offset observation accuracy can be enhanced, and thus the time synchronization accuracy between a plurality of wireless apparatuses in the wireless network can be enhanced. Further, according to the second embodiment, in a case where the clock accuracy of the child node as clock slave is higher than the clock accuracy of the parent node as clock master, the clock value of the parent node is corrected and then the time synchronization processing is performed. Thus, the possibilities that a wireless network is synchronized at a largely-different time from an outside time can be reduced.
  • timeSource value is used as “clock accuracy information” according to the above embodiments, and additionally any of priority 1, priority 2, clockClass, and clockAccuracy in the IEEE1588 standard, or a combination thereof may be used therefor.
  • priority 1 and priority 2 are a user freely-settable value between 0 and 255.
  • a low value is prioritized.
  • a default value of 128 is defined for default PTP profile.
  • clockClass is an attribute for defining traceability of the clock relative to the international standard time, and a method for setting the value is described in Table5 in the IEEE1588 specification.
  • clockAccuracy is an attribute for defining the clock accuracy, and a method for setting the value is described in Table6 in the IEEE1588 specification.
  • the present technology can take the following configurations.
  • a wireless apparatus including:
  • a time synchronization processing part configured to perform a time synchronization processing between a self-apparatus and other apparatus configuring a wireless network together with the self-apparatus;
  • a parent/child determination part configured to determine whether the self-apparatus is a parent node or a child node in the wireless network
  • time synchronization processing part performs the time synchronization processing as a clock master for a child node under control when the self-apparatus is a parent node, and performs the time synchronization processing as a clock slave for a parent node when the self-apparatus is a child node.
  • the wireless network is a Wi-Fi P2P network in which a P2P group owner as the parent node and a P2P client as the child node are present.
  • the wireless network is a network in an infrastructure mode in which an access point as the parent node and a station as the child node are present.
  • time synchronization processing is a time synchronization processing in the IEEE1588 precision time protocol (PTP) protocol.
  • PTP precision time protocol
  • time synchronization processing is a time synchronization processing in the IEEE802.11 fine timing measurement (FTM) protocol.
  • FTM fine timing measurement
  • an information reception part configured to receive clock accuracy information and timestamp information sent from the other apparatus
  • the time synchronization processing part corrects a clock value of the self-apparatus by use of the timestamp information sent from the other apparatus, and then performs the time synchronization processing.
  • clock accuracy information and the timestamp information are stored and transmitted in the IEEE802.11 Public Action Frame.
  • clock accuracy information and the timestamp information are stored and transmitted in the IEEE802.11 Association Request Frame.
  • an information transmission part configured to transmit clock accuracy information and timestamp information to the other apparatus
  • clock accuracy information and the timestamp information are stored and transmitted in the IEEE802.11 Public Action Frame.
  • clock accuracy information and the timestamp information are stored and transmitted in the IEEE802.11 Association Request Frame.
  • the clock accuracy information indicates which a clock of the self-apparatus is set or updated with reference to.
  • the timestamp information indicates a clock value of the self-apparatus corresponding to a timing of the transmission.
  • a wireless apparatus processing method including:
  • a parent/child determination step of determining by a parent/child determination part whether the self-apparatus is a parent node or a child node in the wireless network
  • time synchronization processing is performed as a clock master for a child node under control when the self-apparatus is a parent node, and the time synchronization processing is performed as a clock slave for a parent node when the self-apparatus is a child node in the time synchronization processing step.
  • a time synchronization processing unit configured to perform a time synchronization processing between a self-apparatus and other apparatus configuring a wireless network together with the self-apparatus
  • a parent/child determination unit configured to determine whether the self-apparatus is a parent node or a child node in the wireless network
  • time synchronization processing unit performs the time synchronization processing as a clock master for a child node under control when the self-apparatus is a parent node, and performs the time synchronization processing as a clock slave for a parent node when the self-apparatus is a child node.

Abstract

To enhance a time synchronization accuracy between a plurality of wireless apparatuses in a wireless network. A time synchronization processing part performs a time synchronization processing between a self-apparatus and other apparatus configuring a wireless network together with the self-apparatus. A parent/child determination part determines whether the self-apparatus is a parent node or a child node in the wireless network. The time synchronization processing part performs the time synchronization processing as clock master for a child node under control when the self-apparatus is a parent node, and performs the time synchronization processing as a clock slave for a parent node when the self-apparatus is a child node.

Description

    TECHNICAL FIELD
  • The present technology relates to a wireless apparatus, a wireless apparatus processing method, and a program.
  • BACKGROUND ART
  • Time synchronization between a plurality of wirelessly-connected apparatuses has been conventionally known (see Patent Document 1, for example). IEEE1588 precision time protocol (PTP), IEEE802.11 fine timing measurement (FTM), and the like are known as protocols for time synchronization. In the case of the protocols, a time offset observation accuracy influences on a time synchronization accuracy.
  • CITATION LIST Patent Document
    • Patent Document 1: Japanese Patent Application Laid-Open No. 2016-131332
    SUMMARY OF THE INVENTION Problems to be Solved by the Invention
  • It is an object of the present technology to enhance a time synchronization accuracy between a plurality of wireless apparatuses in a wireless network.
  • Solutions to Problems
  • A concept of the present technology lies in a wireless apparatus including:
  • a time synchronization processing part configured to perform a time synchronization processing between a self-apparatus and other apparatus configuring a wireless network together with the self-apparatus; and
  • a parent/child determination part configured to determine whether the self-apparatus is a parent node or a child node in the wireless network,
  • in which the time synchronization processing part performs the time synchronization processing as a clock master for a child node under control when the self-apparatus is a parent node, and performs the time synchronization processing as a clock slave for a parent node when the self-apparatus is a child node.
  • According to the present technology, the time synchronization processing part performs a time synchronization processing between a self-apparatus and other apparatus configuring a wireless network together with the self-apparatus. For example, the time synchronization processing may be a time synchronization processing in the IEEE1588 precision time protocol (PTP) protocol. Further, for example, the time synchronization processing may be a time synchronization processing in the IEEE802.11 fine timing measurement (FTM) protocol.
  • The parent/child determination part determines whether the self-apparatus is a parent node or a child node in the wireless network. For example, the wireless network may be a Wi-Fi P2P network in which a P2P group owner as the parent node and a P2P client as the child node are present. Further, for example, the wireless network may be a network in the infrastructure mode in which an access point as the parent node and a station as the child node are present. The time synchronization processing part then performs the time synchronization processing as a clock master when the self-apparatus is a parent node, and performs the time synchronization processing as a clock slave when the self-apparatus is a child node.
  • In this way, according to the present technology, the parent node in the wireless network performs the time synchronization processing as a clock master. Thus, the time offset observation accuracy can be enhanced, and thus the time synchronization accuracy between a plurality of wireless apparatuses in the wireless network can be enhanced.
  • Additionally, according to the present technology, for example, there is further provided an information reception part configured to receive clock accuracy information and timestamp information sent from the other apparatus, and in a case where determining that a clock accuracy of the other apparatus is higher than a clock accuracy of the self-apparatus on the basis of the clock accuracy information sent from the other apparatus when the self-apparatus is a parent node, the time synchronization processing part may correct a clock value of the self-apparatus by use of the timestamp information sent from the other apparatus, and may then perform the time synchronization processing.
  • In this case, for example, the clock accuracy information and the timestamp information may be stored and transmitted in the IEEE802.11 Public Action Frame. Further, in this case, the clock accuracy information and the timestamp information are stored and transmitted in the IEEE802.11 Association Request Frame, for example.
  • In this way, in a case where the clock accuracy of the child node as clock slave is higher than the clock accuracy of the parent node as clock master, the clock value of the parent node is corrected, and then the time synchronization processing is performed, thereby reducing the possibilities that the wireless network is synchronized at a largely-different time from an outside time.
  • Further, according to the present embodiment, for example, there is further provided an information transmission part configured to transmit clock accuracy information and timestamp information to the other apparatus, and when the self-apparatus is a child node, clock accuracy information and timestamp information of the self-apparatus may be transmitted to other apparatus. In this case, for example, the clock accuracy information may indicate which a clock of the self-apparatus is set or updated with reference to. Further, in this case, for example, the timestamp information may indicate a clock value of the self-apparatus corresponding to a timing of the transmission.
  • Further, in this case, for example, the clock accuracy information and the timestamp information may be stored and transmitted in the IEEE802.11 Public Action Frame. Further, in this case, for example, the clock accuracy information and the timestamp information may be stored and transmitted in the IEEE802.11 Association Request Frame.
  • Effects of the Invention
  • According to the present technology, it is possible to enhance a time synchronization accuracy between a plurality of wireless apparatuses in a wireless network. Additionally, the effects described herein are not necessarily restrictive, and may be any effect described in the present disclosure.
  • BRIEF DESCRIPTION OF DRAWINGS
  • FIG. 1 is a diagram illustrating an operation outline of PTP.
  • FIG. 2 is a diagram for explaining uncertain elements for time observation in wireless transmission.
  • FIG. 3 is a diagram illustrating how a network delay is due to packet relaying.
  • FIG. 4 is a diagram illustrating an exemplary topology in which a plurality of child nodes are connected to a parent node via Wi-Fi P2P.
  • FIG. 5 is a diagram illustrating a clock comparison algorithm (1/2) used in the best master selection function defined in the IEEE1588.
  • FIG. 6 is a diagram illustrating the clock comparison algorithm (2/2) used in the best master selection function defined in the IEEE1588.
  • FIG. 7 is a functional bloc diagram of a terminal (wireless apparatus) configuring a wireless network.
  • FIG. 8 is a diagram illustrating a parent flow of processings according to a first embodiment.
  • FIG. 9 is a diagram illustrating a flow of a Clock Role determination processing according to the first embodiment.
  • FIG. 10 is a diagram illustrating an operation outline of a FTM protocol.
  • FIG. 11 is a diagram illustrating an exemplary topology (an exemplary case in which a clock accuracy of wireless child nodes is better than that of a wireless parent node) in which a plurality of child nodes are connected to a parent node via Wi-Fi P2P.
  • FIG. 12 is a diagram illustrating a parent flow of processings according to a second embodiment.
  • FIG. 13 is a diagram illustrating a flow of a previous information exchange processing according to the second embodiment.
  • FIG. 14 is diagrams illustrating exemplary formats of a previous information notification frame.
  • FIG. 15 is a diagram illustrating a flow of a previous correction processing according to the second embodiment.
  • MODE FOR CARRYING OUT THE INVENTION
  • Modes for carrying out the invention (denoted as “embodiments” below) will be described below. Additionally, the description will be made in the following order.
  • 1. Embodiments
  • 2. Variant
  • 1. Embodiments
  • In a case where a plurality of apparatuses are connected to perform time synchronization, the IEEE1588 standard “1588-2008-IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems” is defined as a time synchronization protocol via a network. The protocol in the standard is called precision time protocol (PTP).
  • FIG. 1 illustrates an operation outline of PTP. One of two apparatuses in the protocol is assumed as clock master and the other is assumed as clock slave. The two roles will be called clock role below. At first, the clock master transmits a correction value measurement SYNC frame to the clock slave. Then, the transmission time is assumed as “time t1.” Time t1 is a measurement time in the clock master apparatus. Further, a time when the SYNC frame reaches the clock slave is assumed as “time t2.” Time t2 is a measurement time in the clock slave apparatus.
  • The clock master then notifies the measured “time t1” to the clock slave in a Follow-up frame. Thereby, the clock slave can acquire a propagation delay time from the clock master to the clock slave. Consequently, the propagation delay time Δtms from the clock master to the clock slave is indicated in the following Equation (1).

  • [Math. 1]

  • Δtms=t 2 −t 1=Delay(Master→Slave)+Offset  (1)
  • The Delay_Request frame is then transmitted from the clock slave, and the transmission time “time t3” is measured. The clock master measures “time t4” when it receives the Delay_Request frame, and notifies the value in the Delay_Response frame to the clock slave. By doing so, the propagation delay time Δtsm from the clock slave to the clock master is indicated in the following Equation (2).

  • [Math. 2]

  • Δtsm=t 4 −t 3=Delay(Slave→Master)−Offset  (2)
  • The time offset value offset between the clock master and the clock slave is calculated as in the following Equation (3) due to Equation (1), Equation (2), and symmetry of the propagation path.

  • [Math. 3]

  • offset=½{(t 2 −t 1)−(t 4 −t 3)}  (3)
  • Therefore, if a propagation delay from the clock master to the clock slave or from the clock slave to the clock master is symmetric, and the frame exchange times (t1, t2, t3, t4) can be accurately measured, the offset value can be also derived at high accuracy.
  • A mechanism for calculating offset in PTP between two apparatuses has been described above. In a network in which three or more apparatuses are present, any one is assumed as grand master and the other apparatuses follow it. The grand master is a clock which is highly accurate and reliable as a reference source. In a case where an apparatus not directly connected to the grand master makes synchronization, clock information needs to be relayed.
  • In a case where PTP is performed via a wireless propagation path, a delay due to an uncertain element is present on time observation. FIG. 2 illustrates uncertain elements in time observation in wireless transmission. In a case where a PTP packet is transmitted via wireless LAN, a processing time changes due to system load in a case where the exchange processings are performed in software (transmission processing delay and reception processing delay in FIG. 2).
  • Further, carrier sensing is performed in a case where packets are transmitted via wireless LAN, and random backoff time standby is performed in a case where a wireless access of other station is detected, thereby preventing a collision by offsetting transmission timings of a plurality of hosts (channel access delay in FIG. 2). Thus, the timestamps do not necessarily indicate actual packet exchange times depending on a position of the processing layer for timestamps.
  • Further, as illustrated in FIG. 3, a network delay varies due to a processing residence time (ΔS, ΔR) occurring in an intermediate network device for transferring packets, and the time offset observation accuracy lowers.
  • Therefore, a hardware support processing in the PHY layer (physical layer) is recommended in order to acquire accurate exchange times and to observe a time offset in the IEEE1588 specification. Further, a transparent clock (TC) function is defined as a switching hub for realizing a residence time correction function in an intermediate node. However, in a case where a device not for the measure is present together, a solution for reducing as many influences as possible is required.
  • For example, FIG. 4 illustrates an exemplary topology in which a plurality of child nodes are connected to a parent node via Wi-Fi P2P. The illustrated example assumes that P2P clients as a plurality of child nodes are connected to a P2P group owner as parent node.
  • As described in the specification of Japanese Patent Application No. 2012-224013 (Japanese Patent Application Laid-Open No. 2014-078785) previously filed by the present applicants, a P2P group owner may be determined depending on the characteristics of an application in a Wi-Fi P2P network.
  • In the case of the example illustrated in FIG. 4, a terminal A is determined as P2P group owner, and a terminal B and a terminal C are further determined as P2P clients. In this case, in a case where the terminal B as P2P client serves as the clock master in the time synchronization processing, the following disadvantages occur when time synchronization between the terminals is performed.
  • That is, direct communication is made between the terminal B and the terminal A in the time synchronization processing between the terminal B and the terminal A as described in the following (1). To the contrary, indirect communication is made between the terminal B and the terminal C via the terminal A in the time synchronization processing between the terminal B and the terminal C as described in the following (2).
  • (1) Synchronization between terminal B and terminal A: terminal B to terminal A
  • (2) Synchronization between terminal B and terminal C: terminal B to terminal A to terminal C
  • When a comparison between (1) and (2) is made, (2) includes more wireless communication periods, and has a larger influence on the offset observation accuracy due to the residence time because of the presence of the intermediate node. Thus, the time offset observation accuracy is influenced by the network topology.
  • Incidentally, the IEEE1588 specification defines the best master selection function as a mechanism for selecting the clock master in the time synchronization processing. In the best master selection function, an apparatus present on a network reports to surroundings an attribute (Table 12 in the IEEE1588 specification (version 2008)) including its time accuracy in an announcement message, and selects a clock more suitable for the clock master on the basis of the clock comparison algorithm in the IEEE1588 specification.
  • Though not described in detail, FIG. 5 and FIG. 6 illustrate the clock comparison algorithm. FIG. 5 and FIG. 6 correspond to FIG. 27 “Data Set Comparison algorithm, part1”, and FIG. 28 “Data Set Comparison algorithm, part2” in the IEEE1588 specification, respectively. There is known selection of a clock master on the basis of the time accuracy of each apparatus (each terminal) and the number of relays at the layer 3 (network layer) level, but a mechanism for selecting a clock master in consideration of the number of relays at the layer 2 (datalink layer) level is not conventionally present. In a case where wireless LAN is used for transmission, a relay at the layer 2 level is caused, and the problem arises.
  • In many cases, a terminal mounting a high-accuracy clock thereon and operating as grandmaster is additionally prepared in the current IEEE1588 specification and its implementation. However, it will be assumed in the future that each terminal mounts the grandmaster function in the IEEE1588 thereon, and any of mutually-connected terminals is in charge of the grandmaster function, thereby synchronizing between terminals in a closed network and without additionally preparing a grandmaster apparatus. In this case, it is assumed that a plurality of terminals having a similar level of clock accuracy are connected, and the offset observation accuracy due to a residence time in a wireless medium or an intermediate node is regarded as more serious than due to difference in accuracy of the clock mounted on each terminal.
  • In the case of the situation illustrated in FIG. 4, a start topology is formed about the P2P group owner as a parent node, and thus the terminal A as P2P group owner is selected as clock master. Such selection is made so that the numbers of hops from the clock master terminal to all the clock slave terminals are the same, and the same level of offset observation accuracy is obtained among all the P2P client devices due to the absence of an intermediate node.
  • Additionally, the Wi-Fi P2P network is described herein as a wireless network by way of example, but a start topology about an access point (AP) is formed also in a network in the infrastructure mode in which the access point (AP) as a parent node and a station (STA) as child node are present, and thus a similar configuration can be applied.
  • According to the present technology, a solution for dynamically selecting a terminal to be the clock master is introduced in consideration of a wireless topology in which terminals participating in a wireless network are currently configured.
  • FIG. 7 illustrates a functional block diagram of each terminal (wireless apparatus) 100 configuring a wireless network. The terminal 100 has a media control part 101, a wireless communication part 102, a user interface part 103, a main control part 104, and a memory 105.
  • The media control part 101 is a block having the functions such as a video control function of shooting an image or outputting an image, and a speech control function of collecting speech and outputting sounds, for example. The wireless communication part 102 is a functional block in charge of all the functions of a wireless protocol mainly in the communication layers below the datalink layer for packets generated in the main control part 104 or incoming wireless frames.
  • The user interface part 103 notifies a user-input operation signal to the main control part 104. The user interface part 103 may have a function of notifying an input from a sensor for collecting environment data to the main control part 104 in addition to operation signals. The main control part 104 corresponds to a host processor in the terminal 100, executes application programs held in the memory 105, controls input/output signals of the user interface part 103, and performs communication protocol processings mainly in the network layer and its upper layers. Further, the main control part 104 puts information in and out of the media control part 101.
  • A wireless stereo speaker is assumed as an exemplary use case in which the terminal (wireless apparatus) 100 of FIG. 7 is connected as in FIG. 4, for example. In the case, the terminal A is a parent node of audio, and the terminal B and the terminal Care stereo speakers for reproducing audio data in L channel or R channel transmitted by the terminal A, respectively.
  • Two embodiments will be described below. Though described below in detail, the following Table 1 is a summary of characteristics of each embodiment.
  • TABLE 1
    Applicable Previous Solution for
    offset correction Slave with Exchange
    calculation Clock on Master higher Clock information before
    Embodiment protocol Master side accuracy Association
    1 PTP of L3 or Parent No X No
    FTM of L2 node
    2 PTP of L3 or Parent Yes Clock accuracy
    FTM of L2 node Timestamp
  • First Embodiment
  • FIG. 8 illustrates a parent flow of processings according to a first embodiment. The parent flow is configured of three phases including “connection processing,” “Clock Role determination processing,” and “time synchronization processing.” The contents of the respective phases will be described.
  • [Connection Processing]
  • Though not described in detail, the connection processing is for general wireless LAN. “SCAN,” “Authentication,” “Association”, and “4-way Handshake” correspond thereto in the infrastructure mode.
  • [Clock Role Determination Processing]
  • The Clock Role determination processing is directed for determining whether a self-terminal (self-apparatus) operates as clock master or clock slave. FIG. 9 illustrates a flow of the Clock Role determination processing according to the first embodiment.
  • (1) In step ST1, a determination is made as to whether an operation mode in the currently-participating wireless LAN network is the infrastructure mode or Wi-Fi P2P.
  • (2) When the operation mode is the infrastructure mode, in step ST2, a determination is made as to whether the self-terminal operates as access point or station (STA). In a case where the self-terminal operates as access point, in step ST3, the self-terminal determines to operate as clock master, and in a case where the self-terminal operates as station, in step ST4, the self-terminal determines to operate as clock slave.
  • (3) On the other hand, when the operation mode is Wi-Fi P2P, in step ST5, a determination is made as to whether the self-terminal operates as P2P group owner or P2P client. In a case where the self-terminal operates as P2P group owner, in step ST6, the self-terminal determines to operate as clock master, and in a case where the self-terminal operates as P2P client, in step ST7, the self-terminal determines to operate as clock slave.
  • [Time Synchronization Processing]
  • The time synchronization processing is directed for calculating a time offset with a communication party and performing time synchronization according to the determination in the Clock Role determination processing described above. In a case where the time synchronization processing is performed in the layer 3 (network layer, mainly IP layer) and its upper layers, the time synchronization processing (see FIG. 1) in the above PTP protocol is performed, and in a case where the self-terminal is a clock slave, the clock value (system clock value) is corrected as needed according to the calculated time offset. When the clock slave receives the Delay_Response frame, the information required for calculating the time offset with the party is obtained.
  • A method using frame exchange in the layer 2 (datalink layer, corresponding to MAC layer in the case of wireless LAN) is also present for calculating a time offset. In this case, the fine timing measurement (FTM) protocol defined in the IEEE802.11 standard is used.
  • FIG. 10 illustrates an operation outline of the FTM protocol. A time offset between the clock master (Responding STA in the Figure) and the clock slave (Initiating STA in the Figure) is similarly acquired by replacing t1 to t4 with t11 to t14 in the above Equation (3). In this case, when the clock slave (Initiating STA) receives the FTM _2 frame, the information required for calculating the time offset with the party is obtained. The sequence may be repeatedly performed several times to make calculations with a plurality of sets of t11 to t14, thereby enhancing the accuracy.
  • According to the first embodiment, the parent node as clock master in the wireless network performs the time synchronization processing. Thus, the time offset observation accuracy can be enhanced, thereby enhancing the time synchronization accuracy between a plurality of wireless apparatuses in the wireless network.
  • Second Embodiment
  • The clock accuracy of a child node may be higher than that of a parent node in the parent node and the child node which are in wireless LAN connection. For example, a topology as illustrated in FIG. 11 is possible. In this case, the terminal C is connected to the Internet via another interface, and holds a higher-accuracy (more-excellent) clock by network time protocol (NTP). On the other hand, the terminal A as wireless parent node is not connected to the outside, and a clock value having no relationship with the outside is manually set.
  • In this case, if the terminal A is forcibly assumed as clock master and the terminals B and C synchronize therewith as in the first embodiment, synchronization between the terminals can be realized, but the synchronization is performed at different times from the outside, and the clock accuracy of the terminal C can be deteriorated. According to the second embodiment, there is provided a mechanism for realizing preferable time synchronization between wireless terminals while preventing a large deterioration in clock accuracy even in the case.
  • FIG. 12 is a parent flow of processings according to the second embodiment. The parent flow is configured of five phases including “previous information exchange processing,” “connection processing,” “Clock Role determination processing,” “previous correction processing,” and “time synchronization processing.” The contents of the respective phases will be described.
  • [Previous Information Exchange Processing]
  • FIG. 13 illustrates a flow of the previous information exchange processing according to the second embodiment. In this case, clock accuracy information and timestamp information (system clock value) are exchanged between the respective terminals. The example of FIG. 13 illustrates that information is transmitted from a wireless machine A to a wireless machine B. In step ST11, the wireless machine A generates a previous information notification frame storing the clock accuracy information and the timestamp information. Then in step ST12, the wireless machine A sends the previous information notification frame to the wireless machine B. In step ST13, the wireless machine B holds the clock accuracy information and the timestamp information stored in the previous information notification frame received from the wireless machine A.
  • Here, the clock accuracy information indicates which the clock of a self-apparatus is set or updated with reference to, such as timeSource information in the IEEE1588 standard. Table 2 indicates the timeSource values defined in the IEEE1588 standard. In Table 2, a lower value indicates a higher accuracy.
  • TABLE 2
    IEEE1588 timeSource values
    Value
    (hex) Source of clock setting
    0x10 ATOMIC_CLOCK
    0x20 GPS
    0x30 TERRESTRIAL_RADIO
    0x40 PTP
    0x50 NTP
    0x60 HAND_SET
    0x90 OTHER
    0xA0 INTERNAL_OSCILLATOR
    0xF0-0xFE For use by alternate PTP
    profiles
    0xFF reserved
  • In a case where each terminal sets the timeSource value according to the definition, only the terminal C takes “NTP,” and the terminal A and the terminal B take “HAND SET” or “INTERNAL OSCILLATOR” in the case of FIG. 11. Each terminal employs the value as “clock accuracy information” described above. Further, each terminal acquires the clock value of self-apparatus corresponding to a timing to transmit the information (the clock accuracy information and the timestamp information). Each terminal employs the value as “timestamp information” described above.
  • Each terminal stores the two items of information in the previous information notification frame for transmission. The description will be made herein assuming that the previous information notification frame is realized as IEEE802.11 Public Action frame. FIG. 14(a) illustrates an exemplary format of the previous information notification frame in this case. The clock accuracy information is stored in the Clock Accuracy Information field in FIG. 14(a).
  • Additionally, the previous information notification frame does not necessarily need to be realized by the Public Action frame. For example, it may be mounted as Information Element on part of the Association Request frame to be notified. FIG. 14 (b) illustrates an exemplary format in this case. Similarly, it may be transmitted in other Management frames such as Association Response, Probe Response, Beacon, and Authentication frames.
  • A terminal which receives the information saves the clock accuracy information and the timestamp information together with the transmission source MAC address in association with the transmission source identifier.
  • [Connection Processing]
  • Though not described in detail, the connection processing is for general wireless LAN. “Scan,” “Authentication,” “Association”, and “4-way Handshake” correspond thereto in the infrastructure mode. In a case where the Association Request/Response frame is used for the previous information notification frame, the previous information exchange processing is included in the present processing.
  • [Clock Role Determination Processing]
  • The Clock Role determination processing is directed for determining whether a self-terminal (self-apparatus) operates as clock master or clock slave. Though not described in detail, it is similar to the Clock Role determination processing according to the first embodiment.
  • [Previous Correction Processing]
  • A time (clock) previous correction processing is performed after Clock Role determination. The processing is performed only by a wireless parent node (access point in the infrastructure mode or P2P group owner in Wi-Fi P2P). At this time, the wireless parent node is determined to operate as clock master.
  • FIG. 15 illustrates a flow of the previous correction processing. The terminal confirms an operation mode and a role in step ST21. When being an access point in the infrastructure mode or P2P group owner in Wi-Fi P2P, in step ST22, the terminal determines whether one or more items of clock accuracy information are acquired from a child node.
  • When one or more items of clock accuracy information are present, in step ST23, the terminal determines whether the clock accuracy indicated by the clock accuracy information is higher (more excellent) than its clock accuracy. When a higher accuracy is indicated, in step ST24, the terminal updates its system clock value (time) to the system clock value of the child node indicating the higher accuracy on the basis of the timestamp information. Here, the wireless parent node may update its system clock value after acquiring the timestamp information from the wireless child node again via communication at this time.
  • [Time Synchronization Processing]
  • The time synchronization processing is directed for calculating a time offset with a communication party for synchronization according to the determination in the Clock Role determination processing described above. Though not described in detail, it is similar to the time synchronization processing according to the first embodiment described above.
  • According to the second embodiment, the parent node as clock master in a wireless network performs the time synchronization processing. Therefore, the time offset observation accuracy can be enhanced, and thus the time synchronization accuracy between a plurality of wireless apparatuses in the wireless network can be enhanced. Further, according to the second embodiment, in a case where the clock accuracy of the child node as clock slave is higher than the clock accuracy of the parent node as clock master, the clock value of the parent node is corrected and then the time synchronization processing is performed. Thus, the possibilities that a wireless network is synchronized at a largely-different time from an outside time can be reduced.
  • 2. Variant
  • Additionally, the timeSource value is used as “clock accuracy information” according to the above embodiments, and additionally any of priority 1, priority 2, clockClass, and clockAccuracy in the IEEE1588 standard, or a combination thereof may be used therefor. priority 1 and priority 2 are a user freely-settable value between 0 and 255. A low value is prioritized. A default value of 128 is defined for default PTP profile.
  • clockClass is an attribute for defining traceability of the clock relative to the international standard time, and a method for setting the value is described in Table5 in the IEEE1588 specification. clockAccuracy is an attribute for defining the clock accuracy, and a method for setting the value is described in Table6 in the IEEE1588 specification.
  • Further, the present technology can take the following configurations.
  • (1) A wireless apparatus including:
  • a time synchronization processing part configured to perform a time synchronization processing between a self-apparatus and other apparatus configuring a wireless network together with the self-apparatus; and
  • a parent/child determination part configured to determine whether the self-apparatus is a parent node or a child node in the wireless network,
  • in which the time synchronization processing part performs the time synchronization processing as a clock master for a child node under control when the self-apparatus is a parent node, and performs the time synchronization processing as a clock slave for a parent node when the self-apparatus is a child node.
  • (2) The wireless apparatus according to (1),
  • in which the wireless network is a Wi-Fi P2P network in which a P2P group owner as the parent node and a P2P client as the child node are present.
  • (3) The wireless apparatus according to (1),
  • in which the wireless network is a network in an infrastructure mode in which an access point as the parent node and a station as the child node are present.
  • (4) The wireless apparatus according to any of (1) to (3),
  • in which the time synchronization processing is a time synchronization processing in the IEEE1588 precision time protocol (PTP) protocol.
  • (5) The wireless apparatus according to any of (1) to (3),
  • in which the time synchronization processing is a time synchronization processing in the IEEE802.11 fine timing measurement (FTM) protocol.
  • (6) The wireless apparatus according to any of (1) to (5), further including:
  • an information reception part configured to receive clock accuracy information and timestamp information sent from the other apparatus,
  • in which in a case where determining that a clock accuracy of the other apparatus is higher than a clock accuracy of the self-apparatus on the basis of the clock accuracy information sent from the other apparatus when the self-apparatus is a parent node, the time synchronization processing part corrects a clock value of the self-apparatus by use of the timestamp information sent from the other apparatus, and then performs the time synchronization processing.
  • (7) The wireless apparatus according to (6),
  • in which the clock accuracy information and the timestamp information are stored and transmitted in the IEEE802.11 Public Action Frame.
  • (8) The wireless apparatus according to (6),
  • in which the clock accuracy information and the timestamp information are stored and transmitted in the IEEE802.11 Association Request Frame.
  • (9) The wireless apparatus according to any of (1) to (8), further including:
  • an information transmission part configured to transmit clock accuracy information and timestamp information to the other apparatus,
  • in which when the self-apparatus is a child node, clock accuracy information and timestamp information of the self-apparatus are transmitted to other apparatus.
  • (10) The wireless apparatus according to (9),
  • in which the clock accuracy information and the timestamp information are stored and transmitted in the IEEE802.11 Public Action Frame.
  • (11) The wireless apparatus according to (9),
  • in which the clock accuracy information and the timestamp information are stored and transmitted in the IEEE802.11 Association Request Frame.
  • (12) The wireless apparatus according to any of (9) to (11),
  • in which the clock accuracy information indicates which a clock of the self-apparatus is set or updated with reference to.
  • (13) The wireless apparatus according to any of (9) to (11),
  • in which the timestamp information indicates a clock value of the self-apparatus corresponding to a timing of the transmission.
  • (14) A wireless apparatus processing method including:
  • a time synchronization processing step of performing by a time synchronization processing part a time synchronization processing between a self-apparatus and other apparatus configuring a wireless network together with the self-apparatus; and
  • a parent/child determination step of determining by a parent/child determination part whether the self-apparatus is a parent node or a child node in the wireless network,
  • in which the time synchronization processing is performed as a clock master for a child node under control when the self-apparatus is a parent node, and the time synchronization processing is performed as a clock slave for a parent node when the self-apparatus is a child node in the time synchronization processing step.
  • (15) A program for causing a computer provided in a wireless apparatus to function as:
  • a time synchronization processing unit configured to perform a time synchronization processing between a self-apparatus and other apparatus configuring a wireless network together with the self-apparatus; and
  • a parent/child determination unit configured to determine whether the self-apparatus is a parent node or a child node in the wireless network,
  • in which the time synchronization processing unit performs the time synchronization processing as a clock master for a child node under control when the self-apparatus is a parent node, and performs the time synchronization processing as a clock slave for a parent node when the self-apparatus is a child node.
  • REFERENCE SIGNS LIST
    • 100 Terminal (wireless apparatus)
    • 101 Media control part
    • 102 Wireless communication part
    • 103 User interface part
    • 104 Main control part
    • 105 Memory

Claims (15)

1. A wireless apparatus comprising:
a time synchronization processing part configured to perform a time synchronization processing between a self-apparatus and other apparatus configuring a wireless network together with the self-apparatus; and
a parent/child determination part configured to determine whether the self-apparatus is a parent node or a child node in the wireless network,
wherein the time synchronization processing part performs the time synchronization processing as a clock master for a child node under control when the self-apparatus is a parent node, and performs the time synchronization processing as a clock slave for a parent node when the self-apparatus is a child node.
2. The wireless apparatus according to claim 1,
wherein the wireless network is a Wi-Fi P2P network in which a P2P group owner as the parent node and a P2P client as the child node are present.
3. The wireless apparatus according to claim 1,
wherein the wireless network is a network in an infrastructure mode in which an access point as the parent node and a station as the child node are present.
4. The wireless apparatus according to claim 1,
wherein the time synchronization processing is a time synchronization processing in an IEEE1588 precision time protocol (PTP) protocol.
5. The wireless apparatus according to claim 1,
wherein the time synchronization processing is a time synchronization processing in an IEEE802.11 fine timing measurement (FTM) protocol.
6. The wireless apparatus according to claim 1, further comprising:
an information reception part configured to receive clock accuracy information and timestamp information sent from the other apparatus,
wherein in a case where determining that a clock accuracy of the other apparatus is higher than a clock accuracy of the self-apparatus on a basis of the clock accuracy information sent from the other apparatus when the self-apparatus is a parent node, the time synchronization processing part corrects a clock value of the self-apparatus by use of the timestamp information sent from the other apparatus, and then performs the time synchronization processing.
7. The wireless apparatus according to claim 6,
wherein the clock accuracy information and the timestamp information are stored and transmitted in an IEEE802.11 Public Action Frame.
8. The wireless apparatus according to claim 6,
wherein the clock accuracy information and the timestamp information are stored and transmitted in an IEEE802.11 Association Request Frame.
9. The wireless apparatus according to claim 1, further comprising:
an information transmission part configured to transmit clock accuracy information and timestamp information to the other apparatus,
wherein when the self-apparatus is a child node, clock accuracy information and timestamp information of the self-apparatus are transmitted to other apparatus.
10. The wireless apparatus according to claim 9,
wherein the clock accuracy information and the timestamp information are stored and transmitted in an IEEE802.11 Public Action Frame.
11. The wireless apparatus according to claim 9,
wherein the clock accuracy information and the timestamp information are stored and transmitted in an IEEE802.11 Association Request Frame.
12. The wireless apparatus according to claim 9,
wherein the clock accuracy information indicates which a clock of the self-apparatus is set or updated with reference to.
13. The wireless apparatus according to claim 9,
wherein the timestamp information indicates a clock value of the self-apparatus corresponding to a timing of the transmission.
14. A wireless apparatus processing method comprising:
a time synchronization processing step of performing by a time synchronization processing part a time synchronization processing between a self-apparatus and other apparatus configuring a wireless network together with the self-apparatus; and
a parent/child determination step of determining by a parent/child determination part whether the self-apparatus is a parent node or a child node in the wireless network,
wherein the time synchronization processing is performed as a clock master for a child node under control when the self-apparatus is a parent node, and the time synchronization processing is performed as a clock slave for a parent node when the self-apparatus is a child node in the time synchronization processing step.
15. A program for causing a computer provided in a wireless apparatus to function as:
a time synchronization processing unit configured to perform a time synchronization processing between a self-apparatus and other apparatus configuring a wireless network together with the self-apparatus; and
a parent/child determination unit configured to determine whether the self-apparatus is a parent node or a child node in the wireless network,
wherein the time synchronization processing unit performs the time synchronization processing as a clock master for a child node under control when the self-apparatus is a parent node, and performs the time synchronization processing as a clock slave for a parent node when the self-apparatus is a child node.
US16/330,310 2016-11-10 2017-11-07 Wireless apparats and wireless apparatus processing method to enhance time synchronization accuracy between a plurality of wireless apparatuses in a wireless network Active US10834768B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2016-219313 2016-11-10
JP2016219313 2016-11-10
PCT/JP2017/040135 WO2018088402A1 (en) 2016-11-10 2017-11-07 Wireless device, wireless device processing method, and program

Publications (2)

Publication Number Publication Date
US20190261439A1 true US20190261439A1 (en) 2019-08-22
US10834768B2 US10834768B2 (en) 2020-11-10

Family

ID=62110788

Family Applications (1)

Application Number Title Priority Date Filing Date
US16/330,310 Active US10834768B2 (en) 2016-11-10 2017-11-07 Wireless apparats and wireless apparatus processing method to enhance time synchronization accuracy between a plurality of wireless apparatuses in a wireless network

Country Status (6)

Country Link
US (1) US10834768B2 (en)
EP (1) EP3541123A4 (en)
CN (1) CN109891960B (en)
AU (1) AU2017359390A1 (en)
BR (1) BR112019009055A2 (en)
WO (1) WO2018088402A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111107622A (en) * 2019-10-25 2020-05-05 湖南国科防务电子科技有限公司 Time synchronization system and method of self-adaptive networking based on ultra-wideband wireless communication
CN113163482A (en) * 2021-01-28 2021-07-23 山东建筑大学 Time synchronization method between nodes of wireless sensor network
US11528084B2 (en) * 2018-03-14 2022-12-13 Huawei Technologies Co., Ltd. Distributed network time protocol

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021013134A (en) * 2019-07-09 2021-02-04 ソニー株式会社 Reception device, reception method, and transmission/reception system
JP7393800B2 (en) 2021-02-19 2023-12-07 サイレックス・テクノロジー株式会社 Base station, communication terminal, communication system, control method, and communication method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110255546A1 (en) * 2008-12-09 2011-10-20 Michel Le Pallec Clock for a node of a packet-switched network, and associated synchronisation method
US20150092640A1 (en) * 2013-09-30 2015-04-02 Honeywell International Inc. Wireless sensor time synchronization
US20160198317A1 (en) * 2015-01-05 2016-07-07 Apple Inc. Multicast Group Management Technique
US20190007801A1 (en) * 2015-12-28 2019-01-03 Nec Corporation Method and system for inter-group communication in a wireless p2p network

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7688802B2 (en) 2008-05-23 2010-03-30 Honeywell International Inc. System and method for time synchronization in a wireless network
US8576883B2 (en) * 2009-08-25 2013-11-05 Semtech Corporation Measurement and adjustment of real-time values according to residence time in networking equipment without access to real time
JP5343841B2 (en) 2009-12-22 2013-11-13 ソニー株式会社 Wireless communication apparatus, wireless communication method, program, and wireless communication system
US9282557B2 (en) 2010-08-26 2016-03-08 Thomson Licensing White space usage for wireless local area network devices
KR101902407B1 (en) 2011-09-09 2018-09-28 엘지전자 주식회사 Method for wireless fidelity peer-to-peer communication and device therefor
GB201116521D0 (en) 2011-09-23 2011-11-09 Imagination Tech Ltd Method and apparatus for time synchronisation in wireless networks
US10271293B2 (en) 2011-11-18 2019-04-23 Apple Inc. Group formation within a synchronized hierarchy of peer-to-peer devices
JP5279152B1 (en) 2012-05-11 2013-09-04 パナソニック株式会社 Base station apparatus and setting method of master base station apparatus of base station apparatus
JP6338370B2 (en) 2013-12-27 2018-06-06 三菱電機株式会社 Node device, wireless multi-hop network, and time synchronization method
JP6490971B2 (en) 2015-01-14 2019-03-27 株式会社日立製作所 Time synchronization system
CN105472725A (en) * 2016-02-06 2016-04-06 北京佰才邦技术有限公司 Base station synchronization method and device
CN105792346A (en) * 2016-03-04 2016-07-20 海能达通信股份有限公司 Synchronization method, node device and wireless MESH network system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110255546A1 (en) * 2008-12-09 2011-10-20 Michel Le Pallec Clock for a node of a packet-switched network, and associated synchronisation method
US20150092640A1 (en) * 2013-09-30 2015-04-02 Honeywell International Inc. Wireless sensor time synchronization
US20160198317A1 (en) * 2015-01-05 2016-07-07 Apple Inc. Multicast Group Management Technique
US20190007801A1 (en) * 2015-12-28 2019-01-03 Nec Corporation Method and system for inter-group communication in a wireless p2p network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11528084B2 (en) * 2018-03-14 2022-12-13 Huawei Technologies Co., Ltd. Distributed network time protocol
CN111107622A (en) * 2019-10-25 2020-05-05 湖南国科防务电子科技有限公司 Time synchronization system and method of self-adaptive networking based on ultra-wideband wireless communication
CN113163482A (en) * 2021-01-28 2021-07-23 山东建筑大学 Time synchronization method between nodes of wireless sensor network

Also Published As

Publication number Publication date
AU2017359390A1 (en) 2019-05-23
BR112019009055A2 (en) 2019-07-16
WO2018088402A1 (en) 2018-05-17
EP3541123A1 (en) 2019-09-18
US10834768B2 (en) 2020-11-10
EP3541123A4 (en) 2019-11-13
CN109891960A (en) 2019-06-14
CN109891960B (en) 2022-01-25

Similar Documents

Publication Publication Date Title
US10834768B2 (en) Wireless apparats and wireless apparatus processing method to enhance time synchronization accuracy between a plurality of wireless apparatuses in a wireless network
CN113572559B (en) Synchronization method and device
JP5358813B2 (en) Network node, time synchronization method, and network system
JP5911601B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND TIME SYNCHRONIZATION METHOD
US20090086764A1 (en) System and method for time synchronization on network
JP5515735B2 (en) Time synchronization system, master node, slave node, relay device, time synchronization method, and time synchronization program
JP4853625B2 (en) Propagation delay time measuring method, synchronization method, and wireless LAN system
US10057867B2 (en) Method and apparatus for synchronising a plurality of distributed devices with a network
JP2016123009A (en) Semiconductor device, electronic device module, and network system
US20130010814A1 (en) Node device, communication system and time synchronization method
JP6132734B2 (en) Time synchronization system and apparatus
US20210400610A1 (en) Time synchronization in integrated 5g wireless and time-sensitive networking systems
JP2017090046A (en) Repeating device, time synchronization system, and time synchronization method
KR20090071923A (en) Method for synchronization using single timesync frame in bridged local area network and appratus thereof
JP2015188159A (en) Slave node, time synchronization method, and computer program
EP3868043B1 (en) Wireless audio synchronization
JP2018088644A (en) Time synchronization method and time synchronization system between wirelessly-connected terminals
KR20100048124A (en) Time synchronization method in bridged local area network
WO2013069176A1 (en) Transmitter, transmission method, and non-temporary computer-readable medium in which program is stored
KR20150027606A (en) Apparatus and method for coverting data rate
WO2014203485A1 (en) Communication system, method for controlling communication system, transmission device, and reception device
US10374735B2 (en) Communication system, communication system control method, transmission device, and reception device
JP2018157340A (en) Radio communication device, program, and method
JP2019054479A (en) Base station device, radio communication system, and frequency correction method
JP2018046537A (en) Time synchronization method of passive optical network

Legal Events

Date Code Title Description
AS Assignment

Owner name: SONY CORPORATION, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ITAGAKI, TAKESHI;SUZUKI, HIDEYUKI;KATO, JUNJI;REEL/FRAME:048495/0235

Effective date: 20190206

FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT RECEIVED

STCF Information on status: patent grant

Free format text: PATENTED CASE