Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Embodiments of the present invention may be described with reference to "first," "second," etc. (if any) being used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Station (Station): the terminal equipment supporting the 802.11 protocol can access the internet through the AP. The terminal device may be a Personal Computer (PC) or a mobile terminal, and the mobile terminal may also be referred to as a User Equipment (UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a User terminal, a wireless communication device, a User agent, or a User Equipment. The mobile terminal may be a smartphone, a cellular phone, a cordless phone, a tablet, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication capability or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, etc. In the embodiment of the present invention, the terminal device has an interface for communicating with a Wireless Local Area Network (WLAN). For convenience of description, the following embodiments of the present invention explain an access method of a wireless network of the present invention by a terminal device.
AP: the Station (Station) is provided with a wireless access function based on the 802.11 protocol, and is a bridge of wireless and wired networks, which can also be called as a "hot spot". The working frequency bands of the AP include a 2.4GHz band and a 5GHz band. Wherein, the 2.4GHz frequency band refers to the wireless frequency of 2.4GHz-2.5GHz, and the 5GHz frequency band refers to the wireless frequency of 4.9GHz-5.9 GHz.
The embodiment of the invention divides the accessible APs with the signal quality value larger than the first preset threshold into the first type of APs and the second type of APs by using the attribute of the working frequency band of the APs. For example, the first type of AP is an AP with a signal quality value greater than a first preset threshold in the accessible APs, and the operating frequency band in the AP is a 2.4GHz band, the second type of AP is an AP with a signal quality value greater than a first preset threshold in the accessible APs, and the operating frequency band in the AP is a 5GHz band, or the first type of AP is an AP with a signal quality value greater than a first preset threshold in the accessible APs, and the second type of AP is an AP with a signal quality value greater than a first preset threshold in the accessible APs, and the operating frequency band in the AP is a 2.4GHz band. For convenience of description, the embodiment of the present invention takes as an example that the first type of AP is an AP whose operating frequency band is a 2.4GHz band among APs whose signal quality values are greater than a first preset threshold among the accessible APs, and the second type of AP is an AP whose operating frequency band is a 5GHz band among the APs whose signal quality values are greater than the first preset threshold among the accessible APs.
The AP may manage the terminal devices within its coverage area, including connection, authentication, and other processes of the terminal devices. The coverage area of an AP is typically a circular area, centered around the AP, that spreads out, within which a terminal device can establish a connection with the AP. The indoor coverage of an AP is typically 30m to 100 m. Multiple APs may be deployed in an area to increase WLAN coverage area. Multiple APs may provide wireless access functions to mobile terminals within the coverage area of the WLAN.
Fig. 1 is a schematic diagram of a communication network architecture applied in the embodiment of the present invention. As shown in fig. 1, the communication network architecture comprises: aterminal device 11 and a plurality ofAPs 12. In the figure, 1terminal device 11 is taken as an example for illustration, and it is understood that there may be a plurality ofterminal devices 11.
Theterminal device 11 may be any one of the above terminal devices. EachAP 12 has the functions of an AP as described above.
Theterminal device 11 performs access to one AP selected from the plurality ofAPs 12 to perform internet access. When selecting an AP for access, the prior art adopts a method of selecting an AP with the strongest signal for access as described in the above background art.
However, through the analysis and study on the signal strength and the data transmission rate of the AP, the transmission characteristics as shown in fig. 2A and fig. 2B are found, wherein fig. 2A is a variation curve of the data transmission rate of the AP when the RSSI of the AP in the 5GHz band is equal to-71, fig. 2B is a variation curve of the data transmission rate of the AP when the RSSI of the AP in the 2.4GHz band is equal to-70, and the horizontal axis and the vertical axis of fig. 2A and fig. 2B are the time axis and the data transmission rate axis, respectively. The data transmission rate may be throughput (throughput). By analyzing fig. 2A, it can be found that the average throughput of the AP in the 5GHz band is 40M when the RSSI is equal to-71, and by analyzing fig. 2B, it can be found that the average throughput of the AP in the 2.4GHz band is 20M when the RSSI is equal to-70. Therefore, the data transmission rate of the AP with the 2.4GHz band with the higher signal strength is lower than that of the AP with the 5GHz band with the lower signal strength. If the prior art method is adopted to select the AP in the 2.4GHz band with better signal strength for access, it is obvious that the AP does not provide the optimal network service for the terminal device. Therefore, the embodiment of the present invention provides an access network of a wireless network, which enables a terminal device to access an AP capable of providing a higher data transmission rate for the terminal device, thereby improving an internet access speed. Reference is made to the following examples for specific embodiments thereof.
There may be several different application scenarios for the network architecture shown in fig. 1.
Scene one: the plurality ofAPs 12 may include an AP in a 2.4GHz band and an AP in a 5GHz band, that is, both an AP in a 2.4GHz band and an AP in a 5GHz band exist in the plurality ofAPs 12. The embodiment of the invention provides a main application scene of the wireless network access method.
Due to the mobility of the terminal device, after the terminal device moves, the scene in which the terminal device is located can be switched to the second scene or the third scene.
Scene two: and a plurality ofAPs 12, wherein eachAP 12 is an AP in a 2.4GHz band.
Scene three: and a plurality ofAPs 12, wherein eachAP 12 is an AP with a 5GHz frequency band.
The following explains the technical solutions provided by the embodiments of the present invention with specific embodiments in conjunction with the communication network architecture shown in fig. 1 and the scenario one, scenario two, and scenario three described above.
The first embodiment is as follows: and aiming at the scene, the AP of the 2.4GHz band and the AP of the 5GHz band coexist.
Fig. 3 is a flowchart of an access method of a wireless network according to an embodiment of the present invention. Wherein the method may be performed by an access device of a wireless network, which may be implemented by means of software and/or hardware. For example: the device can be a client or the terminal equipment. The following describes an access method to a wireless network with a terminal device as an execution subject. As shown in fig. 3, the method comprises the steps of:
step S31: the terminal equipment acquires the information of the accessible access point AP.
The access method of the wireless network according to the embodiment of the present invention refers to a method for a terminal device to automatically access a wireless network, where an accessible AP of the terminal device specifically refers to an AP that the terminal device has successfully accessed, that is, the terminal device stores configuration information of a corresponding AP, such as a Service Set Identifier (SSID), an access password, an IP address, and an MAC address.
It should be noted that the terminal device is also located in the coverage of the accessible AP.
The information of the accessible AP may include any one or more of SSID, signal quality value, IP address, MAC address, etc.
The terminal device may obtain the information of the accessible AP in an active scanning or passive scanning manner.
Active scanning: the terminal device periodically broadcasts or unicasts a Probe Request frame (Probe Request frame) in a supported channel list to scan the wireless network. When the AP receives the Probe request frame, it notifies the wireless network information that can be provided in Response to a Probe Response frame (Probe Response frame). And the terminal equipment acquires the information of the accessible AP according to the Probe Response frame.
Passive scanning: the terminal device discovers the wireless network by monitoring a Beacon frame (Beacon frame) periodically transmitted by the AP. The terminal device listens for beacon frames on each channel of its supported channel list. And the terminal equipment acquires the information of the accessible AP according to the received beacon frame.
The present embodiment is directed to the scenario one described above, that is, the accessible APs acquired by the terminal device include an AP in a 2.4GHz band and an AP in a 5GHz band. That is, the terminal device obtains the accessible information of the AP in the 2.4GHz band and the information of the AP in the 5GHz band by the active scanning or the passive scanning.
Step S32: and if the APs with the signal quality values larger than the first preset threshold value in the accessible APs comprise a first type of AP and a second type of AP, and the AP with the largest signal quality value in the accessible APs is the first AP in the first type of APs, the terminal equipment judges whether a second AP exists in the second type of APs. If yes, go to step S33; if not, go to step S34.
The first type of AP is an AP with a 2.4GHz frequency band, the signal quality of which is greater than a first preset threshold value, of the accessible APs, and the second type of AP is an AP with a 5GHz frequency band, the signal quality of which is greater than the first preset threshold value, of the accessible APs. In this embodiment, the AP with the largest signal quality value among the accessible APs is the first AP in the first class of APs, and the difference between the signal quality values of the second AP and the first AP is smaller than the second preset threshold. The second preset threshold is different from the first preset threshold, and is used for determining whether a second AP having a signal quality value that is not much different from that of the first AP exists in the second class of APs, for example, the second preset threshold is 30.
The data transmission rate of the first type of AP (the AP of the 2.4GHz band with the signal quality greater than the first preset threshold among the accessible APs) is lower than the data transmission rate of the second type of AP (the AP of the 5GHz band with the signal quality greater than the first preset threshold among the accessible APs).
In this embodiment, the first preset threshold may be any value, and the specific value thereof may be flexibly selected according to the requirement, for example, the first preset threshold is-70 dbm. In this embodiment, the signal quality values of the accessible first class AP and the accessible second class AP are both greater than the first preset threshold.
The first class of APs may include one or more APs and the second class of APs may include one or more APs. In this embodiment, the AP with the largest signal quality value among the APs accessible to the terminal device is the first AP in the first class of APs, and the terminal device determines whether the second AP exists from the second class of APs, where the second AP satisfies the above condition, that is, the difference between the second AP and the first AP is smaller than the second preset threshold. I.e., the signal quality values of the first AP and the second AP do not differ much. I.e. the signal quality values of the second AP with a high data transmission rate and the first AP with a low data transmission rate do not differ much.
Step S33: and the terminal equipment accesses the second AP. And (6) ending.
And when the second AP exists in the second type of AP, the terminal equipment accesses the second AP.
In some embodiments, when there are multiple second APs in the second class of APs, the terminal device selects the second AP with the highest signal quality value for access.
The implementation manner of the terminal device accessing the second AP may include: an authentication procedure and an association procedure. And (3) authentication process: and establishing authentication between the terminal equipment and the second AP, such as open system authentication or shared key authentication, and entering an association process after the authentication is passed. And (3) association process: and the terminal equipment sends an association request frame to the second AP, the AP adds the information of the terminal equipment to the database, and feeds back an association response to the terminal equipment. Thereby, the terminal device can make internet access through the second AP.
Step S34: and the terminal equipment accesses the first AP. And (6) ending.
When the second AP does not exist in the second class of APs, that is, there is no AP whose difference between the signal quality value of the second class of APs and the signal quality value of the first AP is smaller than the second preset threshold, the terminal device accesses the first AP, that is, accesses the AP with the largest signal quality value. The method for the terminal device to access the first AP may refer to a specific implementation manner of the terminal device to access the second AP in step S33, that is, through the authentication process and the association process, only the access objects are different, and details are not described here.
Signal quality values in embodiments of the invention include at least one of the following signal quality values: received Signal Strength Indicator (RSSI), Link Quality Indicator (LQI), Signal-to-Noise Ratio (SNR), or Signal-to-Interference plus Noise Ratio (SINR). It can be transmitted to the terminal device by the AP through a Probe Response frame (Probe Response frame) or a Beacon frame (Beacon frame).
In this embodiment, a terminal device obtains information of an accessible AP, and if an AP having a signal quality value greater than a first preset threshold in the accessible AP includes a first type AP and a second type AP, and the AP having the largest signal quality value in the accessible AP is the first AP in the first type AP, the terminal device determines whether a second AP exists in the second type AP, where a difference between the signal quality values of the second AP and the first AP is less than a second preset threshold, and if the second AP exists, the terminal device accesses the second AP. Through the mode, the second AP with higher data transmission rate is selected for accessing under the condition that the signal quality values of the first AP and the second AP are not different, so that the speed of the terminal equipment for accessing the Internet can be increased.
On the basis of the above embodiment, the second AP may further support at least one of: very High Throughput (VHT), High Throughput (HT).
In the above step 32, the terminal device determines whether there is a second AP from the second type of AP, and may obtain the second AP through the following three ways:
one alternative is to: and the terminal equipment judges whether the second AP supporting the Very High Throughput (VHT) exists in the second type of AP or not.
Another alternative is: the terminal device determines whether the second AP supporting High Throughput (HT) exists in the second class of APs.
Yet another alternative is: the terminal equipment judges whether the second AP supporting VHT exists in the second type of AP; if the second AP supporting VHT does not exist, the terminal device determines whether the second AP supporting HT exists from the second class AP.
The terminal device may determine whether the second AP supports VHT and/or HT according to an implementation manner, where the terminal device acquires the VHT and/or HT attribute from a management frame broadcast by the AP to determine whether the AP supports VHT and/or HT, and if so, determines that the AP is the second AP, that is, the AP providing higher data transmission rate for the terminal device.
It should be noted that VHT and/or HT attributes of an AP are related to signal quality.
In the above embodiment, for the APs with the signal quality value greater than the first preset threshold among the accessible APs in the scenario one, the APs include a first class AP and a second class AP, and the AP with the largest signal quality value among the accessible APs is one AP in the first class AP. It is understood that there is another case where the AP with the largest signal quality value among the accessible APs is one AP in the second class of APs.
And if the APs with the signal quality values larger than the first preset threshold value in the accessible APs comprise the first type of APs and the second type of APs, and the AP with the largest signal quality value in the accessible APs is the third AP in the second type of APs, the terminal equipment can access the third AP. Namely, one of the second APs with the larger signal quality value is selected for access.
In the above embodiment, for the APs with the signal quality value greater than the first preset threshold among the APs accessible in the scenario one, the APs include the first class of APs and the second class of APs. In the first scenario, there is another case where the first type AP and the second AP coexist, but an AP whose signal quality is greater than the first preset threshold in the accessible APs only includes the first type AP, and for this case and the above second scenario, the present embodiment provides the following second embodiment:
fig. 4 is a flowchart of another method for accessing a wireless network according to an embodiment of the present invention. As shown in fig. 4, the method includes the steps of:
step S41: the terminal equipment acquires the information of the accessible access point AP.
For a detailed explanation of step S41, refer to step S32 in the embodiment shown in fig. 3, which is not described herein again.
Step S42: and if the AP with the signal quality value larger than the first preset threshold value in the accessible APs only comprises the first type of AP, the terminal equipment accesses the AP with the maximum signal quality value in the first type of AP.
In this embodiment, a terminal device obtains information of an accessible AP, and if an AP having a signal quality value greater than a first preset threshold in the accessible APs only includes a first type of AP, the terminal device accesses an AP having a maximum signal quality value in the first type of AP, so as to access the internet through the AP having the maximum signal quality value.
In the first scenario, there is another case where the first type AP and the second AP coexist, but an AP with a signal quality greater than the first preset threshold in the accessible APs only includes the second type AP, and for this case and the above scenario three, the embodiment provides the following third embodiment:
fig. 5 is a flowchart of another method for accessing a wireless network according to an embodiment of the present invention. As shown in fig. 5, the method includes the steps of:
step S51: the terminal equipment acquires the information of the accessible access point AP.
For a detailed explanation of step S51, refer to step S32 in the embodiment shown in fig. 3, which is not described herein again.
Step S52: and if the AP with the signal quality value larger than the first preset threshold value in the accessible APs only comprises a second type of AP, the terminal equipment accesses the AP with the maximum signal quality value in the second type of AP.
In this embodiment, the terminal device obtains information of accessible APs, and if an AP whose signal quality value is greater than a first preset threshold in the accessible APs only includes a second type of AP, the terminal device accesses an AP whose signal quality value is maximum in the second type of AP, so as to access the internet through the AP whose signal quality value is maximum.
On the basis of any one of the above embodiments, the embodiment of the present invention further provides an embodiment four as follows:
fig. 6 is a flowchart of another method for accessing a wireless network according to an embodiment of the present invention. As shown in fig. 6, the method includes the steps of:
step S61: the terminal equipment acquires the information of the accessible access point AP.
For a detailed explanation of step S61, refer to step S32 in the embodiment shown in fig. 3, which is not described herein again.
Step S62: and the terminal equipment screens the accessible APs to acquire the APs with the signal quality values larger than the first preset threshold value.
After step S62, step S32 to step S34 in the embodiment shown in fig. 3 may be executed, step S42 in the embodiment shown in fig. 4 may be executed, or step S52 in the embodiment shown in fig. 5 may be executed.
In some embodiments, one realizable manner of step 62 above: the terminal equipment sorts the accessible APs according to the signal quality value; and the terminal equipment screens the accessible APs according to the sequence to obtain the APs with the signal quality values larger than a first preset threshold value.
The sorting can be from large to small, or from small to large, and can be flexibly set according to requirements.
Alternatively, before step S62, steps S63 to S64 (shown by dotted lines as optional) may be further performed.
Step S63: the terminal device judges whether the maximum signal quality value of the accessible AP is less than or equal to the first preset threshold, if so, performs step S64, and if not, performs step S62.
Step S64: and if the maximum signal quality value is smaller than or equal to the first preset threshold, the terminal equipment accesses the AP corresponding to the maximum signal quality value.
In this embodiment, a terminal device obtains information of an accessible AP, and the terminal device selects an AP having a signal quality value greater than a first preset threshold from the accessible APs, where if the AP having a signal quality value greater than the first preset threshold in the accessible AP includes a first type AP and a second type AP, and the AP having the largest signal quality value in the accessible AP is the first AP in the first type AP, the terminal device determines whether a second AP exists in the second type AP, where a difference between the signal quality values of the second AP and the first AP is less than the second preset threshold, and if the second AP exists, the terminal device accesses the second AP. Through the mode, the second AP with higher data transmission rate is selected for accessing under the condition that the signal quality values of the first AP and the second AP are not different, so that the speed of the terminal equipment for accessing the Internet can be increased.
And if the AP with the signal quality value larger than the first preset threshold value in the accessible APs only comprises the first type of AP, the terminal equipment accesses the AP with the maximum signal quality value in the first type of AP, so that the AP with the maximum signal quality value accesses the Internet.
And if the AP with the signal quality value larger than the first preset threshold value in the accessible APs only comprises the second type of AP, the terminal equipment accesses the AP with the maximum signal quality value in the second type of AP, so that the AP with the maximum signal quality value accesses the Internet.
Before the terminal device screens and acquires the APs with the signal quality values larger than the first preset threshold from the accessible APs, whether the maximum signal quality value of the accessible APs is smaller than or equal to the first preset threshold is judged, and if the maximum signal quality value is smaller than or equal to the first preset threshold, the terminal device accesses the AP corresponding to the maximum signal quality value, so that the processing efficiency of the wireless network access method of the embodiment of the invention can be improved.
The embodiment of the invention also provides a wireless network access method which can be realized, and the embodiment of the invention comprises the following steps:
fig. 7 is a flowchart of another method for accessing a wireless network according to an embodiment of the present invention. In this embodiment, the signal quality is taken as an RSSI for example, as shown in fig. 7, the method includes the following steps:
step S71: the terminal device obtains a list of available APs.
Wherein the available AP list includes information of APs accessible to the terminal device. Specifically, the terminal device may obtain the information of the AP accessible to the terminal device in the active scanning or passive scanning manner as described above, and for a specific explanation, reference may be made to step S31 in the embodiment shown in fig. 3, which is not described herein again.
Step S72: the terminal device determines whether the maximum signal quality of the accessible AP is less than or equal to a first preset value, if so, performs step S73, and if not, performs step S74.
Step S73: and the terminal equipment accesses the AP corresponding to the maximum RSSI.
Step S74: the terminal device determines whether the available AP list coexists with the first class AP and the second class AP, if not, performs step S75, and if so, performs step S76.
Step S75: and the terminal equipment accesses the AP corresponding to the maximum RSSI. And (6) ending.
Step S76: and the terminal equipment eliminates the AP with the RSSI (received signal strength indicator) being less than a first preset threshold value in the available AP list.
Step S77: the terminal device determines whether the available AP list coexists with the first class AP and the second class AP, if not, performs step S75, and if so, performs step S78.
Step S78: the terminal device determines whether an AP whose difference value with the first AP is smaller than a second preset threshold exists in the second class of APs, if not, performs step S79, and if so, performs step S80.
The first AP is an AP with the largest signal quality value in the available AP list, and the first AP belongs to a first class of AP, that is, an AP in a 2.4GHz frequency band.
Step S79: the terminal equipment accesses the first AP. And (6) ending.
Step S80: the terminal device determines whether the second AP supports VHT, if so, performs step S81, and if not, performs step S82.
When there is an AP whose difference from the first AP is smaller than the second preset threshold, that is, there is a second AP, in the second class of APs, step S80 is executed.
Step S81: and the terminal equipment accesses the second AP. And (6) ending.
Step S82: the terminal device determines whether the second AP supports HT, if yes, performs step S81, and if no, performs step S83.
Step S83: and the terminal equipment accesses the AP corresponding to the maximum RSSI. And (6) ending.
In this embodiment, in the above manner, the second AP with a higher data transmission rate is selected for accessing under the condition that the signal quality values of the first AP and the second AP are not different from each other, so that the speed of the terminal device for accessing the internet can be increased.
The foregoing describes in detail an access method of a wireless network provided in an embodiment of the present invention, and an access apparatus of a wireless network provided in an embodiment of the present invention is described below.
Fig. 8 is a schematic structural diagram of an access device of a wireless network according to an embodiment of the present invention. The access means of the wireless network may be the above-mentioned station or an internal chip of the station. As shown in fig. 8, the access device of the wireless network includes:
a receivingmodule 11, configured to obtain information of an accessible AP;
aprocessing module 12, configured to determine whether a second AP exists in the second class of APs if an AP having a signal quality value greater than a first preset threshold in the accessible APs includes a first class of AP and a second class of AP, and an AP having a maximum signal quality value in the accessible APs is a first AP in the first class of APs, where a difference between the signal quality values of the second AP and the first AP is smaller than a second preset threshold;
theprocessing module 12 is further configured to access the second AP through the sendingmodule 13 if the second AP exists;
wherein the data transmission rate of the first type of AP is lower than the data transmission rate of the second type of AP.
Optionally, the second AP further supports a very high throughput VHT.
Optionally, the second AP also supports high throughput HT.
Optionally, theprocessing module 12 is further configured to: judging whether the second AP supports VHT; if not, determining whether the second AP supports HT, and if the second AP supports VHT or HT, accessing the second AP through a sendingmodule 13.
Optionally, theprocessing module 12 is further configured to: if it is determined that there is no second AP in the second class of APs, the first AP is accessed through the sendingmodule 13.
Optionally, theprocessing module 12 is further configured to: if the APs with the signal quality values larger than the first preset threshold value in the accessible APs include the first type of APs and the second type of APs, and the AP with the largest signal quality value in the accessible APs is the third AP in the second type of APs, the third AP is accessed through the sendingmodule 13.
Optionally, theprocessing module 12 is further configured to: if the APs with the signal quality values larger than the first preset threshold value in the accessible APs only comprise first-class APs, the APs with the largest signal quality values in the first-class APs are accessed through the sendingmodule 13; or, if the AP whose signal quality value is greater than the first preset threshold in the accessible APs only includes the second type of AP, the AP with the largest signal quality value in the second type of AP is accessed through the sendingmodule 13.
Optionally, theprocessing module 12 is further configured to, after obtaining information of accessible APs, screen for APs, from which the obtained signal quality value is greater than the first preset threshold.
Optionally, theprocessing module 12 is configured to: sorting the accessible APs according to the magnitude of the signal quality value; and screening the accessible APs according to the sequence to obtain the APs with the signal quality values larger than a first preset threshold value.
Optionally, theprocessing module 12 is further configured to determine whether a maximum signal quality value of the accessible AP is less than or equal to the first preset threshold before screening the accessible APs to obtain the APs with the signal quality values greater than the first preset threshold; if the maximum signal quality value is smaller than or equal to the first preset threshold, accessing the AP corresponding to the maximum signal quality value through the sending module; correspondingly, if the maximum signal quality value is greater than the first preset threshold, screening the accessible APs to obtain the APs with the signal quality values greater than the first preset threshold.
Optionally, the signal quality value comprises at least one of the following signal quality values: signal strength indication RSSI, link quality indication LQI, signal to noise ratio SNR, or signal to interference and noise ratio SINR.
The access device of the wireless network according to the embodiment of the present invention may be configured to execute the technical solutions in the above method embodiments of the present invention, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. The mobile terminal can also be called a UE, access terminal, subscriber unit, subscriber station, mobile station, user terminal, wireless communication device, user agent, or user equipment. The mobile terminal may be a smartphone, cellular phone, cordless phone, tablet, PDA device, handheld device with wireless communication capability or other processing device connected to a wireless modem, in-vehicle device, wearable device, etc. As shown in fig. 9, the terminal device includes: aprocessor 21 and amemory 22.
Thememory 22 stores computer-executable instructions;
theprocessor 21 executes the computer-executable instructions stored by thememory 22, so that theprocessor 22 executes the above-mentioned access method of the wireless network.
The terminal device further includes: and atransceiver 23 for enabling communication with the AP or the terminal device.
The terminal device of the embodiment of the present invention may be configured to execute the technical solutions in the method embodiments of the present invention, and the implementation principles and technical effects are similar, which are not described herein again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer executable instruction is stored in the computer-readable storage medium, and when the computer executable instruction is executed by a processor, the computer executable instruction is used to implement any of the above-mentioned access methods for a wireless network.
An embodiment of the present invention further provides a computer program product, where the program product includes computer executable instructions, and the computer executable instructions are executed by a processor to implement any of the above-mentioned wireless network access methods.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The computer program may be stored in a computer readable storage medium. The computer program, when executed by a processor, performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.