CN114390607A - Access point switching method, device and storage medium - Google Patents

Access point switching method, device and storage medium Download PDF

Info

Publication number
CN114390607A
CN114390607A CN202011138105.5A CN202011138105A CN114390607A CN 114390607 A CN114390607 A CN 114390607A CN 202011138105 A CN202011138105 A CN 202011138105A CN 114390607 A CN114390607 A CN 114390607A
Authority
CN
China
Prior art keywords
access point
local area
area network
access
connection information
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.)
Pending
Application number
CN202011138105.5A
Other languages
Chinese (zh)
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 CN202011138105.5A priority Critical patent/CN114390607A/en
Publication of CN114390607A publication Critical patent/CN114390607A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0077Transmission or use of information for re-establishing the radio link of access information of target access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/18Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection

Landscapes

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

Abstract

The present disclosure provides an access point switching method, an access point switching device and a storage medium, wherein the method comprises the following steps: when the local area network is connected with an original access point and meets the access point switching condition, determining at least one alternative access point which belongs to the same local area network as the original access point and is contained in local area network connection information and corresponding access information; the local area network connection information comprises connection information of at least one local area network, the connection information of each local area network comprises access information of at least two access points belonging to the same local area network, and the access information of different access points is different; selecting a target access point from the at least one alternative access point; and accessing the target access point according to the access information of the target access point. According to the access point switching method and device, the mobile terminal can automatically and quickly complete the access point switching process without manual interaction of users under the condition that the access information of each access point is different, and the user experience is effectively improved.

Description

Access point switching method, device and storage medium
Technical Field
The present disclosure relates to the field of wireless data processing technologies, and in particular, to a method and an apparatus for switching access points, and a storage medium.
Background
A mobile terminal can move within the coverage of a local area network, but since signal coverage of a single Access Point (AP), or referred to as a wireless access point, is limited, a user often crosses from one AP coverage to another AP coverage during the moving process, which is called roaming.
In the roaming process of the existing local area network, the access information of each access point in the same local area network is completely the same, that is, the Service Set Identifier (SSID) and the password in the access information of different access points are the same.
For local area networks with different access information of each access point, the mobile terminal can be disconnected from the original access point in the roaming process, and the connection with the new access point can be completed only by manual intervention in some use scenes.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an access point switching method, apparatus, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided an access point switching method, applied to a mobile terminal, including:
when the local area network is connected with an original access point and meets the access point switching condition, determining at least one alternative access point which belongs to the same local area network as the original access point and is contained in local area network connection information and corresponding access information; the local area network connection information comprises connection information of at least one local area network, the connection information of each local area network comprises access information of at least two access points belonging to the same local area network, and the access information of different access points is different;
selecting a target access point from the at least one alternative access point;
and accessing the target access point according to the access information of the target access point.
In an embodiment, the determining at least one alternative access point belonging to the same lan as the original access point, which is included in the lan connection information, includes:
and determining at least one alternative access point which belongs to the same local area network with the original access point and is contained in the local area network connection information, wherein the signal quality of the alternative access point is better than that of the original access point.
In an embodiment, the method further comprises: determining at least one local area network connection information;
the determining at least one piece of local area network connection information includes:
after the mobile terminal is connected to an access point, the local area network to which the connected access point belongs is determined, and local area network connection information corresponding to the local area network is constructed or updated according to the access information of the connected access point.
In an embodiment, the method further comprises: determining at least one local area network connection information;
the determining at least one piece of local area network connection information includes:
searching access information of the connected access points recorded in the mobile terminal;
and constructing at least one local area network connection information according to the access information of the access points belonging to the same local area network.
In an embodiment, the method further comprises: updating local area network connection information;
the updating the local area network connection information comprises the following steps: and deleting an overdue access point and corresponding access information in the local area network connection information, wherein the overdue access point is an access point of which the interval time between the time point of last connection establishment and the current time of the mobile terminal is longer than the set time.
In one embodiment, the selecting a target access point from the at least one alternative access point includes:
and selecting one candidate access point with the optimal signal quality from the at least one candidate access point as a target access point.
According to a second aspect of the embodiments of the present disclosure, there is provided an access point switching apparatus, including:
the first determining module is configured to determine at least one alternative access point which belongs to the same local area network as an original access point and is contained in local area network connection information and corresponding access information when the original access point is connected and an access point switching condition is met; the local area network connection information comprises connection information of at least one local area network, the connection information of each local area network comprises access information of at least two access points belonging to the same local area network, and the access information of different access points is different;
a second determining module configured to select a target access point from the at least one alternative access point;
an access module configured to access the target access point according to the access information of the target access point.
In an embodiment, the first determining module is further configured to determine at least one alternative access point belonging to the same lan as the original access point, where the at least one alternative access point is included in the lan connection information, by using the following method:
and determining at least one alternative access point which belongs to the same local area network with the original access point and is contained in the local area network connection information, wherein the signal quality of the alternative access point is better than that of the original access point.
In one embodiment, the first determining module is further configured to determine at least one piece of local area network connection information using the following method:
after the mobile terminal is connected to an access point, the local area network to which the connected access point belongs is determined, and local area network connection information corresponding to the local area network is constructed or updated according to the access information of the connected access point.
In one embodiment, the first determining module is further configured to determine at least one piece of local area network connection information using the following method:
searching access information of the connected access points recorded in the mobile terminal; and constructing at least one local area network connection information according to the access information of the access points belonging to the same local area network.
In one embodiment, the apparatus further comprises an update module configured to update the local area network connection information;
the update module is further configured to update the local area network connection information using: and deleting an overdue access point and corresponding access information in the local area network connection information, wherein the overdue access point is an access point of which the interval time between the time point of last connection establishment and the current time of the mobile terminal is longer than the set time.
In an embodiment, the second determining module is further configured to select a target access point from the at least one alternative access point using the following method:
and selecting one candidate access point with the optimal signal quality from the at least one candidate access point as a target access point.
According to a third aspect of the embodiments of the present disclosure, there is provided an access point switching apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the executable instructions in the memory to implement the steps of the above-described method.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon executable instructions, wherein the executable instructions, when executed by a processor, implement the steps of the above method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the mobile terminal determines local area network connection information which comprises access information of a plurality of access points belonging to the same local area network, and automatically accesses other access points belonging to the same local area network as the current access point according to the local area network connection information when the mobile terminal continuously moves in the coverage area of the same local area network and meets the access point switching condition, and automatically and quickly completes the access point switching process without manual interaction of a user under the condition that the access information of each access point is different; and when the mobile terminal returns to the coverage area of the original access point again, the mobile terminal can be seamlessly switched back to the original access point, and the use experience of a user is effectively 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 of access point handover in accordance with an example embodiment;
FIG. 2 is a diagram illustrating coverage of different access points in a local area network in accordance with an exemplary embodiment;
fig. 3 is a diagram illustrating coverage of different access points in a local area network in accordance with an exemplary embodiment;
FIG. 4 is a diagram illustrating coverage of different access points in a local area network in accordance with an exemplary embodiment;
fig. 5 is a diagram illustrating coverage of different access points in a local area network in accordance with an exemplary embodiment;
fig. 6 is a block diagram illustrating an access point switching apparatus according to an exemplary embodiment;
fig. 7 is a block diagram illustrating an access point switching apparatus according to 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.
The embodiment of the disclosure provides an access point switching method. Referring to fig. 1, fig. 1 is a flowchart illustrating an access point handover method according to an exemplary embodiment. As shown in fig. 1, the method includes:
step S11, when the local area network connection information is connected with the original access point and meets the access point switching condition, at least one alternative access point belonging to the same local area network with the original access point and the corresponding access information are determined; the local area network connection information comprises connection information of at least one local area network, the connection information of each local area network comprises access information of at least two access points belonging to the same local area network, and the access information of different access points is different.
Step S12, a target access point is selected from at least one alternative access point.
And step S13, accessing the target access point according to the access information of the target access point.
In one embodiment, the access point switching condition in step S11 includes at least one of:
firstly, the intensity of a connection signal between a mobile terminal and a current access point is less than a set intensity;
secondly, the signal-to-noise ratio of the connection signal of the mobile terminal and the current access point is smaller than the set signal-to-noise ratio.
In the embodiment, a mobile terminal determines local area network connection information, the local area network connection information comprises access information of a plurality of access points belonging to the same local area network, the mobile terminal is automatically accessed to other access points belonging to the same local area network as a current access point according to the local area network connection information when meeting access point switching conditions in the process of continuously moving in the coverage area of the same local area network, and the access point switching process is automatically and quickly completed without manual interaction of a user under the condition that the access information of each access point is different; and when the mobile terminal returns to the coverage area of the original access point again, the mobile terminal can be seamlessly switched back to the original access point, and the use experience of a user is effectively improved.
In one embodiment, the step S12 of determining at least one alternative access point belonging to the same lan as the original access point, which is included in the lan connection information, includes: and determining at least one alternative access point which belongs to the same local area network with the original access point and is contained in the local area network connection information, and the signal quality of the alternative access point is better than that of the original access point.
In the embodiment, seamless switching is ensured, and meanwhile, the mobile terminal can be switched to the access point with better signal quality, so that the signal quality is improved after the switching is finished, and the user experience is improved.
The coverage mode of each access point with different access information in the same lan can have a variety of different forms, and the following description lists three modes for detailed description.
In a first aspect, the coverage area of one ap includes the coverage area of another ap.
Example 1: in a use scene of the household multi-frequency router, the same router is used for transmitting wireless information of two frequency bands to generate two access points, the wireless information of each frequency band corresponds to one access point, and different access points correspond to different access information.
As shown in fig. 2, the home dual-band router sends information of two frequency bands, the first frequency band is a 5GHz frequency band, and the second frequency band is a 2.4GHz frequency band. The signal of the first frequency band and the signal of the second frequency band have different penetration abilities, and the coverage area of the signal of the first frequency band and the signal of the second frequency band is different. The coverage area of the first frequency band is located inside the coverage area of the second frequency band, and the coverage area of the first frequency band is smaller than that of the second frequency band.
The home dual band router generates two access points, the first access point corresponding to signals in the 5GHz band and the second access point corresponding to signals in the 2.4GHz band. The access information corresponding to the coverage area of the first frequency band comprises: the SSID is XTUN-5G, and the password is the first password. The access information corresponding to the coverage area of the second frequency band comprises: the SSID is XTUN and the password is the second password.
Example 2: in a use scene of a large company, different routers are used for transmitting wireless information in the same frequency band, and different access points are generated.
As shown in fig. 3, the coverage area corresponding to the first router is smaller than the coverage area corresponding to the second router, and the coverage area corresponding to the second router includes the coverage area corresponding to the first router. The access information of the first access point corresponding to the first router is different from the access information of the second access point corresponding to the second router. For example: the access information of the first access point includes: SSID is SSID1, and password is password 1; the access information of the second access point includes: the SSID is SSID2, and the password is password 2.
In the second mode, the coverage areas of the two aps have an overlapping area, and the area of the overlapping area is smaller than that of the coverage area of any one ap.
For example: as shown in fig. 4, the coverage areas of two aps have an intersection, which has an area smaller than the coverage area of any one ap. The access information of the two access points is different.
In a third way, the coverage areas of more than two aps have an overlapping area, and the area of the overlapping area is smaller than the area of the coverage area of any one ap.
For example: as shown in fig. 5, the coverage areas of the three access points have an intersection, which is smaller in area than the coverage area of any one access point. The access information for any two access points is different.
The embodiment of the present disclosure provides an access point switching method, which includes the method shown in fig. 1, and includes:
the local area network connection information is composed by the following three ways:
the first method comprises the following steps: the local area network connection information comprises connection information of a plurality of local area networks, the connection information of each local area network comprises access information of a plurality of access points, and each access point in the connection information of the same local area network belongs to the local area network.
For example: the mobile terminal comprises connection information of two local area networks. The recording mode is as follows:
the connection information of the first local area network comprises two access points and access information of each access point. The two access points are AP1 and AP2, respectively.
The first access information corresponding to the AP1 includes an SSID1 and a password 1.
The second access information corresponding to the AP2 includes an SSID2 and a password of 2.
Specifically, as shown in table 1:
TABLE 1
AP1 First access information (SSID1, password 1)
AP2 Second access information (SSID2, password 2)
The connection information of the second local area network comprises three access points and access information of each access point. The three access points are AP3, AP4, and AP5, respectively.
The third access information corresponding to the AP3 includes an SSID3 and a password of 3.
The third access information corresponding to the AP4 includes an SSID4 and a password 4.
The third access information corresponding to the AP5 includes an SSID5 and a password 5.
Specifically, as shown in table 2:
TABLE 2
AP3 Third access information (SSID3, password 3)
AP4 Fourth access information (SSID4, password 4)
AP5 Fifth access information (SSID5, password 5)
And the second method comprises the following steps: the local area network connection information comprises connection information of a plurality of local area networks, and the connection information of each local area network comprises access information of a plurality of access points and local area network identification. And each access point in the connection information of the same local area network belongs to the local area network. The local area network identification may be a MAC address of a gateway of the local area network.
For example: the mobile terminal comprises two local area network connection information, and the recording mode is as follows:
the first local area network connection information includes: the first local area network identification MAC1 also includes the information shown in table 1.
The second lan connection information includes: the second local area network identifies MAC2 and also includes the information shown in table 2.
And the third is that: the local area network connection information comprises connection information of a plurality of local area networks, and the connection information of each local area network comprises access information of a plurality of access points, and further comprises local area network identification and mapping relation between the local area network identification and the access information of the plurality of access points. And each access point in the connection information of the same local area network belongs to the local area network. The local area network identification may be a MAC address of a gateway of the local area network.
For example: the mobile terminal comprises two local area network connection information, and the recording mode is as follows:
as shown in table 3:
TABLE 3
Figure BDA0002737402930000091
The embodiment of the present disclosure provides an access point switching method, which includes the method shown in fig. 1, and includes: each access point in the local area network connection information is an access point to which the mobile terminal has connected.
In one embodiment, the method further comprises: step S10, determining at least one piece of lan connection information. Specifically, determining at least one piece of local area network connection information includes: after the mobile terminal is connected to an access point, the local area network to which the connected access point belongs is determined, and local area network connection information corresponding to the local area network is constructed or updated according to the access information of the connected access point.
In this embodiment, after the mobile terminal accesses a certain access point, the access information of the access point is recorded, and the connection information of the corresponding local area network is updated, so that the access points recorded in the connection information of the local area network are all the access points to which the mobile terminal has connected, and when the mobile terminal switches the access points, seamless connection can be achieved, and the use experience of the user is ensured.
In one embodiment, the method further comprises: step S10, determining at least one piece of lan connection information. Specifically, determining at least one piece of local area network connection information includes: searching access information of the connected access points recorded in the mobile terminal; and constructing at least one local area network connection information according to the access information of the access points belonging to the same local area network.
In this embodiment, the mobile terminal records the access point identifier and the access information of each connected access point, and constructs the local area network connection information according to the recorded access point identifier and the access information of each connected access point, so that the access points recorded in each local area network connection information are the access points to which the mobile terminal has been connected, and when the mobile terminal switches the access points, the seamless connection can be achieved, and the user experience can be guaranteed.
The embodiment of the present disclosure provides an access point switching method, which includes the method shown in fig. 1, and includes: further comprising: and updating the local area network connection information.
The occasion for updating the local area network connection information comprises at least one of the following:
firstly, updating local area network connection information regularly. For example: the mobile terminal updates the local area network connection information at a fixed time each day.
And secondly, updating the local area network connection information at set time intervals. For example: the local area network connection information is updated every 1 hour interval.
And thirdly, the mobile terminal updates the local area network connection information after completing the connection with the access point.
In one embodiment, updating the local area network connection information comprises: and deleting an overdue access point and corresponding access information in the local area network connection information, wherein the overdue access point is an access point of which the interval time between the time point of last connection establishment with the mobile terminal and the current time is longer than the set time.
By deleting the overdue access point in the local area network connection information, only the access point which is recently connected is recorded in the local area network connection information, so that the recorded information of the local area network connection information is closer to the recent activity condition of the user.
The embodiment of the present disclosure provides an access point switching method, which includes the method shown in fig. 1, and includes:
in step S12, selecting a target access point from at least one alternative access point, including: and selecting one alternative access point with the optimal signal quality from the at least one alternative access point as a target access point.
For example: when it is detected in step S12 that the number of candidate access points, whose signal quality is better than that of the original access point, in each access point in the local area network connection information except the currently accessed original access point is 2, one access point with the best signal quality is selected for access.
The optimal alternative access point is automatically selected for the user by selecting and accessing the alternative access point with the optimal signal quality in the at least one alternative access point, so that the user can obtain better use experience after completing switching.
The following is a detailed description of specific examples.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
As shown in fig. 2, the home dual-band router sends information of two frequency bands, the first frequency band is a 5GHz frequency band, and the second frequency band is a 2.4GHz frequency band. The signals in the first frequency band and the signals in the second frequency band have different penetration capabilities, which results in different coverage areas for the signals in the first frequency band and the signals in the second frequency band. The coverage area of the first frequency band is located inside the coverage area of the second frequency band, and the coverage area of the first frequency band is smaller than that of the second frequency band.
The home dual band router generates two access points, the first access point corresponding to signals in the 5GHz band and the second access point corresponding to signals in the 2.4GHz band.
The access information corresponding to the coverage area of the first frequency band comprises: SSID is XTUN-5G, and password is password 1.
The access information corresponding to the coverage area of the second frequency band comprises: SSID is XTUN, password is password 2.
The mobile terminal is located in the coverage range of the first access point in the first period, the mobile terminal is connected to the first access point, after the connection is completed, the MAC address of the gateway corresponding to the first access point is known as MAC1, and the mapping relation between the MAC1 and the first access point and the access information of the first access point is determined. And determining local area network connection information, wherein the local area network connection information comprises the MAC1 and access information of a first access point corresponding to the MAC1, and the access information of the first access point comprises an SSID1 and a password 1.
The local area network connection information is stored in the format of table 4:
TABLE 4
MAC1 AP1 First access information (SSID1, password 1)
And after the mobile terminal is connected to the second access point and located in the coverage range of the second access point in the second time period, the MAC address of the gateway corresponding to the second access point is known as MAC1, and the mapping relation between the MAC1 and the second access point and the access information of the second access point is determined. Determining local area network connection information including the MAC1, and updating the local area network information, the updated local area network information including the MAC1 and access information of a first access point corresponding to the MAC1, and access information of a second access point corresponding to the MAC 1. The access information of the original access point comprises an SSID1 and a password 1, and the access information of the second access point comprises an SSID2 and a password 2.
The local area network connection information is stored in the format of table 5:
TABLE 5
Figure BDA0002737402930000121
The method comprises the steps that a mobile terminal is located in the coverage area of a first access point, when the mobile terminal moves to the edge position of the coverage area of the first access point, the signal intensity of a wireless signal between the mobile terminal and the first access point is smaller than a set intensity, the condition that the access point switching is met is determined, an accessible access point is detected in local area network connection information, it is detected that a second access point with a signal quality priority is the same local area network as the first access point, the access information of the second access point is obtained, the access information of the second access point is used for accessing the second access point, the switching from the first access point to the second access point is completed, and seamless switching is achieved.
The embodiment of the disclosure provides an access point switching device. Referring to fig. 6, fig. 6 is a block diagram illustrating an access point switching apparatus according to an exemplary embodiment. As shown in fig. 6, the apparatus includes:
a first determining module 601, configured to determine at least one alternative access point belonging to the same local area network as an original access point and corresponding access information, which are included in local area network connection information, when the original access point is connected and an access point handover condition is satisfied; the local area network connection information comprises connection information of at least one local area network, the connection information of each local area network comprises access information of at least two access points belonging to the same local area network, and the access information of different access points is different;
a second determining module 602 configured to select a target access point from at least one alternative access point;
an accessing module 603 configured to access the target access point according to the access information of the target access point.
An embodiment of the present disclosure provides an access point switching apparatus, which includes the apparatus shown in fig. 6, and:
the first determining module is further configured to determine at least one alternative access point belonging to the same lan as the original access point, the at least one alternative access point being included in the lan connection information, using the following method:
and determining at least one alternative access point which belongs to the same local area network with the original access point and is contained in the local area network connection information, wherein the signal quality of the alternative access point is better than that of the original access point.
An embodiment of the present disclosure provides an access point switching apparatus, which includes the apparatus shown in fig. 6, and:
the first determining module is further configured to determine at least one local area network connection information using:
after the mobile terminal is connected to an access point, the local area network to which the connected access point belongs is determined, and local area network connection information corresponding to the local area network is constructed or updated according to the access information of the connected access point.
An embodiment of the present disclosure provides an access point switching apparatus, which includes the apparatus shown in fig. 6, and:
the first determining module is further configured to determine at least one local area network connection information using:
searching access information of the connected access points recorded in the mobile terminal; and constructing at least one local area network connection information according to the access information of the access points belonging to the same local area network.
An embodiment of the present disclosure provides an access point switching apparatus, which includes the apparatus shown in fig. 6, and:
the apparatus also includes an update module configured to update the local area network connection information;
the update module is further configured to update the local area network connection information using: and deleting an overdue access point and corresponding access information in the local area network connection information, wherein the overdue access point is an access point of which the interval time between the time point of last connection establishment and the current time of the mobile terminal is longer than the set time.
An embodiment of the present disclosure provides an access point switching apparatus, which includes the apparatus shown in fig. 6, and:
the second determining module is further configured to select a target access point from the at least one alternative access point using:
and selecting one candidate access point with the optimal signal quality from the at least one candidate access point as a target access point.
An embodiment of the present disclosure provides an access point switching apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the executable instructions in the memory to implement the steps of the above-described method.
The disclosed embodiments provide a non-transitory computer readable storage medium having executable instructions stored thereon, wherein the executable instructions, when executed by a processor, implement the steps of the above method.
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. 7 is a block diagram illustrating an access point switching apparatus 700 according to an example embodiment. For example, the apparatus 700 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. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the device 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 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.
The power component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 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 708 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 700 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 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 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 assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of apparatus 700, sensor assembly 714 may also detect a change in position of apparatus 700 or a component of apparatus 700, the presence or absence of user contact with apparatus 700, orientation or acceleration/deceleration of apparatus 700, and a change in temperature of apparatus 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 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 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 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 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 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 700 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 above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described 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 (14)

1. An access point switching method is applied to a mobile terminal, and is characterized by comprising the following steps:
when the local area network is connected with an original access point and meets the access point switching condition, determining at least one alternative access point which belongs to the same local area network as the original access point and is contained in local area network connection information and corresponding access information; the local area network connection information comprises connection information of at least one local area network, the connection information of each local area network comprises access information of at least two access points belonging to the same local area network, and the access information of different access points is different;
selecting a target access point from the at least one alternative access point;
and accessing the target access point according to the access information of the target access point.
2. The method of claim 1,
the determining at least one alternative access point belonging to the same local area network as the original access point, which is included in the local area network connection information, includes:
and determining at least one alternative access point which belongs to the same local area network with the original access point and is contained in the local area network connection information, wherein the signal quality of the alternative access point is better than that of the original access point.
3. The method of claim 1,
the method further comprises the following steps: determining at least one local area network connection information;
the determining at least one piece of local area network connection information includes:
after the mobile terminal is connected to an access point, the local area network to which the connected access point belongs is determined, and local area network connection information corresponding to the local area network is constructed or updated according to the access information of the connected access point.
4. The method of claim 1,
the method further comprises the following steps: determining at least one local area network connection information;
the determining at least one piece of local area network connection information includes:
searching access information of the connected access points recorded in the mobile terminal;
and constructing at least one local area network connection information according to the access information of the access points belonging to the same local area network.
5. The method of claim 1,
the method further comprises the following steps: updating local area network connection information;
the updating the local area network connection information comprises the following steps: and deleting an overdue access point and corresponding access information in the local area network connection information, wherein the overdue access point is an access point of which the interval time between the time point of last connection establishment and the current time of the mobile terminal is longer than the set time.
6. The method of claim 1,
the selecting a target access point from the at least one alternative access point comprises:
and selecting one candidate access point with the optimal signal quality from the at least one candidate access point as a target access point.
7. An access point switching apparatus, comprising:
the first determining module is configured to determine at least one alternative access point which belongs to the same local area network as an original access point and is contained in local area network connection information and corresponding access information when the original access point is connected and an access point switching condition is met; the local area network connection information comprises connection information of at least one local area network, the connection information of each local area network comprises access information of at least two access points belonging to the same local area network, and the access information of different access points is different;
a second determining module configured to select a target access point from the at least one alternative access point;
an access module configured to access the target access point according to the access information of the target access point.
8. The apparatus of claim 7,
the first determining module is further configured to determine at least one alternative access point belonging to the same lan as the original access point, the at least one alternative access point being included in the lan connection information, using the following method:
and determining at least one alternative access point which belongs to the same local area network with the original access point and is contained in the local area network connection information, wherein the signal quality of the alternative access point is better than that of the original access point.
9. The apparatus of claim 7,
the first determining module is further configured to determine at least one local area network connection information using:
after the mobile terminal is connected to an access point, the local area network to which the connected access point belongs is determined, and local area network connection information corresponding to the local area network is constructed or updated according to the access information of the connected access point.
10. The apparatus of claim 7,
the first determining module is further configured to determine at least one local area network connection information using:
searching access information of the connected access points recorded in the mobile terminal; and constructing at least one local area network connection information according to the access information of the access points belonging to the same local area network.
11. The apparatus of claim 7,
the apparatus also includes an update module configured to update the local area network connection information;
the update module is further configured to update the local area network connection information using: and deleting an overdue access point and corresponding access information in the local area network connection information, wherein the overdue access point is an access point of which the interval time between the time point of last connection establishment and the current time of the mobile terminal is longer than the set time.
12. The apparatus of claim 7,
the second determining module is further configured to select a target access point from the at least one alternative access point using:
and selecting one candidate access point with the optimal signal quality from the at least one candidate access point as a target access point.
13. An access point switching apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute executable instructions in the memory to implement the steps of the method of any one of claims 1 to 6.
14. A non-transitory computer readable storage medium having stored thereon executable instructions, wherein the executable instructions, when executed by a processor, implement the steps of the method of any one of claims 1 to 6.
CN202011138105.5A 2020-10-22 2020-10-22 Access point switching method, device and storage medium Pending CN114390607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011138105.5A CN114390607A (en) 2020-10-22 2020-10-22 Access point switching method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011138105.5A CN114390607A (en) 2020-10-22 2020-10-22 Access point switching method, device and storage medium

Publications (1)

Publication Number Publication Date
CN114390607A true CN114390607A (en) 2022-04-22

Family

ID=81194331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011138105.5A Pending CN114390607A (en) 2020-10-22 2020-10-22 Access point switching method, device and storage medium

Country Status (1)

Country Link
CN (1) CN114390607A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106358189A (en) * 2016-09-05 2017-01-25 北京小米移动软件有限公司 Device and method for accessing wireless local area network
CN107948974A (en) * 2017-11-29 2018-04-20 江苏省未来网络创新研究院 A kind of WiFi safety certifying methods

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106358189A (en) * 2016-09-05 2017-01-25 北京小米移动软件有限公司 Device and method for accessing wireless local area network
CN107948974A (en) * 2017-11-29 2018-04-20 江苏省未来网络创新研究院 A kind of WiFi safety certifying methods

Similar Documents

Publication Publication Date Title
CN107295579B (en) Method and device for detecting adjacent cell in cell reselection process
CN106358189B (en) Method and device for accessing wireless local area network
US20170135032A1 (en) Network connecting method and apparatus, and storage medium
CN106376057A (en) Wireless network access method and device
JP7337170B2 (en) Method and apparatus for transmitting configuration information for measurement control
CN110268746B (en) Cell switching method and device, switching configuration method and device and user equipment
WO2022205202A1 (en) Candidate cell determination method and apparatus
JP2023532565A (en) Cell determination method and cell determination device
CN108029059B (en) User equipment residing method, paging method and device
CN108702672B (en) Cell reselection method, device and storage medium
US11218940B2 (en) Cell reselection method and device, and storage medium
CN112492521B (en) WiFi roaming trigger condition determining method and device, mobile terminal and storage medium
CN106792570B (en) Positioning method and device
CN113473574A (en) Wireless local area network connection method, device, storage medium and electronic equipment
CN110574403A (en) information acquisition method and device, and information sending method and device
CN114339904B (en) Cell switching method, cell switching device and storage medium
US11706813B2 (en) Random access method and apparatus, and method and apparatus for sending PLMN identity
CN114390607A (en) Access point switching method, device and storage medium
CN113543365A (en) Networking method, networking device and storage medium
CN107889062B (en) Offline positioning data learning method and device
CN112822670A (en) Cell registration method, device, equipment and storage medium
CN106714280B (en) Terminal positioning method and device
CN113891333B (en) Network selection method, network selection device, electronic equipment and storage medium
US20240179761A1 (en) Communication method and device, and storage medium
WO2023221148A1 (en) Cell reselection method and apparatus, and inactive multicast service related information sending method and apparatus

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20220422

WD01 Invention patent application deemed withdrawn after publication