CN108156272B - Associated frequency band determination method and device and electronic equipment - Google Patents

Associated frequency band determination method and device and electronic equipment Download PDF

Info

Publication number
CN108156272B
CN108156272B CN201711310481.6A CN201711310481A CN108156272B CN 108156272 B CN108156272 B CN 108156272B CN 201711310481 A CN201711310481 A CN 201711310481A CN 108156272 B CN108156272 B CN 108156272B
Authority
CN
China
Prior art keywords
frequency band
determining
information
mac address
terminal device
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
CN201711310481.6A
Other languages
Chinese (zh)
Other versions
CN108156272A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711310481.6A priority Critical patent/CN108156272B/en
Publication of CN108156272A publication Critical patent/CN108156272A/en
Application granted granted Critical
Publication of CN108156272B publication Critical patent/CN108156272B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/106Mapping addresses of different types across networks, e.g. mapping telephone numbers to data network addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Abstract

The disclosure relates to a method, a device and an electronic device for determining a related frequency band, wherein the method comprises the following steps: determining a Media Access Control (MAC) address of the terminal equipment; determining equipment information corresponding to an MAC address by inquiring the corresponding relation between the pre-stored MAC address and the equipment information; and determining the associated frequency band of the terminal equipment according to the equipment information. According to the technical scheme, the associated frequency band of the terminal equipment can be determined according to the pre-stored equipment information, and the equipment information is considered in the process of determining the associated frequency band, so that the intelligence of the associated frequency band determination scheme can be improved, the success rate of information transmission is improved, and the internet surfing experience of a user is improved.

Description

Associated frequency band determination method and device and electronic equipment
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method and an apparatus for determining an associated frequency band, and an electronic device.
Background
There are two main types of devices in WLAN networks: one is an Access Point (AP), and the other is a wireless terminal device (STA) (e.g., a computer, a mobile phone, a pad, and other terminal devices with WLAN function).
In the related art, most APs and STAs support both 2.4G and 5G bands. Since the 2.4G band has a low rate and large interference, and the 5G band has a high rate and small interference, the AP recommends the 5G band for the STA under normal conditions. However, in some cases, for example, the load of the 5G band is too high, or the load of the 2.4G band is low or the signal is weak, the 2.4G band can provide better internet experience due to low speed and high transmission success rate. Therefore, the related frequency band determining method in the related art has a low intelligence level, cannot ensure that the terminal device is related to a frequency band with good performance, and affects user experience.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a method and an apparatus for determining a related frequency band, and an electronic device, so as to solve the disadvantages in the related art.
According to a first aspect of the embodiments of the present disclosure, a method for determining an associated frequency band is provided, including:
determining a Media Access Control (MAC) address of the terminal equipment;
determining equipment information corresponding to an MAC address by inquiring the corresponding relation between the pre-stored MAC address and the equipment information;
and determining the associated frequency band of the terminal equipment according to the equipment information.
In an embodiment, before the determining, by querying a correspondence between a pre-stored MAC address and device information, device information corresponding to the MAC address, the method further includes:
receiving a detection message which is sent by terminal equipment and used for detecting a wireless local area network;
determining the MAC address and the equipment information of the terminal equipment according to the detection message;
and if the corresponding relation between the MAC address and the equipment information is not locally stored, storing the corresponding relation.
In an embodiment, the method further comprises:
and if the corresponding relation between the MAC address and the equipment information which is locally stored is determined, updating the corresponding relation which is locally stored based on the currently determined corresponding relation between the MAC address and the equipment information.
In an embodiment, the device information includes association capability information of at least one frequency band, which is provided by the terminal device;
the determining the associated frequency band of the terminal device according to the device information includes:
and if the terminal equipment is determined to only have the association capability of the first frequency band based on the association capability information, determining the first frequency band as the association frequency band of the terminal equipment.
In an embodiment, the device information further includes a signal strength of at least one frequency band of the terminal device;
the determining the associated frequency band of the terminal device according to the device information further includes:
and if the terminal equipment is determined to have the association capability of a second frequency band based on the association capability information and the signal intensity of the second frequency band is determined to exceed a preset intensity threshold, determining the second frequency band as the association frequency band of the terminal equipment.
In an embodiment, the method further comprises:
and if the signal intensity of the second frequency band is determined not to exceed a preset intensity threshold, determining the first frequency band as the associated frequency band of the terminal equipment.
In an embodiment, the method further comprises:
and if the current network flow of the terminal equipment is determined to be smaller than a preset flow threshold value, the step of determining the second frequency band as the associated frequency band of the terminal equipment is executed.
In an embodiment, the determining the MAC address of the terminal device includes:
before associating with a terminal device, receiving an association request sent by the terminal device for associating with a wireless local area network;
and determining the Media Access Control (MAC) address of the terminal equipment according to the association request.
In an embodiment, the determining the MAC address of the terminal device includes:
and after the terminal equipment is associated, acquiring the MAC address of the terminal equipment based on a preset period.
According to a second aspect of the embodiments of the present disclosure, there is provided an associated frequency band determining apparatus, including:
the device address determining module is used for determining a Media Access Control (MAC) address of the terminal device;
the device information determining module is used for determining the device information corresponding to the MAC address by inquiring the corresponding relation between the pre-stored MAC address and the device information;
and the associated frequency band determining module is used for determining the associated frequency band of the terminal equipment according to the equipment information.
In one embodiment, the apparatus further comprises: a corresponding relation storage module;
the correspondence storage module includes:
a detection message receiving unit, configured to receive a detection message sent by a terminal device and used for detecting a wireless local area network;
an address information determining unit, configured to determine an MAC address and device information of the terminal device according to the detection packet;
and the corresponding relation storage unit is used for storing the corresponding relation when the corresponding relation between the MAC address and the equipment information is not locally stored.
In one embodiment, the correspondence relation storage module further includes:
and the corresponding relation updating unit is used for updating the locally stored corresponding relation based on the currently determined corresponding relation between the MAC address and the equipment information when the corresponding relation between the MAC address and the equipment information is determined to be locally stored.
In an embodiment, the device information includes association capability information of at least one frequency band, which is provided by the terminal device;
the associated frequency band determining module further comprises:
a first frequency band determining unit, configured to determine, when it is determined based on the association capability information that the terminal device only has an association capability of a first frequency band, the first frequency band as an associated frequency band of the terminal device.
In an embodiment, the device information further includes a signal strength of at least one frequency band of the terminal device;
the associated frequency band determining module further comprises:
and a second frequency band determining unit, configured to determine the second frequency band as the associated frequency band of the terminal device when it is determined that the terminal device further has an associated capability of the second frequency band based on the associated capability information, and it is determined that the signal strength of the second frequency band exceeds a preset strength threshold.
In an embodiment, the first frequency band determining unit is further configured to determine the first frequency band as the associated frequency band of the terminal device when it is determined that the signal strength of the second frequency band does not exceed a preset strength threshold.
In an embodiment, the second frequency band determining unit is further configured to execute the step of determining the second frequency band as the associated frequency band of the terminal device when it is determined that the current network traffic of the terminal device is smaller than a preset traffic threshold.
In one embodiment, the device address determination module includes:
an association request receiving unit, configured to receive, before associating with a terminal device, an association request for associating with a wireless local area network sent by the terminal device;
and the first address determining unit is used for determining the media access control MAC address of the terminal equipment according to the association request.
In one embodiment, the device address determination module includes:
a second address determination unit configured to acquire, after associating with a terminal device, a MAC address of the terminal device based on a preset period.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to:
determining a Media Access Control (MAC) address of the terminal equipment;
determining equipment information corresponding to an MAC address by inquiring the corresponding relation between the pre-stored MAC address and the equipment information;
and determining the associated frequency band of the terminal equipment according to the equipment information.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when processed by a processor, implements:
determining a Media Access Control (MAC) address of the terminal equipment;
determining equipment information corresponding to an MAC address by inquiring the corresponding relation between the pre-stored MAC address and the equipment information;
and determining the associated frequency band of the terminal equipment according to the equipment information.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the embodiment, the media access control MAC address of the terminal device is determined, the corresponding relation between the pre-stored MAC address and the device information is inquired, the device information corresponding to the MAC address is determined, the associated frequency band of the terminal device is determined according to the device information, the associated frequency band of the terminal device can be determined according to the pre-stored device information, and the device information is considered in the process of determining the associated frequency band, so that the intelligence of the associated frequency band determination scheme can be improved, the success rate of information transmission is improved, and the internet surfing experience of a user is improved. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method for determining an associated frequency band according to an exemplary embodiment;
fig. 2 is a flow chart illustrating a method of associated frequency band determination according to yet another exemplary embodiment;
fig. 3 is a flow chart illustrating a method of associated frequency band determination in accordance with yet another exemplary embodiment;
fig. 4 is a flow chart illustrating a method of associated frequency band determination in accordance with yet another exemplary embodiment;
FIG. 5 is a flow diagram illustrating how the MAC address of a terminal device is determined in accordance with an illustrative embodiment;
fig. 6 is a flow chart illustrating a method of associated frequency band determination in accordance with yet another exemplary embodiment;
fig. 7 is a schematic view of an application scenario of a method for determining an associated frequency band according to an exemplary embodiment;
fig. 8 is a block diagram illustrating an associated frequency band determination apparatus according to an example embodiment;
fig. 9 is a block diagram illustrating an associated frequency band determining apparatus according to yet another exemplary embodiment;
FIG. 10 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flow chart illustrating a method for determining an associated frequency band according to an exemplary embodiment; the embodiment may be applied to a wireless local area network, and the execution subject of the embodiment may be an access point AP in the wireless local area network, as shown in fig. 1, the method includes the following steps S11-S13:
in step S11, the media access control MAC address of the terminal device is determined.
In an embodiment, the wireless access point AP determines the MAC address of the terminal device STA in a preset manner.
The MAC (Media Access Control) address is translated into a Media Access Control, or a physical address or a hardware address, which is used to define the location of the network device. In the OSI model, a third layer network layer is responsible for IP addresses and a second layer data link layer is responsible for MAC addresses. Thus, a STA will have a MAC address and each network location will have an IP address specific to it.
In an embodiment, the preset manner for determining the MAC address may refer to the embodiments shown in fig. 6 and fig. 7, which will not be described in detail herein.
In step S12, the device information corresponding to the MAC address is determined by inquiring the correspondence between the MAC address and the device information stored in advance.
In an embodiment, after determining the MAC address of the STA, the AP may determine the device information of the STA according to a correspondence between each locally stored MAC address and the device information.
In an embodiment, the device information may include association capability information of each frequency band that the STA has, signal strength of each frequency band of the STA, and the like.
In step S13, the associated frequency band of the terminal device is determined according to the device information.
In an embodiment, after determining the device information of the STA, the AP may determine the associated frequency band of the STA according to the device information.
In an embodiment, the AP may recommend the determined associated frequency band to the STA for association before associating with the STA; alternatively, the AP may adjust the frequency band currently associated with the STA based on the determined associated frequency band after associating with the STA.
As can be seen from the foregoing embodiments, in the embodiments of the present disclosure, by determining a media access control MAC address of a terminal device, and by querying a correspondence between a pre-stored MAC address and device information, determining device information corresponding to the MAC address, and then determining an associated frequency band of the terminal device according to the device information, it is possible to determine the associated frequency band of the terminal device according to the pre-stored device information, and because the device information is considered in determining the associated frequency band, intelligence of an associated frequency band determination scheme can be improved, and thus information transmission success rate is improved, and user experience on internet is improved.
Fig. 2 is a flow chart illustrating a method of associated frequency band determination according to yet another exemplary embodiment; the embodiment may be applied to a wireless local area network, and the execution subject of the embodiment may be an access point AP in the wireless local area network, as shown in fig. 2, the method includes the following steps S21-S26:
in step S21, a detection message sent by the terminal device for detecting the wireless local area network is received.
In an embodiment, the detection message may be a Probe Request frame.
In an embodiment, when the STA accesses a Wireless Local Area Network (WLAN) through an active scanning mode, the AP receives a Probe Request frame sent by the STA.
In an embodiment, the AP may receive Probe Request frames transmitted by the STA in one or more frequency bands.
In step S21, the MAC address and the device information of the terminal device are determined according to the detection packet.
In an embodiment, the AP may determine the MAC address of the terminal device and corresponding device information through the received Probe Request frame.
In an embodiment, if the AP receives the Probe Request frame, the MAC address of the STA carried in the message may be determined.
In an embodiment, the device information includes frequency band association capability, signal strength information, and the like. For example, if the AP can receive the Probe Request frame of the STA in the 5G band, it indicates that the STA has the 5G band capability; similarly, if the AP can receive the Probe Request frame of the STA in the 2.4G band, it indicates that the STA has the 2.4G band capability.
In an embodiment, the AP may determine the signal strength of the STA that transmits the Probe Request frame based on a built-in chip.
In step S23, it is determined whether the correspondence between the MAC address and the device information has been stored locally.
In an embodiment, the STA may determine a correspondence between the MAC address of the STA and the device information according to the Probe Request frame.
For example, the STA may store a corresponding table, and each entry of the table may include a MAC address of the STA, 2.4G signal strength RSSI _ G, 2.4G Band capability Band _ G, 5G signal strength RSSI _ a, and 5G Band capability Band _ a.
In step S24, if it is determined that the correspondence between the MAC address and the device information is not locally stored, the correspondence is stored.
In an embodiment, after determining a correspondence between an MAC address and device information according to a received Probe Request frame of a 2.4G Band, the AP queries the correspondence table, and if the entry does not exist (for example, signal strength information and Band capability information corresponding to the MAC do not exist), a new entry is created and the MAC address, the 2.4G signal strength RSSI _ G, and the 2.4G Band capability Band _ G are filled; similarly, after determining the corresponding relationship between the MAC address and the device information according to the received Probe Request frame of the 5G frequency Band, the AP queries the corresponding relationship table, and if the table does not exist, a new table is created and the MAC address, the 5G signal strength RSSI _ a, and the 5G frequency Band capability Band _ a are filled.
In step S25, if it is determined that the correspondence between the MAC address and the device information has been locally stored, the correspondence stored locally is updated.
In an embodiment, after determining a correspondence between an MAC address and device information according to a received Probe Request frame of a 2.4G frequency Band, the AP queries the correspondence table, and if there is the entry (for example, there is signal strength information and frequency Band capability information corresponding to the MAC), updates the entry, for example, updates 2.4G signal strength RSSI _ G and 2.4G frequency Band capability Band _ G in the entry; similarly, after determining the correspondence between the MAC address and the device information according to the received Probe Request frame of the 5G Band, the AP queries the correspondence table, and if the entry exists, updates the entry, for example, updates the 5G signal strength RSSI _ a and the 2.4G Band capability Band _ a in the entry.
In step S26, the media access control MAC address of the terminal device is determined.
In step S27, the device information corresponding to the MAC address is determined by inquiring the correspondence between the MAC address and the device information stored in advance.
In step S28, the associated frequency band of the terminal device is determined according to the device information.
The steps S26-S28 are the same as the steps S11-S13 in the embodiment shown in fig. 1, and are not repeated herein.
As can be seen from the foregoing embodiments, in the embodiments of the present disclosure, by receiving a detection message sent by a terminal device and used for detecting a wireless local area network, and determining an MAC address and device information of the terminal device according to the detection message, when it is determined that a correspondence between the MAC address and the device information is not locally stored, the correspondence is stored, and when it is determined that a correspondence between the MAC address and the device information is locally stored, the correspondence is updated, so that it is possible to subsequently determine device information of the terminal device based on the correspondence, and further determine an associated frequency band according to the device information, which can improve intelligence of an associated frequency band determination scheme, improve a success rate of information transmission, and improve user experience on internet.
Fig. 3 is a flow chart illustrating a method of associated frequency band determination in accordance with yet another exemplary embodiment; the embodiment may be applied to a wireless local area network, and the execution subject of the embodiment may be an access point AP in the wireless local area network, as shown in fig. 3, the method includes the following steps S31-S36:
in step S31, the media access control MAC address of the terminal device is determined.
In step S32, the device information corresponding to the MAC address is determined by inquiring the correspondence between the MAC address and the device information stored in advance.
The steps S31-S32 are the same as the steps S11-S12 in the embodiment shown in fig. 1, and are not repeated herein.
In step S33, determining whether the terminal device has only the association capability of the first frequency band; if yes, go to step S34; if not, go to step S35;
in an embodiment, the AP may determine association capabilities of all frequency bands possessed by the STA to determine whether the STA possesses only the association capabilities of the current frequency band (i.e., the first frequency band).
For example, if the current AP receives a Probe Request frame of the STA in a first frequency band (e.g., 2.4G frequency band), and determines the MAC address of the STA based on the Probe Request frame, the corresponding relationship between the MAC and the device information stored in advance may be queried to determine the association capability of all frequency bands possessed by the STA. If the AP determines that the association capability of the 5G band does not exist in the pre-stored correspondence, it may determine that the STA only has the association capability of the 2.4G band, and determine that the STA only has the association capability of the first band.
In step S34, the first frequency band is determined as the associated frequency band of the terminal device.
In an embodiment, if the AP determines that the STA has only the association capability of the first frequency band, the AP may determine the first frequency band as the association frequency band of the STA.
In step S35, determining whether the signal strength of the second frequency band exceeds a preset strength threshold; if yes, go to step S36; if not, step S34 is executed.
In an embodiment, if the current AP receives a Probe Request frame of the STA in a first frequency band (e.g., a 2.4G frequency band), and determines the MAC address of the STA based on the Probe Request frame, the current AP may query a correspondence between a MAC stored in advance and device information to determine the association capability of all frequency bands possessed by the STA. If the AP determines that the association capability of the second frequency band (for example, the 5G frequency band) exists in the pre-stored correspondence, it may be determined that the STA has the association capability of the second frequency band.
In an embodiment, after determining that the STA has the association capability of the second frequency band, it may be further determined whether the signal strength of the second frequency band exceeds a preset strength threshold.
For example, a preset strength threshold may be preset, and after it is determined that the STA has the association capability of the second frequency band, the signal strength of the second frequency band is compared with the preset strength threshold to determine whether the signal strength of the second frequency band exceeds the preset strength threshold.
It should be noted that, reference may be made to related technologies for determining the signal strength of the second frequency band, and this embodiment does not limit this.
In step S36, the second frequency band is determined as the associated frequency band of the terminal device.
In an embodiment, when it is determined that the signal strength of the second frequency band exceeds a preset strength threshold, the second frequency band may be determined as an associated frequency band of the terminal device; and if the signal strength of the second frequency band is determined to be lower than the preset strength threshold, the first frequency band may be determined as the associated frequency band of the terminal device.
It can be known from the foregoing embodiment that, in the embodiment of the present disclosure, by determining whether the terminal device has the association capability of the second frequency band, and when it is determined that the terminal device has the association capability of the second frequency band, determining whether the signal intensity of the second frequency band exceeds the preset intensity threshold, and then when it is determined that the signal intensity of the second frequency band exceeds the preset intensity threshold, determining the second frequency band as the association frequency band of the terminal device, and otherwise, determining the first frequency band as the association frequency band of the terminal device, it is possible to determine the association frequency band of the terminal device according to the signal intensity.
Fig. 4 is a flow chart illustrating a method of associated frequency band determination in accordance with yet another exemplary embodiment; the embodiment may be applied to a wireless local area network, and the execution subject of the embodiment may be an access point AP in the wireless local area network, as shown in fig. 4, the method includes the following steps S41-S48:
in step S41, the media access control MAC address of the terminal device is determined.
In step S42, the device information corresponding to the MAC address is determined by inquiring the correspondence between the MAC address and the device information stored in advance.
In step S43, determining whether the terminal device only has the association capability of the first frequency band, if yes, executing step S44; if not, step S45 is executed.
In step S44, the first frequency band is determined as the associated frequency band of the terminal device.
In step S45, determining whether the signal strength of the second frequency band exceeds a preset strength threshold; if yes, go to step S46; if not, step S44 is executed.
The steps S41-S45 are the same as the steps S31-S35 in the embodiment described in fig. 3, and are not repeated herein.
In step S46, determining whether the current network traffic of the terminal device is smaller than a preset traffic threshold; if yes, go to step S47; otherwise, step S44 is executed.
In an embodiment, when the AP determines that the signal strength of the second frequency band exceeds the preset strength threshold, it may determine the current network traffic of the STA, and compare the network traffic with the preset wave threshold; when it is determined that the network traffic is less than the threshold traffic threshold, performing step S47; if it is determined that the network traffic is greater than or equal to the threshold traffic threshold, step S44 is executed.
It should be noted that, reference may be made to related technologies for determining the network traffic of the terminal device, and this embodiment does not limit this.
In step S47, the second frequency band is determined as the associated frequency band of the terminal device.
As can be seen from the foregoing embodiments, the determining of the associated frequency band of the terminal device according to the signal strength and the network traffic can be implemented by determining whether the terminal device has the associated capability of the second frequency band, determining whether the signal strength of the second frequency band exceeds a preset strength threshold when it is determined that the terminal device has the associated capability of the second frequency band, determining whether the network traffic of the terminal device exceeds a preset traffic threshold when it is determined that the signal strength of the second frequency band exceeds the preset strength threshold, determining the second frequency band as the associated frequency band of the terminal device when it is determined that the network traffic does not exceed the preset traffic threshold, otherwise determining the first frequency band as the associated frequency band of the terminal device, and considering the signal strength of the frequency band and the network traffic of the terminal device in the determining of the associated frequency band, thereby further improving the intelligence of the associated frequency band determining scheme, and then improve information transmission success rate, promote user's experience of surfing the net.
FIG. 5 is a flow diagram illustrating how the MAC address of a terminal device is determined in accordance with an illustrative embodiment; the present embodiment takes how to determine the MAC address of the terminal device as an example on the basis of the above-described embodiments. As shown in fig. 5, the determining the MAC address of the terminal device in the above step S11 may include the following steps S51-S52:
in step S51, before associating with the terminal device, an association request for associating with the wireless local area network sent by the terminal device is received.
In the related art, the association process between the STA and the AP is as follows: the STA first needs to discover a nearby wireless network by scanning, and then sends an inquiry Request Probe Request frame according to the scanning result. The AP should send an Probe Response frame back to the STA. Upon receipt of the Probe Response frame, the STA initiates a link authentication request. And after receiving the association request frame, the AP sends out an association response frame to the STA, so that the whole association process is completed.
In an embodiment, the AP may receive an association request sent by the STA for associating with the wireless local area network before associating with the STA, that is, when the STA does not access the current wireless network.
In step S52, the MAC address of the terminal device is determined according to the association request.
In an embodiment, after the AP receives the association request, the MAC address of the STA may be determined according to the message content of the association request.
As can be seen from the foregoing embodiments, in the embodiments of the present disclosure, before associating with a terminal device, an association request for associating with a wireless local area network sent by the terminal device is received, and a media access control MAC address of the terminal device is determined according to the association request, so that the MAC address of the terminal device can be accurately determined, and a foundation is laid for subsequently querying device information based on the MAC address to determine an associated frequency band of the terminal device.
Fig. 6 is a flow chart illustrating a method of associated frequency band determination in accordance with yet another exemplary embodiment; the embodiment may be applied to a wireless local area network, and the execution subject of the embodiment may be an access point AP in the wireless local area network, as shown in fig. 6, the method includes the following steps S61-S63:
in step S61, after associating with the terminal device, the MAC address of the terminal device is acquired based on a preset period.
In an embodiment, after associating with the STA, that is, when the STA has access to the current wireless network, the AP may acquire the MAC address of the terminal device based on a preset period. For example, the AP may periodically check a pre-stored correspondence table between MAC addresses and device information to obtain the MAC address of the terminal device.
In step S62, the device information corresponding to the MAC address is determined by inquiring the correspondence between the MAC address and the device information stored in advance.
In step S63, the associated frequency band of the terminal device is determined according to the device information.
The steps S62-S63 are the same as the steps S12-S13 in the embodiment shown in fig. 1, and are not repeated herein.
As can be seen from the foregoing embodiments, in the embodiments of the present disclosure, after associating with the terminal device, the media access control MAC address of the terminal device is periodically obtained, which may lay a foundation for subsequently querying device information based on the MAC address to determine an associated frequency band of the terminal device, and further adjust a currently associated frequency band of the terminal device according to the determined associated frequency band, thereby ensuring a success rate of information transmission and improving user experience of surfing the internet.
Fig. 7 is a schematic view of an application scenario of a method for determining an associated frequency band according to an exemplary embodiment; the application scenario involves a wireless access point AP100, a wireless local area network 200, and a terminal device STA 300. As shown in fig. 7, if the wireless access point AP100 receives a Probe Request message sent by the terminal device STA300 in the 2.4G frequency Band, and acquires the MAC address and the device information of the STA300 through the Probe Request message, where the device information includes the signal strength RSSI _ G of the 2.4G frequency Band and the 2.4G frequency Band association capability Band _ G. It should be noted that the AP100 can receive a Probe Request message sent by the STA in the 2.4G frequency Band, which indicates that the STA300 has the frequency Band capability of 2.4G, Band _ G.
Similarly, if the wireless access point AP100 receives the Probe Request message sent by the terminal device STA300 in the 5G frequency Band, and acquires the MAC address and the device information of the STA300 through the Probe Request message, where the device information includes the signal strength RSSI _ G of the 5G frequency Band and the association capability Band _ G of the 5G frequency Band. It should be noted that the AP100 can receive a Probe Request message sent by the STA in the 5G frequency Band, which indicates that the STA300 has the frequency Band capability of 5G, Band _ G.
On this basis, the AP100 may maintain an STA information table of a preset size for recording a correspondence between the MAC address and the device information. Each entry of the STA information table includes a MAC address of the STA, 2.4G signal strength RSSI _ G, 2.4G Band capability Band _ G, 5G signal strength RSSI _ a, and 5G Band capability Band _ a. When the AP100 determines the correspondence between the MAC address and the device information based on the Probe Request message currently received in the 2.4G frequency Band, the STA information table may be queried, and if the information table does not have an entry of the STA (i.e., device information of the 2.4G frequency Band related to the MAC address does not exist), a new entry is created and stored in the MAC address, the 2.4G signal strength RSSI _ G, and the 2.4G frequency Band capability Band _ G; if the entry of the STA exists, the 2.4G signal strength RSSI _ G and the 2.4G Band capability Band _ G of the entry are updated.
Similarly, when the AP100 determines the correspondence between the MAC address and the device information based on the Probe Request message received by the STA entry processing module currently received in the 5G Band, the STA information table may be queried, and if the STA entry does not exist in the information table (i.e., the device information of the 5G Band related to the MAC address does not exist), a new entry is created and stored in the MAC address, the 5G signal strength RSSI _ a, and the 5G Band capability Band _ a; if the entry of the STA exists, the 5G signal strength RSSI _ a and the 5G Band capability Band _ a of the entry are updated.
In an embodiment, if the STA information table is full and there is no new entry, the oldest entry may be aged according to the entry establishment time, that is, the information in the aged STA entry is replaced with the new STA information.
The following takes two cases before the AP associates with the STA and after the AP associates with the STA as examples to describe the association frequency band determination method of the present disclosure, but the present disclosure is not limited thereto.
In the first case: before STA association, if the AP100 receives an association request sent by the STA300 for associating the wireless local area network 200 in a 2.4G frequency band, acquiring an MAC address of the STA300 based on the association request, further traversing the whole prestored STA table entry, inquiring the table entry information of the STA300 according to the MAC address, and further determining whether the STA300 has the association capability of the 5G frequency band based on the table entry information; if the STA300 does not have the 5G capability, the STA300 is directly allowed to associate with the 2.4G frequency band; if 5G band capability is available, further determine the 5G signal strength RSSI _ a of the STA 300. In an embodiment, a threshold of the signal strength may be preset, and if the RSSI _ a is not greater than the threshold, association with the 2.4G frequency band is allowed; if the RSSI _ A is larger than the threshold value, the STA is refused to associate with the 2.4G frequency band, and the STA is recommended to associate with the 5G frequency band.
Similarly, if the AP100 receives an association request for associating with the wireless local area network 200 sent by the STA300 in the 5G frequency band, the AP obtains the MAC address of the STA300 based on the association request, further traverses the whole STA entry stored in advance, queries the entry information of the STA300 according to the MAC address, and further determines whether the STA300 has the association capability of the 2.4G frequency band based on the entry information; if the STA300 does not have the 2.4G capability, the STA300 is directly allowed to associate with the 5G frequency band; if the 2.4G band capability is available, the 2.4G signal strength RSSI _ G of the STA300 is further determined. In an embodiment, a threshold value of the signal strength may be preset, and if the RSSI _ G is not greater than the threshold value, the association of the 5G frequency band is allowed; if the RSSI _ G is larger than the threshold value, the STA is refused to associate with the 5G frequency band, and the STA is recommended to associate with the 2.4G frequency band.
In the second case: after the STA is associated, if the current AP100 and the STA300 are associated in the 2.4G frequency band, the AP100 periodically checks the associated STA300, obtains the MAC address of the STA300, then traverses the whole STA entry stored in advance, queries the entry information of the STA300 according to the MAC address, and further determines whether the STA300 has the 5G capability; if the STA does not have the 5G capability, keeping the state that the STA associates the 2.4G frequency band; if 5G band capability is available, further determine the 5G signal strength RSSI _ a of the STA 300. In an embodiment, a threshold of the signal strength may be preset, and if the RSSI _ a is not greater than the threshold, the STA maintains the state of associating the 2.4G frequency band; in an embodiment, if the RSSI _ a is greater than the threshold value, the current network traffic of the STA may be further determined; in an embodiment, a traffic threshold of the STA300 may be preset, and if the current traffic of the STA300 is not less than the set traffic threshold, the STA maintains the state of associating the 2.4G frequency band; if the current traffic of the STA300 is smaller than the set traffic threshold, the association state between the STA300 and the 2.4G frequency band may be released, the STA re-association may be triggered, a frequency band recommendation procedure may be performed, and the STA300 may be guided to associate to the 5G frequency band.
Similarly, if the current AP100 and the STA300 are associated in the 5G frequency band, the AP100 periodically checks the associated STA300, obtains the MAC address of the STA300, then traverses the whole STA entry stored in advance, queries the entry information of the STA300 according to the MAC address, and further determines whether the STA300 has the 2.4G capability; if the STA does not have the 2.4G capability, the state of the STA associating with the 5G frequency band is maintained; if the 2.4G band capability is available, the 2.4G signal strength RSSI _ G of the STA300 is further determined. In an embodiment, a threshold of the signal strength may be preset, and if the RSSI _ G is not greater than the threshold, the STA keeps the state of associating the 5G frequency band; in an embodiment, if the RSSI _ G is greater than the threshold value, the current network traffic of the STA may be further determined; in an embodiment, a traffic threshold of the STA300 may be preset, and if the current traffic of the STA300 is not less than the set traffic threshold, the STA maintains the state of associating the 5G frequency band; if the current traffic of the STA300 is smaller than the set traffic threshold, the association state between the STA300 and the 5G frequency band may be released, the STA re-association may be triggered, a frequency band recommendation procedure may be performed, and the STA300 may be guided to associate to the 2.4G frequency band.
As can be seen from the above description, in the method for determining an associated frequency band according to the embodiment of the present disclosure, by establishing a table entry for recording STA frequency band capability and signal strength, learning the STA frequency band capability according to a probe request of a receiving STA, performing frequency band recommendation according to the STA frequency band capability and signal strength, and performing frequency band adjustment according to the STA frequency band capability, signal strength, and current flow, an STA having both 5G and 2.4G frequency band capabilities can be guided to associate a 5G frequency band when the signal strength is high, so as to obtain better performance and better user experience; the STA which has the 5G and 2.4G frequency band capabilities can be guided to associate with the 2.4G frequency band when the signal strength is low, so that a better transmission success rate is obtained; other STAs can get better performance.
Fig. 8 is a block diagram illustrating an associated frequency band determination apparatus according to an example embodiment; as shown in fig. 8, the apparatus includes a device address determining module 110, a device information determining module 120, and an associated frequency band determining module 130, where:
a device address determining module 110, configured to determine a media access control MAC address of the terminal device;
a device information determining module 120, configured to determine device information corresponding to a pre-stored MAC address by querying a correspondence between the MAC address and the device information;
an associated frequency band determining module 130, configured to determine an associated frequency band of the terminal device according to the device information.
Fig. 9 is a block diagram illustrating an associated frequency band determining apparatus according to yet another exemplary embodiment; the device address determining module 220, the device information determining module 230, and the associated frequency band determining module 240 have the same functions as the device address determining module 110, the device information determining module 120, and the associated frequency band determining module 130 in the embodiment shown in fig. 8, and are not described herein again. As will be described in relation to figure 9,
in an embodiment, the apparatus may further include: a correspondence storage module 210;
the correspondence relation storing module 210 may include:
a detection message receiving unit 211, configured to receive a detection message sent by a terminal device and used for detecting a wireless local area network;
an address information determining unit 212, configured to determine an MAC address and device information of the terminal device according to the detection packet;
a correspondence storing unit 213, configured to store the correspondence when it is determined that the correspondence between the MAC address and the device information is not locally stored.
In an embodiment, the correspondence relation storing module 210 may further include:
a corresponding relationship updating unit 214, configured to, when determining that the corresponding relationship between the MAC address and the device information has been locally stored, update the locally stored corresponding relationship based on the currently determined corresponding relationship between the MAC address and the device information.
In an embodiment, the device information includes association capability information of at least one frequency band, which is provided by the terminal device;
the associated frequency band determining module 240 may further include:
a first frequency band determining unit 241, configured to determine, when it is determined that the terminal device only has the association capability of the first frequency band based on the association capability information, the first frequency band as the associated frequency band of the terminal device.
In an embodiment, the device information further includes a signal strength of at least one frequency band of the terminal device;
the associated frequency band determining module 240 further includes:
a second frequency band determining unit 242, configured to determine the second frequency band as the associated frequency band of the terminal device when it is determined that the terminal device further has the association capability of the second frequency band based on the association capability information, and it is determined that the signal strength of the second frequency band exceeds a preset strength threshold.
In an embodiment, the first frequency band determining unit 241 may be further configured to determine the first frequency band as the associated frequency band of the terminal device when it is determined that the signal strength of the second frequency band does not exceed a preset strength threshold.
In an embodiment, the second frequency band determining unit 242 may be further configured to, when it is determined that the current network traffic of the terminal device is smaller than a preset traffic threshold, perform the step of determining the second frequency band as the associated frequency band of the terminal device.
In an embodiment, the device address determining module 220 may include:
an association request receiving unit 221, configured to receive, before associating with a terminal device, an association request for associating with a wireless local area network sent by the terminal device;
a first address determining unit 222, configured to determine a media access control MAC address of the terminal device according to the association request.
In an embodiment, the device address determining module 220 may include:
a second address determination unit 223, configured to acquire the MAC address of the terminal device based on a preset period after associating with the terminal device.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 10 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the apparatus 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, the apparatus 900 may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
The processing component 902 generally controls overall operation of the device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing element 902 may include one or more processors 320 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 906 provides power to the various components of device 900. The power components 906 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 900.
The multimedia component 908 comprises a screen providing an output interface between the device 900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when apparatus 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing status assessment of various aspects of the apparatus 900. For example, sensor assembly 914 may detect an open/closed state of device 900, the relative positioning of components, such as a display and keypad of device 900, the change in position of device 900 or a component of device 900, the presence or absence of user contact with device 900, the orientation or acceleration/deceleration of device 900, and the change in temperature of device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communications between the apparatus 900 and other devices in a wired or wireless manner. The apparatus 900 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the associated band determination methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 904 comprising instructions, executable by the processor 320 of the apparatus 900 to perform the associated frequency band determination method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. A method for determining an associated frequency band, comprising:
determining a Media Access Control (MAC) address of the terminal equipment;
determining device information corresponding to an MAC address by inquiring a corresponding relation between the pre-stored MAC address and the device information, wherein the device information comprises association capability information of each frequency band and signal intensity of each frequency band, which are possessed by the terminal device;
determining the associated frequency band of the terminal equipment according to the equipment information;
the determining the associated frequency band of the terminal device according to the device information includes:
if the terminal equipment is determined to only have the association capability of a first frequency band based on the association capability information, determining the first frequency band as the association frequency band of the terminal equipment;
the determining the associated frequency band of the terminal device according to the device information further includes:
and if the terminal equipment is determined to have the association capability of a second frequency band based on the association capability information and the signal intensity of the second frequency band is determined to exceed a preset intensity threshold, determining the second frequency band as the association frequency band of the terminal equipment.
2. The method according to claim 1, wherein before determining the device information corresponding to the MAC address by querying a pre-stored correspondence between the MAC address and the device information, the method further comprises:
receiving a detection message which is sent by terminal equipment and used for detecting a wireless local area network;
determining the MAC address and the equipment information of the terminal equipment according to the detection message;
and if the corresponding relation between the MAC address and the equipment information is not locally stored, storing the corresponding relation.
3. The method of claim 2, further comprising:
and if the corresponding relation between the MAC address and the equipment information which is locally stored is determined, updating the corresponding relation which is locally stored based on the currently determined corresponding relation between the MAC address and the equipment information.
4. The method of claim 1, further comprising:
and if the signal intensity of the second frequency band is determined not to exceed a preset intensity threshold, determining the first frequency band as the associated frequency band of the terminal equipment.
5. The method of claim 1, further comprising:
and if the current network flow of the terminal equipment is determined to be smaller than a preset flow threshold value, the step of determining the second frequency band as the associated frequency band of the terminal equipment is executed.
6. The method of claim 1, wherein determining the Media Access Control (MAC) address of the end device comprises:
before associating with a terminal device, receiving an association request sent by the terminal device for associating with a wireless local area network;
and determining the Media Access Control (MAC) address of the terminal equipment according to the association request.
7. The method of claim 1, wherein determining the Media Access Control (MAC) address of the end device comprises:
and after the terminal equipment is associated, acquiring the MAC address of the terminal equipment based on a preset period.
8. An associated frequency band determining apparatus, comprising:
the device address determining module is used for determining a Media Access Control (MAC) address of the terminal device;
the device information determining module is used for determining device information corresponding to an MAC address by inquiring the corresponding relation between the pre-stored MAC address and the device information, wherein the device information comprises the association capability information of each frequency band and the signal intensity of each frequency band which are possessed by the terminal device;
the associated frequency band determining module is used for determining the associated frequency band of the terminal equipment according to the equipment information;
the associated frequency band determining module further comprises:
a first frequency band determining unit, configured to determine, when it is determined that the terminal device only has an association capability of a first frequency band based on the association capability information, the first frequency band as an associated frequency band of the terminal device;
the associated frequency band determining module further comprises:
and a second frequency band determining unit, configured to determine the second frequency band as the associated frequency band of the terminal device when it is determined that the terminal device further has an associated capability of the second frequency band based on the associated capability information, and it is determined that the signal strength of the second frequency band exceeds a preset strength threshold.
9. The apparatus of claim 8, further comprising: a corresponding relation storage module;
the correspondence storage module includes:
a detection message receiving unit, configured to receive a detection message sent by a terminal device and used for detecting a wireless local area network;
an address information determining unit, configured to determine an MAC address and device information of the terminal device according to the detection packet;
and the corresponding relation storage unit is used for storing the corresponding relation when the corresponding relation between the MAC address and the equipment information is not locally stored.
10. The apparatus of claim 9, wherein the correspondence storage module further comprises:
and the corresponding relation updating unit is used for updating the locally stored corresponding relation based on the currently determined corresponding relation between the MAC address and the equipment information when the corresponding relation between the MAC address and the equipment information is determined to be locally stored.
11. The apparatus of claim 8, wherein the first frequency band determining unit is further configured to determine the first frequency band as the associated frequency band of the terminal device when it is determined that the signal strength of the second frequency band does not exceed a preset strength threshold.
12. The apparatus of claim 8, wherein the second frequency band determining unit is further configured to perform the step of determining the second frequency band as the associated frequency band of the terminal device when it is determined that the current network traffic of the terminal device is smaller than a preset traffic threshold.
13. The apparatus of claim 8, wherein the device address determination module comprises:
an association request receiving unit, configured to receive, before associating with a terminal device, an association request for associating with a wireless local area network sent by the terminal device;
and the first address determining unit is used for determining the media access control MAC address of the terminal equipment according to the association request.
14. The apparatus of claim 8, wherein the device address determination module comprises:
a second address determination unit configured to acquire, after associating with a terminal device, a MAC address of the terminal device based on a preset period.
15. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to:
determining a Media Access Control (MAC) address of the terminal equipment;
determining device information corresponding to an MAC address by inquiring a corresponding relation between the pre-stored MAC address and the device information, wherein the device information comprises association capability information of each frequency band and signal intensity of each frequency band, which are possessed by the terminal device;
determining the associated frequency band of the terminal equipment according to the equipment information;
the determining the associated frequency band of the terminal device according to the device information includes:
if the terminal equipment is determined to only have the association capability of a first frequency band based on the association capability information, determining the first frequency band as the association frequency band of the terminal equipment;
the determining the associated frequency band of the terminal device according to the device information further includes:
and if the terminal equipment is determined to have the association capability of a second frequency band based on the association capability information and the signal intensity of the second frequency band is determined to exceed a preset intensity threshold, determining the second frequency band as the association frequency band of the terminal equipment.
16. A computer-readable storage medium, on which a computer program is stored, which program, when being processed by a processor, is adapted to carry out:
determining a Media Access Control (MAC) address of the terminal equipment;
determining device information corresponding to an MAC address by inquiring a corresponding relation between the pre-stored MAC address and the device information, wherein the device information comprises association capability information of each frequency band and signal intensity of each frequency band, which are possessed by the terminal device;
determining the associated frequency band of the terminal equipment according to the equipment information;
the determining the associated frequency band of the terminal device according to the device information includes:
if the terminal equipment is determined to only have the association capability of a first frequency band based on the association capability information, determining the first frequency band as the association frequency band of the terminal equipment;
the determining the associated frequency band of the terminal device according to the device information further includes:
and if the terminal equipment is determined to have the association capability of a second frequency band based on the association capability information and the signal intensity of the second frequency band is determined to exceed a preset intensity threshold, determining the second frequency band as the association frequency band of the terminal equipment.
CN201711310481.6A 2017-12-11 2017-12-11 Associated frequency band determination method and device and electronic equipment Active CN108156272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711310481.6A CN108156272B (en) 2017-12-11 2017-12-11 Associated frequency band determination method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711310481.6A CN108156272B (en) 2017-12-11 2017-12-11 Associated frequency band determination method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN108156272A CN108156272A (en) 2018-06-12
CN108156272B true CN108156272B (en) 2022-03-01

Family

ID=62466951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711310481.6A Active CN108156272B (en) 2017-12-11 2017-12-11 Associated frequency band determination method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108156272B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113453306B (en) * 2020-03-25 2023-02-03 华为技术有限公司 Wireless network access method and related equipment
CN111741459B (en) * 2020-08-03 2020-12-01 成都极米科技股份有限公司 Multilink terminal and address allocation method thereof, network access equipment and medium
CN114554584A (en) * 2021-12-31 2022-05-27 锐捷网络股份有限公司 Communication method, system, server and wireless access point

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843302A (en) * 2012-09-17 2012-12-26 福建星网锐捷网络有限公司 Terminal access method and device
CN103313350A (en) * 2013-06-24 2013-09-18 京信通信技术(广州)有限公司 Dual-frequency network access method and device, and access point equipment
CN103813410A (en) * 2012-11-15 2014-05-21 深圳国人通信有限公司 Method for controlling access of wireless terminal, and wireless access point
CN106851627A (en) * 2017-02-17 2017-06-13 深圳云盈网络科技有限公司 A kind of frequency spectrum air navigation aid and system
CN106954237A (en) * 2017-05-25 2017-07-14 青岛海信宽带多媒体技术有限公司 A kind of Wi Fi frequency band adaptives changing method and device
EP3203781A1 (en) * 2014-09-30 2017-08-09 Yulong Computer Telecommunication Scientific (Shenzhen) Co. Ltd. Network selection method and apparatus based on communications terminal, and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843302A (en) * 2012-09-17 2012-12-26 福建星网锐捷网络有限公司 Terminal access method and device
CN103813410A (en) * 2012-11-15 2014-05-21 深圳国人通信有限公司 Method for controlling access of wireless terminal, and wireless access point
CN103313350A (en) * 2013-06-24 2013-09-18 京信通信技术(广州)有限公司 Dual-frequency network access method and device, and access point equipment
EP3203781A1 (en) * 2014-09-30 2017-08-09 Yulong Computer Telecommunication Scientific (Shenzhen) Co. Ltd. Network selection method and apparatus based on communications terminal, and terminal
CN106851627A (en) * 2017-02-17 2017-06-13 深圳云盈网络科技有限公司 A kind of frequency spectrum air navigation aid and system
CN106954237A (en) * 2017-05-25 2017-07-14 青岛海信宽带多媒体技术有限公司 A kind of Wi Fi frequency band adaptives changing method and device

Also Published As

Publication number Publication date
CN108156272A (en) 2018-06-12

Similar Documents

Publication Publication Date Title
RU2643494C2 (en) Method and device for network access
JP6186508B2 (en) Network connection method and terminal
US10098166B2 (en) Method and device for wireless connection establishment
CN108123855B (en) Terminal control method and device
WO2022041245A1 (en) Paging cause sending method and apparatus, and paging cause acquisition method and apparatus
CN108965306B (en) Call processing method and mobile terminal
CN106454998B (en) Wireless local area network access method, device and terminal
CN108156272B (en) Associated frequency band determination method and device and electronic equipment
CN107404723B (en) Method and device for accessing base station
WO2020237523A1 (en) Method for determining network switching resource and method for configuring network switching resource
CN107682541B (en) Audio control method for screen projection, mobile terminal and storage medium
WO2022006721A1 (en) Communication method, communication apparatus, and storage medium
CN105657690A (en) Method and device for processing mobile terminal setting information
CN108401511B (en) Method and device for protecting user equipment, user equipment and base station
CN112702803A (en) Channel determination method and device, terminal equipment and computer readable storage medium
CN111654354A (en) Detection method, device and storage medium of Maximum Transmission Unit (MTU)
CN113382474A (en) Method, device and medium for processing paging conflict of dual-card mobile phone
US11218940B2 (en) Cell reselection method and device, and storage medium
CN109309924B (en) Data transmission method and device
CN106658412B (en) Positioning method and device
CN106792570B (en) Positioning method and device
CN114615647A (en) Call control method, device and storage medium
CN113259927B (en) Terminal capability updating method, device and storage medium
CN115052276A (en) Information processing method and device, electronic device and storage medium
CN113170474A (en) Resource allocation method, device, terminal equipment, access network equipment and storage medium

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