Wireless local area network networking time service method and system
By adding timestamp information to the signaling field using physical layer hardware in wireless LANs, and constructing and sending wireless frames carrying timestamps, the resource overhead and accuracy problems of time synchronization in wireless LANs are solved, thereby improving communication reliability and time consistency between devices.
Patent Information
- Application Number
- CN202511485382.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-17
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2045-10-17
AI Technical Summary
Existing wireless LAN time synchronization operations suffer from high resource overhead, uncertain synchronization accuracy, communication reliability issues caused by time errors between devices and key update delays, especially in TDMA technology where time synchronization cannot be effectively performed.
By adding timestamp information to the signaling field of the radio frame using physical layer hardware, a target radio frame carrying a timestamp is constructed, and it is simultaneously transmitted to multiple receivers using orthogonal frequency division multiple access technology. The receivers synchronize by parsing the timestamp using physical layer hardware.
It reduces the uncertainty of software processing time, improves time synchronization accuracy and network communication reliability, ensures time consistency between devices, and enhances the communication performance of wireless LAN.
Smart Images

Figure CN120956377B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless communication technology, and in particular to a method and system for timing synchronization in wireless local area networks. Background Technology
[0002] With the development of intelligent manufacturing, the high real-time and high-reliability Wireless Network for Industrial Automation (WIA-FA) technology is widely used in various key industries. WIA-FA technology employs Time Division Multiple Access (TDMA) communication technology, ensuring deterministic communication cycles and latency, making it suitable for industrial control applications. However, due to differences in clock crystals and the influence of ambient temperature on crystals, embedded devices may experience deviations in their crystal sources, leading to time synchronization issues among devices forming the wireless local area network. This can cause data collisions during transmission, resulting in a decline in network communication performance.
[0003] Currently, time synchronization in wireless LANs primarily utilizes timestamps carried in specified protocol frames to achieve network device time synchronization. This is typically done through periodic transmission, with software parsing the corresponding protocol frames to obtain the timestamps and complete the synchronization. However, this existing method has several problems: First, periodically sending wireless frames for time synchronization increases network resource overhead; second, time synchronization is software-driven, and the time required for data processing is uncertain, affecting the minimum accuracy of time synchronization; third, when network access devices (i.e., the transmitters) transmit data simultaneously to multiple field devices (i.e., the wireless network devices, the receivers), reliance on previous time synchronization results leads to time errors between field devices, affecting the reliability of data transmission; fourth, in wireless LANs using TDMA technology, delays or failures in field device key updates may prevent time synchronization based on timestamp-carrying wireless frames.
[0004] Therefore, there is an urgent need for a wireless LAN networking time synchronization method and system to solve the above problems. Summary of the Invention
[0005] To address the problems existing in the prior art, this invention provides a method and system for wireless local area network (WLAN) timing synchronization.
[0006] This invention provides a wireless local area network (WLAN) timing method, applied at the transmitting end, comprising:
[0007] Constructing a target wireless frame carrying timestamp information according to preset timing rules, specifically including:
[0008] The timestamp information is constructed, and the timestamp information is added to the corresponding bits in the signaling field based on the physical layer hardware to obtain the target signaling field;
[0009] The target radio frame is constructed based on the target signaling field;
[0010] The target wireless frame is sent to the receiving end.
[0011] According to a wireless local area network (WLAN) timing method provided by the present invention, the preset timing rules include periodic timing rules and / or full-frame timing rules.
[0012] The periodic timing rule is as follows:
[0013] Within a predetermined timing period, a target radio frame is constructed, that is, a target radio frame can be generated and sent to the receiving end within a timing period.
[0014] The full-frame timing rule is as follows:
[0015] Within the predetermined timing period, each wireless frame constructed is the target wireless frame.
[0016] According to a wireless local area network (WLAN) timing method provided by the present invention, the method further includes:
[0017] If it is determined that the target wireless frame has not been sent within the current timing period, the step of constructing a target wireless frame carrying timestamp information according to a preset timing rule is triggered; or, a time synchronization frame is constructed based on the timestamp information.
[0018] According to a wireless local area network (WLAN) timing method provided by the present invention, the step of adding the timestamp information to the corresponding bits in the signaling field based on physical layer hardware to obtain the target signaling field includes:
[0019] Based on the number of bits occupied by the timestamp information, determine the number of signaling character symbols in the signaling field of the timestamp information;
[0020] Based on the physical layer hardware and the number of signaling character symbols, the timestamp information is added to the corresponding bit in the signaling field to obtain the target signaling field.
[0021] According to a wireless local area network (WLAN) timing method provided by the present invention, the step of sending the target wireless frame to the receiving end includes:
[0022] If it is determined that there are multiple receivers in the wireless local area network, the target wireless frame is simultaneously transmitted to each of the receivers based on orthogonal frequency division multiple access technology.
[0023] This invention also provides a wireless local area network (WLAN) timing method, applied at the receiving end, comprising:
[0024] Based on physical layer hardware, obtain the preamble sequence in the target wireless frame;
[0025] The preamble sequence is parsed to obtain the timestamp information in the signaling field of the preamble sequence;
[0026] Perform a time synchronization operation based on the timestamp information.
[0027] According to a wireless local area network (WLAN) timing method provided by the present invention, the method further includes:
[0028] If it is determined that the receiving end has not joined a wireless local area network, and if the received target wireless frame meets the preset preamble sequence configuration content in the current receiving end, then the time synchronization operation is performed according to the target wireless frame.
[0029] If it is determined that the receiving end has joined the wireless local area network, the time synchronization operation is performed based on the target wireless frame.
[0030] According to a wireless local area network (WLAN) timing method provided by the present invention, after performing a time synchronization operation based on the timestamp information, the method further includes:
[0031] When it is determined that a scheduling instruction exists in the target radio frame sent by the transmitting end, the data is uploaded to the transmitting end based on orthogonal frequency division multiple access technology.
[0032] The present invention also provides a wireless local area network (WLAN) timing method, comprising:
[0033] The network access device constructs timestamp information and, based on the physical layer hardware of the network access device, adds the timestamp information to the corresponding bits in the signaling field to obtain the target signaling field;
[0034] The network access device constructs a target radio frame based on the target signaling field, wherein the target radio frame represents a radio frame whose preamble sequence carries the timestamp information;
[0035] The network access device will send the target wireless frame to the network wireless device.
[0036] The network wireless device acquires the preamble sequence in the target wireless frame based on physical layer hardware.
[0037] The network wireless device parses the preamble sequence to obtain the timestamp information;
[0038] The network wireless device performs a time synchronization operation based on the timestamp information.
[0039] This invention also provides a wireless local area network (WLAN) timing system, applied at the transmitting end, comprising:
[0040] A radio frame construction module is used to construct a target radio frame carrying timestamp information according to a preset timing rule. The radio frame construction module includes a signaling field construction unit and a radio frame construction unit, wherein:
[0041] The signaling field construction unit is used to construct timestamp information and add the timestamp information to the corresponding bits in the signaling field based on physical layer hardware to obtain the target signaling field;
[0042] A radio frame construction unit is configured to construct the target radio frame based on the target signaling field, wherein the target radio frame represents a radio frame whose preamble sequence carries the timestamp information;
[0043] The transmitting module is used to transmit the target wireless frame to the receiving end.
[0044] The wireless LAN networking time synchronization method and system provided by this invention constructs timestamp information through network access devices, adds the timestamp information to the signaling field bits using physical layer hardware, constructs a suitable preamble sequence based on the obtained target signaling field, constructs the target wireless frame, and then sends it to the network wireless device or receiver according to preset rules. After obtaining the preamble sequence and parsing the timestamp information through physical layer hardware, time synchronization is performed, thereby reducing the uncertainty caused by simultaneous software processing time, improving time synchronization accuracy, and enhancing network communication reliability. Attached Figure Description
[0045] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0046] Figure 1 This is one of the flowcharts illustrating the wireless local area network (WLAN) timing method provided by the present invention.
[0047] Figure 2 The second flowchart illustrates the wireless local area network timing method provided by this invention.
[0048] Figure 3 The third flowchart illustrating the wireless local area network timing method provided by the present invention;
[0049] Figure 4 A schematic diagram of the wireless local area network timing system provided by the present invention;
[0050] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0051] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0052] WIA-FA networks provide highly real-time and reliable communication services between devices. For devices seeking to join a WIA-FA network and those already in the network, the accuracy of time synchronization is a crucial factor affecting WIA-FA network communication performance; higher time synchronization accuracy results in better wireless LAN communication performance.
[0053] Current wireless LAN time synchronization operations mostly utilize specified protocol frames carrying timestamps to achieve network device time synchronization. This typically involves periodically sending time synchronization frames, with the receiving end's time synchronization achieved by software parsing the corresponding protocol frame and obtaining the network timestamp. However, the existing wireless LAN time synchronization process has the following problems:
[0054] First, in order to perform time synchronization, time synchronization frames need to be sent periodically, which increases network resource overhead.
[0055] Second, time synchronization is done by software, and the time it takes for the software to process data is uncertain, which affects the minimum accuracy of time synchronization.
[0056] Third, when the access device transmits data to multiple field devices simultaneously, it relies on the previous time synchronization results, which leads to time errors between devices and affects the reliability of data transmission between devices.
[0057] IV. Wireless LANs using TDMA technology may experience time synchronization issues due to delays or failures in updating key on field devices, resulting in the inability to perform time synchronization based on wireless frames carrying timestamps.
[0058] To address the problems existing in the prior art, this invention improves upon the preamble sequence in the Physical Layer Protocol Data Unit (PPDU). The preamble sequence in the PPDU consists of a Short Training Field (STF), a Long Training Field (LTF), and a Signal Field (SIG). The SIG field carries information such as the length and rate of the transmitted data. The receiving end can receive the entire PPDU data based on the SIG field of the preamble sequence. In this invention, the sending end (i.e., the network access device) adds timestamp information to the SIG field, enabling the receiving end to perform time synchronization operations using physical layer hardware.
[0059] Figure 1 This is one of the flowcharts illustrating the wireless local area network (WLAN) timing method provided by the present invention, such as... Figure 1 As shown, this invention provides a wireless local area network (WLAN) timing method, applied at the transmitting end, comprising:
[0060] Step 101: Construct a target wireless frame carrying timestamp information according to a preset timing rule, specifically including:
[0061] Step 1011: Construct the timestamp information and add the timestamp information to the corresponding bit in the signaling field based on the physical layer hardware to obtain the target signaling field.
[0062] In this invention, the transmitting end (i.e., the access device, such as device A) in a wireless LAN networking time synchronization scenario needs to generate a timestamp. This timestamp represents a specific point in time and is crucial data for subsequent time synchronization. For example, the timestamp can record precise time information such as the current system time, providing a unified time reference for devices throughout the wireless LAN.
[0063] In a wireless local area network (WLAN), the preamble sequence contains a signaling field (SIG symbol). The transmitting end, based on a specific configuration, utilizes physical layer hardware to perform the addition operation. Depending on the device configuration, the timestamp information occupies a certain number of bits. For example, a SIG symbol carries 24 bits of information, while the timestamp information occupies 32 bits. Since a single SIG symbol cannot fully accommodate 32 bits of timestamp information, it is necessary to determine the corresponding bits in the signaling field (SIG symbol) to add the timestamp information. In this invention, the physical layer hardware is used to accurately place the timestamp information into the pre-defined bits in the signaling field. After this operation, the target signaling field carrying the timestamp information is obtained.
[0064] Step 1012: Based on the target signaling field, construct the target radio frame, wherein the target radio frame is a radio frame whose preamble sequence carries the timestamp information. As mentioned above, the preamble sequence includes STF, LTF, and SIG. When constructing the target radio frame, the preamble sequence of the target radio frame can be constructed based on the target signaling field of the target radio frame, as well as suitable short training fields and long training fields, to form a suitable target radio frame.
[0065] In this invention, the wireless frame in wireless local area network (WLAN) communication is the basic unit of data transmission. The preamble sequence is an important component of the wireless frame, used by the receiving end for signal detection, synchronization, and other operations. Through step 101 above, the preamble sequence obtained includes a target signaling field carrying timestamp information. Since the target signaling field already contains timestamp information, the preamble sequence of the target wireless frame constructed through this combination carries timestamp information. For example, during the construction process, the target signaling field can be placed in the appropriate position in the preamble sequence according to the format and order specified by the WLAN protocol, thereby forming a complete target wireless frame. This target wireless frame can provide the receiving end with the timestamp information required for time synchronization.
[0066] Step 102: Send the target wireless frame to the receiving end.
[0067] In this invention, preset timing rules can be used to standardize the construction of target wireless frames, thereby standardizing the transmission and reception process of target wireless frames used for time synchronization to ensure the accuracy and effectiveness of time synchronization. Preset timing rules may include aspects such as transmission time intervals, transmission frequency, and transmission order. For example, it may stipulate that target wireless frames are transmitted at regular intervals, or that the transmission frequency is dynamically adjusted according to network load.
[0068] In this invention, the transmitting end (access device A) transmits the constructed target wireless frame through a wireless channel according to a preset timing rule. Upon receiving the target wireless frame, the receiving end (field devices, such as device B and device C) can directly extract the timestamp information from the preamble sequence. Since this timestamp information is located in the preamble sequence, the physical layer hardware can be used to obtain the timestamp information and complete the time synchronization operation of this device, thereby achieving time unification for all devices within the entire wireless local area network. For example, after receiving the target wireless frame, the field device's physical layer hardware parses the target signaling field in the preamble sequence to obtain the timestamp information, and then adjusts its own time system according to this information to keep it consistent with the transmitting end's time. It should be noted that the access device and field device in this invention support wireless functionality and can increase or decrease the number of SIG symbols in the preamble sequence based on configuration information to meet the need for carrying timestamp information.
[0069] The wireless LAN timing method provided by this invention constructs timestamp information through network access devices, adds the timestamp information to signaling field bits using physical layer hardware, constructs a suitable preamble sequence based on the obtained target signaling field, builds the target wireless frame, and then sends it to the network wireless devices according to preset rules. After the network wireless devices obtain the preamble sequence and parse the timestamp information through physical layer hardware, they perform time synchronization, thereby reducing the uncertainty caused by simultaneous software processing time, improving time synchronization accuracy, and enhancing network communication reliability.
[0070] Based on the above embodiments, the preset timing rules include periodic timing rules and / or full-frame timing rules.
[0071] The periodic timing rule is as follows: within a predetermined timing period, one target radio frame is constructed. This ensures that only one target radio frame is generated and sent to the receiving end within a single timing period, thus saving resource overhead.
[0072] The full-frame timing rule is as follows: within a predetermined timing period, each constructed radio frame is the target radio frame. That is, within the predetermined timing period, when constructing a radio frame, timestamp information can be placed in the preamble sequence of the radio frame and sent to the receiving end.
[0073] In this invention, for wireless LAN networking time synchronization scenarios, two preset time synchronization rules are established to meet the time synchronization needs of different network conditions and devices: periodic time synchronization rules and full-frame time synchronization rules. These two rules provide clear guidance on how access devices (transmitters) construct and send wireless frames carrying timestamp information, enabling devices within the network to obtain time synchronization information according to the corresponding rules. Of course, specific time synchronization rules can be triggered according to predetermined strategies to meet actual needs.
[0074] Specifically, the access device supports configuring the function of sending a wireless frame trigger preamble sequence with a timestamp, and can set the time period for sending the wireless frame front-end sequence with a timestamp. For example, if the access device configures the time period to 1ms, it means that the timing period is determined to be 1ms.
[0075] Once a periodic timing rule is adopted, within each timing period (such as 1ms in the above embodiment), the access device will only construct and send one target radio frame to the receiving end. The preamble sequence of this target radio frame carries timestamp information, which the receiving end (field device) can use for time synchronization. Sending only one timestamped target radio frame within a period can meet the device's time synchronization needs within a certain time period, while reducing unnecessary network overhead and avoiding excessive network resource consumption from frequently sending timestamped radio frames.
[0076] In this invention, the access device can also be configured to send wireless frames with full timestamp information, i.e., a full-frame time synchronization rule. Under the full-frame time synchronization rule, each wireless frame sent by the access device to the receiving end carries timestamp information in its preamble sequence. In this case, the receiving end can obtain time synchronization information every time it receives a wireless frame, enabling more timely and frequent time synchronization operations. This ensures more accurate time consistency with the access device, meeting the needs of network devices in scenarios with high time synchronization accuracy requirements, such as in industrial control or real-time communication networks with extremely strict time synchronization requirements.
[0077] Based on the above embodiments, the method further includes:
[0078] If it is determined that the target wireless frame has not been sent within the current timing period, the step of constructing a target wireless frame carrying timestamp information according to a preset timing rule is triggered; or, a time synchronization frame is constructed based on the timestamp information.
[0079] In this invention, the access device in a wireless LAN timing scenario undertakes the task of providing time synchronization information to other receiving devices within the network, ensuring time consistency across all devices and achieving the goal of network timing. The access device can perform time synchronization by reusing existing wireless frames with time synchronization functionality. Since the access device has a pre-set timing period (e.g., period T), under normal circumstances, it will send the target wireless frame (a wireless frame with a preamble carrying timestamp information) within the timing period according to preset rules (e.g., periodic timing rules or full-frame timing rules). However, in certain special cases, the access device may not send the target wireless frame within the current timing period. This could be due to various factors such as network load and device fault handling priorities. For example, when network load suddenly increases, the access device may prioritize other important data transmission tasks and temporarily refrain from sending the target wireless frame.
[0080] When the access device determines, according to a predetermined strategy, that no target radio frame has been transmitted within the current time synchronization period, it needs to reconstruct the target radio frame to ensure that the receiving device can continue time synchronization. The reconstruction process is as follows:
[0081] First, the access device constructs timestamp information, which records the current accurate time point and is key data for time synchronization.
[0082] Then, the physical layer hardware adds the timestamp information to the corresponding bits in the signaling field (SIG symbol) to obtain the target signaling field. This step is the same as adding timestamp information when constructing a normal target radio frame, ensuring that the target signaling field carries accurate timestamp information.
[0083] Finally, a preamble sequence is constructed based on the target signaling field, and a complete target radio frame is formed based on the preamble sequence. The target radio frame constructed in this way carries timestamp information in its preamble sequence. After receiving the radio frame, the receiving device can extract the timestamp information from it and use this information to synchronize its own time, thereby ensuring the time synchronization of devices within the network; that is, triggering the step of constructing a target radio frame carrying timestamp information according to preset timing rules.
[0084] In this invention, besides constructing the target radio frame based on the target signaling field and preamble sequence (i.e., triggering the step of constructing a target radio frame carrying timestamp information according to preset timing rules), a time synchronization frame can also be constructed. Specifically, the access device constructs a dedicated time synchronization frame for time synchronization based on the currently constructed timestamp information, according to a suitable radio frame format and protocol requirements. This time synchronization frame may not contain complete service data; its core function is to carry timestamp information for the receiving device to perform time synchronization. For example, the preamble sequence of the time synchronization frame can be specifically designed to carry timestamp information, and a suitable encoding method or specific bits can be used to ensure accurate transmission of the timestamp information. After receiving the time synchronization frame, the receiving device can quickly identify and extract the timestamp information, complete the time synchronization operation of its own device, and thus achieve the network timing goal of the entire network.
[0085] Based on the above embodiments, the step of adding the timestamp information to the corresponding bits in the signaling field based on physical layer hardware to obtain the target signaling field includes:
[0086] The number of signaling character symbols in the signaling field is determined based on the number of bits occupied by the timestamp information.
[0087] Based on the physical layer hardware and the number of signaling character symbols, the timestamp information is added to the corresponding bit in the signaling field to obtain the target signaling field.
[0088] In this invention, timestamp information is key data used to achieve time synchronization of devices within a wireless local area network. It exists in binary form and occupies a certain number of bits. These bits precisely record specific time information, such as the specific moment and time interval.
[0089] The number of bits used for timestamp information varies depending on the application scenario and accuracy requirements. For example, in some industrial control scenarios with extremely high time synchronization accuracy requirements, more bits may be needed to record more precise time; while in some ordinary time synchronization scenarios, relatively few bits may be sufficient.
[0090] In wireless LANs, the signaling field in the preamble sequence consists of signaling character symbols (SIG symbols), each of which carries a fixed number of bits. For example, one SIG symbol carries 24 bits, which is the capacity of each SIG symbol. When the access device obtains the timestamp information, it calculates how many SIG symbols are needed to fully carry the timestamp information based on the number of bits required. For example, if the timestamp information occupies 32 bits, since a single SIG symbol can only carry 24 bits, one SIG symbol is insufficient to fully accommodate it, and two SIG symbols are needed to meet the requirement of carrying the complete timestamp information, thus determining the number of signaling character symbols to be 2. In this way, the access device can accurately plan the storage space of the timestamp information in the signaling field, ensuring that the timestamp information can be transmitted completely and accurately.
[0091] The physical layer is the foundational layer of wireless LAN communication, responsible for handling physical operations such as signal transmission and reception. Physical layer hardware has the ability to convert digital information into signals suitable for wireless channel transmission, and can also reconstruct digital information from received signals. In the process of adding timestamp information, the physical layer hardware plays a crucial role in precisely manipulating bits, accurately inserting timestamp information into the designated position in the signaling field according to predetermined rules and protocols.
[0092] Specifically, after determining the required number of signaling characters, the access device uses physical layer hardware to add timestamp information to the corresponding bits in the signaling field. Taking the example of 32 bits of timestamp information requiring two SIG symbols, the physical layer hardware will sequentially add the first 24 bits of the timestamp information to the bits corresponding to the first SIG symbol, and then add the remaining 8 bits to the first 8 bits of the second SIG symbol (if the second SIG symbol contains further information, the remaining bits will be filled according to the rules). Through this precise operation, the timestamp information is completely added to the signaling field, and the signaling field obtained after this processing is the target signaling field. The target signaling field carries accurate timestamp information and can be sent to the receiving end along with the radio frame, providing necessary data support for time synchronization at the receiving end.
[0093] Based on the above embodiments, sending the target wireless frame to the receiving end includes:
[0094] If it is determined that multiple receivers exist within the wireless local area network, the target wireless frame is simultaneously transmitted to each of the receivers based on orthogonal frequency division multiple access (OFDMA) technology. Specifically, there can be a step to determine the number of receivers; if multiple receivers are determined to exist, a target wireless frame with time synchronization function is transmitted based on OFDMA technology.
[0095] In this invention, the access device in the wireless local area network (WLAN) operation scenario acts as the core control node of the network, requiring communication and data interaction with multiple field devices (i.e., receivers) within the network. The access device uses specific network monitoring and management mechanisms to identify and confirm the presence of multiple receivers that need to receive data within the current network. For example, in a WLAN built in an industrial automated production workshop, there may be multiple sensor devices for monitoring the operating status of production equipment, multiple controller devices for controlling the production process, etc., all of which are connected as receivers to the WLAN where the access device resides. By periodically scanning the network and receiving device registration information, the access device clearly recognizes the presence of multiple receivers within the network, thus preparing for subsequent data transmission.
[0096] Orthogonal Frequency Division Multiple Access (OFDMA) technology divides the entire available frequency band into multiple orthogonal subcarriers and allocates these subcarriers to different receivers according to their needs. Each receiver is assigned a specific set of subcarriers, transmitting its own data on these subcarriers. The subcarriers used by different receivers are orthogonal to each other, preventing interference. In this invention, when the access device determines that multiple receivers exist in the network, it uses OFDMA to simultaneously send the target radio frame to each receiver. The target radio frame contains the data information to be transmitted to each receiver and may also carry timestamp information for time synchronization.
[0097] Furthermore, the access device allocates appropriate subcarriers to each receiver based on their communication needs and channel conditions, and modulates and transmits the data of the target radio frame according to the allocated subcarriers. For example, in a wireless local area network with three receivers, the access device may divide the frequency band into three groups of subcarriers, allocate them to the three receivers respectively, and then modulate the target radio frame containing the corresponding data onto the corresponding subcarriers for simultaneous transmission.
[0098] Because time synchronization requirements within a wireless LAN are extremely high, any time synchronization deviation in any device will lead to OFDMA data transmission failure. This invention utilizes OFDMA technology to simultaneously send the target wireless frame to each receiver, ensuring that all receivers receive data at approximately the same time. Furthermore, it leverages the timestamp information carried in the preamble sequence of the target wireless frame for local time synchronization, guaranteeing time consistency between each receiver and the access device. This reduces data transmission errors and failures caused by time deviations, thereby improving the reliability and stability of the entire wireless LAN communication. For example, in industrial control scenarios with high real-time requirements, each receiver needs to receive control commands sent by the access device promptly and accurately. The simultaneous transmission characteristic of OFDMA technology can meet these high real-time and high reliability communication needs.
[0099] Figure 2 This is a second flowchart illustrating the wireless local area network (WLAN) timing method provided by the present invention. Figure 2 As shown, this invention provides a wireless local area network (WLAN) timing method, applied at the receiving end, comprising:
[0100] Step 201: Based on physical layer hardware, obtain the preamble sequence in the target wireless frame.
[0101] In this invention, the physical layer is the foundational layer for wireless local area network (WLAN) communication, responsible for handling physical layer operations such as signal transmission and reception. The physical layer hardware has the capability to convert analog signals in the wireless channel into digital signals, and can also perform preliminary processing and analysis of received signals. In a WLAN, access devices send wireless frames containing various information; the receiving end receives these wireless frame signals, and the physical layer hardware can convert them into a digital form that a computer can process.
[0102] A target radio frame is a wireless signal packet sent by an access device to achieve a specific function (such as data transmission, time synchronization, etc.). The preamble sequence is the beginning of the target radio frame, containing important information for synchronization and channel estimation. After receiving the radio signal, the physical layer hardware at the receiving end identifies and extracts the preamble sequence of the target radio frame from the received digital signal according to predetermined protocols and rules. For example, the physical layer hardware locates the start position of the preamble sequence based on specific signal characteristics and extracts it completely, preparing for subsequent parsing.
[0103] Step 202: Parse the preamble sequence to obtain the timestamp information in the signaling field of the preamble sequence.
[0104] In this invention, the preamble sequence typically consists of multiple parts, among which the signaling field (SIG symbol) is a crucial component. The signaling field carries key information about the radio frame, such as frame type, modulation scheme, coding rate, and timestamp information. This information is stored in the bits of the signaling field using a specific encoding method.
[0105] After acquiring the preamble sequence, the receiving end performs further parsing. First, the receiving end identifies the signaling field in the preamble sequence according to pre-agreed protocols and rules. Then, it interprets each bit in the signaling field, converting it into meaningful information according to predetermined encoding rules. During this process, the receiving end extracts the binary data represented by the bits storing timestamp information, performs corresponding conversions and processing, and ultimately obtains accurate timestamp information. For example, if the timestamp information is encoded and stored in the signaling field in a specific time format (such as a UNIX timestamp), the receiving end converts the binary data into a specific time value according to the rules of that time format.
[0106] Step 203: Perform time synchronization operation based on the timestamp information.
[0107] In this invention, all devices in a wireless local area network (WLAN) need to maintain time consistency to ensure the accuracy and reliability of communication. For example, when using Orthogonal Frequency Division Multiple Access (OFDMA) for data transmission, time discrepancies between different receivers may lead to data transmission failure. Therefore, the receiver can adjust its local time based on the acquired timestamp information to keep it consistent with the standard time in the network.
[0108] Specifically, after receiving the timestamp information, the receiving end compares it with its current local time. If a time difference exists, the receiving end adjusts its local clock according to a preset synchronization algorithm and strategy. For example, the receiving end can achieve time synchronization by modifying the local clock frequency or directly setting the local clock's time value. In some high-precision time synchronization scenarios, the receiving end may also use multiple sampling and averaging methods to improve the accuracy of time synchronization, ensuring that the local time is synchronized with the standard time represented by the timestamp information. By performing time synchronization operations, the receiving end can maintain time consistency with other devices, thereby ensuring the normal operation and efficient communication of the wireless local area network.
[0109] The wireless LAN timing method provided by this invention constructs timestamp information through network access devices, adds the timestamp information to signaling field bits using physical layer hardware, constructs a suitable preamble sequence based on the obtained target signaling field, builds the target wireless frame, and then sends it to the network wireless devices according to preset rules. After the network wireless devices obtain the preamble sequence and parse the timestamp information through physical layer hardware, they perform time synchronization, thereby reducing the uncertainty caused by simultaneous software processing time, improving time synchronization accuracy, and enhancing network communication reliability.
[0110] Based on the above embodiments, the method further includes:
[0111] If it is determined that the receiving end has not joined a wireless local area network, and if the received target wireless frame meets the preset preamble sequence configuration content in the current receiving end, then the time synchronization operation is performed according to the target wireless frame.
[0112] If it is determined that the receiving end has joined the wireless local area network, the time synchronization operation is performed based on the target wireless frame.
[0113] In this invention, field devices not connected to a wireless LAN are in an independent state and have not yet established an effective communication connection and synchronization mechanism with access devices in the network. At this time, field devices not connected to a wireless LAN can align their own time with the network's standard time so that they can subsequently join the network smoothly and communicate normally.
[0114] In this invention, the field device can be configured to perform time synchronization based on the preamble sequence timestamp information, and will preset the configuration of the expected received preamble sequence content, i.e., preset preamble sequence configuration content. By comparing the preamble sequence in the acquired radio frame with the preset preamble sequence, the field device can identify whether the preamble sequence of the radio frame meets its own requirements and whether it can be used for time synchronization. For example, the preset preamble sequence configuration content specifies a specific format of the preamble sequence, specific identification information it contains, or a specific frequency range, etc. Only when the preamble sequence of the received target radio frame meets these preset conditions will the field device consider the radio frame to be a reliable time synchronization source.
[0115] When a field device not yet connected to the network receives a target wireless frame, it first checks its preamble sequence. If the preamble sequence matches the preset preamble sequence configuration in the current receiver, the device extracts the timestamp information from it. Since the preamble sequence is generally not encrypted and is directly received and parsed by the physical layer, the field device can successfully obtain accurate timestamp information. Then, the field device performs time synchronization based on this timestamp information, adjusting its local clock to match the network standard time represented by the timestamp, thus completing the time synchronization operation. For example, in an industrial monitoring scenario, a newly deployed sensor device (not yet connected to the network) receives a wireless frame broadcast by an access device. If its preamble sequence matches the sensor's preset configuration, the sensor can adjust its own time based on the timestamp in the preamble sequence, preparing for subsequent connection to the monitoring network.
[0116] For field devices already connected to a wireless LAN, although a communication connection has been established with the access device, time synchronization is still required periodically to ensure time consistency across all devices in the network. This is because during network operation, individual devices may experience time discrepancies due to clock drift or other reasons, affecting the accuracy and reliability of communication.
[0117] Similar to when not connected to the network, field devices already connected to the network can also receive regular target radio frames sent by the access device. These radio frames can also carry timestamp information in their preamble sequences. After receiving a target radio frame, the device parses the preamble sequence at the physical layer to obtain the timestamp, and then adjusts its local time based on the timestamp to achieve time synchronization. For example, in a wireless LAN using OFDMA technology, the access device carries a timestamp in the preamble sequence of the target radio frame transmitting data. Connected devices can use these timestamps for time synchronization, ensuring the accuracy of data transmission.
[0118] In this invention, in addition to the target wireless frame, the access device can also specifically send a time synchronization frame. The time synchronization frame can be a wireless frame specifically designed for time synchronization, with a potentially simpler and more optimized structure and content, emphasizing timestamp information. Upon receiving the time synchronization frame, the field devices already connected to the network can extract the timestamp information more quickly and accurately and perform time synchronization operations. For example, in a TDMA-based wireless LAN, to ensure the accuracy of time slot allocation for each device, the access device periodically sends time synchronization frames. The connected devices then perform time synchronization based on these frames, avoiding time slot conflicts caused by time deviations.
[0119] In TDMA wireless LANs, network encryption is typically enabled, and the password is updated periodically. If a field device fails to update its key or is delayed, time synchronization cannot be performed based on the timestamp carried in the wireless frame data (because the data portion is encrypted). This invention, however, achieves time synchronization based on the timestamp information carried in the preamble sequence. This preamble sequence is generally not encrypted and is received and parsed by the physical layer. Therefore, even if a device encounters a key update problem, it will not be affected by obtaining the timestamp from the preamble sequence for time synchronization. This avoids the inability to perform time synchronization due to key update delays or failures, thus preventing adverse effects on the entire wireless LAN communication. For example, in a high-security enterprise wireless LAN, some devices may experience delayed key updates for various reasons, but these devices can still achieve time synchronization by parsing the timestamp in the preamble sequence, ensuring the normal operation of the network.
[0120] Based on the above embodiments, after performing the time synchronization operation according to the timestamp information, the method further includes:
[0121] When it is determined that a scheduling instruction exists in the target radio frame sent by the transmitting end, the data is uploaded to the transmitting end based on orthogonal frequency division multiple access technology.
[0122] In this invention, a wireless local area network environment contains multiple field devices and one access device. The field devices have a need to upload data to the access device, and the access device, in order to efficiently and orderly manage the data uploads from multiple field devices, employs an active scheduling method.
[0123] Specifically, the access device sends target radio frames to multiple field devices in the network. These target radio frames are crucial for communication and control between the access device and the field devices, containing various information, including scheduling instructions. These scheduling instructions are key information used by the access device to control when and how field devices upload data.
[0124] Upon receiving a target radio frame, the field device parses it. Using pre-agreed protocols and rules, the field device can determine whether a scheduling instruction exists within the target radio frame. For example, specific fields in the target radio frame might be defined as storing scheduling instructions. The field device checks the contents of these fields; if data matching the format and characteristics of a scheduling instruction is found, it confirms the presence of a scheduling instruction in the target radio frame. Simultaneously, the preamble sequence in the target radio frame sent by the access device carries timestamp information. After receiving the downlink radio frame, the field device parses its preamble sequence to extract the timestamp information.
[0125] Furthermore, based on the extracted timestamp information, the field devices perform time synchronization. By adjusting their local clocks, they ensure that their local time matches the time of the access device represented by the timestamp, allowing each field device to initiate data upload at the same time specified by the access device. For example, in a wireless LAN in an industrial automated production workshop, multiple sensor devices need to simultaneously upload production data to the access device. Time synchronization ensures that all sensors begin transmitting data at the same precise moment.
[0126] After time synchronization is complete, the field devices upload data to the access device based on Orthogonal Frequency Division Multiple Access (OFDMA) technology, according to the scheduling instructions of the access device. OFDMA technology divides the entire available frequency band into multiple orthogonal subcarriers. The access device can allocate a specific set of subcarriers to each field device based on its communication needs and channel conditions. Each field device uploads data to the access device simultaneously at a specified time (determined by a timestamp) using its assigned subcarrier. In this way, data from multiple field devices can be transmitted in parallel on different subcarriers at the same time, improving the efficiency and reliability of data upload.
[0127] Because uplink OFDMA requires extremely high time synchronization between devices, if the times of various field devices are not synchronized, time deviations will occur when they upload data, disrupting the orthogonality between subcarriers, causing severe interference, and ultimately leading to data transmission failure. However, by using the preamble sequence-based time synchronization method described above, a high degree of time consistency among multiple field devices can be ensured, thereby avoiding uplink OFDMA transmission failures caused by time asynchrony and guaranteeing the stability and efficiency of data uploads across the entire wireless LAN.
[0128] Figure 3 The third flowchart illustrates the wireless local area network (WLAN) timing method provided by this invention. Figure 3 As shown, the present invention provides a wireless local area network (WLAN) timing method, comprising:
[0129] Step 301: The network access device constructs timestamp information and, based on the physical layer hardware of the network access device, adds the timestamp information to the corresponding bit in the signaling field to obtain the target signaling field.
[0130] In this invention, the network access device first generates a timestamp. This timestamp represents the precise time currently maintained by the network access device, which can be based on the network access device's own high-precision clock source, or it may be obtained after synchronization with a more accurate external time reference (such as GPS time, NTP server time, etc.). For example, in a large enterprise's wireless LAN, the network access device may periodically synchronize its time with the enterprise's NTP server to ensure the accuracy of the timestamp.
[0131] Network access devices utilize their physical layer hardware to add the constructed timestamp information to the corresponding bits in the signaling field. The physical layer hardware is responsible for handling physical transmission-related operations, including signal encoding and modulation. Embedding timestamp information into specific locations within the signaling field via the physical layer hardware ensures the accuracy and integrity of the timestamp information during subsequent transmission. For example, the signaling field may reserve several bytes for storing the timestamp; the physical layer hardware will fill these bytes with the binary data of the timestamp according to a prescribed format and encoding method.
[0132] Step 302: The network access device constructs a target radio frame based on the target signaling field, wherein the target radio frame represents a radio frame whose preamble sequence carries the timestamp information.
[0133] In this invention, the network access device combines the obtained target signaling field with other fields of the preamble sequence to construct the target radio frame. The preamble sequence is a specific signal sequence at the beginning of the radio frame, which plays an important role in wireless communication, for example, for signal detection, synchronization, and channel estimation at the receiver.
[0134] The target radio frame, as a preamble sequence carrying timestamp information, enables the receiver to perform not only routine synchronization and channel estimation operations while parsing the preamble sequence, but also to obtain the timestamp information, thereby achieving time synchronization. For example, in a wireless sensor network, the target radio frame constructed by the network access device allows each sensor device to obtain accurate time information while receiving signals.
[0135] Step 303: The network access device sends the target wireless frame to the network wireless device.
[0136] In this invention, the network access device sends the constructed target wireless frame to the receiving end (i.e., the network wireless device). Similar to the above embodiments, the network access device can construct the target wireless frame according to a preset timing rule to standardize parameters such as the transmission time interval, transmission frequency, and transmission power. These rules are formulated based on the specific needs of the network and the application scenario. For example, in an industrial automation control network with extremely high time synchronization requirements, it may be necessary to send the target wireless frame at a higher frequency (e.g., multiple times per second) to ensure high time synchronization among various devices; while in some IoT applications with high power consumption requirements, the transmission frequency may be appropriately reduced to save device power.
[0137] Network access devices transmit target wireless frames via wireless channels. The wireless signals propagate through the air and eventually reach the receiving end. During transmission, the access devices employ appropriate modulation and coding methods to ensure the signal's anti-interference capability and reliability during transmission.
[0138] Step 304: The network wireless device obtains the preamble sequence in the target wireless frame based on physical layer hardware.
[0139] In this invention, the physical layer hardware of the network wireless device (or receiver) is responsible for receiving wireless signals sent from the network access device. The physical layer hardware of the network wireless device performs a series of processes on the received signals, including demodulation and decoding, to reconstruct the original digital signal. During this process, the physical layer hardware extracts the preamble sequence from the received target wireless frame. For example, the physical layer hardware identifies the start position and length of the preamble sequence according to a predefined wireless frame format and separates it from the entire wireless frame.
[0140] Step 305: The network wireless device parses the preamble sequence to obtain the timestamp information.
[0141] In this invention, the network wireless device parses the extracted preamble sequence. Since the preamble sequence embeds timestamp information, the receiving end needs to decode the preamble sequence according to predetermined, identical encoding and format rules to obtain the binary data of the timestamp. For example, if the timestamp information is encoded in a predetermined way (embedded in certain bits of the preamble sequence), the receiving end needs to use a corresponding decoding algorithm to restore these bits to the original timestamp data.
[0142] After the parsing operation, the network wireless device can successfully obtain the timestamp information, which represents the current time of the network access device.
[0143] Step 306: The network wireless device performs a time synchronization operation based on the timestamp information.
[0144] In this invention, the network wireless device adjusts its local clock based on the acquired timestamp information. The network wireless device sets its local clock to match the time represented by the timestamp, or performs time calibration according to a certain algorithm to eliminate the deviation between the local clock and the network access device's clock. For example, if the local clock is 10 milliseconds behind the timestamp, the device will adjust its local clock forward by 10 milliseconds.
[0145] Through the above adjustments, the network wireless device has achieved time synchronization with the network access device. Time synchronization is crucial for the normal operation of a wireless network. It ensures consistent communication between devices and avoids data conflicts and transmission errors caused by time differences. For example, in a wireless LAN using Time Division Multiple Access (TDMA) technology, all devices must strictly adhere to a unified time standard for data transmission. Time synchronization guarantees that each device sends and receives data within the correct time slot.
[0146] The wireless LAN timing method provided by this invention constructs timestamp information through network access devices and adds the timestamp information to signaling field bits using physical layer hardware. The resulting target signaling field (combined with other fields in the preamble sequence) is then used to construct a target wireless frame, which is subsequently sent to the network wireless devices in a predetermined manner. After the network wireless devices obtain the preamble sequence and parse the timestamp information through physical layer hardware, they perform time synchronization. This reduces the uncertainty caused by simultaneous software processing time, improves time synchronization accuracy, and enhances network communication reliability.
[0147] The wireless local area network (WLAN) timing system provided by this invention is described below. The WLAN timing system described below can be referred to in correspondence with the WLAN timing method described above.
[0148] Figure 4 This is a schematic diagram of the wireless local area network timing system provided by the present invention, as shown below. Figure 4As shown, this invention provides a wireless local area network (WLAN) timing system applied at a transmitting end, including a wireless frame construction module 401 and a transmitting module 402. The wireless frame construction module 401 is used to construct a target wireless frame carrying timestamp information according to a preset timing rule. The wireless frame construction module 401 includes a signaling field construction unit 4011 and a wireless frame construction unit 4012. The signaling field construction unit 4011 is used to construct timestamp information and add the timestamp information to the corresponding bits in the signaling field based on physical layer hardware to obtain a target signaling field. The wireless frame construction unit 4012 is used to construct the target wireless frame based on the target signaling field, wherein the target wireless frame represents a wireless frame with a preamble carrying the timestamp information. The transmitting module 402 is used to transmit the target wireless frame to the receiving end.
[0149] The wireless LAN timing system provided by this invention constructs timestamp information through network access devices, adds the timestamp information to the signaling field bits using physical layer hardware, constructs a suitable preamble sequence based on the obtained target signaling field, then constructs the target wireless frame, and finally sends it to the network wireless devices according to preset rules. After the network wireless devices obtain the preamble sequence and parse the timestamp information through physical layer hardware, they perform time synchronization, thereby reducing the uncertainty caused by simultaneous software processing time, improving time synchronization accuracy, and enhancing network communication reliability.
[0150] The system provided in this embodiment of the invention is used to execute the above-described method embodiments. For specific processes and details, please refer to the above embodiments, which will not be repeated here.
[0151] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention, such as... Figure 5 As shown, the electronic device may include: a processor 501, a communications interface 502, a memory 503, and a communication bus 504. The processor 501, communications interface 502, and memory 503 communicate with each other via the communication bus 504. The processor 501 can call logical instructions in the memory 503 to execute a wireless local area network (WLAN) timing method. This method includes: constructing a target wireless frame carrying timestamp information according to a preset timing rule; specifically, constructing the timestamp information and adding it to the corresponding bit in the signaling field based on physical layer hardware to obtain a target signaling field; constructing the target wireless frame based on the target signaling field; and sending the target wireless frame to the receiving end.
[0152] Alternatively, based on physical layer hardware, the preamble sequence in the target wireless frame is obtained; the preamble sequence is parsed to obtain the timestamp information in the signaling field of the preamble sequence; and a time synchronization operation is performed based on the timestamp information.
[0153] Alternatively, the network access device constructs timestamp information and, based on its physical layer hardware, adds the timestamp information to the corresponding bits in the signaling field to obtain a target signaling field. The network access device then constructs a target radio frame based on the target signaling field, wherein the target radio frame represents a radio frame whose preamble carries the timestamp information. The network access device sends the target radio frame to the network wireless device. The network wireless device obtains the preamble sequence from the target radio frame based on its physical layer hardware. The network wireless device parses the preamble sequence to obtain the timestamp information. The network wireless device performs a time synchronization operation based on the timestamp information.
[0154] Furthermore, the logical instructions in the aforementioned memory 503 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0155] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, the computer is able to execute the wireless local area network timing method provided by the above methods, the method comprising: constructing a target wireless frame carrying timestamp information according to a preset timing rule, specifically comprising: constructing the timestamp information, and adding the timestamp information to the corresponding bit in the signaling field based on physical layer hardware to obtain a target signaling field; constructing the target wireless frame based on the target signaling field; and sending the target wireless frame to a receiving end;
[0156] Alternatively, based on physical layer hardware, the preamble sequence in the target wireless frame is obtained; the preamble sequence is parsed to obtain the timestamp information in the signaling field of the preamble sequence; and a time synchronization operation is performed based on the timestamp information.
[0157] Alternatively, the network access device constructs timestamp information and, based on its physical layer hardware, adds the timestamp information to the corresponding bits in the signaling field to obtain a target signaling field. The network access device then constructs a target radio frame based on the target signaling field, wherein the target radio frame represents a radio frame whose preamble carries the timestamp information. The network access device sends the target radio frame to the network wireless device. The network wireless device, based on its physical layer hardware, obtains the preamble sequence from the target radio frame. The network wireless device parses the preamble sequence to obtain the timestamp information. The network wireless device performs a time synchronization operation based on the timestamp information.
[0158] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program is implemented to perform the wireless local area network timing method provided in the above embodiments. The method includes: constructing a target wireless frame carrying timestamp information according to a preset timing rule, specifically including: constructing the timestamp information and adding the timestamp information to the corresponding bit in the signaling field based on physical layer hardware to obtain a target signaling field; constructing the target wireless frame based on the target signaling field; and sending the target wireless frame to a receiving end.
[0159] Alternatively, based on physical layer hardware, the preamble sequence in the target wireless frame is obtained; the preamble sequence is parsed to obtain the timestamp information in the signaling field of the preamble sequence; and a time synchronization operation is performed based on the timestamp information.
[0160] Alternatively, the network access device constructs timestamp information and, based on its physical layer hardware, adds the timestamp information to the corresponding bits in the signaling field to obtain a target signaling field. The network access device then constructs a target radio frame based on the target signaling field, wherein the target radio frame represents a radio frame whose preamble carries the timestamp information. The network access device sends the target radio frame to the network wireless device. The network wireless device, based on its physical layer hardware, obtains the preamble sequence from the target radio frame. The network wireless device parses the preamble sequence to obtain the timestamp information. The network wireless device performs a time synchronization operation based on the timestamp information.
[0161] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0162] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0163] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A wireless local area network (WLAN) timing method, characterized in that, Applied to the sending end, including: Constructing a target wireless frame carrying timestamp information according to preset timing rules, specifically including: The timestamp information is constructed, and the timestamp information is added to the corresponding bits in the signaling field based on the physical layer hardware to obtain the target signaling field; The target radio frame is constructed based on the target signaling field; The target wireless frame is sent to the receiving end; The preset timing rules include periodic timing rules, and / or full-frame timing rules; The periodic timing rule is as follows: within a predetermined timing period, a target wireless frame is constructed; The full-frame timing rule is as follows: within a predetermined timing period, each constructed radio frame is the target radio frame. The method further includes: If it is determined that the target radio frame has not been sent within the current timing period, the step of constructing a target radio frame carrying timestamp information according to a preset timing rule is triggered; or, a time synchronization frame is constructed based on the timestamp information. The process of adding the timestamp information to the corresponding bits in the signaling field based on physical layer hardware to obtain the target signaling field includes: Based on the number of bits occupied by the timestamp information, determine the number of signaling character symbols in the signaling field of the timestamp information; Based on the physical layer hardware and the number of signaling character symbols, the timestamp information is added to the corresponding bit in the signaling field to obtain the target signaling field.
2. The wireless local area network (WLAN) timing method according to claim 1, characterized in that, The step of sending the target wireless frame to the receiving end includes: If it is determined that there are multiple receivers in the wireless local area network, the target wireless frame is simultaneously transmitted to each of the receivers based on orthogonal frequency division multiple access technology.
3. A wireless local area network (WLAN) timing method, characterized in that, Applied to the receiving end, including: Based on physical layer hardware, the preamble sequence in the target wireless frame is obtained, wherein the target wireless frame is constructed based on the wireless local area network timing method described in claim 1 or 2. The preamble sequence is parsed to obtain the timestamp information in the signaling field of the preamble sequence; Perform a time synchronization operation based on the timestamp information.
4. The wireless local area network timing method according to claim 3, characterized in that, The method further includes: If it is determined that the receiving end has not joined a wireless local area network, and if the received target wireless frame meets the preset preamble sequence configuration content in the current receiving end, then the time synchronization operation is performed according to the target wireless frame. If it is determined that the receiving end has joined the wireless local area network, the time synchronization operation is performed based on the target wireless frame.
5. The wireless local area network timing method according to claim 3, characterized in that, After performing the time synchronization operation based on the timestamp information, the method further includes: When it is determined that a scheduling instruction exists in the target radio frame sent by the transmitting end, the data is uploaded to the transmitting end based on orthogonal frequency division multiple access technology.
6. A wireless local area network (WLAN) timing method, characterized in that, include: The network access device constructs timestamp information and, based on the physical layer hardware of the network access device, adds the timestamp information to the corresponding bits in the signaling field to obtain the target signaling field; The network access device constructs a target radio frame based on the target signaling field, wherein the target radio frame represents a radio frame whose preamble sequence carries the timestamp information; The network access device sends the target wireless frame to the network wireless device; The network wireless device obtains the preamble sequence in the target wireless frame based on physical layer hardware. The network wireless device parses the preamble sequence to obtain the timestamp information; The network wireless device performs a time synchronization operation based on the timestamp information; Specifically, a target wireless frame carrying timestamp information is constructed according to a preset timing rule, wherein the preset timing rule includes a periodic timing rule and / or a full-frame timing rule. The periodic timing rule is as follows: within a predetermined timing period, a target wireless frame is constructed; The full-frame timing rule is as follows: within a predetermined timing period, each constructed radio frame is the target radio frame. If it is determined that the target radio frame has not been sent within the current timing period, the step of constructing a target radio frame carrying timestamp information according to a preset timing rule is triggered; or, a time synchronization frame is constructed based on the timestamp information. Based on the physical layer hardware of the network access device, the timestamp information is added to the corresponding bits in the signaling field to obtain the target signaling field, including: Based on the number of bits occupied by the timestamp information, determine the number of signaling character symbols in the signaling field of the timestamp information; Based on the physical layer hardware and the number of signaling character symbols, the timestamp information is added to the corresponding bit in the signaling field to obtain the target signaling field.
7. A wireless local area network (WLAN) timing system, characterized in that, Applied to the sending end, including: A radio frame construction module is used to construct a target radio frame carrying timestamp information according to a preset timing rule. The radio frame construction module includes a signaling field construction unit and a radio frame construction unit, wherein: The signaling field construction unit is used to construct timestamp information and add the timestamp information to the corresponding bits in the signaling field based on physical layer hardware to obtain the target signaling field; A radio frame construction unit is configured to construct the target radio frame based on the target signaling field, wherein the target radio frame represents a radio frame whose preamble sequence carries the timestamp information; A transmitting module is used to transmit the target wireless frame to a receiving end; The preset timing rules include periodic timing rules, and / or full-frame timing rules; The periodic timing rule is as follows: within a predetermined timing period, a target wireless frame is constructed; The full-frame timing rule is as follows: within a predetermined timing period, each constructed radio frame is the target radio frame. If it is determined that the target radio frame has not been sent within the current timing period, the step of constructing a target radio frame carrying timestamp information according to a preset timing rule is triggered; or, a time synchronization frame is constructed based on the timestamp information. The signaling field construction unit is specifically used for: Based on the number of bits occupied by the timestamp information, determine the number of signaling character symbols in the signaling field of the timestamp information; Based on the physical layer hardware and the number of signaling character symbols, the timestamp information is added to the corresponding bit in the signaling field to obtain the target signaling field.
Citation Information
Patent Citations
High-accuracy wireless clock synchronization system for power system
CN102547969A
MAC layer timestamping approach for emerging wireless sensor platform and communication architecture
US20090310572A1