A method of wireless communication, a control system, and a medium for a WiFi station
By obtaining the communication connection rate sets of AP and WiFi sites and taking the intersection to determine the minimum rate that they both support, the rate mismatch problem between WiFi sites and APs is solved, improving the connection success rate and reducing power consumption.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2026-04-10
AI Technical Summary
Connection failures can occur due to a rate mismatch between the WiFi site and the access point (AP). Existing technologies still carry the risk of connection failures even when sending management frames at the lowest rate supported by the AP.
By receiving configuration commands from the AP, the system obtains the communication connection rate sets of the AP and WiFi stations, takes the intersection to determine the minimum commonly supported rate, and uses this rate to establish a wireless communication connection, thus avoiding rate mismatch.
It improves the success rate of communication connections between WiFi sites and access points, and reduces the power consumption and time of wireless communication connections.
Smart Images

Figure CN116321311B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of wireless communication, and more particularly, to a wireless communication method, a control system and a medium for a WiFi station. BACKGROUND
[0002] With the development of technology, WiFi wireless communication is widely used. However, when a station (such as a sound box, a mobile phone, etc.) is connecting with an AP (access point, usually a router), there is often a failure. At this time, there may be a rate mismatching problem between the station and the AP, which causes the AP to not receive the connection information sent by the station, and then the AP does not send a response frame to the station, and finally the connection between the station and the AP fails. To solve this problem, the industry generally uses the lowest rate supported by the AP (access point, usually a router) to send management frames. However, using the lowest rate supported by the AP to send management frames still has some problems, that is, if the lowest rate supported by the AP is relatively high, it is more likely to cause connection failure. SUMMARY
[0003] The present application is provided to solve the above-mentioned defects in the prior art. A wireless communication method, a control system and a medium for a WiFi station are needed, which can obtain a communication connection rate commonly supported by the WiFi station and the AP, so as to determine that the minimum rate supported by the WiFi station is also a lower communication connection rate supported by the AP, and on this basis, a wireless communication connection is established between the WiFi station and the AP using the minimum rate supported by the WiFi station, which can improve the probability of successful wireless communication connection between the WiFi station and the AP, and avoid the problem of connection failure caused by rate mismatching between the WiFi station and the AP.
[0004] According to a first aspect of the present application, a wireless communication method for a WiFi station is provided, characterized in that the wireless communication method comprises, by the WiFi station: receiving a configuration command from an AP about a supported communication connection rate; based on the configuration command, obtaining a first rate set of a first communication connection rate supported by the AP; obtaining a second rate set of a second communication connection rate supported by the WiFi station; in the case that the minimum rate in a third rate set which is the intersection of the first rate set and the second rate set is equal to the minimum rate in the second rate set, establishing a wireless communication connection with the AP based on the minimum rate of the second rate set.
[0005] According to a second aspect of the present application, a control system with WiFi communication function for a wireless communication device is provided, the wireless communication device is used as a WiFi station, characterized in that the control system is configured to execute the wireless communication method for a WiFi station according to the first aspect of the present application.
[0006] According to a third aspect of the present application, a non-transitory computer readable storage medium is provided, having stored thereon computer executable instructions which, when executed by a processor, perform the method for wireless communication of a WiFi station according to the first aspect of the present application.
[0007] The method for wireless communication of a WiFi station, the control system and the medium provided by various embodiments of the present application can obtain all first communication connection rates supported by an AP based on a configuration command, obtain all second communication connection rates supported by a WiFi station, and obtain communication connection rates supported by both the AP and the WiFi station through intersection processing, so as to determine whether the minimum rate supported by the WiFi station is also a lower communication connection rate supported by the AP. If the minimum rate supported by the WiFi station is also a lower communication connection rate supported by the AP, a wireless communication connection can be established between the WiFi station and the AP by using the minimum rate supported by the WiFi station, so as to greatly improve the success rate of communication connection between the WiFi station and the AP, and avoid the problem of connection failure due to mismatch of rates between the WiFi station and the AP. In addition, if the minimum rate supported by the WiFi station is not a lower communication connection rate supported by the AP, it indicates that the probability of successful connection by using the minimum rate supported by the WiFi station is relatively small, so that the power consumption of the process of attempting to establish a wireless communication connection at the minimum rate of the second rate set can be saved. BRIEF DESCRIPTION OF DRAWINGS
[0008] In the drawings, which are not necessarily drawn to scale, like numerals can describe similar components in different views. Like numerals having different letter suffixes can represent different instances of similar components. The drawings illustrate generally, by way of example, various embodiments of the present application and are not intended to limit the present application in any way. The same or similar reference numerals in different drawings can represent the same or similar functionality. Such embodiments of the inventive subject matter can be employed without departing from the spirit of the application, described above.
[0009] Figure 1 A flow chart of a method for wireless communication of a WiFi station according to a first embodiment of the present application is shown;
[0010] Figure 2 A flow chart of a method for wireless communication of a WiFi station according to a second embodiment of the present application is shown; and
[0011] Figure 3 A schematic diagram of a control system in communication connection with an AP according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0012] For better understanding of the technical solutions of the present application, the present application will be described in detail below in combination with the drawings and specific embodiments. The embodiments of the present application will be described in further detail below in combination with the drawings and specific embodiments, but are not intended to limit the present application.
[0013] The terms "first", "second", and similar terms used in the present application do not indicate any order, number, or importance, but are only used to distinguish. The terms "include" or "contain" and similar terms mean that the elements before the terms cover the elements listed after the terms, and do not exclude the possibility of also covering other elements.
[0014] Figure 1 A flow chart of a wireless communication method for a WiFi station according to a first embodiment of the present application is shown. The wireless communication method can include the following steps performed by the WiFi station. In step 101, a configuration command about supported communication connection rates is received from an AP. The AP can include a router, a meter or a mobile phone (with soft AP) supporting AP functions, etc. The WiFi station can be a sound, a computer, a mobile phone, etc., and can establish a wireless communication connection with the AP to download network data through a wireless network, etc. For example, the AP periodically broadcasts a basic configuration command of the router, which can include configuration information of the router, information about communication connection rates supported by the AP, etc., so that the WiFi station establishes a wireless communication connection with the AP according to the configuration command.
[0015] In step 102, based on the configuration command, a first rate set of the first communication connection rates supported by the AP is obtained. In some embodiments, the WiFi station can obtain the first communication connection rates included in the configuration information of the AP by parsing the received configuration command, and can form each identified first communication connection rate as an element of the first rate set. For example, all the first communication connection rates supported by the WiFi station include 10 Mbps, 50 Mbps, 100 Mbps and 150 Mbps. Then these communication connection rates can be formed into a first rate set, such as {10 Mbps, 50 Mbps, 100 Mbps, 150 Mbps}, and each communication connection rate forms an element in the first rate set.
[0016] At step 103, a second rate set of second communication connection rates supported by the WiFi station is acquired. In some embodiments, the second communication connection rates supported by the WiFi station can be acquired by reading the configuration information of the WiFi station. For example, all the second communication connection rates supported by the WiFi station include 10 Mbps, 54 Mbps, 100 Mbps and 150 Mbps, and then these communication connection rates can be grouped into the second rate set, such as {10 Mbps, 54 Mbps, 100 Mbps, 150 Mbps}, and each communication connection rate forms an element in the second rate set.
[0017] At step 104, in the case that the minimum rate in the third rate set which is the intersection of the first rate set and the second rate set is equal to the minimum rate in the second rate set, the wireless communication connection with the AP is established based on the minimum rate in the second rate set. The third rate set can be obtained by taking the intersection of the first rate set and the second rate set. For example, the first rate set {10 Mbps, 50 Mbps, 100 Mbps, 150 Mbps} and the second rate set {10 Mbps, 54 Mbps, 100 Mbps, 150 Mbps} are taken the intersection to obtain the third rate set {10 Mbps, 100 Mbps, 150 Mbps}. The minimum rate in the second rate set is 10 Mbps, which is equal to the minimum rate 10 Mbps in the third rate set. Therefore, the third rate set obtained by taking the intersection is helpful to determine whether the minimum rate supported by the WiFi station is also the lower communication connection rate supported by the router (i.e., the AP). If yes, the minimum rate in the second rate set of the WiFi station matches the rate of the AP, so that the WiFi station can then perform the process of establishing the wireless communication connection with the AP, such as identity authentication and handshake connection, based on the minimum rate in the second rate set. Moreover, in the process of establishing the wireless communication connection with the AP by using the minimum rate supported by the WiFi station, the problem of connection failure due to the mismatch between the communication connection rate of the AP and the communication connection rate of the WiFi station does not occur, so that the success rate of establishing the wireless communication connection with the AP can be greatly improved. In addition, if the minimum rate supported by the WiFi station is not the lower communication connection rate supported by the AP, it means that the probability of successful connection by using the minimum rate supported by the WiFi station is small, so that the power consumption and time of attempting to establish the wireless communication connection process based on the minimum rate in the second rate set can be saved.
[0018] Figure 2A flow chart of a wireless communication method for a WiFi station according to a second embodiment of the present application is shown. In step 201, a configuration command about supported communication connection rates is received from an AP. Then in step 202, a first rate set of first communication connection rates supported by the AP is acquired based on the configuration command. In step 203, a second rate set of second communication connection rates supported by the WiFi station is acquired. In step 204, an intersection (third rate set) of the first rate set and the second rate set is obtained. In step 205, it is determined whether the minimum rate in the third rate set of the intersection of the first rate set and the second rate set is equal to the minimum rate in the second rate set. If the determination in step 205 is yes, then in step 206, a wireless communication connection with the AP is established based on the minimum rate in the second rate set. For example, the first rate set {15 Mbps, 50 Mbps, 100 Mbps, 150 Mbps} and the second rate set {10 Mbps, 54 Mbps, 100 Mbps, 150 Mbps} are intersected to obtain the third rate set {100 Mbps, 150 Mbps}. The minimum rate in the second rate set is 10 Mbps, which is not equal to the minimum rate 100 Mbps in the third rate set. The minimum rate in the second rate set can be smaller than the minimum rate in the third rate set. Therefore, it can be determined that the minimum rate that the WiFi station can support is not supported by the AP, and if the wireless communication connection with the AP is established at the minimum rate in the second rate set, the connection is likely to fail. Therefore, the wireless communication connection with the AP can not be established at the minimum rate in the second rate set, so as to reduce the power consumption and time of failed attempts to establish the wireless communication connection.
[0019] If the determination in step 205 is no, then in step 207, a first management frame is sent to the AP based on the minimum rate in the third rate set as the communication connection rate. Since the minimum rate in the second rate set is not equal to the minimum rate in the third rate set, the WiFi station cannot establish the wireless communication connection with the AP at the minimum rate in the second rate set, and the first management frame can be sent at the minimum rate in the third rate set that is commonly supported, so as to improve the success rate of the WiFi station establishing the wireless communication connection with the AP.
[0020] After the first management frame is sent in step 207, it is determined in step 208 whether a first response frame from the AP is received within the first time interval. If the first response frame is received, it can be verified that the AP is capable of receiving information sent at the minimum rate of the third rate set, so the WiFi station is capable of establishing a wireless communication connection with the AP using the minimum rate of the third rate set. If the determination result of step 208 is yes, then step 209 is performed to establish a wireless communication connection with the AP based on the minimum rate of the third rate set. In this way, the WiFi station establishes a wireless communication connection with the AP using the minimum rate of the third rate set, and the problem of rate mismatch between the WiFi station and the AP leading to connection failure does not occur. In the case where the communication connection rate supported by the AP is higher than the minimum rate of the WiFi station, the common supported communication connection rate obtained by the intersection processing can also provide the WiFi station with a rate for establishing a wireless communication connection with the AP, improve the success rate of the WiFi station establishing a wireless communication connection with the AP, and facilitate the WiFi station to connect to a wireless network. In addition, the common supported communication connection rate obtained by the intersection processing can reduce the number of times the WiFi station attempts to establish a wireless communication connection using different rates, and reduce the power consumption and time of the WiFi station for establishing a wireless communication connection. In some embodiments, the first time interval can be determined according to the time interval requirement of data frame transmission and the transmission time under the condition that the channel is not disturbed, which is not limited in the present application.
[0021] If the determination result of step 208 is no, it means that the AP can not have received the first management frame sent to the AP at the minimum rate of the third rate set. The reason why the AP does not receive the first management frame can be that the signal quality sent by the WiFi station is poor or the surrounding environment is disturbed, resulting in changes in the transmitted data, or the distance between the WiFi station and the AP is too far, causing the AP to be unable to receive the signal. Therefore, it can not be possible to establish a wireless communication connection between the WiFi station and the AP using the minimum rate of the third rate set.
[0022] If the determination result of step 208 is no, then step 210 is performed to send a second management frame to the AP based on the minimum rate of the second rate set as the communication connection rate. In the case where the minimum rate of the third rate set is not equal to the minimum rate of the WiFi station, and the WiFi station is also unable to successfully communicate with the AP using the minimum rate of the third rate set, the WiFi station sends the second management frame using the minimum rate supported by the WiFi station to further attempt whether communication can be successful. The minimum rate of the third rate set is not equal to the minimum rate of the WiFi station, which means that the minimum rate supported by the WiFi station is less than the minimum rate of the third rate set. If the minimum rate supported by the WiFi station overcomes the problems of poor signal quality, surrounding environment disturbance, or long transmission distance to reach the AP, then the AP can receive the second management frame of the WiFi station.
[0023] After the second management frame is sent in step 210, it is determined in step 211 whether a second response frame from the AP is received within a second time interval. If the second response frame responding to the second management frame is received within the second time interval, it indicates that the AP receives the second management frame, so that if the AP is connected at the minimum rate supported by the WiFi station, the connection is more likely to be successful. If the determination result of step 211 is yes, then step 212 is performed, in which a wireless communication connection with the AP is established based on the minimum rate in the second rate set. Through steps 210-212, when the WiFi station and the AP establish a wireless communication connection, although the minimum rate in the second rate set is not equal to the minimum rate in the third rate set, and the AP is connected at the minimum communication connection rate in the third rate set, the connection cannot be successful, but the wireless communication connection with the AP is established using the minimum rate in the second rate set, and the connection can be successful, so the problem that the WiFi station and the AP cannot be connected under this condition is solved, and therefore the success rate of the WiFi station and the AP establishing a wireless communication connection can be improved. In some embodiments, the second time interval can be determined according to the time interval requirement of the data frame transmission and the transmission time under the condition that the channel is not disturbed, and the present application does not make a specific limitation thereon. The second time interval can be the same as or different from the first time interval.
[0024] In some embodiments, the wireless communication method further comprises, by the WiFi station: in a case that the second response frame from the AP is received, joining and updating a third rate set based on a minimum rate in the second rate set. The reception of the second response frame indicates that the WiFi station is able to establish the wireless communication connection with the AP at the minimum rate in the second rate set, which provides a rate at which the WiFi station is able to successfully connect to the AP in a case that the WiFi station fails to successfully connect to the AP at the minimum rate in the third rate set. After the minimum rate in the second rate set is joined into the third rate set, the third rate set is updated, and the minimum rate in the updated third rate set is the minimum rate in the second rate set, which can be directly used in the next time of establishing the wireless communication connection under the same condition. The reason that the minimum rate in the second rate set is less than the minimum rate in the third rate set is that the third rate set is the intersection of the first rate set and the second rate set, and in a case that the minimum rate in the second rate set is not equal to the minimum rate in the third rate set, it indicates that the minimum rate in the second rate set is less than the minimum rate in the third rate set instead of being greater than the minimum rate in the third rate set, for example, the first rate set {15 Mbps, 50 Mbps, 100 Mbps, 150 Mbps} and the second rate set {10 Mbps, 54 Mbps, 100 Mbps, 150 Mbps} are processed by the intersection to obtain the third rate set {100 Mbps, 150 Mbps}, and the 10 Mbps in the second rate set is less than the 100 Mbps in the third rate set. The WiFi station can store the updated third rate set in the WiFi station, so that the WiFi station can directly use the minimum rate in the third rate set to establish the wireless communication connection with the AP in the next time of establishing the wireless communication connection with the AP, which can shorten the time of establishing the wireless communication connection on the basis of improving the success rate of the WiFi station to establish the wireless communication connection with the AP, and can improve the convenience of the WiFi station to establish the wireless communication connection with the AP without having to go through the intersection process again.
[0025] In some embodiments, as shown in FIG. 2, the judgment result of step 211 is no, i.e., the WiFi station does not receive the second response frame from the AP within the second time interval, and then step 213 is performed to disconnect the wireless communication connection with the AP. In a case that the minimum rate in the second rate set is not equal to the minimum rate in the third rate set, and the WiFi station fails to establish the wireless communication connection with the AP at the minimum rates in the third rate set and the second rate set, it is judged that the WiFi station can fail to successfully connect to the AP based on the existing condition, and thus the WiFi station can disconnect the wireless communication connection with the AP. Figure 2
[0026] In some embodiments, as shown in FIG. 2, the judgment result of step 211 is no, i.e., the WiFi station does not receive the second response frame from the AP within the second time interval, and then step 213 is performed to disconnect the wireless communication connection with the AP. In a case that the minimum rate in the second rate set is not equal to the minimum rate in the third rate set, and the WiFi station fails to establish the wireless communication connection with the AP at the minimum rates in the third rate set and the second rate set, it is judged that the WiFi station can fail to successfully connect to the AP based on the existing condition, and thus the WiFi station can disconnect the wireless communication connection with the AP. Figure 2 In step 204, the intersection of the first rate set and the second rate set is obtained by taking each first rate of the first rate set and adding it to the third rate set if the difference between the first rate and any second rate of the second rate set is zero. For example, if the first rate set is {15 Mbps, 50 Mbps, 100 Mbps, 150 Mbps} and the second rate set is {10 Mbps, 54 Mbps, 100 Mbps, 150 Mbps}, the intersection process is as follows: the first rate 15 Mbps in the first rate set is subtracted from 10 Mbps, 54 Mbps, 100 Mbps and 150 Mbps respectively, and the differences are -5, -39, -85 and -135 respectively, none of which is equal to zero, so 15 Mbps cannot be added to the third rate set. Then the remaining first rates 50 Mbps, 100 Mbps and 150 Mbps in the first rate set can be processed in this way respectively, and it can be obtained that 15 Mbps cannot be added to the third rate set, while 100 Mbps and 150 Mbps can be added to the third rate set. In this way, the communication connection rate supported by the WiFi station and the AP together can be obtained, the rate at which the WiFi station establishes a wireless communication connection is compared with the third rate set, and it can be determined whether the minimum rate supported by the WiFi station is also the lower communication connection rate supported by the AP. If the minimum rate of the second rate set is equal to the minimum rate of the third rate set, a wireless communication connection between the WiFi station and the AP is established using the minimum rate supported by the WiFi station, which can improve the probability of successful wireless communication connection between the WiFi station and the AP, and avoid the problem of connection failure caused by rate mismatch between the WiFi station and the AP. If the minimum rate of the second rate set is not equal to the minimum rate of the third rate set, the minimum rate of the second rate set can not be used to attempt to establish a wireless communication connection with the AP, which can reduce the power consumption of the WiFi station in establishing a wireless communication connection.
[0027] In some embodiments, as Figure 2The step 204 shown, wherein determining whether the minimum rate in the third rate set of the intersection of the first rate set and the second rate set is equal to the minimum rate in the second rate set, specifically includes: sorting each second rate in the second rate set according to the numerical value to obtain the minimum second rate. For example, the second rate set is {54Mbps, 10Mbps, 100Mbps, 150Mbps}, according to the size of the numerical value, such as 54 and 10 are compared, 54 and 100 are compared, 54 and 150 are compared, and 10Mbps is less than 54Mbps, and then 10Mbps is compared with the remaining 100Mbps and 150Mbps, respectively, and the minimum is 10Mbps, so the minimum rate after sorting is 10Mbps.
[0028] Also includes sorting each third rate in the third rate set according to the numerical value to obtain the minimum third rate. For example, the third rate set is {10Mbps, 100Mbps, 150Mbps}, according to the size of the numerical value, 10Mbps is compared with 100Mbps and 150Mbps, respectively, and the minimum is 10Mbps, so the minimum rate after sorting is 10Mbps.
[0029] Also includes comparing the minimum second rate and the minimum third rate. The rate value 10 of the minimum rate of the second rate set can be subtracted from the rate value 10 of the minimum rate of the third rate set to obtain a difference value of 0, so it can be obtained that the minimum second rate and the minimum third rate are equal. If the difference value is negative, it means that the minimum rate of the second rate set is not equal to the minimum rate of the third rate set. In this way, it can be accurately determined whether the minimum rate of the second rate set is equal to the minimum rate of the third rate set. If the minimum rate of the second rate set is less than the minimum rate of the third rate set, it means that the AP does not support the minimum rate supported by the WiFi station. If the minimum rate of the second rate set is equal to the minimum rate of the third rate set, it means that the AP supports the minimum rate supported by the WiFi station, which helps to accurately determine the rate of establishing a wireless communication connection and improve the accuracy of establishing a wireless communication connection.
[0030] In various embodiments of the present application, the size of the serial number of each step or process does not mean the order of execution, and the execution order of each step or process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0031] According to embodiments of this application, a control system for a wireless communication device with WiFi communication function is also provided, wherein the wireless communication device is used as a WiFi station, and the control system is configured to execute a wireless communication method for a WiFi station according to any embodiment of this application.
[0032] Figure 3 A schematic diagram illustrating the communication connection between the control system and the AP according to an embodiment of this application is shown. Figure 3 As shown, the control system 302 includes a WiFi communication module 3021, a processor 3022, and a memory 3023 connected in communication. The memory 3023 stores instructions and can be a random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, register, or other mature storage media in the art. This storage medium is located in the memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the wireless communication method of this embodiment. The processor 3022 can be a microcontroller unit (MCU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The WiFi communication module 3021, processor 3022, and memory 3023 can be integrated as hardware onto a WiFi chip. When the processor is a general-purpose processor, DSP, ASIC, FPGA, or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, the memory (storage module) can be integrated into the processor.
[0033] In the embodiments of this application, such as Figure 3As shown, the processor 3022 can access the instructions of the memory 3023, and the WiFi communication module 3021 can send information to the AP 301 and receive information from the AP 301. Specifically, the WiFi communication module 3021 can receive the configuration command sent by the AP 301, and send the processed configuration command to the processor 3022, so that the processor 3022 can obtain the AP 301 to be established for wireless communication connection and the first communication connection rate supported by the AP 301. The processor 3022 executes the instructions in the memory 3023, and can send the management frame to the AP 301 through the WiFi communication module 3021. After the WiFi communication module 3021 receives the response frame sent by the AP 301, the WiFi communication module 3021 can notify the processor 3022, so that the processor 3022 executes the instruction process. The processor 3022 can also obtain the second communication connection rate supported by the WiFi station through the configuration information of the station.
[0034] The control system of the present application obtains the communication connection rate supported by the WiFi station and the AP through intersection, so as to determine whether the minimum rate supported by the WiFi station is also the lower communication connection rate supported by the AP. On this basis, the wireless communication connection between the WiFi station and the AP is established by using the minimum rate supported by the WiFi station, which can improve the success probability of the wireless communication connection between the WiFi station and the AP, and avoid the connection failure problem caused by the rate mismatch between the WiFi station and the AP.
[0035] According to the embodiments of the present application, a non-transitory computer readable storage medium is also provided, which stores computer executable instructions, wherein when the computer executable instructions are executed by a processor, the wireless communication method for the WiFi station according to any embodiment of the present application is executed.
[0036] According to the embodiments of the present application, a wireless communication device is also provided, which comprises the control system according to any embodiment of the present application. The wireless communication device of the present application obtains the communication connection rate supported by the WiFi station and the AP through intersection, so as to determine whether the minimum rate supported by the WiFi station is also the lower communication connection rate supported by the AP. On this basis, the wireless communication connection between the WiFi station and the AP is established by using the minimum rate supported by the WiFi station, which can improve the success probability of the wireless communication connection between the wireless communication device and the AP, and make the wireless communication device more convenient to connect the wireless network.
[0037] Furthermore, although example embodiments have been described herein, the scope of coverage of this patent will include any and all embodiments having equivalent elements, modifications, omissions, combinations (e.g., of the various embodiments
[0038] The above description is intended to be illustrative, and not restrictive. For example, the above-described examples (or one or more aspects thereof) can be used in combination with each other. Other examples can be used in addition to or in place of the examples described above. Still other embodiments will become apparent to those skilled in the art from the following description, which is by way of illustration, one of the best modes contemplated for carrying out the application. As will be realized, the application is capable of modifications in various obvious aspects, all without departing from the spirit and scope of the application. Accordingly, the drawings and descriptions are to be regarded as illustrative in nature, and explanations in connection with the
[0039] The above embodiments are only exemplary embodiments of the present application, not intended to limit the present application, and the protection scope of the present application is defined by the claims. Those skilled in the art can make various modifications or equivalent replacements to the present application within the spirit and protection scope of the present application, and such modifications or equivalent replacements should also be considered to fall within the protection scope of the present application.
Claims
1. A method of wireless communication for a WiFi station, comprising: The wireless communication method comprises, by the WiFi station: receiving a configuration command from an AP about supported communication connection rates; based on the configuration command, obtaining a first rate set of first communication connection rates supported by the AP; obtaining a second rate set of second communication connection rates supported by the WiFi station; in a case where a minimum rate in a third rate set which is an intersection of the first rate set and the second rate set is equal to a minimum rate in the second rate set, establishing a wireless communication connection with the AP based on the minimum rate of the second rate set; in a case where the minimum rate in the third rate set is not equal to the minimum rate in the second rate set, sending a first management frame to the AP based on the minimum rate in the third rate set as a communication connection rate; in a case where a first response frame from the AP is received within a first time interval, establishing a wireless communication connection with the AP based on the minimum rate in the third rate set; in a case where the first response frame from the AP is not received, sending a second management frame to the AP based on the minimum rate in the second rate set as a communication connection rate; in a case where a second response frame from the AP is received within a second time interval, establishing a wireless communication connection with the AP based on the minimum rate in the second rate set.
2. The wireless communication method according to claim 1, wherein, The wireless communication method further comprises, by the WiFi station: in a case where the second response frame from the AP is received, joining and updating a third rate set based on the minimum rate in the second rate set.
3. The wireless communication method according to claim 1, wherein, The wireless communication method further comprises, by the WiFi station: in a case where the second response frame from the AP is not received within the second time interval, then disconnecting the wireless communication connection with the AP.
4. The wireless communication method according to claim 1, wherein, The intersection of the first rate set and the second rate set is obtained by, for each first rate of the first rate set: in a case where the difference between the first rate and any second rate of the second rate set is zero, taking out the first rate and collecting it to the third rate set.
5. The wireless communication method according to claim 1, wherein, The wireless communication method further comprises determining whether the minimum rate in the third rate set is equal to the minimum rate in the second rate set, specifically comprising: sorting each second rate in the second rate set according to the numerical value to obtain a minimum second rate; sorting each third rate in the third rate set according to the numerical value to obtain a minimum third rate; comparing the minimum second rate and the minimum third rate.
6. The wireless communication method according to claim 1, wherein, Based on the configuration command, obtaining a first rate set of first communication connection rates supported by the AP specifically comprises: parsing the configuration command to obtain each first communication connection rate supported by the AP.
7. A control system having a WiFi communication function for a wireless communication apparatus which functions as a WiFi station, characterized by, The control system is configured to include a WiFi communication module, a processor and a memory, and the processor executes the steps of the wireless communication method for the WiFi station according to any one of claims 1-6 when reading the information in the memory.
8. A non-transitory computer-readable storage medium having stored thereon computer-executable instructions, wherein when the computer-executable instructions are executed by a processor, a wireless communication method for a WiFi site according to any one of claims 1 to 6 is performed.
Citation Information
Patent Citations
Wireless network communication method compatible with low rate
CN107318138A
Method and device for adjusting transmission rate in wireless network
CN109348515A