Wireless local area network terminal equipment and control method thereof
By configuring multiple rate modes and transmission power modes in wireless LAN terminal devices, dynamically adjusting the network quality detection cycle and transmission duty cycle, the problem of poor device portability and battery life is solved, and higher sensitivity and battery life is achieved.
Patent Information
- Application Number
- CN202411993857.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-03-07
AI Technical Summary
Existing wireless LAN terminal devices are difficult to meet the requirements of portability and long battery life, resulting in poor flexibility and ease of use when deploying and using.
Dynamically adjust the network quality detection cycle and transmission duty cycle to optimize power consumption and improve network quality by configuring multiple rate modes and transmit power modes.
With the premise of minimal power consumption, the sensitivity and battery life of wireless LAN terminal devices are improved, making the device more portable and flexible, suitable for deployment in outdoor and special scenarios.
Smart Images

Figure CN119584262A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wireless local area network, and in particular to a wireless local area network terminal device and a control method thereof and a wireless local area network system. Background Art
[0002] With the rapid development of the domestic telecommunications industry in recent years, dedicated wireless LAN communications have gradually shown their special charm, exploded with strong market potential, the network scale has grown rapidly, the application scenarios have gradually diversified, and gradually become an important force in the telecommunications market; it has the characteristics of high speed, stability, and security, and is widely used in finance, education, medical care, government and other industries; compared with Internet communications, dedicated wireless LAN communications can provide more stable and secure communication services, especially in data transmission. Private network communications have the advantages of high-speed transmission, low latency, and low packet loss, which can meet users' needs for high quality and reliability, and can provide emergency communications, command and dispatch, daily work communications and other services. Especially in some special scenarios, such as outdoor blasting, earthquake relief and other special scenarios, it is particularly important and is a reasonable and necessary supplement to the public network. Traditional wireless LAN terminal equipment is difficult to meet the requirements of portability and long battery life, resulting in poor flexibility and ease of use when deployed and used. Summary of the invention
[0003] The purpose of this application is to solve at least one of the above-mentioned technical defects, especially the technical defect that wireless local area network terminal equipment in the prior art is difficult to meet the requirements of portability and long battery life.
[0004] In a first aspect, the present application provides a control method for a wireless local area network terminal device, wherein the wireless local area network terminal device is configured with multiple rate modes and transmission power modes, including:
[0005] Conduct network quality testing according to the testing cycle;
[0006] When the detection cycle arrives, obtain network quality indicators;
[0007] When the network quality index is lower than the target network quality index, the network quality index is improved by reducing the current rate mode until the rate mode reaches the lowest, and then a higher transmission power mode and the highest rate mode are selected;
[0008] When the network quality index is higher than or equal to the target network quality index, the lowest transmission power mode and the highest rate mode are selected on the premise of keeping the network quality index higher than or equal to the target network quality index.
[0009] In one embodiment, the control method further includes:
[0010] Determine whether a target business instruction is received within the adjustment period;
[0011] If not, the detection period is extended if the detection period has not reached the preset upper limit;
[0012] If yes, the detection period is adjusted to the reference period.
[0013] In one embodiment, extending the detection period includes:
[0014] Determine the time interval between the current receipt of the target service instruction and the previous receipt of the target service instruction;
[0015] Determine the extension range according to the time interval; the longer the time interval, the greater the corresponding extension range;
[0016] The current detection cycle is extended according to the extension range.
[0017] In one embodiment, the control method further includes:
[0018] Send and receive data according to the working cycle;
[0019] When the working cycle arrives, the amount of data to be sent in the current working cycle is obtained;
[0020] According to the amount of data to be sent, the transmission duty cycle of the current working cycle is adjusted with the set threshold as the upper limit; wherein, the smaller the amount of data to be sent, the smaller the corresponding transmission duty cycle.
[0021] In a second aspect, the present application provides a wireless local area network terminal device, including a control module, the control module including one or more processors, and a memory, the memory storing computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the steps of the control method of the wireless local area network terminal device in any of the above-mentioned embodiments are executed.
[0022] In one of the embodiments, the wireless local area network terminal device includes a radio frequency transceiver, a signal transmission channel, a signal reception channel, a channel selection switch and an antenna;
[0023] The radio frequency transceiver is connected to a channel selection switch through a signal transmission channel and a signal reception channel respectively, and the channel selection switch is connected to an antenna;
[0024] The control module is respectively connected to the RF transceiver and the channel selection switch, and is used to control the channel selection switch to select the signal transmission channel in the transmission time slot of the working cycle, and send data through the RF transceiver, the signal transmission channel and the antenna. It is also used to control the channel selection switch to select the signal reception channel in the reception time slot of the working cycle, and receive data through the RF transceiver, the signal reception channel and the antenna.
[0025] In one of the embodiments, the signal receiving channel includes a limiting unit and a radio frequency amplification unit;
[0026] The channel selection switch is connected to the radio frequency transceiver in sequence through a limiting unit and a radio frequency amplifying unit connected in series.
[0027] In one of the embodiments, the signal receiving channel includes a radio frequency amplification unit, a radio frequency attenuation unit, a first switch, a second switch and a strength detection unit;
[0028] The channel selection switch is connected to the first switch, the first switch is connected to the second switch through the radio frequency amplification unit and the radio frequency attenuation unit respectively, and the second switch is connected to the radio frequency transceiver;
[0029] The strength detection unit is connected to the channel selection switch and is used to detect the signal strength during the receiving time slot;
[0030] The control module is respectively connected to the strength detection unit, the first switch and the second switch, and is used to obtain the signal strength from the strength detection unit during the receiving time slot, and when the signal strength is greater than the first threshold, the first switch and the second switch are controlled to enable the RF attenuation unit, otherwise the first switch and the second switch are controlled to enable the RF amplification unit.
[0031] In one embodiment, the intensity detection unit comprises a detector.
[0032] In a third aspect, the present application provides a wireless local area network system, comprising a plurality of wireless local area network terminal devices in any of the above embodiments, wherein one wireless local area network terminal device acts as a host and is communicatively connected with the remaining wireless local area network terminal devices in accordance with a star network topology.
[0033] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0034] The wireless LAN terminal equipment targeted by this application is configured with a variety of rate modes and transmission power modes. When the detection cycle arrives, the network quality is detected and the corresponding indicators are obtained. If the network quality indicators do not meet the requirements, the network quality is improved and low power consumption is maintained by reducing the rate to improve the sensitivity. If the rate mode has reached the minimum, the network quality is improved by increasing the transmission power mode. If the network quality index is higher than or equal to the target value, the lowest possible transmission power mode and the highest possible rate mode are selected to seek the optimal mode match while maintaining the network quality in compliance with the requirements. The rate mode and transmission power mode finally obtained by this method ensure that the maximum sensitivity is achieved under the premise of minimum power consumption. This solution dynamically adjusts the rate mode and transmission power mode according to the network quality, optimizes the power consumption of the wireless LAN terminal equipment, reduces the heat dissipation requirements, and improves the battery life, so that the wireless LAN terminal equipment does not need to be equipped with additional battery packs and heat sinks, and the portability and flexibility are greatly improved, which is convenient for flexible deployment outdoors. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0036] Figure 1 A flowchart of a method for controlling a wireless local area network terminal device provided in an embodiment of the present application;
[0037] Figure 2 This is a schematic diagram of a process for extending the detection cycle in an embodiment of the present application;
[0038] Figure 3 A schematic diagram of a flow chart for adjusting the transmission duty cycle in an embodiment of the present application;
[0039] Figure 4 A schematic diagram of a working cycle in an embodiment of the present application;
[0040] Figure 5 A schematic diagram of the structure of a wireless local area network terminal device provided in an embodiment of the present application;
[0041] Figure 6 A schematic diagram of the structure of a wireless local area network terminal device provided in another embodiment of the present application;
[0042] Figure 7 A schematic diagram of the structure of a wireless local area network terminal device provided in yet another embodiment of the present application. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0044] The present application provides a control method for a wireless local area network terminal device, wherein the wireless local area network terminal device is configured with a variety of rate modes and transmission power modes. Specifically, the RF front end of the wireless local area network terminal device can generate carriers with different frequencies for different rate modes, and its modulation and demodulation circuit can also support the modulation methods corresponding to different rate modes. Its software part has built-in communication protocol stacks corresponding to different rate modes and the switching algorithm in this embodiment. The wireless local area network terminal device is also configured with a power amplifier for amplifying the power of the transmission signal. In order to adapt to different transmission power requirements, the power management circuit also needs to be able to provide the corresponding power supply voltage and current. Please refer to Figure 1 The control method of the wireless local area network terminal device in the present application includes steps S102 to S110.
[0045] S102: Perform network quality detection according to a detection cycle.
[0046] It can be understood that the detection cycle is a pre-set time interval used to regularly check the network quality of the wireless LAN. By periodically detecting the network quality, the terminal device can timely understand the current network environment and provide a basis for adjusting the communication parameters according to the network conditions. The built-in detection module of the device will start the detection program according to the preset detection cycle. The module calculates the current network quality index by receiving and analyzing various characteristic information from the wireless signal. For example, by measuring the received signal strength indication (RSSI), the signal strength information is obtained; by statistics on data transmission over a period of time, indicators such as packet loss rate and transmission delay are obtained.
[0047] S104, when the detection period arrives, obtain the network quality index.
[0048] It can be understood that this step is to extract and organize the network quality related data obtained by the detection operation based on the previous step. Network quality indicators are specific values that quantify network quality. Different indicators reflect the performance of the network from different angles. In the field of wireless communication, network quality is a comprehensive concept that can reflect the performance of wireless communication links from different aspects such as signal strength, signal-to-noise ratio, packet loss rate, and transmission delay. The specific indicator or indicators used to evaluate network quality can be determined according to actual needs. In the actual application process, the detection process will be triggered according to the detection cycle, and the current network quality indicator will be calculated by receiving and analyzing various characteristic information from the wireless signal. For example, the signal strength information can be obtained by measuring the received signal strength indication (RSSI); indicators such as packet loss rate and transmission delay can be obtained by statistics on data transmission over a period of time.
[0049] S106, when the network quality index is lower than the target network quality index, the network quality index is improved by lowering the current rate mode until the rate mode reaches the lowest, selecting a higher transmission power mode and selecting the highest rate mode.
[0050] It can be understood that the target network quality index is a standard pre-set according to the actual communication needs, which is used to measure whether the current network quality meets the requirements. The rate mode determines the transmission speed of data in the wireless channel, and different rate modes correspond to different data transmission capabilities. The transmission power mode determines the power size when the device transmits the signal. The wireless local area network terminal device in this application can be adjusted in a variety of different rate modes and transmission power modes. Different rate modes often correspond to different signal modulation methods and coding strategies. Higher rate modes usually use more complex modulation methods and coding methods, which can transmit more data per unit time. However, the rate and sensitivity of the wireless communication terminal are inversely proportional, and the higher the rate, the lower the sensitivity. And the sensitivity is proportional to the network quality index. Therefore, the rate mode is inversely proportional to the network quality index, and the transmission power mode is proportional to the network quality index.
[0051] In order to strike a balance between high rate and low power consumption as much as possible, in this embodiment, when the network quality index is unqualified, it is preferred to maintain low power consumption by reducing the rate mode. After the rate mode is reduced, the sensitivity increases accordingly, and the network quality index also increases accordingly. After the next detection cycle arrives, it will continue to determine whether the network quality index meets the requirements. If it meets the requirements, it will proceed to step S108. Otherwise, if the rate mode has not reached the minimum, the rate mode can be further reduced until the rate mode has reached the minimum. If the rate mode has reached the minimum, but the network quality still does not meet the requirements, it is impossible to continue to maintain the original power consumption level, and it is necessary to improve the network quality index by increasing the power consumption, which also requires improving the transmission power mode. Of course, if the network quality index still cannot be qualified when the transmission power mode reaches the highest and the rate mode has reached the lowest, it is necessary to issue a prompt to the user.
[0052] S108, when the network quality index is higher than or equal to the target network quality index, the lowest transmission power mode and the highest rate mode are selected on the premise of keeping the network quality index higher than or equal to the target network quality index.
[0053] It can be understood that when the network quality index obtained by detection is higher than or equal to the target value, it means that the current network condition is good and reliable data transmission can be guaranteed. In this case, the network quality may overflow, and you can try to reduce power consumption and increase the rate as much as possible under the premise of ensuring that the network quality index is higher than or equal to the target value. Unlike step S106, the lowest transmit power mode mentioned in step S108 is not an absolute minimum without a prerequisite, but a relative minimum under the premise of ensuring that the network quality index is qualified. The same is true for the highest rate mode. Specifically, if the current network quality index is higher than or equal to the target value, and the transmit power mode is not the lowest, you can give priority to trying to reduce the transmit power mode, and select the lowest rate mode, and then re-acquire the network quality index, and judge whether the network quality index is still qualified. If so, continue to try to reduce the transmit power mode, if not, the transmit power mode used last time will be restored. After the attempt to reduce the transmit power mode is completed, try to increase the rate mode. When the rate mode is improved, re-acquire the network quality index, and judge whether the network quality index is still qualified. If so, continue to try to increase the rate mode, if not, the rate mode used last time will be restored.
[0054] The wireless local area network terminal device targeted by the embodiment of the present application is configured with a variety of rate modes and transmission power modes. When the detection cycle arrives, the network quality is detected and the corresponding indicators are obtained. If the network quality indicators do not meet the requirements, the network quality is improved and low power consumption is maintained by reducing the rate to improve the sensitivity. If the rate mode has reached the minimum, the network quality is improved by improving the transmission power mode. If the network quality index is higher than or equal to the target value, the lowest possible transmission power mode and the highest possible rate mode are selected to seek the optimal mode match while maintaining the network quality in compliance with the requirements. The rate mode and transmission power mode finally obtained by this method ensure that the maximum sensitivity is achieved under the premise of minimum power consumption. The scheme dynamically adjusts the rate mode and transmission power mode according to the network quality, optimizes the power consumption of the wireless local area network terminal device, reduces the heat dissipation demand, and improves the battery life, so that the wireless local area network terminal device does not need to be equipped with additional battery packs and heat sinks, and the portability and flexibility are greatly improved, which is convenient for flexible deployment outdoors.
[0055] In one embodiment, the control method further includes: determining whether a target service instruction is received within the adjustment period. If not, extending the detection period if the detection period does not reach a preset upper limit. If yes, adjusting the detection period to the reference period.
[0056] It can be understood that during the operation of the wireless LAN terminal device, the adjustment period is a pre-set time period used to adjust the inspection period of the wireless LAN terminal device. The target business instruction refers to the instructions related to the specific business functions of the device. These instructions are usually sent to the wireless LAN terminal device by other devices or systems to trigger specific operations or tasks. For example, in an industrial automation wireless monitoring system, the target business instruction may be a device control command from the control center, such as starting or stopping the acquisition task of a sensor; in a wireless video monitoring system, the target business instruction may be an instruction to request the acquisition of a real-time video stream. The type and number of target business instructions can be configured as needed.
[0057] Specifically, the wireless LAN terminal device needs to monitor its communication interface in real time to determine whether the target service instruction is received during the adjustment period. This can be achieved through the communication protocol stack and related signal processing mechanisms inside the device. The communication protocol stack is responsible for managing the communication connection between the device and other devices, including the reception, parsing and processing of data. When data arrives at the communication interface of the device, the communication protocol stack will parse the data according to the pre-defined protocol rules to determine whether it is the target service instruction.
[0058] When the target service instruction is not received within the adjustment period, in order to reduce the power consumption and resource occupation of the device, the purpose of extending the detection period is to reduce unnecessary network quality detection operations when the device is in an idle state (no target service instruction is received), thereby reducing the power consumption of the device. However, at the same time, it can ensure that the device can respond to business needs in a timely manner when necessary, so it is necessary to set an upper limit for the detection period to ensure that the detection period is not excessively extended. The setting of the preset upper limit is based on a comprehensive consideration of multiple factors such as device performance, application scenario requirements, and power consumption.
[0059] When the wireless LAN terminal device receives the target service instruction within the adjustment period, it means that the device needs to enter an active working state to meet the service requirements. At this time, the detection period is adjusted to the reference period to ensure that the device can respond to the service instructions in a timely and accurate manner and ensure the stability and reliability of communication. The reference period is a pre-set standard detection period, which is determined based on the normal working requirements of the device and the network environment. Under this period, the device can perform network quality detection and service processing in the best state.
[0060] In one embodiment, see Figure 2 , extending the detection cycle includes steps S202 to S206.
[0061] S202: Determine the time interval between the current reception of the target service instruction and the previous reception of the target service instruction.
[0062] It can be understood that during the operation of the wireless LAN terminal device, each time a target service instruction is received, the device needs to perform corresponding processing and response, and the time span between the two target service instruction reception moments is the time interval referred to in this step. This process often relies on the precise timing mechanism inside the device. The wireless LAN terminal device is usually equipped with a high-precision clock circuit, which can provide a stable time reference for the device. When the device receives the target service instruction, the system will record the timestamp at this moment. This timestamp can be based on the count value of the clock circuit, converted into an actual time value through a specific algorithm. When the target service instruction is received next time, the timestamp is recorded again, and then the time interval between the two received instructions can be obtained through simple numerical calculations.
[0063] S204, determining an extension range according to the time interval. The longer the time interval, the greater the corresponding extension range.
[0064] It can be understood that the time interval between two adjacent target service instructions reflects the service activity of the wireless local area network terminal device. A longer time interval means that the device is in a relatively idle state for a period of time and has less service activities. In this case, appropriately extending the detection cycle can reduce unnecessary network quality detection operations, thereby reducing the power consumption of the device. A shorter time interval indicates that the device service activities are more frequent. At this time, a relatively short detection cycle needs to be maintained to ensure that the device can respond to service needs in a timely manner. Therefore, it is necessary to determine a reasonable extension range based on the time interval. Specifically, multiple intervals can be set, each interval corresponds to an extension range, and the larger the time interval contained in the interval, the larger the corresponding extension range. For example, in a simple rule, if the time interval is less than the first interval value, the extension range is 10% of the current detection cycle; if the time interval is between the first interval value and the second interval value, the extension range is 30% of the current detection cycle; if the time interval is greater than the second interval value, the extension range is 50% of the current detection cycle. A continuous function such as a linear function can also be used to establish a corresponding relationship between the time interval and the extension range.
[0065] S206: Extend the current detection cycle according to the extension amplitude.
[0066] It can be understood that the extension of the detection cycle is based on the energy saving and resource optimization needs of the device. When the device receives the target business instructions at a low frequency within a period of time, it means that the device is in a relatively idle state. At this time, too frequent network quality detection will consume a lot of power and system resources. By extending the detection cycle, the number of detection operations can be reduced while ensuring that the device can respond to business needs in a timely manner, thereby reducing the energy consumption of the device. At the same time, this adjustment will not affect the device's ability to monitor network changes, because even if the detection cycle is extended, the device can still obtain network quality information within a certain time interval, and when receiving the target business instructions, it can quickly return to the normal detection cycle.
[0067] In one embodiment, see Figure 3 , the control method also includes steps S302 to S306.
[0068] S302, sending and receiving data according to the working cycle.
[0069] It can be understood that the working cycle refers to the time interval preset by the wireless LAN terminal device for performing data sending and receiving operations. This cycle is set based on the application scenario and business needs of the device, aiming to ensure that data can be transmitted according to a certain regularity and rhythm to achieve stable and efficient communication. Figure 4As shown in FIG. 1 , the working cycle is divided into a transmitting time slot (TX) and a receiving time slot (RX). The wireless LAN terminal device sends data in the transmitting time slot and receives data in the receiving time slot.
[0070] S304, when a working cycle arrives, the amount of data to be sent in the current working cycle is obtained.
[0071] It can be understood that the amount of data to be sent refers to the size of the data that the device is ready to send to other devices through the wireless communication link during the current working cycle, usually measured in bytes. During operation, the device will store the data to be sent in a specific buffer or memory area. When the working cycle arrives, the device will scan and count these storage areas through a specific algorithm or program to determine the amount of data to be sent. For example, the data to be sent is stored in the cache area of the device and stored in the cache of the device. When the working cycle starts, the device's microcontroller reads the cached address pointer and data length information, and calculates the amount of data to be sent in the current working cycle.
[0072] S306, adjusting the transmission duty cycle of the current working cycle according to the amount of data to be sent, with the set threshold as the upper limit, wherein the smaller the amount of data to be sent, the smaller the corresponding transmission duty cycle.
[0073] It can be understood that the transmission duty cycle refers to the ratio of the duration of the transmission time slot to the entire cycle time in a complete transmission cycle. The set threshold is a predetermined value used to limit the maximum value of the transmission duty cycle to ensure that the device can transmit data completely and has a sufficiently low energy consumption limit. When the amount of data to be sent is small, if the transmission duty cycle is still maintained at a high level, the device will still consume a lot of energy to transmit wireless signals without actual data transmission, resulting in energy waste. Therefore, adjusting the transmission duty cycle according to the amount of data to be sent can enable the device to minimize power consumption while ensuring data transmission. For example, when the amount of data to be sent is 0, the transmission duty cycle can be adjusted to 0, that is, the device does not perform a transmission operation; when the amount of data to be sent gradually increases, the transmission duty cycle also increases accordingly, but will not exceed the set threshold. The RF transmission circuit of the device needs to have the function of adjusting the transmission duty cycle. This is usually achieved by controlling the switching time of the RF power amplifier. For example, a programmable timer is used to control the on and off time of the power amplifier to adjust the transmission duty cycle.
[0074] The present application provides a wireless local area network terminal device, including a control module, the control module includes one or more processors, and a memory, the memory stores computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the steps of the control method of the wireless local area network terminal device in any of the above embodiments are executed.
[0075] In one embodiment, see Figure 5 The wireless local area network terminal device includes a control module 10, a radio frequency transceiver 20, a signal transmission channel 30, a signal reception channel 40, a channel selection switch 50 and an antenna 60. The radio frequency transceiver 20 is connected to the channel selection switch 50 through the signal transmission channel 30 and the signal reception channel 40 respectively, and the channel selection switch 50 is connected to the antenna 60. The channel selection switch 50 is a key component for realizing the switching of the signal transmission and reception paths in the wireless local area network terminal device. It can accurately select the signal transmission channel 30 or the signal reception channel 40 in different time slots of the working cycle according to the instructions of the control module 10, thereby realizing the two-way communication function of the device.
[0076] The control module 10 is connected to the RF transceiver 20 and the channel selection switch 50 respectively, and is used to control the channel selection switch 50 to select the signal transmission channel 30 in the transmission time slot of the working cycle, and send data through the RF transceiver 20, the signal transmission channel 30 and the antenna 60. The RF transceiver 20 is a key component for wireless LAN terminal equipment to realize wireless communication. It is responsible for converting digital signals into RF signals for transmission. During the transmission process, the RF transceiver 20 first receives the digital signal from the control module 10, and then modulates the data according to the set modulation mode (such as binary phase shift keying (BPSK), quadrature phase shift keying (QPSK), etc.). The purpose of modulation is to load the digital signal onto a RF carrier of a specific frequency so that it can be wirelessly transmitted through the antenna 60. The signal transmission channel 30 mainly involves the transmission and matching of the signal. In the process of RF signal transmission, in order to ensure the integrity and accuracy of the signal, it is necessary to minimize the attenuation and distortion of the signal. This requires that the transmission characteristics of the signal transmission channel 30 match the characteristics of the RF transceiver 20 and the antenna 60. For example, the output impedance of the RF transceiver 20 and the input impedance of the antenna 60 need to be well matched through the signal transmission channel 30 to avoid signal reflection. If the impedance does not match, part of the signal will be reflected back at the interface, resulting in signal power loss and reduced transmission quality. In addition, the signal transmission channel 30 also needs to perform certain processing on the RF signal, such as amplification and filtering. The gain of the amplification can be controlled by the control module 10 to achieve a variety of transmission power modes. Filtering can remove possible stray signals and interference to ensure the purity of the transmitted signal. The signal passing through the signal transmission channel 30 is finally transmitted to the antenna 60 through the channel selection circuit in turn for transmission.
[0077] The control module 10 is also used to control the channel selection switch 50 to select the signal receiving channel 40 during the receiving time slot of the working cycle, and receive data through the RF transceiver 20, the signal receiving channel 40 and the antenna 60. The RF transceiver 20 can also convert the received RF signal into a digital signal for subsequent processing by the control module 10. In the receiving process, the signal receiving channel 40 is the key path for the wireless local area network terminal device to receive the external RF signal. It is responsible for amplifying, limiting and / or filtering the weak RF signal received by the antenna 60 so that it can be accurately demodulated into a digital signal by the RF transceiver 20.
[0078] In one embodiment, see Figure 6 , the signal receiving channel 40 includes an RF amplification unit 41 and a limiting unit 42. The channel selection switch 50 is connected to the RF transceiver 20 in turn through the limiting unit 42 and the RF amplification unit 41 connected in series. In a wireless communication environment, the strength of the received RF signal may fluctuate greatly due to various factors, such as changes in the power of the transmitter, fading during signal propagation, multipath effects, and interference from the surrounding environment. When the strength of the received RF signal is too large, it may exceed the tolerance range of subsequent circuits (such as the RF amplification unit 41 and the RF transceiver 20), resulting in device damage or performance degradation. The working principle of the limiting unit 42 is to allow the signal to pass through almost without attenuation through a specific circuit structure when the input signal amplitude is within the normal range; and when the input signal amplitude exceeds a certain threshold, the signal is limited so that its output amplitude remains at a relatively stable level. The limiting unit 42 can be specifically composed of at least two limiters connected in series. The RF amplification unit 41 is a key component in the signal receiving channel 40. Its main function is to amplify the weak RF signal processed by the limiting unit 42 to increase the signal strength and meet the requirements of the RF transceiver 20 for the input signal amplitude, thereby ensuring that the signal can be accurately demodulated and processed. The RF amplification unit 41 amplifies the input RF signal by adopting a specific amplification circuit, for example, by utilizing the amplification characteristics of active devices (such as transistors). During the amplification process, it should be considered to ensure that the frequency characteristics, phase characteristics, etc. of the signal do not change to avoid signal distortion. At the same time, the RF amplification unit 41 will also introduce certain noise while amplifying the signal, so it is necessary to consider how to reduce the noise coefficient and improve the signal-to-noise ratio during the design.
[0079] In one embodiment, see Figure 7The signal receiving channel 40 includes a radio frequency amplification unit 41, a radio frequency attenuation unit 43, a first switch 44, a second switch 45 and a strength detection unit 46. The channel selection switch 50 is connected to the first switch 44, and the first switch 44 is connected to the second switch 45 through the radio frequency amplification unit 41 and the radio frequency attenuation unit 43, and the second switch 45 is connected to the radio frequency transceiver 20. The strength detection unit 46 is connected to the channel selection switch 50, and is used to detect the signal strength when receiving the time slot. The control module 10 is respectively connected to the strength detection unit 46, the first switch 44 and the second switch 45.
[0080] Figure 6 and Figure 7 The RF amplification units 41 in the two corresponding embodiments are similar, and are both used to amplify the received RF signal. The amplification gain can be a dynamic value controlled by the control module 10, or a set fixed value. The RF attenuation unit 43 is used to attenuate the received RF signal, and it can be similar to the limiting unit 42, using a fixed attenuation value. However, it can also be a dynamic value controlled by the control module 10.
[0081] The strength detection unit 46 is an important component in the signal receiving channel 40 for real-time monitoring of the received signal strength. It provides key signal strength information to the control module 10 so that the control module 10 can decide the signal processing path according to the signal strength. A common detection method is to use a detector to convert the RF signal into a DC voltage signal, the size of which is proportional to the power of the RF signal. By measuring the size of this DC voltage signal, the strength of the RF signal can be indirectly obtained. In order to improve the accuracy and stability of the detection, the strength detection unit 46 usually also includes filtering, amplification and other circuits to process the detected signal, remove noise and interference, and make the detection result more reliable.
[0082] The first switch 44 and the second switch 45 play a key role in signal path selection in the signal receiving channel 40. They are used together to determine whether the signal transmitted from the channel selection switch 50 is directed to the RF amplification unit 41 or the RF attenuation unit 43 according to the instruction of the control module 10. The first switch 44 and the second switch 45 are essentially electronic switches, and their working states are determined by the control signal sent by the control module 10.
[0083] In the receiving time slot, after the control module 10 obtains the signal strength information from the strength detection unit 46, it will make a judgment according to the preset first threshold. If the signal strength is greater than the first threshold, it means that the signal is too strong and needs to be attenuated. The control module 10 will send a control signal to the first switch 44 to switch it to the channel connected to the RF attenuation unit 43 and guide the signal to the RF attenuation unit 43. The control module 10 will also send a control signal to the second switch 45, and the second switch 45 will also transmit the attenuated signal to the RF transceiver 20.
[0084] In the receiving time slot, after the control module 10 obtains the signal strength information from the strength detection unit 46, it will make a judgment based on the preset first threshold. If the signal strength is less than the first threshold, it means that the signal is too weak and needs to be amplified. The control module 10 will send a control signal to the first switch 44 to switch it to the channel connected to the RF amplification unit 41 and guide the signal to the RF amplification unit 41. The control module 10 will also send a control signal to the second switch 45, and the second switch 45 will also transmit the amplified signal to the RF transceiver 20.
[0085] The present application provides a wireless local area network system, including a plurality of wireless local area network terminal devices in any of the above embodiments, wherein one wireless local area network terminal device acts as a host and is connected to the other wireless local area network terminal devices in a star network topology. Two sets of working logic are configured in the wireless local area network terminal device, corresponding to the host and the slave respectively. In this way, the host and the slave only have different roles, but the radio frequency performance is consistent, thereby achieving parity in the uplink and downlink radio frequency link budgets. The parity link budget design is conducive to unified management of equipment, reducing the high performance requirements for a single device, and achieving the purpose of reducing system costs.
[0086] When the wireless LAN terminal device acts as a host, it is responsible for establishing communication connections with each slave and managing and scheduling them uniformly. The host part can also assume the role of relay and transfer to realize data transparent transmission and achieve the purpose of increasing the communication distance. Rely on the host for communication and work coordination. When the wireless LAN terminal device acts as a slave, it receives the control instructions and data sent by the host through the wireless link established with the host, and performs corresponding operations according to these instructions, such as sending and receiving data according to the prescribed working mode and time slot. The star network topology is the core architecture of this wireless LAN system, which determines the communication relationship and data transmission path between each device in the system. In the star network topology, all slaves communicate directly with the host, and the host is the central node of the entire network. Data transmission between slaves usually needs to be transferred through the host. The advantage of this structure is that it is easy to manage and maintain. The host can centrally control the entire network, and when a slave fails, it will not affect the communication between other slaves and the host.
[0087] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0088] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.
[0089] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for controlling a wireless local area network terminal device, characterized in that: The wireless LAN terminal device is configured with multiple rate modes and transmission power modes, including: Conduct network quality testing according to the testing cycle; When the detection period arrives, obtaining a network quality indicator; When the network quality index is lower than the target network quality index, the network quality index is improved by reducing the current rate mode until the rate mode reaches the lowest, selecting a higher transmission power mode and selecting the highest rate mode; In the case where the network quality indicator is higher than or equal to the target network quality indicator, the lowest transmission power mode and the highest rate mode are selected on the premise of keeping the network quality indicator higher than or equal to the target network quality indicator.
2. The control method according to claim 1, characterized in that: Also includes: Determine whether a target business instruction is received within the adjustment period; If not, extending the detection period if the detection period has not reached the preset upper limit; If so, the detection period is adjusted to the reference period.
3. The control method according to claim 2, characterized in that: The extending the detection period comprises: Determine the time interval between the current receipt of the target service instruction and the previous receipt of the target service instruction; Determine the extension amplitude according to the time interval; the larger the time interval, the larger the corresponding extension amplitude; The current detection cycle is extended according to the extension amplitude.
4. The control method according to claim 1, characterized in that: Also includes: Send and receive data according to the working cycle; When the working cycle arrives, obtaining the amount of data to be sent in the current working cycle; According to the amount of data to be sent, the transmission duty cycle of the current working cycle is adjusted with a set threshold as an upper limit; wherein, the smaller the amount of data to be sent, the smaller the corresponding transmission duty cycle.
5. A wireless local area network terminal device, characterized in that: It includes a control module, which includes one or more processors and a memory, in which computer-readable instructions are stored. When the computer-readable instructions are executed by the one or more processors, the steps of the control method of the wireless local area network terminal device as described in any one of claims 1 to 4 are executed.
6. The wireless local area network terminal device according to claim 5, characterized in that: It includes a radio frequency transceiver, a signal transmission channel, a signal receiving channel, a channel selection switch and an antenna; The radio frequency transceiver is connected to the channel selection switch through the signal transmission channel and the signal reception channel respectively, and the channel selection switch is connected to the antenna; The control module is respectively connected to the RF transceiver and the channel selection switch, and is used to control the channel selection switch to select the signal transmission channel in the transmission time slot of the working cycle, and send data through the RF transceiver, the signal transmission channel and the antenna, and is also used to control the channel selection switch to select the signal reception channel in the reception time slot of the working cycle, and receive data through the RF transceiver, the signal reception channel and the antenna.
7. The wireless local area network terminal device according to claim 6, characterized in that: The signal receiving channel includes a limiting unit and a radio frequency amplification unit; The channel selection switch is connected to the radio frequency transceiver in sequence through the limiting unit and the radio frequency amplification unit connected in series.
8. The wireless local area network terminal device according to claim 6, characterized in that: The signal receiving channel includes a radio frequency amplification unit, a radio frequency attenuation unit, a first switch, a second switch and a strength detection unit; The channel selection switch is connected to the first switch, the first switch is connected to the second switch through the RF amplification unit and the RF attenuation unit respectively, and the second switch is connected to the RF transceiver; The strength detection unit is connected to the channel selection switch and is used to detect the signal strength during the receiving time slot; The control module is respectively connected to the strength detection unit, the first switch and the second switch, and is used to obtain the signal strength from the strength detection unit during the receiving time slot, and when the signal strength is greater than a first threshold, control the first switch and the second switch to turn on the RF attenuation unit, otherwise control the first switch and the second switch to turn on the RF amplification unit.
9. The wireless local area network terminal device according to claim 8, characterized in that: The intensity detection unit includes a detector.
10. A wireless local area network system, characterized in that: It comprises a plurality of wireless local area network terminal devices as described in any one of claims 5 to 9, wherein one of the wireless local area network terminal devices acts as a host and is communicatively connected with the other wireless local area network terminal devices in a star network topology.
