CN-122002500-A - Time synchronization method and device
Abstract
The application provides a time synchronization method and a time synchronization device. The method is applied to an optical fiber-to-room FTTR network, wherein the FTTR network comprises a main optical network device and a sub-optical network device, and the method comprises the steps of sending a first message, wherein the first message is used for indicating that a wireless communication module in the sub-optical network device enables first time synchronization, and receiving a second message, wherein the second message is used for indicating whether the first time synchronization is completed. The application improves the stability of the WLAN network and the transmission efficiency of running data and reduces the conflict problem in a wireless channel by completing the time synchronization between the wireless modules of the main optical network equipment and the sub optical network equipment.
Inventors
- QIU YIGUI
- ZHAO WANGSHENG
- HAN YUNFENG
Assignees
- 华为技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241104
Claims (20)
- 1. A method of time synchronization applied to a fiber-to-room FTTR network, the FTTR network comprising a primary optical network device and a secondary optical network device, the method performed by the primary optical network device comprising: Transmitting a first message, wherein the first message is used for indicating a wireless communication module in the sub-optical network equipment to enable first time synchronization; A second message is received, the second message indicating whether the first time synchronization is complete.
- 2. The method of claim 1, wherein the first message comprises a first field for indicating that the first message is a time synchronization notification message.
- 3. The method of claim 2, wherein the first message further comprises at least one of a second field, a third field, or a fourth field; The second field is used for indicating wireless network frequency band information, the third field is used for indicating the identification of the main optical network equipment, and the fourth field is used for indicating the identification of the sub optical network equipment.
- 4. A method according to any one of claims 1 to 3, wherein the second message comprises a fifth field for indicating that the second message is a time synchronization status report message.
- 5. The method according to any of claims 1 to 4, wherein the second message comprises a sixth field for indicating whether the first time synchronization is complete.
- 6. The method of claim 4 or 5, wherein the second message further comprises at least one of a seventh field, an eighth field, or a ninth field; The seventh field is used for indicating wireless network frequency band information, the eighth field is used for indicating the identification of the main optical network device, and the ninth field is used for indicating the identification of the sub optical network device.
- 7. The method according to any one of claims 1 to 6, further comprising: and receiving a third message, wherein the third message is used for indicating that a wireless communication module of the sub-optical network device is available.
- 8. The method according to any of claims 1 to 7, wherein the first time synchronization comprises a second time synchronization and/or a third time synchronization, the second time synchronization being a time synchronization between an optical communication module of the sub-optical network device and an optical communication module of the main optical network device, the third time synchronization being a time synchronization between an optical communication module of the sub-optical network device and a wireless communication module of the sub-optical network device.
- 9. A method according to claim 2 or 3, wherein the first field is 2 bytes in length.
- 10. A method according to claim 3, wherein the second field is 1 byte in length, the third field is 2 bytes in length, and the fourth field is 2 bytes in length.
- 11. The method of claim 4, wherein the length of the fifth field is 2 bytes.
- 12. The method of claim 5, wherein the sixth field has a length of 1 byte.
- 13. The method of claim 6, wherein the seventh field is 1 byte in length, the eighth field is 2 bytes in length, and the ninth field is 2 bytes in length.
- 14. A method of time synchronization applied to a fiber-to-room FTTR network, the FTTR network comprising a main optical network device and a sub-optical network device, the method performed by the sub-optical network device comprising: Receiving a first message, wherein the first message is used for indicating a wireless communication module in sub-optical network equipment to enable first time synchronization; And sending a second message, wherein the second message is used for indicating whether the first time synchronization is completed or not.
- 15. The method of claim 14, wherein the first message comprises a first field for indicating that the first message is a time synchronization notification message.
- 16. The method of claim 15, wherein the first message further comprises at least one of a second field, a third field, or a fourth field; The second field is used for indicating wireless network frequency band information, the third field is used for indicating the identification of the main optical network equipment, and the fourth field is used for indicating the identification of the sub optical network equipment.
- 17. The method according to any of claims 14 to 16, wherein the second message comprises a fifth field for indicating that the second message is a time synchronization status report message.
- 18. The method according to any of claims 14 to 17, wherein the second message comprises a sixth field for indicating whether the first time synchronization is complete.
- 19. The method according to claim 17 or 18, wherein the second message further comprises at least one of a seventh field, an eighth field, or a ninth field; The seventh field is used for indicating wireless network frequency band information, the eighth field is used for indicating the identification of the main optical network device, and the ninth field is used for indicating the identification of the sub optical network device.
- 20. The method according to any one of claims 14 to 19, further comprising: And sending a third message, wherein the third message is used for indicating that the wireless communication module of the sub-optical network device is available.
Description
Time synchronization method and device Technical Field The present application relates to the field of communication technology, and more particularly, to a method and apparatus for time synchronization. Background With the rapid development of wireless communication technology, wireless local area network (wireless local area network, WLAN) technology has become an integral part of people's daily lives. The data transmission is realized through the wireless channel resources, and a flexible and convenient network access mode is provided for the user. However, since the wireless channel has only one collision domain, this results in an unavoidable collision problem when a plurality of network nodes attempt to access the network at the same time. Although the current carrier sense multiple access/collision avoidance (CARRIER SENSE multiple ACCESS WITH collision avoidance, CSMA/CA) mechanism reduces the occurrence of collisions to some extent, the problem of time synchronization between the main optical network device and the sub optical network devices is more serious as the number of user terminals (STAs) increases. If the time between the radio modules of the main optical network device and the sub optical network device is not completely synchronized, delay or failure of data transmission may be caused, which affects the stability and efficiency of the whole wireless network. Therefore, how to ensure time synchronization between the wireless modules of the main optical network device and the sub optical network device is one of the key factors for maintaining an efficient WLAN network. Disclosure of Invention The application provides a time synchronization method and a time synchronization device, which can complete time synchronization between wireless modules of main optical network equipment and sub optical network equipment, thereby carrying out centralized scheduling resource control on the sub optical network equipment and reducing the conflict problem in a wireless channel. In a first aspect, a method for time synchronization is provided, where the method may be performed by a main optical network device, or may be performed by a module (such as a circuit, a chip, or a system-on-chip) of the main optical network device, or may be implemented by a logic node, a logic module, or software that can implement all or part of the functions of the main optical network device. The method comprises the steps of sending a first message, wherein the first message is used for indicating a wireless communication module in the sub-optical network equipment to enable first time synchronization, and receiving a second message, and the second message is used for indicating whether the first time synchronization is completed or not. Based on the scheme, time synchronization between the wireless modules of the main optical network equipment and the sub optical network equipment can be completed, so that centralized scheduling resource control is performed on the sub optical network equipment, and the problem of conflict in wireless channels is reduced. In some implementations, the first message includes a first field for indicating that the first message is a time synchronization notification message. Based on the above scheme, the sub-optical network device may determine, through a first field in the first message, that the first message is a time synchronization notification message, thereby determining that the first time synchronization is enabled. In some implementations, the first message further includes at least one of a second field for indicating wireless network band information, a third field for indicating an identity of the primary optical network device, or a fourth field for indicating an identity of the sub-optical network device. In some implementations, the second message includes a fifth field for indicating that the second message is a time synchronization status report message. In some implementations, the second message includes a sixth field for indicating whether the first time synchronization is complete. In some implementations, the second message further includes at least one of a seventh field for indicating wireless network band information, an eighth field for indicating an identity of the primary optical network device, or a ninth field for indicating an identity of the sub-optical network device. In some implementations, the method further includes receiving a third message indicating that a wireless communication module of the sub-optical network device is available. In some implementations, the first time synchronization includes a second time synchronization and/or a third time synchronization, the second time synchronization being a time synchronization between an optical communication module of the sub-optical network device and the main optical network device, and the third time synchronization being a time synchronization between an optical communication module of the sub-optica