CN111866990B - Channel discovery method and device - Google Patents

Channel discovery method and device Download PDF

Info

Publication number
CN111866990B
CN111866990B CN201910345395.1A CN201910345395A CN111866990B CN 111866990 B CN111866990 B CN 111866990B CN 201910345395 A CN201910345395 A CN 201910345395A CN 111866990 B CN111866990 B CN 111866990B
Authority
CN
China
Prior art keywords
radio frequency
transceiver module
frequency transceiver
terminal
channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910345395.1A
Other languages
Chinese (zh)
Other versions
CN111866990A (en
Inventor
王云贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910345395.1A priority Critical patent/CN111866990B/en
Publication of CN111866990A publication Critical patent/CN111866990A/en
Application granted granted Critical
Publication of CN111866990B publication Critical patent/CN111866990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a channel discovery method and a channel discovery device, and belongs to the technical field of communication. The method comprises the following steps: the AP acquires key information of the second radio frequency transceiver module, the AP sends the key information of the second radio frequency transceiver module to the terminal through the first radio frequency transceiver module, the key information of the second radio frequency transceiver module comprises information of a working channel of the second radio frequency transceiver module, and the working channel of the second radio frequency transceiver module is different from the working channel of the first radio frequency transceiver module. In the application, the terminal can receive the key information of the second radio frequency transceiver module on the working channel of the first radio frequency transceiver module, and then can know the working channel of the second radio frequency transceiver module. The subsequent terminal can specifically scan the working channel of the second radio frequency transceiver module without blindly scanning all channels in the WLAN one by one, thereby reducing the number of channels to be scanned by the terminal and greatly saving the scanning time.

Description

Channel discovery method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a channel discovery method and apparatus.
Background
With the development of communication technology, Wireless Local Area Networks (WLANs) have become widely popular, and people can access a terminal to a WLAN to surf the internet anytime and anywhere.
WLANs used in a business office or campus are often large-scale networking, that is, there are many Access Points (APs) in the WLAN. Each AP typically has a plurality of radio transceiver modules installed therein, and the radio transceiver modules have different operating channels. A terminal within the coverage of the WLAN can access the WLAN by associating with a radio transceiver module installed in one AP.
In the related art, when the terminal needs to associate with the radio frequency transceiver module in the AP, the terminal needs to scan all channels in the WLAN one by one, so as to obtain the related information of the radio frequency transceiver module and associate accordingly. In this case, the number of channels that the terminal needs to scan is very large, and thus the scanning time is long. The overlong scanning time will cause the results of terminal service interruption, roaming disconnection, etc., and affect the experience of the terminal user.
Disclosure of Invention
The application provides a channel discovery method and a channel discovery device, which can solve the problem that the scanning time of a terminal in the related art is long. The technical scheme is as follows:
in a first aspect, a channel discovery method is provided, which is applied to an AP in which a first radio frequency transceiver module and a second radio frequency transceiver module are installed, and the method includes:
the AP acquires key information of the second radio frequency transceiver module, wherein the key information of the second radio frequency transceiver module comprises information of a working channel of the second radio frequency transceiver module, and the working channel of the second radio frequency transceiver module is different from the working channel of the first radio frequency transceiver module; and the AP sends the key information of the second radio frequency transceiver module to a terminal through the first radio frequency transceiver module, wherein the key information of the second radio frequency transceiver module is used for the terminal to obtain a working channel of the second radio frequency transceiver module.
In this embodiment of the application, after the AP sends the key information of the second radio frequency transceiver module through the first radio frequency transceiver module, the terminal may receive the key information of the second radio frequency transceiver module on the working channel of the first radio frequency transceiver module, so that the terminal may know the working channel of the second radio frequency transceiver module. The subsequent terminal can specifically scan the working channel of the second radio frequency transceiver module without blindly scanning all channels in the WLAN one by one, thereby reducing the number of channels to be scanned by the terminal and greatly saving the scanning time. The shortening of the scanning time can effectively prevent the problems of terminal service interruption, roaming disconnection and the like, thereby improving the terminal user experience.
It should be noted that the key information of the second rf transceiver module may further include at least one of priority association indication information, roaming manner indication information, a Basic Service Set Identifier (BSSID) of the second rf transceiver module, a Service Set Identifier (SSID) of the second rf transceiver module, a transmission power value of the second rf transceiver module, or a load level value of the second rf transceiver module.
In addition, the preferential association indication information is used to indicate that the AP preferentially uses the working frequency band where the working channel of the second radio frequency transceiver module is located to provide access service, and/or to indicate that the AP preferentially uses the working frequency band where the working channel of the second radio frequency transceiver module is located to provide roaming service, and/or to indicate that the AP preferentially uses the working frequency band where the working channel of the radio frequency transceiver module associated with the terminal is located to provide roaming service, and the roaming mode indication information is used to indicate the roaming mode supported by the AP on the working frequency band where the working channel of the second radio frequency transceiver module is located.
Wherein, the AP sends the key information of the second radio frequency transceiver module to the terminal through the first radio frequency transceiver module, including: and the AP sends a broadcast message or a unicast message to the terminal through the first radio frequency transceiver module, wherein the broadcast message or the unicast message carries key information of the second radio frequency transceiver module.
In this embodiment of the present application, the first radio frequency transceiver module may send a broadcast message on its own working channel, where the broadcast message may be a Beacon (Beacon) frame, and at this time, the first radio frequency transceiver module may carry key information of the second radio frequency transceiver module in the broadcast message. The first radio frequency transceiver module may also send a unicast message for the terminal on its own working channel, where the unicast message may be a probe response (probe response) frame, an action frame, or the like, and at this time, the first radio frequency transceiver module may carry the key information of the second radio frequency transceiver module in the unicast message sent to the terminal by the first radio frequency transceiver module.
In a second aspect, a channel discovery method is provided, which is applied to a terminal, and includes:
the terminal receives key information of a second radio frequency transceiver module sent by an AP on a first channel, the second radio frequency transceiver module is installed in the AP, the key information of the second radio frequency transceiver module comprises information of a working channel of the second radio frequency transceiver module, and the first channel is a channel different from the working channel of the second radio frequency transceiver module; and the terminal acquires the working channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module.
In this embodiment, after receiving the key information of the second radio frequency transceiver module on the first channel, the terminal may obtain the working channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module. The subsequent terminal can specifically scan the working channel of the second radio frequency transceiver module without blindly scanning all channels in the WLAN one by one, thereby reducing the number of channels to be scanned by the terminal and greatly saving the scanning time. The shortening of the scanning time can effectively prevent the problems of terminal service interruption, roaming disconnection and the like, thereby improving the terminal user experience.
As an example, the key information of the second radio frequency transceiver module further includes an SSID of the second radio frequency transceiver module, and after the terminal obtains the working channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module, the method further includes: when the SSID of the second radio frequency transceiver module is the same as the preset SSID, the terminal scans a working channel of the second radio frequency transceiver module; and when the SSID of the second radio frequency transceiver module is different from a preset SSID, the terminal displays the SSID of the second radio frequency transceiver module, and when the terminal detects a selection instruction aiming at the SSID of the second radio frequency transceiver module, a working channel of the second radio frequency transceiver module is scanned.
In this embodiment, when the SSID of the second radio frequency transceiver module is the same as the preset SSID, it indicates that the terminal has the right to use the network where the second radio frequency transceiver module is located, so that the terminal can scan the working channel of the second radio frequency transceiver module at this time. And when the SSID of the second radio frequency transceiver module is different from the preset SSID, the terminal may not have the authority to use the network where the second radio frequency transceiver module is located, so that the terminal can display the SSID of the second radio frequency transceiver module at this time, a user determines whether to access the network where the second radio frequency transceiver module is located, and when the user selects the SSID of the second radio frequency transceiver module, the user indicates that the user wants to join the network where the second radio frequency transceiver module is located, so that the terminal can scan the working channel of the second radio frequency transceiver module at this time.
As an example, after the terminal obtains the operating channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module, the method further includes: the terminal acquires a signal interference indicated value of the first channel; and when the signal interference indicated value of the first channel is smaller than a first threshold value, the terminal scans the working channel of the second radio frequency transceiver module.
In this embodiment, when the sir value of the first channel is smaller than the first threshold, it indicates that the sir value of the first channel is smaller and the sir degree of the first channel is higher, so that the terminal may switch from the first channel to the working channel of the second rf transceiver module to scan the working channel of the second rf transceiver module, so that a subsequent terminal may access the network where the second rf transceiver module is located.
It should be noted that the sir value of the first channel is a signal-to-noise ratio of the first channel; or, the Signal interference Indication value of the first channel is a Received Signal Strength Indication (RSSI) value of a first radio frequency transceiver module installed in the AP, and a working channel of the first radio frequency transceiver module is the first channel.
As an example, the first channel is an operating channel of a first radio frequency transceiver module installed in the AP, and after the terminal obtains the operating channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module, the method further includes: the terminal acquires an RSSI value of the first radio frequency transceiver module; when the RSSI value of the first radio frequency transceiver module is smaller than a first threshold value, the terminal acquires a transmission power difference value, wherein the transmission power difference value is obtained by subtracting the transmission power value of the second radio frequency transceiver module from the transmission power value of the first radio frequency transceiver module; and when the transmitting power difference is smaller than a second threshold value, the terminal scans a working channel of the second radio frequency transceiver module.
In this embodiment, when the RSSI value of the first rf transceiver module is smaller than the first threshold, it indicates that the signal strength of the first rf transceiver module is smaller, so that the terminal can switch from the first channel to another channel. When the difference value of the transmission powers is smaller than the second threshold, it indicates that the transmission power of the second radio frequency transceiver module is much larger than the transmission power of the first radio frequency transceiver module, so that the terminal can switch from the first channel to the working channel of the second radio frequency transceiver module to scan the working channel of the second radio frequency transceiver module, so that the subsequent terminal can access the network where the second radio frequency transceiver module is located.
When the key information of the second radio frequency transceiver module further includes the transmission power value of the second radio frequency transceiver module, the operation of the terminal to obtain the transmission power difference may be: the terminal acquires the transmitting power value of the first radio frequency transceiver module; and the terminal subtracts the transmitting power value of the second radio frequency transceiver module from the transmitting power value of the first radio frequency transceiver module to obtain the transmitting power difference value. Or, when the key information of the second radio frequency transceiver module further includes the transmission power difference, the operation of the terminal to obtain the transmission power difference may be: and the terminal acquires the transmitting power difference from the key information of the second radio frequency transceiver module.
As an example, the first channel is an operating channel of a first radio frequency transceiver module installed in the AP, and after the terminal obtains the operating channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module, the method further includes: the terminal acquires a transmitting power difference value, wherein the transmitting power difference value is obtained by subtracting the transmitting power value of the second radio frequency transceiver module from the transmitting power value of the first radio frequency transceiver module; and when the transmitting power difference is smaller than a second threshold value, the terminal scans a working channel of the second radio frequency transceiver module.
In this embodiment, when the difference between the transmission powers is smaller than the second threshold, it indicates that the transmission power of the second rf transceiver module is much larger than the transmission power of the first rf transceiver module, so that the terminal may switch from the first channel to the working channel of the second rf transceiver module to scan the working channel of the second rf transceiver module, so that a subsequent terminal may access a network where the second rf transceiver module is located.
As an example, the first channel is an operating channel of a first radio frequency transceiver module installed in the AP, and after the terminal obtains the operating channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module, the method further includes: the terminal acquires a transmission power difference value and an RSSI value of the first radio frequency transceiver module, wherein the transmission power difference value is obtained by subtracting a transmission power value of the second radio frequency transceiver module from a transmission power value of the first radio frequency transceiver module; the terminal subtracts the transmission power difference value from the RSSI value of the first radio frequency transceiver module to obtain a reference RSSI value; the terminal determines the reference RSSI value as the RSSI value of the second radio frequency transceiver module; when the terminal acquires the RSSI value of the radio frequency transceiver module installed in at least one other AP except the AP, if the RSSI value of the radio frequency transceiver module installed in the at least one other AP is smaller than the RSSI value of the second radio frequency transceiver module, the terminal scans the working channel of the second radio frequency transceiver module.
In this embodiment of the application, when the RSSI values of the radio frequency transceiver modules installed in the at least one other AP are all smaller than the RSSI value of the second radio frequency transceiver module, it indicates that the signal strengths of the radio frequency transceiver modules installed in the at least one other AP are all lower than the signal strength of the second radio frequency transceiver module, and therefore the terminal may scan the working channel of the second radio frequency transceiver module at this time, so that a subsequent terminal can access the network where the second radio frequency transceiver module is located.
As an example, the key information of the second radio frequency transceiver module further includes a load level value of the second radio frequency transceiver module, and after the terminal obtains the working channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module, the method further includes: when the terminal acquires the load degree values of the radio frequency transceiver modules installed in at least one other AP except the AP, if the load degree values of the radio frequency transceiver modules installed in the at least one other AP are all larger than the load degree value of the second radio frequency transceiver module, the terminal scans the working channel of the second radio frequency transceiver module.
In this embodiment of the application, when the load degree values of the radio frequency transceiver modules installed in the at least one other AP are all greater than the load degree value of the second radio frequency transceiver module, it indicates that the load pressures of the radio frequency transceiver modules installed in the at least one other AP are all higher than the load pressure of the second radio frequency transceiver module, and therefore the terminal may scan a working channel of the second radio frequency transceiver module at this time, so that a subsequent terminal can access a network where the second radio frequency transceiver module is located.
As an example, the key information of the second radio frequency transceiver module further includes a BSSID of the second radio frequency transceiver module, and after the terminal obtains the working channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module, the method further includes: and the terminal is switched to a working channel of the second radio frequency transceiver module and is associated with the second radio frequency transceiver module according to the BSSID of the second radio frequency transceiver module.
In this embodiment of the application, when the key information of the second radio frequency transceiver module further includes a BSSID of the second radio frequency transceiver module, the terminal may obtain the BSSID of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module. The terminal already knows the working channel of the second radio frequency transceiver module, so that the terminal can be quickly switched to the working channel of the second radio frequency transceiver module, and can be quickly associated with the second radio frequency transceiver module according to the obtained BSSID of the second radio frequency transceiver module, so that the network where the second radio frequency transceiver module is located can be quickly accessed, the problems of terminal service interruption, roaming disconnection and the like can be further prevented, and the terminal user experience is improved.
As an example, the key information of the second radio frequency transceiver module further includes priority association indication information, and after the terminal obtains the working channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module, the method further includes: when the priority association indication information is used for indicating the AP to preferentially use the working frequency band where the working channel of the second radio frequency transceiver module is located to provide access service, if the terminal is not associated with any radio frequency transceiver module, switching to the working frequency band where the working channel of the second radio frequency transceiver module is located; when the priority association indication information is used for indicating the AP to preferentially use the working frequency band where the working channel of the second radio frequency transceiver module is located to provide roaming service, if the terminal is associated with the radio frequency transceiver module, switching to the working frequency band where the working channel of the second radio frequency transceiver module is located; when the priority association indication information is used for indicating that the AP preferentially uses the working frequency band where the working channel of the radio frequency transceiver module associated with the terminal is located to provide roaming service, if the terminal is associated with the radio frequency transceiver module and the working frequency band where the working channel of the radio frequency transceiver module associated with the terminal is located is the same as the working frequency band where the working channel of the second radio frequency transceiver module is located, the AP resides in the working frequency band where the working channel of the second radio frequency transceiver module is located; and the terminal scans the working frequency band of the working channel of the second radio frequency transceiver module.
In the embodiment of the application, the terminal can select the working frequency band preferentially used by the AP to be switched or resided according to the preferential association indication information, and then scan the working frequency band, so that the subsequent terminal can rapidly access the network where the AP is located, the problems of terminal service interruption, roaming disconnection and the like can be further prevented, and the terminal user experience is improved.
As an example, the key information of the second radio frequency transceiver module further includes roaming manner indication information, where the roaming manner indication information is used to indicate a roaming manner supported by the AP on an operating frequency band where an operating channel of the second radio frequency transceiver module is located, and after the terminal obtains the operating channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module, the method further includes: when the roaming mode supported by the terminal comprises the roaming mode supported by the AP on the working frequency band where the working channel of the second radio frequency transceiver module is located, the terminal is switched to the working frequency band where the working channel of the second radio frequency transceiver module is located; and the terminal scans the working frequency band of the working channel of the second radio frequency transceiver module.
In this embodiment, the terminal may obtain, according to the roaming mode indication information, the roaming mode supported by the AP on the working frequency band where the working channel of the second radio frequency transceiver module is located, so that the terminal may determine whether the terminal has the capability of roaming to the working frequency band where the working channel of the second radio frequency transceiver module in the AP is located, and when the terminal has the capability of roaming to the working frequency band where the working channel of the second radio frequency transceiver module in the AP is located, the terminal may switch to the working frequency band where the working channel of the second radio frequency transceiver module is located to perform scanning, so that it may be ensured that the terminal is meaningful to scan the working frequency band where the working channel of the second radio frequency transceiver module is located.
Further, after the terminal scans the working frequency band where the working channel of the second radio frequency transceiver module is located, the method further includes: when the terminal scans BSSID and working channel of each radio frequency transceiver module in a plurality of radio frequency transceiver modules, RSSI value of each radio frequency transceiver module in the plurality of radio frequency transceiver modules is obtained; the terminal determines the radio frequency transceiver module with the maximum RSSI value in the plurality of radio frequency transceiver modules as a target radio frequency transceiver module; the terminal is switched to a working channel of the target radio frequency transceiver module; and the terminal associates with the target radio frequency transceiver module according to the BSSID of the target radio frequency transceiver module.
In this embodiment, the radio frequency transceiver module with the largest RSSI value among the plurality of radio frequency transceiver modules is the radio frequency transceiver module with the highest signal strength among the plurality of radio frequency transceiver modules, so that the terminal may determine the radio frequency transceiver module with the largest RSSI value among the plurality of radio frequency transceiver modules as the target radio frequency transceiver module and switch to the working channel of the target radio frequency transceiver module to associate with the target radio frequency transceiver module to access the network where the target radio frequency transceiver module is located.
In a third aspect, a channel discovery apparatus is provided, where the channel discovery apparatus has a function of implementing the behavior of the channel discovery method in the first aspect. The channel discovery apparatus includes at least one module, where the at least one module is configured to implement the channel discovery method provided in the first aspect.
In a fourth aspect, a channel discovery apparatus is provided, which has a function of implementing the behavior of the channel discovery method in the second aspect. The channel discovery apparatus includes at least one module, and the at least one module is configured to implement the channel discovery method provided in the second aspect.
In a fifth aspect, an AP is provided, where the structure of the AP includes a processor and a memory, where the memory is configured to store a program that supports the AP to perform the channel discovery method provided in any one of the above first aspect or examples of the first aspect, and store data used to implement the channel discovery method described in any one of the above first aspect or examples of the first aspect. The processor is configured to execute programs stored in the memory. The AP may further include a communication bus for establishing a connection between the processor and the memory.
A sixth aspect provides a terminal, where the structure of the terminal includes a processor and a memory, where the memory is used to store a program that supports the terminal to execute the channel discovery method provided by any one of the above second aspects or examples of the second aspects, and to store data used to implement the channel discovery method described by any one of the above second aspects or examples of the second aspects. The processor is configured to execute programs stored in the memory. The terminal may further comprise a communication bus for establishing a connection between the processor and the memory.
In a seventh aspect, a computer-readable storage medium is provided, which has instructions stored therein, and when the instructions are executed on a computer, the instructions cause the computer to execute the channel discovery method according to the first aspect.
In an eighth aspect, there is provided a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to perform the channel discovery method of the second aspect described above.
In a ninth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the channel discovery method of the first aspect described above.
In a tenth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the channel discovery method of the second aspect described above.
In an eleventh aspect, a channel discovery system is provided, which includes the AP of the fifth aspect and the terminal of the sixth aspect.
The technical effects obtained by the third, fifth, seventh and ninth aspects are similar to the technical effects obtained by the corresponding technical means in the first aspect, and are not described herein again.
The technical effects obtained by the fourth, sixth, eighth and tenth aspects are similar to the technical effects obtained by the corresponding technical means in the second aspect, and are not repeated here.
The technical scheme provided by the application can at least bring the following beneficial effects:
the AP is provided with a first radio frequency transceiver module and a second radio frequency transceiver module, and the working channel of the first radio frequency transceiver module is different from the working channel of the second radio frequency transceiver module. The AP may obtain key information of the second radio frequency transceiver module, where the key information of the second radio frequency transceiver module includes information of a working channel of the second radio frequency transceiver module. And then, the AP can send the key information of the second radio frequency transceiver module to the terminal through the first radio frequency transceiver module. Therefore, the terminal can receive the key information of the second radio frequency transceiver module on the working channel of the first radio frequency transceiver module, and then acquire the working channel of the second radio frequency transceiver module. The subsequent terminal can specifically scan the working channel of the second radio frequency transceiver module without blindly scanning all channels in the WLAN one by one, thereby reducing the number of channels to be scanned by the terminal and greatly saving the scanning time. The shortening of the scanning time can effectively prevent the problems of terminal service interruption, roaming disconnection and the like, thereby improving the terminal user experience.
Drawings
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an access device according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a channel discovery method provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a channel discovery process provided in an embodiment of the present application;
fig. 6 is a flowchart of another channel discovery method provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a channel discovery apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another channel discovery apparatus according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Before explaining the embodiments of the present application in detail, a system architecture according to the embodiments of the present application will be described.
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application. Referring to fig. 1, the communication system includes a WLAN in which an AP 120 exists, and a terminal 110 in which a plurality of rf transceiver modules 130 may be installed in the AP 120.
The operating channels of the rf transceiver modules 130 in the plurality of rf transceiver modules 130 are different from each other. For any one of the plurality of radio frequency transceiver modules 130, the operating channel of the radio frequency transceiver module 130 is a channel in which the radio frequency signal transmitted by the radio frequency transceiver module 130 is located, and the radio frequency transceiver module 130 may transmit the related information of the radio frequency transceiver module 130 on its own operating channel.
The terminal 110 may associate (associate) with one of the radio frequency transceiver modules 130 installed in the AP 120. After the terminal 110 associates with one rf transceiver module 130 installed in the AP 120, the terminal 110 establishes a wireless connection with the AP 120, and then the terminal 110 can communicate with the AP 120 through the wireless connection, so that the terminal 110 accesses the WLAN.
Fig. 2 is a schematic structural diagram of an access device according to an embodiment of the present disclosure, where the access device may be the AP 120 shown in fig. 1. Referring to fig. 2, the access device includes at least one processor 201, a communication bus 202, a memory 203, and a transceiver 204.
The processor 201 may be a Central Processing Unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or may be one or more integrated circuits for controlling the execution of programs according to the present disclosure.
The communication bus 202 may include a path for communicating information between the aforementioned components.
The Memory 203 may be a Read-Only Memory (ROM) or other types of static storage devices that can store static information and instructions, a Random Access Memory (RAM) or other types of dynamic storage devices that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic Disc storage medium or other magnetic storage devices, or any other medium which can be used to carry or store desired program code in the form of instructions or data structures and which can be accessed by a computer, but is not limited to such. The memory 203 may be self-contained and coupled to the processor 201 via the communication bus 202. The memory 203 may also be integrated with the processor 201.
The transceiver 204 includes at least two rf transceiver modules, and the operating channels of the at least two rf transceiver modules are different from each other, for example, the operating channel of one rf transceiver module may be channel 1 in the 2.4G frequency band, and the operating channel of another rf transceiver module may be channel 36 in the 5.8G frequency band. The transceiver 204 is used for communicating with other devices or communication networks, such as ethernet, Radio Access Network (RAN), WLAN, etc.
In particular implementations, processor 201 may include one or more CPUs, such as CPU0 and CPU1 shown in fig. 2, as one embodiment.
In particular implementations, the access device may include multiple processors, such as processor 201 and processor 205 shown in fig. 2, for one embodiment. Each of these processors may be a single-Core Processor (CPU) or a multi-Core Processor (CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
The memory 203 is used for storing a program code 210 for executing the scheme of the application, and the processor 201 is used for executing the program code 210 stored in the memory 203. The access device may implement the channel discovery method provided in the embodiment of fig. 4 below by the processor 201 and the program code 210 in the memory 203.
Fig. 3 is a schematic structural diagram of a computer device provided in an embodiment of the present application, where the computer device may be the terminal 110 shown in fig. 1. Referring to fig. 3, the computer device includes at least one processor 301, a communication bus 302, a memory 303, and a communication interface 304.
Processor 301 may be a general purpose CPU, microprocessor, ASIC, or may be one or more integrated circuits for controlling the execution of programs in accordance with the teachings of the present application.
The communication bus 302 may include a path for communicating information between the aforementioned components.
Memory 303 may be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an EEPROM, CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 303 may be separate and coupled to the processor 301 through a communication bus 302. The memory 303 may also be integrated with the processor 301.
The communication interface 304 uses any transceiver or the like for communicating with other devices or communication networks, such as ethernet, RAN, WLAN, etc.
In particular implementations, processor 301 may include one or more CPUs such as CPU0 and CPU1 shown in fig. 3 for one embodiment.
In particular implementations, the computer device may include multiple processors, such as processor 301 and processor 305 shown in FIG. 3, for one embodiment. Each of these processors may be a single-CPU or a multi-CPU. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
Optionally, the computer apparatus may further comprise an input output interface 306, the input output interface 306 being in communication with the processor 301, the input output interface 306 being connectable to an input device, an output device, or an input output device, respectively. The input device may receive user input in a variety of ways, for example, the input device may be a mouse, a keyboard, or a sensing device. The output device may display information in a variety of ways, such as a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, a Cathode Ray Tube (CRT) display device, a projector (projector), or the like. The input output device may display information in a variety of ways and may receive user input in a variety of ways, e.g., the input output device may be a touch screen or the like.
The memory 303 is used for storing the program code 310 for executing the scheme of the present application, and the processor 301 is used for executing the program code 310 stored in the memory 303. The computer device may implement the channel discovery method provided in the embodiment of fig. 6 below by means of the processor 301 and the program code 310 in the memory 303.
Fig. 4 is a flowchart of a channel discovery method according to an embodiment of the present application, where the method is applied to an AP, and a first radio frequency transceiver module and a second radio frequency transceiver module are installed in the AP. Referring to fig. 4, the method includes the steps of:
step 401: and the AP acquires the key information of the second radio frequency transceiver module.
It should be noted that the radio frequency transceiver module is also called radio or rf (radio frequency) and is used for transceiving radio frequency signals. The first radio frequency transceiver module and the second radio frequency transceiver module can be integrated into a radio frequency card, that is, one radio frequency card can simultaneously support the transmission and reception of two radio frequencies, and the radio frequency card is an integrated circuit card for transmitting radio frequency signals. For example, the first radio frequency transceiver module and the second radio frequency transceiver module may be integrated in a radio frequency card included in the transceiver 204 in the access device shown in fig. 2. The working channel of the first radio frequency transceiver module is different from the working channel of the second radio frequency transceiver module, the working channel of the first radio frequency transceiver module is the channel where the radio frequency signal transmitted by the first radio frequency transceiver module is located, and the working channel of the second radio frequency transceiver module is the channel where the radio frequency signal transmitted by the second radio frequency transceiver module is located. The first radio frequency transceiver module may transmit the information related to the first radio frequency transceiver module on its own working channel, and the first radio frequency transceiver module may associate with the terminal on its own working channel. The second rf transceiver module may transmit the information related to the second rf transceiver module on its own working channel, and the second rf transceiver module may associate with the terminal on its own working channel.
In addition, the key information of the second rf transceiver module includes information of an operating channel of the second rf transceiver module, and in addition, the key information of the second rf transceiver module may further include other information. Optionally, the key information of the second radio frequency transceiver module may further include at least one of priority association indication information, roaming manner indication information, BSSID of the second radio frequency transceiver module, SSID of the second radio frequency transceiver module, transmission power value of the second radio frequency transceiver module, or load level value of the second radio frequency transceiver module. Certainly, the key information of the second radio frequency transceiver module may also carry other information, for example, at least one of a transmission power value of the first radio frequency transceiver module, or a transmission power difference value is carried, where the transmission power difference value is obtained by subtracting the transmission power value of the second radio frequency transceiver module from the transmission power value of the first radio frequency transceiver module.
The working channel of one radio frequency transceiver module may include one or more continuous channels, that is, the working channel of the first radio frequency transceiver module may include one or more continuous channels, and the working channel of the second radio frequency transceiver module may also include one or more continuous channels. When the working Channel of one radio frequency transceiver module includes a plurality of continuous channels, one of the plurality of continuous channels may be used as a Primary Channel (Primary Channel), the other channels except the Primary Channel in the plurality of continuous channels may be used as Secondary channels (Secondary channels), and the sum of bandwidths of the plurality of continuous channels may be used as the Channel bandwidth of the working Channel of the radio frequency transceiver module. In this case, the key information of the radio frequency transceiver module may directly include information of the multiple continuous channels, or may include information of the main channel and a channel bandwidth of an operating channel of the radio frequency transceiver module.
For example, in the ieee802.11ac network and the ieee802.11ax network, not only the 20MHz (megahertz) and 40MHz channel bandwidths of the ieee802.11n network are supported, but also the 80MHz and 160MHz channel bandwidths are more extended, and each channel with higher bandwidth is composed of a plurality of continuous 20MHz channels, such as 36, 40, 44, 48 and … … when the 20MHz channel bandwidth is used, and {36, 40}, {44, 48}, … … when the 40MHz channel bandwidth is used. For a plurality of continuous 20MHz channels included in a channel of high bandwidth, two types can be classified: a primary channel and a secondary channel. The primary channel is any one of 20MHz channels among the high bandwidth channels, and the secondary channels are other 20MHz channels than the primary channel among the high bandwidth channels. Any one of the high bandwidth channels may be uniquely identified by the primary channel and the channel bandwidth, e.g., primary channel 36 and channel bandwidth 40MHz, and primary channel 40 and channel bandwidth 40MHz each uniquely represent channels {36, 40 }.
The priority association indication information is used for indicating the AP to preferentially use the working frequency band where the working channel of the second radio frequency transceiver module is located to provide the access service, and/or for indicating the AP to preferentially use the working frequency band where the working channel of the second radio frequency transceiver module is located to provide the roaming service, and/or for indicating the AP to preferentially use the working frequency band where the working channel of the radio frequency transceiver module associated with the terminal is located to provide the roaming service. The access service refers to the condition that when the terminal is not associated with any radio frequency transceiver module, the terminal needs to be associated with one radio frequency transceiver module to access the network. The roaming service means that when the terminal is associated with the radio frequency transceiver module, the network where the associated radio frequency transceiver module is located needs to be switched to the network where the other radio frequency transceiver module is located. The working frequency band may be a pre-divided frequency band, and each pre-divided frequency band may include one or more continuous channels, for example, the working frequency band may be a 2.4G frequency band, a 5.8G frequency band, or the like. For example, the operating frequency band of the operating channel of the second radio frequency transceiver module may be a 2.4G frequency band.
The roaming mode indication information is used for indicating the roaming mode supported by the AP on the working frequency band where the working channel of the second radio frequency transceiver module is located. The roaming manner supported by the AP on the operating frequency band of the operating channel of the second radio frequency transceiver module may include multiple manners, for example, the roaming manner supported by the AP on the operating frequency band of the operating channel of the second radio frequency transceiver module may include at least one of Over-the-air, Over-the-ds, Fast BSS Transition, or all support (all) in 802.11r Fast roaming. Different roaming modes can be indicated by different indication information, for example, the indication information of Over-the-air can be 0x01, the indication information of Over-the-ds can be 0x02, the indication information of Fast BSS Transition can be 0x04, the indication information of all can be 0x00, and the like.
The BSSID of the second radio frequency transceiver module may be a Media Access Control (MAC) address of the second radio frequency transceiver module, and the BSSID of the second radio frequency transceiver module may be used to identify a network where the second radio frequency transceiver module is located. The SSID of the second radio frequency transceiver module may be used to identify services that can be performed by a network in which the second radio frequency transceiver module is located. The transmission power value of the second radio frequency transceiver module may be the power of the second radio frequency transceiver module for transmitting the radio frequency signal. The load level value of the second rf transceiver module may be a ratio of the number of terminals with which the second rf transceiver module has been associated to the maximum number of terminals with which the second rf transceiver module can be associated.
Step 402: and the AP sends the key information of the second radio frequency transceiver module to the terminal through the first radio frequency transceiver module.
It should be noted that the key information of the second rf transceiver module is used for the terminal to obtain the working channel of the second rf transceiver module. That is, after the AP sends the key information of the second rf transceiver module through the first rf transceiver module, the terminal may receive the key information of the second rf transceiver module on the working channel of the first rf transceiver module, so that the terminal may know the working channel of the second rf transceiver module. The subsequent terminal can specifically scan the working channel of the second radio frequency transceiver module without blindly scanning all channels in the WLAN one by one, thereby reducing the number of channels to be scanned by the terminal and greatly saving the scanning time. The shortening of the scanning time can effectively prevent the problems of terminal service interruption, roaming disconnection and the like, thereby improving the terminal user experience.
Specifically, the operation of step 402 may be: the AP sends a broadcast message or a unicast message to the terminal through the first radio frequency transceiver module, wherein the broadcast message or the unicast message carries key information of the second radio frequency transceiver module.
It should be noted that the first radio frequency transceiver module may send a broadcast message on its own working channel, where the broadcast message may be a Beacon frame, and at this time, the first radio frequency transceiver module may carry key information of the second radio frequency transceiver module in the broadcast message. The first radio frequency transceiver module may also send a unicast message for the terminal on its own working channel, where the unicast message may be a probe response frame, an action frame, and so on, and at this time, the first radio frequency transceiver module may carry the key information of the second radio frequency transceiver module in the unicast message sent to the terminal by the first radio frequency transceiver module.
In addition, the key Information of the second radio frequency transceiver module may be included in an extension Information Element (IE), and then the extension Information Element may be included in the broadcast message or the unicast message. For example, the format of the extended cell may be as shown in table 1 below.
TABLE 1
Element ID Length Sub-field Informatio
Wherein, the Element ID is the cell identifier. Length is the Length of the content in the cell, i.e. the Length of all Information in the Sub-field Information. The Sub-field Information is a parameter included in the cell, i.e. key Information of the second radio frequency transceiver module.
Note that, in the embodiment of the present application, only table 1 is taken as an example to describe the format of the extended cell, and table 1 does not limit the embodiment of the present application.
For ease of understanding, the above-described channel discovery process is described below in conjunction with fig. 5.
Referring to fig. 5, the AP is installed with a first radio frequency transceiver module and a second radio frequency transceiver module, a working channel of the first radio frequency transceiver module is a channel 1, a working channel of the second radio frequency transceiver module is a channel 36, the first radio frequency transceiver module may send a broadcast message on its own working channel, and the second radio frequency transceiver module may also send a broadcast message on its own working channel. In this embodiment, the first radio frequency transceiver module may carry the key information of the second radio frequency transceiver module in the broadcast message sent by the first radio frequency transceiver module. When the terminal resides in the working channel of the first radio frequency transceiver module, the terminal can receive the broadcast message sent by the first radio frequency transceiver module on the working channel of the first radio frequency transceiver module, and the terminal can acquire the working channel of the second radio frequency transceiver module from the broadcast message. Then, the terminal can scan the working channels of the second radio frequency transceiver module in a targeted manner, and all channels in the WLAN do not need to be scanned one by one blindly.
In this embodiment, the AP is installed with a first radio frequency transceiver module and a second radio frequency transceiver module, and a working channel of the first radio frequency transceiver module is different from a working channel of the second radio frequency transceiver module. The AP may obtain key information of the second radio frequency transceiver module, where the key information of the second radio frequency transceiver module includes information of a working channel of the second radio frequency transceiver module. And then, the AP can send the key information of the second radio frequency transceiver module to the terminal through the first radio frequency transceiver module. Therefore, the terminal can receive the key information of the second radio frequency transceiver module on the working channel of the first radio frequency transceiver module, and then acquire the working channel of the second radio frequency transceiver module. The subsequent terminal can specifically scan the working channel of the second radio frequency transceiver module without blindly scanning all channels in the WLAN one by one, thereby reducing the number of channels to be scanned by the terminal and greatly saving the scanning time. The shortening of the scanning time can effectively prevent the problems of terminal service interruption, roaming disconnection and the like, thereby improving the terminal user experience.
Fig. 6 is a flowchart of a channel discovery method provided in an embodiment of the present application, where the method is applied to a terminal. Referring to fig. 6, the method includes the steps of:
step 601: and the terminal receives the key information of the second radio frequency transceiver module sent by the AP on the first channel.
It should be noted that, a second radio frequency transceiver module is installed in the AP, and the key information of the second radio frequency transceiver module may include information of a working channel of the second radio frequency transceiver module. The first channel is a different channel from an operating channel of the second radio frequency transceiver module, for example, the first channel may be an operating channel of a first radio frequency transceiver module installed in the AP.
In addition, the key information of the second rf transceiver module has been described in detail in the foregoing embodiments, which are not described in detail herein.
Furthermore, the terminal may receive data transmitted by the AP on the first channel while camped on the first channel. In the embodiment of the present application, since the AP may send the key information of the second radio frequency transceiver module on the first channel, the terminal may receive the key information of the second radio frequency transceiver module in the process of residing on the first channel.
Step 602: and the terminal acquires the working channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module.
After the terminal receives the key information of the second radio frequency transceiver module on the first channel, the terminal can acquire the working channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module. The subsequent terminal can specifically scan the working channel of the second radio frequency transceiver module without blindly scanning all channels in the WLAN one by one, thereby reducing the number of channels to be scanned by the terminal and greatly saving the scanning time. The shortening of the scanning time can effectively prevent the problems of terminal service interruption, roaming disconnection and the like, thereby improving the terminal user experience.
It should be noted that after the terminal obtains the working channel of the second rf transceiver module from the key information of the second rf transceiver module, different operations may be performed according to actual requirements. Alternatively, the following cases may be included:
in the first case: when the key information of the second radio frequency transceiver module further comprises an SSID of the second radio frequency transceiver module, when the SSID of the second radio frequency transceiver module is the same as a preset SSID, the terminal scans a working channel of the second radio frequency transceiver module; and when the SSID of the second radio frequency transceiver module is different from the preset SSID, the terminal displays the SSID of the second radio frequency transceiver module, and when a selection instruction aiming at the displayed SSID of the second radio frequency transceiver module is detected, a working channel of the second radio frequency transceiver module is scanned.
It should be noted that the preset SSID may be preset, and the preset SSID may be an SSID that is stored in advance by the terminal, or an SSID of a radio frequency transceiver module that the terminal has been associated with. When the SSID of the second radio frequency transceiver module is the same as the preset SSID, it indicates that the terminal has the authority to use the network where the second radio frequency transceiver module is located, so that the terminal can scan the working channel of the second radio frequency transceiver module at the moment. And when the SSID of the second radio frequency transceiver module is different from the preset SSID, the terminal may not have the authority to use the network where the second radio frequency transceiver module is located, so that the terminal can display the SSID of the second radio frequency transceiver module at this time, a user determines whether to access the network where the second radio frequency transceiver module is located, and when the user selects the SSID of the second radio frequency transceiver module, the user indicates that the user wants to join the network where the second radio frequency transceiver module is located, so that the terminal can scan the working channel of the second radio frequency transceiver module at this time.
In addition, the selection instruction is used to determine to access the network where the second radio frequency transceiver module is located, the selection instruction may be triggered by a user, and the user may trigger the network through operations such as a click operation, a slide operation, a voice operation, and a gesture operation, which is not limited in this embodiment of the present application.
Furthermore, in a possible implementation manner, when the SSID of the second radio frequency transceiver module is different from the preset SSID, the terminal may store the SSID of the second radio frequency transceiver module and the working channel of the second radio frequency transceiver module correspondingly, so that after the subsequent terminal displays the SSID of the second radio frequency transceiver module, if the terminal detects a selection instruction for the displayed SSID, the terminal may directly scan the working channel corresponding to the SSID, that is, directly scan the working channel of the second radio frequency transceiver module.
In the second case: and the terminal acquires a signal interference indicated value of the first channel, and when the signal interference indicated value of the first channel is smaller than a first threshold value, the terminal scans a working channel of the second radio frequency transceiver module.
It should be noted that the sir value of the first channel is used to reflect the sir of the first channel. The larger the sir value of the first channel, the smaller the sir value of the first channel, and the smaller the sir value of the first channel, the larger the sir value of the first channel. The sir value for the first channel may be a snr of the first channel; alternatively, when the first channel is a working channel of a first radio frequency transceiver module installed in the AP, the sir indicator value of the first channel may be an RSSI value of the first radio frequency transceiver module. Of course, the sir value of the first channel may also be other data that can reflect the sir of the first channel, which is not limited in this embodiment of the present invention.
In addition, the first threshold value may be set in advance, and the first threshold value may be set smaller. For example, when the sir value of the first channel is the snr of the first channel, the first threshold may be a preset smaller snr, and when the sir value of the first channel is the RSSI value of the first rf transceiver module, the first threshold may be a preset smaller RSSI value. When the signal interference indicated value of the first channel is smaller than the first threshold, it indicates that the signal interference indicated value of the first channel is smaller, and the signal interference degree of the first channel is higher, so that the terminal can switch from the first channel to the working channel of the second radio frequency transceiver module to scan the working channel of the second radio frequency transceiver module, so that a subsequent terminal can access the network where the second radio frequency transceiver module is located.
In the third case: when the first channel is a working channel of a first radio frequency transceiver module installed in the AP, the terminal acquires an RSSI value of the first radio frequency transceiver module, when the RSSI value of the first radio frequency transceiver module is smaller than a first threshold value, the terminal acquires a transmission power difference value, and when the transmission power difference value is smaller than a second threshold value, the terminal scans the working channel of a second radio frequency transceiver module.
It should be noted that the transmission power difference is obtained by subtracting the transmission power value of the second radio frequency transceiver module from the transmission power value of the first radio frequency transceiver module. The second threshold value may be set in advance, and the second threshold value may be set larger.
In addition, when the RSSI value of the first rf transceiver module is smaller than the first threshold, it indicates that the signal strength of the first rf transceiver module is small, so that the terminal can switch from the first channel to another channel. When the difference value of the transmission powers is smaller than the second threshold, it indicates that the transmission power of the second radio frequency transceiver module is much larger than the transmission power of the first radio frequency transceiver module, so that the terminal can switch from the first channel to the working channel of the second radio frequency transceiver module to scan the working channel of the second radio frequency transceiver module, so that the subsequent terminal can access the network where the second radio frequency transceiver module is located.
When the terminal acquires the transmission power difference value and the key information of the second radio frequency transceiver module also comprises the transmission power value of the second radio frequency transceiver module, the terminal can acquire the transmission power value of the first radio frequency transceiver module and subtract the transmission power value of the second radio frequency transceiver module from the transmission power value of the first radio frequency transceiver module to obtain the transmission power difference value; or, when the key information of the second radio frequency transceiver module further includes the transmission power difference, the terminal may directly obtain the transmission power difference from the key information of the second radio frequency transceiver module.
It should be noted that, when the terminal acquires the transmission power value of the first radio frequency transceiver module, if the key information of the second radio frequency transceiver module further includes the transmission power value of the first radio frequency transceiver module, the terminal may directly acquire the transmission power value of the first radio frequency transceiver module from the key information of the second radio frequency transceiver module. Of course, the terminal may also obtain the transmission power value of the first radio frequency transceiver module in other manners, which is not limited in this embodiment of the application.
In a fourth case: and when the first channel is a working channel of a first radio frequency transceiver module installed in the AP, the terminal acquires a transmitting power difference value, and when the transmitting power difference value is smaller than a second threshold value, the terminal scans the working channel of a second radio frequency transceiver module.
It should be noted that the transmission power difference is obtained by subtracting the transmission power value of the second radio frequency transceiver module from the transmission power value of the first radio frequency transceiver module. The operation of the terminal for obtaining the transmission power difference is the same as the operation of the terminal for obtaining the transmission power difference in the third case, and details thereof are not repeated in the embodiment of the present application.
In addition, when the difference value of the transmission powers is smaller than the second threshold, it indicates that the transmission power of the second rf transceiver module is much larger than the transmission power of the first rf transceiver module, so that the terminal may switch from the first channel to the working channel of the second rf transceiver module to scan the working channel of the second rf transceiver module, so that a subsequent terminal may access the network where the second rf transceiver module is located.
In the fifth case: when the first channel is a working channel of a first radio frequency transceiver module installed in the AP, the terminal acquires a transmission power difference value and an RSSI value of the first radio frequency transceiver module, subtracts the transmission power difference value from the RSSI value of the first radio frequency transceiver module to obtain a reference RSSI value, determines the reference RSSI value as the RSSI value of a second radio frequency transceiver module, and when the terminal acquires the RSSI values of the radio frequency transceiver modules installed in at least one other AP except the AP, if the RSSI values of the radio frequency transceiver modules installed in the at least one other AP are all smaller than the RSSI value of the second radio frequency transceiver module, the terminal scans the working channel of the second radio frequency transceiver module.
It should be noted that the RSSI value of the radio frequency transceiver module installed in at least one other AP except the AP may be the true RSSI value of the radio frequency transceiver module, or may be a reference RSSI value obtained according to the RSSI values of other radio frequency transceiver modules. When the RSSI value of the radio frequency transceiver module is a reference RSSI value obtained according to the RSSI values of other radio frequency transceiver modules, the process of obtaining the RSSI value of the radio frequency transceiver module is similar to the process of obtaining the RSSI value of the second radio frequency transceiver module, which is not described in detail herein.
In addition, the transmitting power difference is obtained by subtracting the transmitting power value of the second radio frequency transceiver module from the transmitting power value of the first radio frequency transceiver module. The operation of the terminal for obtaining the transmission power difference is the same as the operation of the terminal for obtaining the transmission power difference in the third case, and details thereof are not repeated in the embodiment of the present application.
Furthermore, when the RSSI values of the rf transceiver modules installed in the at least one other AP are all smaller than the RSSI value of the second rf transceiver module, it indicates that the signal strengths of the rf transceiver modules installed in the at least one other AP are all lower than the signal strength of the second rf transceiver module, so that the terminal can scan the working channel of the second rf transceiver module at this time, so that a subsequent terminal can access the network where the second rf transceiver module is located.
In the sixth case: when the key information of the second radio frequency transceiver module further includes a load degree value of the second radio frequency transceiver module, and when the terminal acquires the load degree values of the radio frequency transceiver modules installed in at least one other AP except the AP, if the load degree values of the radio frequency transceiver modules installed in the at least one other AP are all greater than the load degree value of the second radio frequency transceiver module, the terminal scans a working channel of the second radio frequency transceiver module.
It should be noted that the load level value of the second radio frequency transceiver module may indicate a load pressure of the second radio frequency transceiver module, that is, the greater the load level value of the second radio frequency transceiver module is, the greater the load pressure of the second radio frequency transceiver module is, the smaller the load level value of the second radio frequency transceiver module is, and the smaller the load pressure of the second radio frequency transceiver module is.
In addition, when the load degree values of the radio frequency transceiver modules installed in the at least one other AP are all greater than the load degree value of the second radio frequency transceiver module, it indicates that the load pressures of the radio frequency transceiver modules installed in the at least one other AP are all higher than the load pressure of the second radio frequency transceiver module, so that the terminal can scan the working channel of the second radio frequency transceiver module at this time, so that a subsequent terminal can access the network where the second radio frequency transceiver module is located.
It should be noted that in any one of the first to sixth cases, in the process of scanning the working channel of the second radio frequency transceiver module, when the key information of the second radio frequency transceiver module further includes a BSSID of the second radio frequency transceiver module, or when the terminal receives the BSSID of the second radio frequency transceiver module sent by the AP on the working channel of the second radio frequency transceiver module, the terminal may associate with the second radio frequency transceiver module according to the BSSID of the second radio frequency transceiver module.
When the terminal associates with the second radio frequency transceiver module according to the BSSID of the second radio frequency transceiver module, the terminal may initiate an association process to the AP by using the BSSID of the second radio frequency transceiver module as a destination address, so as to associate with the second radio frequency transceiver module, so as to access a network where the second radio frequency transceiver module is located.
It should be noted that, the operation of the terminal initiating the association process to the AP by using the BSSID of the second radio frequency transceiver module as the destination address may refer to related technologies, which are not described in detail in this embodiment of the present application. For example, the terminal may send an association request or a re-association request to the AP, where the destination address of the association request or the re-association request is the BSSID of the second radio frequency transceiver module.
In addition, in the embodiment of the application, the terminal can be quickly associated with the second radio frequency transceiver module according to the BSSID of the second radio frequency transceiver module in the process of scanning the working channel of the second radio frequency transceiver module, and then can be quickly accessed to the network where the second radio frequency transceiver module is located, so that the problems of terminal service interruption, roaming disconnection and the like can be further prevented, and the terminal user experience is improved.
In the seventh case: and when the key information of the second radio frequency transceiver module further comprises BSSID of the second radio frequency transceiver module, the terminal is switched to a working channel of the second radio frequency transceiver module, and the terminal is associated with the second radio frequency transceiver module according to the BSSID of the second radio frequency transceiver module.
It should be noted that, when the key information of the second radio frequency transceiver module further includes the BSSID of the second radio frequency transceiver module, the terminal may obtain the BSSID of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module. The terminal already knows the working channel of the second radio frequency transceiver module, so that the terminal can be quickly switched to the working channel of the second radio frequency transceiver module, and can be quickly associated with the second radio frequency transceiver module according to the obtained BSSID of the second radio frequency transceiver module, so that the network where the second radio frequency transceiver module is located can be quickly accessed, the problems of terminal service interruption, roaming disconnection and the like can be further prevented, and the terminal user experience is improved.
In the eighth case: when the key information of the second radio frequency transceiver module further includes priority association indication information, and when the priority association indication information is used for indicating that the AP preferentially uses a working frequency band where a working channel of the second radio frequency transceiver module is located to provide access service, if the terminal is not associated with any radio frequency transceiver module, switching to the working frequency band where the working channel of the second radio frequency transceiver module is located; when the priority association indication information is used for indicating the AP to preferentially use the working frequency band where the working channel of the second radio frequency transceiver module is located to provide roaming service, if the terminal is associated with the radio frequency transceiver module, switching to the working frequency band where the working channel of the second radio frequency transceiver module is located; when the priority association indication information is used for indicating that the AP preferentially uses the working frequency band where the working channel of the radio frequency transceiver module associated with the terminal is located to provide the roaming service, if the terminal has the radio frequency transceiver module associated with the terminal and the working frequency band where the working channel of the radio frequency transceiver module associated with the terminal is located is the same as the working frequency band where the working channel of the second radio frequency transceiver module is located, the AP resides in the working frequency band where the working channel of the second radio frequency transceiver module is located. And the terminal scans the working frequency band of the working channel of the second radio frequency transceiver module.
It should be noted that the priority association indication information is used to indicate which operating frequency band the AP preferentially uses to provide the access service or the roaming service, so that the terminal may determine which operating frequency band the terminal should switch to or camp on to perform scanning according to the priority association indication information.
In addition, the terminal scans the working frequency band in which the working channel of the second radio frequency transceiver module is located, that is, the terminal scans all channels included in the working frequency band in which the working channel of the second radio frequency transceiver module is located.
Furthermore, in the embodiment of the application, the terminal can select the working frequency band preferentially used by the AP to be switched or resided in according to the preferential association indication information, and then scan the working frequency band, so that the subsequent terminal can rapidly access the network where the AP is located, thereby further preventing the problems of terminal service interruption, roaming disconnection and the like, and improving the terminal user experience.
The ninth case: when the key information of the second radio frequency transceiver module further includes roaming mode indication information, and when the roaming mode supported by the terminal includes a roaming mode supported by the AP on a working frequency band where a working channel of the second radio frequency transceiver module is located, the terminal switches to the working frequency band where the working channel of the second radio frequency transceiver module is located; and the terminal scans the working frequency band of the working channel of the second radio frequency transceiver module.
It should be noted that, when the roaming mode supported by the terminal includes the roaming mode supported by the AP on the working frequency band where the working channel of the second radio frequency transceiver module is located, it indicates that the terminal can roam to the working frequency band where the working channel of the second radio frequency transceiver module is located in the AP, and therefore the terminal can switch to the working frequency band where the working channel of the second radio frequency transceiver module is located to scan the working frequency band where the working channel of the second radio frequency transceiver module is located at this time.
In addition, in this embodiment of the application, the terminal may obtain, according to the roaming manner indication information, the roaming manner supported by the AP on the working frequency band where the working channel of the second radio frequency transceiver module is located, so that the terminal may determine whether the terminal has the capability of roaming to the working frequency band where the working channel of the second radio frequency transceiver module in the AP is located, and when the terminal has the capability of roaming to the working frequency band where the working channel of the second radio frequency transceiver module in the AP is located, the terminal may switch to the working frequency band where the working channel of the second radio frequency transceiver module is located to perform scanning, so that it may be ensured that the terminal is meaningful to scan the working frequency band where the working channel of the second radio frequency transceiver module is located.
Furthermore, if there are multiple identical roaming manners in the roaming manner supported by the terminal and the roaming manner supported by the AP on the operating frequency band where the operating channel of the second radio frequency transceiver module is located, when the subsequent terminal needs to associate with the second radio frequency transceiver module in the AP, one roaming manner may be selected from the multiple identical roaming manners, and then the selected roaming manner is used to associate with the second radio frequency transceiver module.
It should be noted that, in the eighth and ninth cases, after the terminal scans the working frequency band where the working channel of the second radio frequency transceiver module is located, when the terminal scans the BSSID and the working channel of each of the plurality of radio frequency transceiver modules, the terminal may obtain the RSSI value of each of the plurality of radio frequency transceiver modules; the terminal determines the radio frequency transceiver module with the maximum RSSI value in the plurality of radio frequency transceiver modules as a target radio frequency transceiver module; the terminal is switched to a working channel of the target radio frequency transceiver module; and the terminal associates with the target radio frequency transceiver module according to the BSSID of the target radio frequency transceiver module.
It should be noted that the radio frequency transceiver module with the largest RSSI value among the plurality of radio frequency transceiver modules is the radio frequency transceiver module with the highest signal strength among the plurality of radio frequency transceiver modules, so that the terminal can determine the radio frequency transceiver module with the largest RSSI value among the plurality of radio frequency transceiver modules as the target radio frequency transceiver module and switch to the working channel of the target radio frequency transceiver module to associate with the target radio frequency transceiver module to access the network where the target radio frequency transceiver module is located.
It should be noted that, in the embodiment of the present application, only the above nine cases are taken as examples to describe a possible operation process after the terminal obtains the working channel of the second radio frequency transceiver module. In practical application, the terminal may also perform other operations according to service requirements, which is not limited in this embodiment of the present application.
In this embodiment, the terminal receives key information of a second radio frequency transceiver module sent by the AP on a first channel, where the AP is installed with the second radio frequency transceiver module, the key information of the second radio frequency transceiver module includes information of a working channel of the second radio frequency transceiver module, and the first channel is a channel different from the working channel of the second radio frequency transceiver module. Then, the terminal may obtain the working channel of the second rf transceiver module from the key information of the second rf transceiver module. The subsequent terminal can specifically scan the working channels of the second radio frequency transceiver module without blindly scanning all channels in the WLAN one by one, thereby reducing the number of channels to be scanned by the terminal and greatly saving the scanning time. The shortening of the scanning time can effectively prevent the problems of terminal service interruption, roaming disconnection and the like, thereby improving the terminal user experience.
Fig. 7 is a schematic structural diagram of a channel discovery apparatus according to an embodiment of the present application, where the channel discovery apparatus may be implemented by software, hardware, or a combination of the two to be part or all of an access device, where the access device may be the access device shown in fig. 2, the access device may be an AP, and a first radio frequency transceiver module and a second radio frequency transceiver module are installed in the AP.
Referring to fig. 7, the apparatus includes: an acquisition module 701 and a sending module 702.
An obtaining module 701, configured to execute step 401 in the embodiment of fig. 4;
a sending module 702, configured to execute step 402 in the foregoing fig. 4 embodiment.
Optionally, the key information of the second radio frequency transceiver module further includes at least one of priority association indication information, roaming manner indication information, BSSID of the second radio frequency transceiver module, SSID of the second radio frequency transceiver module, transmission power value of the second radio frequency transceiver module, or load level value of the second radio frequency transceiver module;
the priority association indication information is used for indicating the AP to preferentially use the working frequency band where the working channel of the second radio frequency transceiver module is located to provide the access service, and/or indicating the AP to preferentially use the working frequency band where the working channel of the second radio frequency transceiver module is located to provide the roaming service, and/or indicating the AP to preferentially use the working frequency band where the working channel of the radio frequency transceiver module associated with the terminal is located to provide the roaming service, and the roaming mode indication information is used for indicating the roaming mode supported by the AP on the working frequency band where the working channel of the second radio frequency transceiver module is located.
Optionally, the sending module 702 is configured to: and sending a broadcast message or a unicast message to the terminal through the first radio frequency transceiver module, wherein the broadcast message or the unicast message carries the key information of the second radio frequency transceiver module.
In this embodiment, the AP is installed with a first radio frequency transceiver module and a second radio frequency transceiver module, and a working channel of the first radio frequency transceiver module is different from a working channel of the second radio frequency transceiver module. The AP may obtain key information of the second radio frequency transceiver module, where the key information of the second radio frequency transceiver module includes information of a working channel of the second radio frequency transceiver module. And then, the AP can send the key information of the second radio frequency transceiver module to the terminal through the first radio frequency transceiver module. Therefore, the terminal can receive the key information of the second radio frequency transceiver module on the working channel of the first radio frequency transceiver module, and then acquire the working channel of the second radio frequency transceiver module. The subsequent terminal can specifically scan the working channel of the second radio frequency transceiver module without blindly scanning all channels in the WLAN one by one, thereby reducing the number of channels to be scanned by the terminal and greatly saving the scanning time. The shortening of the scanning time can effectively prevent the problems of terminal service interruption, roaming disconnection and the like, thereby improving the terminal user experience.
Fig. 8 is a schematic structural diagram of a channel discovery apparatus provided in an embodiment of the present application, where the channel discovery apparatus may be implemented by software, hardware, or a combination of the two as part or all of a computer device, where the computer device may be the computer device shown in fig. 3, and the computer device may be a terminal.
Referring to fig. 8, the apparatus includes: a receiving module 801 and a first obtaining module 802.
A receiving module 801, configured to perform step 601 in the embodiment of fig. 6;
a first obtaining module 802, configured to perform step 602 in the foregoing fig. 6 embodiment.
Optionally, the key information of the second radio frequency transceiver module further includes an SSID of the second radio frequency transceiver module, and the apparatus further includes:
the scanning module is used for scanning a working channel of the second radio frequency transceiver module when the SSID of the second radio frequency transceiver module is the same as the preset SSID;
the scanning module is further configured to display the SSID of the second radio frequency transceiver module when the SSID of the second radio frequency transceiver module is different from the preset SSID, and scan a working channel of the second radio frequency transceiver module when the terminal detects a selection instruction for the SSID of the second radio frequency transceiver module.
Optionally, the apparatus further comprises:
a second obtaining module, configured to obtain a signal interference indicated value of the first channel;
and the scanning module is used for scanning the working channel of the second radio frequency transceiver module when the signal interference indicated value of the first channel is smaller than the first threshold value.
Optionally, the sir value of the first channel is a snr of the first channel; or, the sir indicator value of the first channel is an RSSI value of a first rf transceiver module installed in the AP, and the working channel of the first rf transceiver module is the first channel.
Optionally, the first channel is a working channel of a first radio frequency transceiver module installed in the AP, and the apparatus further includes:
the third acquisition module is used for acquiring the RSSI value of the first radio frequency transceiver module;
a fourth obtaining module, configured to obtain a transmission power difference when the RSSI value of the first radio frequency transceiver module is smaller than the first threshold, where the transmission power difference is obtained by subtracting the transmission power value of the second radio frequency transceiver module from the transmission power value of the first radio frequency transceiver module;
and the scanning module is used for scanning the working channel of the second radio frequency transceiver module when the transmitting power difference value is smaller than a second threshold value.
Optionally, the key information of the second radio frequency transceiver module further includes a transmission power value of the second radio frequency transceiver module, and the fourth obtaining module is configured to: and acquiring a transmitting power value of the first radio frequency transceiver module, and subtracting the transmitting power value of the second radio frequency transceiver module from the transmitting power value of the first radio frequency transceiver module to obtain a transmitting power difference value.
Optionally, the key information of the second radio frequency transceiver module further includes a transmission power difference, and the fourth obtaining module is configured to: and acquiring a transmitting power difference value from the key information of the second radio frequency transceiver module.
Optionally, the first channel is a working channel of a first radio frequency transceiver module installed in the AP, and the apparatus further includes:
a fifth obtaining module, configured to obtain a transmission power difference and an RSSI value of the first radio frequency transceiver module, where the transmission power difference is obtained by subtracting a transmission power value of the second radio frequency transceiver module from a transmission power value of the first radio frequency transceiver module;
the first calculation module is used for subtracting the transmission power difference value from the RSSI value of the first radio frequency transceiver module to obtain a reference RSSI value;
the first determination module is used for determining the reference RSSI value as the RSSI value of the second radio frequency transceiver module;
and the scanning module is used for scanning the working channel of the second radio frequency transceiver module if the RSSI value of the radio frequency transceiver module installed in at least one other AP is smaller than the RSSI value of the second radio frequency transceiver module when the terminal acquires the RSSI value of the radio frequency transceiver module installed in at least one other AP except the AP.
Optionally, the key information of the second rf transceiver module further includes a load level value of the second rf transceiver module, and the apparatus further includes:
and the scanning module is used for scanning a working channel of the second radio frequency transceiver module if the load degree values of the radio frequency transceiver modules installed in at least one other AP except the AP are all larger than the load degree value of the second radio frequency transceiver module when the terminal acquires the load degree values of the radio frequency transceiver modules installed in at least one other AP.
Optionally, the key information of the second radio frequency transceiver module further includes a BSSID of the second radio frequency transceiver module, and the apparatus further includes:
and the first association module is used for switching to a working channel of the second radio frequency transceiver module and associating with the second radio frequency transceiver module according to the BSSID of the second radio frequency transceiver module.
Optionally, the key information of the second radio frequency transceiver module further includes priority association indication information, and the apparatus further includes:
the switching resident module is used for switching to the working frequency band of the working channel of the second radio frequency transceiver module if the terminal is not associated with any radio frequency transceiver module when the priority association indication information is used for indicating the AP to preferentially use the working frequency band of the working channel of the second radio frequency transceiver module to provide the access service; when the priority association indication information is used for indicating the AP to preferentially use the working frequency band where the working channel of the second radio frequency transceiver module is located to provide the roaming service, if the terminal is associated with the radio frequency transceiver module, switching to the working frequency band where the working channel of the second radio frequency transceiver module is located; when the priority association indication information is used for indicating the AP to preferentially use the working frequency band where the working channel of the radio frequency transceiver module associated with the terminal is located to provide roaming service, if the terminal is associated with the radio frequency transceiver module and the working frequency band where the working channel of the radio frequency transceiver module associated with the terminal is located is the same as the working frequency band where the working channel of the second radio frequency transceiver module is located, the AP resides in the working frequency band where the working channel of the second radio frequency transceiver module is located;
and the scanning module is used for scanning the working frequency band where the working channel of the second radio frequency transceiver module is located.
Optionally, the key information of the second radio frequency transceiver module further includes roaming mode indication information, where the roaming mode indication information is used to indicate a roaming mode supported by the AP on an operating frequency band where an operating channel of the second radio frequency transceiver module is located, and the apparatus further includes:
the first switching module is used for switching to the working frequency band of the working channel of the second radio frequency transceiver module when the roaming mode supported by the terminal comprises the roaming mode supported by the AP on the working frequency band of the working channel of the second radio frequency transceiver module;
and the scanning module is used for scanning the working frequency band where the working channel of the second radio frequency transceiver module is located.
Optionally, the apparatus further comprises:
a sixth obtaining module, configured to obtain, when the terminal scans the BSSID and the working channel of each of the multiple radio frequency transceiver modules, an RSSI value of each of the multiple radio frequency transceiver modules;
a seventh obtaining module, configured to determine, as a target radio frequency transceiver module, a radio frequency transceiver module with a largest RSSI value among the multiple radio frequency transceiver modules;
the second switching module is used for switching to a working channel of the target radio frequency transceiver module;
and the second association module is used for associating with the target radio frequency transceiver module according to the BSSID of the target radio frequency transceiver module.
In this embodiment, the terminal receives key information of a second radio frequency transceiver module sent by the AP on a first channel, where the AP is installed with the second radio frequency transceiver module, the key information of the second radio frequency transceiver module includes information of a working channel of the second radio frequency transceiver module, and the first channel is a channel different from the working channel of the second radio frequency transceiver module. Then, the terminal may obtain the working channel of the second rf transceiver module from the key information of the second rf transceiver module. The subsequent terminal can specifically scan the working channels of the second radio frequency transceiver module without blindly scanning all channels in the WLAN one by one, thereby reducing the number of channels to be scanned by the terminal and greatly saving the scanning time. The shortening of the scanning time can effectively prevent the problems of terminal service interruption, roaming disconnection and the like, thereby improving the terminal user experience.
It should be noted that: in the channel discovery apparatus provided in the foregoing embodiment, only the division of the functional modules is described as an example, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the channel discovery apparatus is divided into different functional modules to complete all or part of the functions described above. In addition, the channel discovery apparatus and the channel discovery method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
In the above embodiments, the implementation may be wholly or partly realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., Digital Versatile Disk (DVD)), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above-mentioned embodiments are provided not to limit the present application, and any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (28)

1. A discovery method of radio frequency transceiver module is applied to an Access Point (AP), wherein a first radio frequency transceiver module and a second radio frequency transceiver module are installed in the AP, and the method comprises the following steps:
the AP acquires key information of the second radio frequency transceiver module, wherein the key information of the second radio frequency transceiver module comprises information of a working channel of the second radio frequency transceiver module and a Basic Service Set Identifier (BSSID) of the second radio frequency transceiver module, and the working channel of the second radio frequency transceiver module is different from the working channel of the first radio frequency transceiver module;
and the AP sends the key information of the second radio frequency transceiver module to a terminal through the first radio frequency transceiver module, wherein the key information of the second radio frequency transceiver module is used for the terminal to obtain a Basic Service Set Identifier (BSSID) of the second radio frequency transceiver module and a working channel of the second radio frequency transceiver module, and the BSSID of the second radio frequency transceiver module is associated with the second radio frequency transceiver module on the working channel of the second radio frequency transceiver module.
2. The method of claim 1,
the key information of the second radio frequency transceiver module further includes at least one of priority association indication information, roaming mode indication information, a Service Set Identifier (SSID) of the second radio frequency transceiver module, a transmission power value of the second radio frequency transceiver module, or a load level value of the second radio frequency transceiver module;
the priority association indication information is used for indicating the AP to preferentially use the working frequency band where the working channel of the second radio frequency transceiver module is located to provide access service, and/or indicating the AP to preferentially use the working frequency band where the working channel of the second radio frequency transceiver module is located to provide roaming service, and/or indicating the AP to preferentially use the working frequency band where the working channel of the radio frequency transceiver module associated with the terminal is located to provide roaming service, and the roaming mode indication information is used for indicating the roaming mode supported by the AP on the working frequency band where the working channel of the second radio frequency transceiver module is located.
3. The method of claim 1 or 2, wherein the AP sends the key information of the second radio frequency transceiver module to the terminal through the first radio frequency transceiver module, and comprises:
and the AP sends a broadcast message or a unicast message to the terminal through the first radio frequency transceiver module, wherein the broadcast message or the unicast message carries key information of the second radio frequency transceiver module.
4. A method for discovering a radio frequency transceiver module, applied to a terminal, the method comprising:
the terminal receives key information of a second radio frequency transceiver module sent by an Access Point (AP) on a first channel, wherein the AP is provided with the second radio frequency transceiver module, the key information of the second radio frequency transceiver module comprises information of a working channel of the second radio frequency transceiver module and Basic Service Set Identification (BSSID) of the second radio frequency transceiver module, and the first channel is a channel different from the working channel of the second radio frequency transceiver module;
and the terminal obtains a Basic Service Set Identification (BSSID) of the second radio frequency transceiver module and a working channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module, and associates the BSSID of the second radio frequency transceiver module with the second radio frequency transceiver module on the working channel of the second radio frequency transceiver module according to the BSSID of the second radio frequency transceiver module.
5. The method of claim 4, wherein the key information of the second radio frequency transceiver module further includes a Service Set Identifier (SSID) of the second radio frequency transceiver module, and after the terminal obtains the operating channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module, the method further comprises:
when the SSID of the second radio frequency transceiver module is the same as the preset SSID, the terminal scans a working channel of the second radio frequency transceiver module;
and when the SSID of the second radio frequency transceiver module is different from a preset SSID, the terminal displays the SSID of the second radio frequency transceiver module, and when the terminal detects a selection instruction aiming at the SSID of the second radio frequency transceiver module, a working channel of the second radio frequency transceiver module is scanned.
6. The method as claimed in claim 4, wherein after the terminal obtains the operating channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module, the method further comprises:
the terminal acquires a signal interference indicated value of the first channel;
and when the signal interference indicated value of the first channel is smaller than a first threshold value, the terminal scans the working channel of the second radio frequency transceiver module.
7. The method of claim 6, wherein the signal-to-interference indicator value for the first channel is a signal-to-noise ratio for the first channel; alternatively, the first and second electrodes may be,
the signal interference indication value of the first channel is a Received Signal Strength Indication (RSSI) value of a first radio frequency transceiver module installed in the AP, and the working channel of the first radio frequency transceiver module is the first channel.
8. The method as claimed in claim 4, wherein the first channel is an operating channel of a first radio frequency transceiver module installed in the AP, and the method further comprises, after the terminal obtains the operating channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module:
the terminal acquires an RSSI value of the first radio frequency transceiver module;
when the RSSI value of the first radio frequency transceiver module is smaller than a first threshold value, the terminal acquires a transmission power difference value, wherein the transmission power difference value is obtained by subtracting the transmission power value of the second radio frequency transceiver module from the transmission power value of the first radio frequency transceiver module;
and when the transmitting power difference is smaller than a second threshold value, the terminal scans a working channel of the second radio frequency transceiver module.
9. The method of claim 8, wherein the key information of the second radio frequency transceiver module further includes a transmission power value of the second radio frequency transceiver module, and the obtaining of the transmission power difference by the terminal comprises:
the terminal acquires the transmitting power value of the first radio frequency transceiver module;
and the terminal subtracts the transmitting power value of the second radio frequency transceiver module from the transmitting power value of the first radio frequency transceiver module to obtain the transmitting power difference value.
10. The method of claim 8, wherein the key information of the second radio frequency transceiver module further includes the transmission power difference, and the obtaining of the transmission power difference by the terminal comprises:
and the terminal acquires the transmitting power difference from the key information of the second radio frequency transceiver module.
11. The method as claimed in claim 4, wherein the first channel is an operating channel of a first radio frequency transceiver module installed in the AP, and the method further comprises, after the terminal obtains the operating channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module:
the terminal acquires a transmission power difference value and an RSSI value of the first radio frequency transceiver module, wherein the transmission power difference value is obtained by subtracting a transmission power value of the second radio frequency transceiver module from a transmission power value of the first radio frequency transceiver module;
the terminal subtracts the transmission power difference value from the RSSI value of the first radio frequency transceiver module to obtain a reference RSSI value;
the terminal determines the reference RSSI value as the RSSI value of the second radio frequency transceiver module;
when the terminal acquires the RSSI value of the radio frequency transceiver module installed in at least one other AP except the AP, if the RSSI value of the radio frequency transceiver module installed in the at least one other AP is smaller than the RSSI value of the second radio frequency transceiver module, the terminal scans the working channel of the second radio frequency transceiver module.
12. The method as claimed in claim 4, wherein the key information of the second rf transceiver module further includes a load level value of the second rf transceiver module, and after the terminal obtains the operating channel of the second rf transceiver module from the key information of the second rf transceiver module, the method further includes:
when the terminal acquires the load degree values of the radio frequency transceiver modules installed in at least one other AP except the AP, if the load degree values of the radio frequency transceiver modules installed in the at least one other AP are all larger than the load degree value of the second radio frequency transceiver module, the terminal scans the working channel of the second radio frequency transceiver module.
13. The method as claimed in claim 4, wherein the key information of the second rf transceiver module further includes priority association indication information, and after the terminal obtains the operating channel of the second rf transceiver module from the key information of the second rf transceiver module, the method further includes:
when the priority association indication information is used for indicating the AP to preferentially use the working frequency band where the working channel of the second radio frequency transceiver module is located to provide access service, if the terminal is not associated with any radio frequency transceiver module, switching to the working frequency band where the working channel of the second radio frequency transceiver module is located; when the priority association indication information is used for indicating the AP to preferentially use the working frequency band where the working channel of the second radio frequency transceiver module is located to provide roaming service, if the terminal is associated with the radio frequency transceiver module, switching to the working frequency band where the working channel of the second radio frequency transceiver module is located; when the priority association indication information is used for indicating that the AP preferentially uses the working frequency band where the working channel of the radio frequency transceiver module associated with the terminal is located to provide roaming service, if the terminal is associated with the radio frequency transceiver module and the working frequency band where the working channel of the radio frequency transceiver module associated with the terminal is located is the same as the working frequency band where the working channel of the second radio frequency transceiver module is located, the AP resides in the working frequency band where the working channel of the second radio frequency transceiver module is located;
and the terminal scans the working frequency band of the working channel of the second radio frequency transceiver module.
14. The method of claim 4, wherein the key information of the second radio frequency transceiver module further includes roaming manner indication information, the roaming manner indication information is used to indicate a roaming manner supported by the AP on an operating frequency band where an operating channel of the second radio frequency transceiver module is located, and after the terminal obtains the operating channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module, the method further includes:
when the roaming mode supported by the terminal comprises the roaming mode supported by the AP on the working frequency band where the working channel of the second radio frequency transceiver module is located, the terminal is switched to the working frequency band where the working channel of the second radio frequency transceiver module is located;
and the terminal scans the working frequency band of the working channel of the second radio frequency transceiver module.
15. The method according to claim 13 or 14, wherein after the terminal scans an operating frequency band in which an operating channel of the second radio frequency transceiver module is located, the method further includes:
when the terminal scans BSSID and working channel of each radio frequency transceiver module in a plurality of radio frequency transceiver modules, RSSI value of each radio frequency transceiver module in the plurality of radio frequency transceiver modules is obtained;
the terminal determines the radio frequency transceiver module with the maximum RSSI value in the plurality of radio frequency transceiver modules as a target radio frequency transceiver module;
the terminal is switched to a working channel of the target radio frequency transceiver module;
and the terminal associates with the target radio frequency transceiver module according to the BSSID of the target radio frequency transceiver module.
16. An apparatus for discovering an rf transceiver module, the apparatus being applied to an AP, the AP having a first rf transceiver module and a second rf transceiver module installed therein, the apparatus comprising:
an obtaining module, configured to obtain key information of the second radio frequency transceiver module, where the key information of the second radio frequency transceiver module includes information of a working channel of the second radio frequency transceiver module and a basic service set identifier BSSID of the second radio frequency transceiver module, and the working channel of the second radio frequency transceiver module is different from the working channel of the first radio frequency transceiver module;
a sending module, configured to send, to a terminal through the first radio frequency transceiver module, key information of the second radio frequency transceiver module, where the key information of the second radio frequency transceiver module is used for the terminal to obtain a BSSID of the second radio frequency transceiver module and a working channel of the second radio frequency transceiver module, and to perform association with the second radio frequency transceiver module according to the BSSID of the second radio frequency transceiver module on the working channel of the second radio frequency transceiver module.
17. The apparatus of claim 16,
the key information of the second radio frequency transceiver module further includes at least one of priority association indication information, roaming mode indication information, a Service Set Identifier (SSID) of the second radio frequency transceiver module, a transmission power value of the second radio frequency transceiver module, or a load level value of the second radio frequency transceiver module;
the priority association indication information is used for indicating the AP to preferentially use the working frequency band where the working channel of the second radio frequency transceiver module is located to provide access service, and/or indicating the AP to preferentially use the working frequency band where the working channel of the second radio frequency transceiver module is located to provide roaming service, and/or indicating the AP to preferentially use the working frequency band where the working channel of the radio frequency transceiver module associated with the terminal is located to provide roaming service, and the roaming mode indication information is used for indicating the roaming mode supported by the AP on the working frequency band where the working channel of the second radio frequency transceiver module is located.
18. The apparatus of claim 16 or 17, wherein the sending module is to:
and sending a broadcast message or a unicast message to the terminal through the first radio frequency transceiver module, wherein the broadcast message or the unicast message carries key information of the second radio frequency transceiver module.
19. An apparatus for discovering an rf transceiver module, the apparatus being applied to a terminal, the apparatus comprising:
a receiving module, configured to receive key information of a second radio frequency transceiver module sent by an access point AP on a first channel, where the second radio frequency transceiver module is installed in the AP, the key information of the second radio frequency transceiver module includes information of a working channel of the second radio frequency transceiver module and a basic service set identifier BSSID of the second radio frequency transceiver module, and the first channel is a channel different from the working channel of the second radio frequency transceiver module;
the first obtaining module is configured to obtain a BSSID of the second radio frequency transceiver module and a working channel of the second radio frequency transceiver module from the key information of the second radio frequency transceiver module, and associate the BSSID of the second radio frequency transceiver module with the second radio frequency transceiver module on the working channel of the second radio frequency transceiver module according to the BSSID of the second radio frequency transceiver module.
20. The apparatus of claim 19, wherein the key information of the second radio frequency transceiver module further comprises a Service Set Identification (SSID) of the second radio frequency transceiver module, the apparatus further comprising:
the scanning module is used for scanning a working channel of the second radio frequency transceiver module when the SSID of the second radio frequency transceiver module is the same as a preset SSID;
the scanning module is further configured to display the SSID of the second radio frequency transceiver module when the SSID of the second radio frequency transceiver module is different from a preset SSID, and scan a working channel of the second radio frequency transceiver module when the terminal detects a selection instruction for the SSID of the second radio frequency transceiver module.
21. The apparatus of claim 19, wherein the apparatus further comprises:
a second obtaining module, configured to obtain a signal interference indicator value of the first channel;
and a scanning module, configured to scan a working channel of the second radio frequency transceiver module when the sir value of the first channel is smaller than a first threshold.
22. The apparatus of claim 21, wherein the sir value for the first channel is a snr for the first channel; alternatively, the first and second electrodes may be,
the signal interference indication value of the first channel is a Received Signal Strength Indication (RSSI) value of a first radio frequency transceiver module installed in the AP, and the working channel of the first radio frequency transceiver module is the first channel.
23. The apparatus of claim 19, wherein the first channel is an operating channel of a first radio transceiver module installed in the AP, the apparatus further comprising:
a third obtaining module, configured to obtain an RSSI value of the first radio frequency transceiver module;
a fourth obtaining module, configured to obtain a transmission power difference value when the RSSI value of the first radio frequency transceiver module is smaller than a first threshold, where the transmission power difference value is obtained by subtracting the transmission power value of the second radio frequency transceiver module from the transmission power value of the first radio frequency transceiver module;
and the scanning module is used for scanning the working channel of the second radio frequency transceiver module when the transmitting power difference value is smaller than a second threshold value.
24. The apparatus of claim 19, wherein the first channel is an operating channel of a first radio transceiver module installed in the AP, the apparatus further comprising:
a fifth obtaining module, configured to obtain a transmission power difference and an RSSI value of the first radio frequency transceiver module, where the transmission power difference is obtained by subtracting a transmission power value of the second radio frequency transceiver module from a transmission power value of the first radio frequency transceiver module;
the first calculation module is used for subtracting the transmission power difference value from the RSSI value of the first radio frequency transceiver module to obtain a reference RSSI value;
a first determining module, configured to determine the reference RSSI value as an RSSI value of the second radio frequency transceiver module;
a scanning module, configured to scan a working channel of the second radio frequency transceiver module if the RSSI value of the radio frequency transceiver module installed in at least one other AP is smaller than the RSSI value of the second radio frequency transceiver module when the terminal acquires the RSSI value of the radio frequency transceiver module installed in the at least one other AP except the AP.
25. The apparatus of claim 19, wherein the key information of the second radio frequency transceiver module further comprises a load level value of the second radio frequency transceiver module, the apparatus further comprising:
and the scanning module is used for scanning a working channel of the second radio frequency transceiver module if the load degree values of the radio frequency transceiver modules installed in at least one other AP except the AP are all larger than the load degree value of the second radio frequency transceiver module when the terminal acquires the load degree value of the radio frequency transceiver module installed in the at least one other AP.
26. The apparatus of claim 19, wherein the key information of the second radio frequency transceiver module further comprises priority association indication information, the apparatus further comprising:
a switching resident module, configured to switch to a working frequency band where a working channel of the second radio frequency transceiver module is located if the terminal is not associated with any radio frequency transceiver module when the priority association indication information is used to indicate that the AP preferentially uses the working frequency band where the working channel of the second radio frequency transceiver module is located to provide an access service; when the priority association indication information is used for indicating the AP to preferentially use the working frequency band where the working channel of the second radio frequency transceiver module is located to provide roaming service, if the terminal is associated with the radio frequency transceiver module, switching to the working frequency band where the working channel of the second radio frequency transceiver module is located; when the priority association indication information is used for indicating that the AP preferentially uses the working frequency band where the working channel of the radio frequency transceiver module associated with the terminal is located to provide roaming service, if the terminal is associated with the radio frequency transceiver module and the working frequency band where the working channel of the radio frequency transceiver module associated with the terminal is located is the same as the working frequency band where the working channel of the second radio frequency transceiver module is located, the AP resides in the working frequency band where the working channel of the second radio frequency transceiver module is located;
and the scanning module is used for scanning the working frequency band where the working channel of the second radio frequency transceiver module is located.
27. The apparatus of claim 19, wherein the key information of the second radio frequency transceiver module further includes roaming manner indication information, the roaming manner indication information is used to indicate a roaming manner supported by the AP on an operating frequency band where an operating channel of the second radio frequency transceiver module is located, the apparatus further includes:
the first switching module is used for switching to the working frequency band of the working channel of the second radio frequency transceiver module when the roaming mode supported by the terminal comprises the roaming mode supported by the AP on the working frequency band of the working channel of the second radio frequency transceiver module;
and the scanning module is used for scanning the working frequency band where the working channel of the second radio frequency transceiver module is located.
28. The apparatus of claim 26 or 27, wherein the apparatus further comprises:
a sixth obtaining module, configured to obtain, when the terminal scans a BSSID and a working channel of each of the multiple radio frequency transceiver modules, an RSSI value of each of the multiple radio frequency transceiver modules;
a seventh obtaining module, configured to determine, as a target radio frequency transceiver module, a radio frequency transceiver module with a largest RSSI value among the multiple radio frequency transceiver modules;
the second switching module is used for switching to a working channel of the target radio frequency transceiver module;
and the second association module is used for associating with the target radio frequency transceiver module according to the BSSID of the target radio frequency transceiver module.
CN201910345395.1A 2019-04-26 2019-04-26 Channel discovery method and device Active CN111866990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910345395.1A CN111866990B (en) 2019-04-26 2019-04-26 Channel discovery method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910345395.1A CN111866990B (en) 2019-04-26 2019-04-26 Channel discovery method and device

Publications (2)

Publication Number Publication Date
CN111866990A CN111866990A (en) 2020-10-30
CN111866990B true CN111866990B (en) 2022-01-11

Family

ID=72951435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910345395.1A Active CN111866990B (en) 2019-04-26 2019-04-26 Channel discovery method and device

Country Status (1)

Country Link
CN (1) CN111866990B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686881A (en) * 2012-09-11 2014-03-26 华为技术有限公司 Method, equipment and system for channel switching
CN104811923A (en) * 2015-04-01 2015-07-29 杭州华三通信技术有限公司 Wireless roaming method and device
CN105323826A (en) * 2014-07-29 2016-02-10 ***通信集团公司 Wireless local area network access method, access point and terminal
WO2017004180A2 (en) * 2015-06-29 2017-01-05 Qualcomm Incorporated Coexistence over a shared band with dual antenna sharing
CN106922013A (en) * 2015-12-24 2017-07-04 华为技术有限公司 With the method for the WAP and drop low signal interference of frequency range dijection frequency module

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686881A (en) * 2012-09-11 2014-03-26 华为技术有限公司 Method, equipment and system for channel switching
CN105323826A (en) * 2014-07-29 2016-02-10 ***通信集团公司 Wireless local area network access method, access point and terminal
CN104811923A (en) * 2015-04-01 2015-07-29 杭州华三通信技术有限公司 Wireless roaming method and device
WO2017004180A2 (en) * 2015-06-29 2017-01-05 Qualcomm Incorporated Coexistence over a shared band with dual antenna sharing
CN106922013A (en) * 2015-12-24 2017-07-04 华为技术有限公司 With the method for the WAP and drop low signal interference of frequency range dijection frequency module

Also Published As

Publication number Publication date
CN111866990A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
US10880795B2 (en) Method for handover between access points, and terminal equipment
US11910300B2 (en) Communication method and apparatus
US10159031B2 (en) Access point, station, and beacon frame sending method and system
US11382106B2 (en) Network symbol display for dual connectivity networks
CN111654850A (en) Roaming method and communication device for wireless local area network
WO2017076255A1 (en) Method for balancing load of wireless network, network equipment, and terminal equipment
US20230180112A1 (en) Access control method and apparatus, and communication device
US20230102644A1 (en) Signaling information exchange method and communication apparatus in wireless local area network
US10356698B2 (en) Method and apparatus for fast scanning for wireless LAN AP search having low network load
US20230148056A1 (en) Request and Response Method for Probing MLD, Station, and Access Point
EP4274293A1 (en) Wifi scan control method and related device
US11838848B2 (en) Multi-link device probing method and communication apparatus
US10880770B2 (en) Method and apparatus for managing quality of wireless LAN
US20230337128A1 (en) Network selection method and apparatus, device, and storage medium
US20230232268A1 (en) Measurement method, measurement apparatus, terminal, and network device
US20230164681A1 (en) Access control method and apparatus, terminal, and network device
CN111866990B (en) Channel discovery method and device
CN114071640A (en) Communication method, device and system in wireless local area network
US20210084503A1 (en) Remote management of displayed network technology symbols
WO2022022685A1 (en) Access control method, terminal, and network side device
WO2022033091A1 (en) Method for accessing base station by means of terminal, and base station, terminal and communication system
WO2020048360A1 (en) Service identifier display control method and apparatus
JP6659042B2 (en) Communication device, communication system, communication control method, and communication control program
CN114760655B (en) Method, device, product, medium and equipment for triggering pilot frequency measurement
CN114258011B (en) Information sending method, information receiving method, information sending device, information receiving device and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant