CN110099426A - Connection method, device, storage medium and the server of access point - Google Patents
Connection method, device, storage medium and the server of access point Download PDFInfo
- Publication number
- CN110099426A CN110099426A CN201810096503.1A CN201810096503A CN110099426A CN 110099426 A CN110099426 A CN 110099426A CN 201810096503 A CN201810096503 A CN 201810096503A CN 110099426 A CN110099426 A CN 110099426A
- Authority
- CN
- China
- Prior art keywords
- aps
- determining
- value
- access
- time
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000004590 computer program Methods 0.000 claims description 20
- 238000012163 sequencing technique Methods 0.000 claims description 4
- 238000012512 characterization method Methods 0.000 abstract 1
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/20—Selecting an access point
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of connection methods of access point, comprising: obtains the set of alternative AP, the set of the alternative AP, comprising: at least one AP that can be networked;It determines the status information of at least one AP, determines the access value of at least one AP according to the state information;The accessible degree of the access value characterization described access point;According to the access value, selection target AP and the target AP is accessed from least one described AP.The invention also discloses a kind of attachment device of access point, computer readable storage medium and servers.
Description
Technical Field
The present invention relates to wireless communication technologies, and in particular, to a method and an apparatus for connecting access points, a computer-readable storage medium, and a server.
Background
With the popularization of Wireless technologies, the applications of Access Points (APs) are increasing. The AP is a HUB (HUB) in a traditional wired network and is also the most commonly used equipment for building a small wireless local area network, is equivalent to a bridge connected with a wired network and a wireless network, and is mainly used for connecting all wireless network clients together and then connecting the wireless network to the Ethernet.
The smart device generally has a WIreless FIdelity (WIFI) module, and the AP is selected and accessed through the WIFI module according to an access policy, where the existing access policy has the following problems: the smart device cannot autonomously select an access point according to the actual environmental conditions.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a method and an apparatus for connecting an access point, a computer-readable storage medium, and a server.
The technical scheme of the invention is realized as follows:
the embodiment of the invention provides a method for connecting an Access Point (AP), which comprises the following steps:
acquiring a set of alternative APs, wherein the set of alternative APs comprises: at least one AP that is networkable;
determining the state information of the at least one AP, and determining the access value of the at least one AP according to the state information; the access value characterizes an accessibility of the access point;
and selecting a target AP from the at least one AP according to the access value and accessing the target AP.
In the foregoing solution, the determining the status information of the at least one AP includes:
determining a signal strength, a first geographic location, a first time, a second geographic location, a second time of the at least one AP;
determining an absolute value of a geographical position difference value according to the first geographical position and the second geographical position, and determining an absolute value of a time difference value according to the first time and the second time;
and determining the absolute value of the geographic position difference value, the absolute value of the time difference value and the signal strength as the state information.
In the foregoing solution, the determining an access value of the at least one AP according to the state information includes:
acquiring a weight of a preset geographic position, a weight of time and a weight of signal intensity;
and determining an access value of the at least one AP according to the weight of the geographic position, the weight of the time, the weight of the signal strength, and the absolute value of the geographic position difference, the absolute value of the time difference and the signal strength of the at least one AP.
In the foregoing solution, the acquiring the set of alternative APs includes:
determining a first set of APs and a second set of APs; the first set of APs comprising: at least one AP supporting automatic connection; the second set of APs comprising: at least one AP which can be scanned in the area where the AP is located;
determining at least one AP included in the first set of APs and included in the second set of APs, and using the set of at least one AP included in the first set of APs and included in the second set of APs as the set of alternative APs.
In the foregoing solution, said selecting a target AP from the at least one AP and accessing the target AP according to the access value includes:
sequencing the access values of the at least one AP from big to small;
and determining the AP with the maximum access value as the target AP and connecting the target AP.
The embodiment of the invention also provides a connecting device of the access point, which comprises: the device comprises an acquisition module and a processing module; wherein,
the acquiring module is configured to acquire a set of candidate APs, where the set of candidate APs includes: at least one AP that is networkable;
the processing module is configured to determine state information of the at least one AP, and determine an access value of the at least one AP according to the state information; the access value characterizes an accessibility of the access point; and selecting a target AP from the at least one AP according to the access value and accessing the target AP.
In the foregoing solution, the processing module is specifically configured to determine a signal strength, a first geographic location, a first time, a second geographic location, and a second time of the at least one AP;
determining an absolute value of a geographical position difference value according to the first geographical position and the second geographical position, and determining an absolute value of a time difference value according to the first time and the second time;
and determining the absolute value of the geographic position difference value, the absolute value of the time difference value and the signal strength as the state information.
In the above scheme, the processing module is specifically configured to obtain a weight of a preset geographic location, a weight of time, and a weight of signal strength;
and determining an access value of the at least one AP according to the weight of the geographic position, the weight of the time, the weight of the signal strength, and the absolute value of the geographic position difference, the absolute value of the time difference and the signal strength of the at least one AP.
In the foregoing scheme, the obtaining module is specifically configured to determine a first AP set and a second AP set; the first set of APs comprising: at least one AP supporting automatic connection; the second set of APs comprising: at least one AP which can be scanned in the area where the AP is located;
determining at least one AP included in the first set of APs and included in the second set of APs, and using the set of at least one AP included in the first set of APs and included in the second set of APs as the set of alternative APs.
In the foregoing scheme, the processing module is specifically configured to sort the access values of the at least one AP in a descending order;
and determining the AP with the maximum access value as the target AP and connecting the target AP.
The embodiment of the invention also provides a connecting device of the access point, which comprises: a processor and a memory for storing a computer program capable of running on the processor;
wherein the processor is configured to execute the steps of any one of the above-mentioned methods for connecting an access point AP when running the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the above-mentioned methods for connecting an access point AP.
The method, the device, the computer readable storage medium and the server for connecting the access points, provided by the embodiment of the invention, are used for acquiring a set of alternative APs, wherein the set of alternative APs comprises the following steps: at least one AP that is networkable; determining the state information of the at least one AP, and determining the access value of the at least one AP according to the state information; the access value characterizes an accessibility of the access point; and selecting a target AP from the at least one AP according to the access value and accessing the target AP. According to the scheme of the embodiment of the invention, the optimal AP is automatically selected and accessed from the set of the alternative APs which can be networked according to the state information of the geographic position, the connection time, the signal intensity and the like of the AP, so that the manual intervention is not needed in the process, the complicated operation that a user needs to manually select the AP is avoided, and the connection efficiency is improved.
Drawings
Fig. 1 is a flowchart illustrating a first method for connecting an access point according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a second method for connecting an access point according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for determining a set of alternative APs according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a first connection device of an access point according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a second connection device of an access point according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a connection system of an access point according to an embodiment of the present invention.
Detailed Description
In various embodiments of the present invention, a set of alternative APs is obtained, where the set of alternative APs includes: at least one AP that is networkable; determining the state information of the at least one AP, and determining the access value of the at least one AP according to the state information; the access value characterizes an accessibility of the access point; and selecting a target AP from the at least one AP according to the access value and accessing the target AP.
The present invention will be described in further detail with reference to examples.
Fig. 1 is a flowchart illustrating a first method for connecting an access point according to an embodiment of the present invention; the method can be applied to a smart device, as shown in fig. 1, and comprises the following steps:
step 101, acquiring a set of alternative APs; the set of alternative APs comprising: at least one AP that is networkable;
here, the intelligent device is a device which has the capability of accessing a wireless network; the smart device includes: smart phones, tablet computers, smart communication terminals, Personal Computers (PCs), and the like.
Specifically, the acquiring the set of candidate APs includes:
the intelligent device determines a first AP set and a second AP set; the first set of APs comprising: at least one AP supporting automatic connection (i.e., connected and having a corresponding password stored); the second set of APs comprising: the intelligent device can scan at least one AP in the area where the intelligent device is located;
determining at least one AP included in the first set of APs and included in the second set of APs, and using the at least one set of APs included in the first set of APs and included in the second set of APs as a set of alternative APs. Here, the set of alternative APs is an intersection of the first set of APs and the second set of APs.
For example, the first set of APs includes: A. b, C, the second set of APs comprising: B. c, D, E four APs; the smart device may determine the set of alternative APs, including: B. c two APs.
In this embodiment, the acquiring the set of alternative APs may further include:
and judging whether the at least one AP contained in the first AP set and the second AP set can be networked or not, and when the at least one AP contained in the first AP set and the second AP set can be networked, taking the determined set of at least one AP which can be networked as a final set of alternative APs.
It should be noted that a manufacturer of the smart device may be provided with a cloud server, where the smart device attempts to send an inquiry request to the cloud server through any AP, determines whether an inquiry result returned by the cloud server can be received, determines that the inquiry result is received, determines that the AP is connectable, and determines that the AP is not connectable if the inquiry result cannot be received.
Specifically, each AP in the first AP set correspondingly stores a name, a password, a first geographic location, a first time, and the like of each AP; here, the first geographic location is a geographic location where the smart device was located when the smart device was last connected to the AP, and the first time is a time when the smart device was last connected to the AP.
In this embodiment, the determining, by the smart device, the second AP set includes:
the method includes that an intelligent device receives and analyzes Information Element (IE) frames sent by at least one AP in an area where the intelligent device is located, each IE frame includes Information of a corresponding AP, and the Information may include: the name of the AP, etc.; and the intelligent equipment determines at least one AP according to the received at least one IE frame and determines the second AP set according to the at least one AP.
Here, the name of the AP may be a Service Set Identifier (SSID) of the AP, and the SSID may serve as an identity unique to the AP.
In this embodiment, after the step 101, the method may further include:
the intelligent equipment determines the number of the APs contained in the alternative AP set;
when the number of the APs contained in the alternative AP set is determined to be zero, displaying a notification message of no networking available APs through a human-computer interaction interface, and displaying at least one scanned AP in the area where the AP is located;
receiving a first connection instruction input by a user through a human-computer interaction interface, and determining an AP to be connected selected by the user from at least one scanned AP in the area according to the first connection instruction;
receiving a second connection instruction input by a user through a human-computer interaction interface, determining a password of the AP to be connected selected by the user according to the second connection instruction, and connecting the AP to be connected according to the determined password; here, the second connection instruction includes: and the character corresponding to the password of the AP to be connected.
And after the intelligent equipment is connected with the AP according to the first connection instruction and the second connection instruction, storing the name and the corresponding password of the connected AP, and adding the connected AP into the first AP set.
Specifically, the determining the number of APs included in the candidate AP set further includes: and entering step 102 when it is determined that at least one AP is included in the set of candidate APs.
Step 102, determining the state information of the at least one AP, and determining the access value of the at least one AP according to the state information; the access value characterizes an accessibility of the access point;
specifically, the determining the state information of the at least one AP includes:
determining a signal strength, a first geographic location, a first time, a second geographic location, a second time of the at least one AP;
determining an absolute value of a geographical position difference value according to the first geographical position and the second geographical position, and determining an absolute value of a time difference value according to the first time and the second time;
and determining the absolute value of the geographic position difference value, the absolute value of the time difference value and the signal strength as the state information. Here, the second geographical location is a current geographical location of the smart device, and the second time is a current time.
Specifically, the smart device may include: a Location Based Service (LBS) module, a clock module and a WIFI module; wherein,
the LBS module is configured to obtain a geographic location of the smart device through a radio Communication network of an operator, such as a Global System for Mobile communications (GSM) network, a Code Division Multiple Access (CDMA) network, or an external positioning method, such as a Global Positioning System (GPS), where the geographic location may include: geographic coordinates or geodetic coordinates;
the clock module is used for determining time and timing according to the determined time;
and the WIFI module is used for connecting the APs through wireless signals and recording SSIDs and passwords of the connected APs.
Specifically, the intelligent device receives an IE frame sent by an AP, where information contained in the IE frame may include: a signal transmission power;
here, the smart device determining the signal strength of the at least one AP includes: the WIFI module of the intelligent device receives an IE frame sent by at least one AP, determines the signal transmitting power of the corresponding AP according to the received IE frame, and determines the signal strength (dBm) of the corresponding AP according to the determined signal transmitting power.
Here, when the smart device is connected to the AP, the LBS module correspondingly records a geographic location when the smart device is connected to the AP, and the clock module correspondingly records a time when the smart device is connected to the AP.
Specifically, the determining an access value of the at least one AP according to the state information includes:
acquiring a weight of a preset geographic position, a weight of time and a weight of signal intensity;
and determining an access value of the at least one AP according to the weight of the geographic position, the weight of the time, the weight of the signal strength, and the absolute value of the geographic position difference, the absolute value of the time difference and the signal strength of the at least one AP.
Here, the intelligent device prestores a weight of a geographical location, a weight of time, and a weight of signal strength; the weight of the geographical position, the weight of the time and the weight of the signal intensity are preset and stored in the intelligent equipment by a manufacturer of the intelligent equipment when the intelligent equipment is generated, and the weight of the geographical position, the weight of the time and the weight of the signal intensity can be modified by a user through a human-computer interaction interface of the intelligent equipment. Generally, the weight of the signal strength can be increased when it is desired to select an AP with higher signal strength from a plurality of networkable APs; the time weight and/or geographic location weight may be increased when it is desired to select a more frequently connected AP from a plurality of networkable APs within a certain area.
Here, the sum of the weight of the geographical location, the weight of the time, and the weight of the signal strength is 1; for example, the geographic location may be weighted 0.4, the time may be weighted 0.3, and the signal strength may be weighted 0.3. The step length of the weight value can be adjusted to be 0.05, any weight value is increased, and other weight values are correspondingly reduced; for example: if any one of the weights is increased by 0.05, the other two weights are decreased by 0.025.
Specifically, the access value ═ Ln + Tn t + Dn d; wherein Ln represents an absolute value of a geographical location difference, l represents a weight of a geographical location, Tn represents an absolute value of a time difference, t represents a weight of time, Dn represents a signal strength, d represents a weight of a signal strength, and n represents an nth access point.
Step 103, according to the access value, selecting a target AP from the at least one AP and accessing the target AP.
Specifically, the step 103 includes:
the intelligent equipment determines an access value of the at least one AP, and sorts the access values in a descending order; and selecting the AP with the maximum access value as the target AP, wherein the intelligent equipment is connected with the target AP through a WIFI module.
Here, the larger the access value of the AP, the higher the degree of accessibility of the AP, that is, the more suitable it is as a target AP.
In this embodiment, the determining the number of APs included in the candidate AP set may further include:
when only one AP is determined to be contained in the set of alternative APs, the contained AP can be directly determined as a target AP;
and when determining that the set of the alternative APs comprises at least two APs, determining an access value of at least one AP according to the operation of the step 102, and then selecting a target AP according to the operation of the step 103.
In this embodiment, when the smart device scans a plurality of connectable APs, by using the method of this embodiment, information such as signal strength of each AP is determined through the function of the WIFI module itself, and an access value of each AP is calculated by combining the recorded information such as time and geographical location of the last access to the AP, and a target AP is selected and connected according to the determined access value.
Fig. 2 is a flowchart illustrating a second method for connecting an access point according to an embodiment of the present invention; the method is applied to the intelligent device, and as shown in fig. 2, the method comprises the following steps:
step 201, acquiring a set of alternative APs, and detecting the signal intensity Ln of the Nth AP;
here, the set of alternative APs includes: at least one AP that is networkable; n is an integer greater than or equal to 1;
step 202, aiming at the Nth AP, determining the difference value between the current geographic position and the geographic position when the AP is connected for the last time, and taking the absolute value of the difference value to be recorded as Dn;
step 203, determining the difference between the current time and the time of the latest AP connection for the Nth AP, taking the absolute value of the difference and recording the absolute value as Tn;
step 204, obtaining a preset weight d of the geographic position, a preset weight t of the time and a preset weight l of the signal intensity; determining an access value of the Nth AP according to the Dn, the Tn, the Ln, the t, the d and the l; here, the access value is Ln + Tn + t + Dn.
Step 205, comparing the access value of the nth AP with the previous maximum access value;
step 206, determining a larger access value;
step 207, calculating the access value of each AP in the set of alternative APs in sequence according to step 201 and 206;
step 208, until determining the AP with the largest access value in the candidate AP set, connecting the AP with the largest access value;
step 209, the smart device records the time of the AP connection and the current geographic location.
Fig. 3 is a flowchart illustrating a method for determining a set of alternative APs according to an embodiment of the present invention; the method is applied to the intelligent device, and as shown in fig. 3, the method comprises the following steps:
301, the intelligent device obtains a stored first AP set;
here, the first set of APs includes: m APs which are stored by the intelligent equipment and support automatic connection; m is an integer greater than or equal to 1;
step 302, scanning an AP in an area where the intelligent device is located; judging whether the scanned AP is contained in the first AP set; entering step 303 when determining that the scanned AP is included; when determining that the scanned AP is not included, go to step 305;
step 303, judging whether the scanned AP included in the first AP set is network-enabled, if so, entering step 304, and if not, entering step 305;
step 304, adding the scanned AP contained in the first AP set into a set of alternative APs;
step 305, returning the M +1 to the step 301 until all scanned and network-connectable APs in the first AP set are determined;
step 306, after determining all the scanned and network-connectable APs in the first AP set, ending the operation.
Fig. 4 is a diagram illustrating a first connection device of an access point according to an embodiment of the present invention; as shown in fig. 4, the apparatus includes: the device comprises an acquisition module and a processing module; wherein,
the acquiring module is configured to acquire a set of candidate APs, where the set of candidate APs includes: at least one AP that is networkable;
specifically, the obtaining module is specifically configured to determine a first AP set and a second AP set; the first set of APs comprising: at least one AP supporting automatic connection; the second set of APs comprising: at least one AP which can be scanned in the area where the AP is located;
determining at least one AP included in the first set of APs and included in the second set of APs, and using the set of at least one AP included in the first set of APs and included in the second set of APs as the set of alternative APs.
The processing module is configured to determine state information of the at least one AP, and determine an access value of the at least one AP according to the state information; the access value characterizes an accessibility of the access point; and selecting a target AP from the at least one AP according to the access value and accessing the target AP.
Specifically, the processing module is specifically configured to determine a signal strength, a first geographic location, a first time, a second geographic location, and a second time of the at least one AP;
determining an absolute value of a geographical position difference value according to the first geographical position and the second geographical position, and determining an absolute value of a time difference value according to the first time and the second time;
and determining the absolute value of the geographic position difference value, the absolute value of the time difference value and the signal strength as the state information.
Specifically, the processing module is specifically configured to obtain a weight of a preset geographic location, a weight of time, and a weight of signal strength;
and determining an access value of the at least one AP according to the weight of the geographic position, the weight of the time, the weight of the signal strength, and the absolute value of the geographic position difference, the absolute value of the time difference and the signal strength of the at least one AP.
Specifically, the processing module is specifically configured to sort the access values of the at least one AP in a descending order; and determining the AP with the maximum access value as the target AP and connecting the target AP.
To implement the method according to the embodiment of the present invention, the apparatus for connecting an access point is provided in an intelligent device, and specifically, as shown in fig. 5, the apparatus 50 includes:
a processor 501 and a memory 502 for storing computer programs executable on the processor; wherein,
the processor 501 is configured to, when running the computer program, perform:
acquiring a set of alternative APs, wherein the set of alternative APs comprises: at least one AP that is networkable;
determining the state information of the at least one AP, and determining the access value of the at least one AP according to the state information; the access value characterizes an accessibility of the access point;
and selecting a target AP from the at least one AP according to the access value and accessing the target AP.
In an embodiment, the processor 501 is configured to execute, when running the computer program, the following steps:
determining a signal strength, a first geographic location, a first time, a second geographic location, a second time of the at least one AP;
determining an absolute value of a geographical position difference value according to the first geographical position and the second geographical position, and determining an absolute value of a time difference value according to the first time and the second time;
and determining the absolute value of the geographic position difference value, the absolute value of the time difference value and the signal strength as the state information.
In an embodiment, the processor 501 is configured to execute, when running the computer program, the following steps:
acquiring a weight of a preset geographic position, a weight of time and a weight of signal intensity;
and determining an access value of the at least one AP according to the weight of the geographic position, the weight of the time, the weight of the signal strength, and the absolute value of the geographic position difference, the absolute value of the time difference and the signal strength of the at least one AP.
In an embodiment, the processor 501 is configured to execute, when running the computer program, the following steps:
a first set of APs and a second set of APs; the first set of APs comprising: at least one AP supporting automatic connection; the second set of APs comprising: at least one AP which can be scanned in the area where the AP is located;
determining at least one AP included in the first set of APs and included in the second set of APs, and using the set of at least one AP included in the first set of APs and included in the second set of APs as the set of alternative APs.
In an embodiment, the processor 501 is configured to execute, when running the computer program, the following steps:
sequencing the access values of the at least one AP from big to small;
and determining the AP with the maximum access value as the target AP and connecting the target AP.
It should be noted that: the embodiments of the apparatus for connecting an access point and the method for connecting an access point provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the embodiments of the methods and are not described herein again.
Of course, in practical applications, as shown in fig. 5, the apparatus 50 may further include: at least one network interface 503. The various components in the connection means 50 of the access point are coupled together by a bus system 504. It is understood that the bus system 504 is used to enable communications among the components. The bus system 504 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 504 in fig. 5. The number of the processors 504 may be at least one. The network interface 503 is used for communication between the connection device 50 of the access point and other devices in a wired or wireless manner. The memory 502 in embodiments of the present invention is used to store various types of data to support the operation of the device 50.
The method disclosed by the above-mentioned embodiments of the present invention may be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 501. The Processor 501 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. Processor 501 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 502, and the processor 501 reads the information in the memory 502 and performs the steps of the aforementioned methods in conjunction with its hardware.
In an exemplary embodiment, the connection Device 50 of the access point may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the aforementioned methods.
Specifically, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program performs:
acquiring a set of alternative APs, wherein the set of alternative APs comprises: at least one AP that is networkable;
determining the state information of the at least one AP, and determining the access value of the at least one AP according to the state information; the access value characterizes an accessibility of the access point;
and selecting a target AP from the at least one AP according to the access value and accessing the target AP.
In one embodiment, the computer program, when executed by the processor, performs:
determining a signal strength, a first geographic location, a first time, a second geographic location, a second time of the at least one AP;
determining an absolute value of a geographical position difference value according to the first geographical position and the second geographical position, and determining an absolute value of a time difference value according to the first time and the second time;
and determining the absolute value of the geographic position difference value, the absolute value of the time difference value and the signal strength as the state information.
In one embodiment, the computer program, when executed by the processor, performs:
acquiring a weight of a preset geographic position, a weight of time and a weight of signal intensity;
and determining an access value of the at least one AP according to the weight of the geographic position, the weight of the time, the weight of the signal strength, and the absolute value of the geographic position difference, the absolute value of the time difference and the signal strength of the at least one AP.
In one embodiment, the computer program, when executed by the processor, performs:
a first set of APs and a second set of APs; the first set of APs comprising: at least one AP supporting automatic connection; the second set of APs comprising: at least one AP which can be scanned in the area where the AP is located;
determining at least one AP included in the first set of APs and included in the second set of APs, and using the set of at least one AP included in the first set of APs and included in the second set of APs as the set of alternative APs.
In one embodiment, the computer program, when executed by the processor, performs:
sequencing the access values of the at least one AP from big to small;
and determining the AP with the maximum access value as the target AP and connecting the target AP.
Fig. 6 is a schematic structural diagram of a connection system of an access point according to an embodiment of the present invention; as shown in fig. 6, the system includes: the system comprises an intelligent device, an AP set and a server; wherein,
the intelligent device acquires a set of alternative APs, wherein the set of alternative APs comprises: at least one networkable AP; determining the state information of the at least one AP, and determining the access value of the at least one AP according to the state information; the access value characterizes an accessibility of the access point; selecting a target AP from the at least one AP and accessing the target AP according to the access value;
the AP set comprises all the APs in the alternative AP set; the AP set is used for providing connection service for the intelligent equipment; and the server is used for managing and maintaining the AP set.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. that are within the spirit and principle of the present invention should be included in the present invention.
Claims (12)
1. A method for connecting an Access Point (AP), the method comprising:
acquiring a set of alternative APs, wherein the set of alternative APs comprises: at least one AP that is networkable;
determining the state information of the at least one AP, and determining the access value of the at least one AP according to the state information; the access value characterizes an accessibility of the access point;
and selecting a target AP from the at least one AP according to the access value and accessing the target AP.
2. The method of claim 1, wherein the determining the status information of the at least one AP comprises:
determining a signal strength, a first geographic location, a first time, a second geographic location, a second time of the at least one AP;
determining an absolute value of a geographical position difference value according to the first geographical position and the second geographical position, and determining an absolute value of a time difference value according to the first time and the second time;
and determining the absolute value of the geographic position difference value, the absolute value of the time difference value and the signal strength as the state information.
3. The method of claim 2, wherein the determining the access value of the at least one AP according to the status information comprises:
acquiring a weight of a preset geographic position, a weight of time and a weight of signal intensity;
and determining an access value of the at least one AP according to the weight of the geographic position, the weight of the time, the weight of the signal strength, and the absolute value of the geographic position difference, the absolute value of the time difference and the signal strength of the at least one AP.
4. The method of claim 1, wherein the obtaining the set of alternative APs comprises:
determining a first set of APs and a second set of APs; the first set of APs comprising: at least one AP supporting automatic connection; the second set of APs comprising: at least one AP which can be scanned in the area where the AP is located;
determining at least one AP included in the first set of APs and included in the second set of APs, and using the set of at least one AP included in the first set of APs and included in the second set of APs as the set of alternative APs.
5. The method of claim 1, wherein selecting a target AP from the at least one AP and accessing the target AP according to the access value comprises:
sequencing the access values of the at least one AP from big to small;
and determining the AP with the maximum access value as the target AP and connecting the target AP.
6. An apparatus for connecting an access point, the apparatus comprising: the device comprises an acquisition module and a processing module; wherein,
the acquiring module is configured to acquire a set of candidate APs, where the set of candidate APs includes: at least one AP that is networkable;
the processing module is configured to determine state information of the at least one AP, and determine an access value of the at least one AP according to the state information; the access value characterizes an accessibility of the access point; and selecting a target AP from the at least one AP according to the access value and accessing the target AP.
7. The apparatus according to claim 6, wherein the processing module is specifically configured to determine the signal strength, the first geographic location, the first time, the second geographic location, the second time of the at least one AP;
determining an absolute value of a geographical position difference value according to the first geographical position and the second geographical position, and determining an absolute value of a time difference value according to the first time and the second time;
and determining the absolute value of the geographic position difference value, the absolute value of the time difference value and the signal strength as the state information.
8. The apparatus according to claim 7, wherein the processing module is specifically configured to obtain a weight of a preset geographic location, a weight of time, and a weight of signal strength;
and determining an access value of the at least one AP according to the weight of the geographic position, the weight of the time, the weight of the signal strength, and the absolute value of the geographic position difference, the absolute value of the time difference and the signal strength of the at least one AP.
9. The apparatus according to claim 6, wherein the obtaining module is specifically configured to determine a first set of APs and a second set of APs; the first set of APs comprising: at least one AP supporting automatic connection; the second set of APs comprising: at least one AP which can be scanned in the area where the AP is located;
determining at least one AP included in the first set of APs and included in the second set of APs, and using the set of at least one AP included in the first set of APs and included in the second set of APs as the set of alternative APs.
10. The apparatus according to claim 6, wherein the processing module is specifically configured to sort the access values of the at least one AP in descending order;
and determining the AP with the maximum access value as the target AP and connecting the target AP.
11. An apparatus for connecting an access point, the apparatus comprising: a processor and a memory for storing a computer program capable of running on the processor;
wherein the processor is adapted to perform the steps of the method of any one of claims 1 to 5 when running the computer program.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810096503.1A CN110099426A (en) | 2018-01-31 | 2018-01-31 | Connection method, device, storage medium and the server of access point |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810096503.1A CN110099426A (en) | 2018-01-31 | 2018-01-31 | Connection method, device, storage medium and the server of access point |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110099426A true CN110099426A (en) | 2019-08-06 |
Family
ID=67442080
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810096503.1A Pending CN110099426A (en) | 2018-01-31 | 2018-01-31 | Connection method, device, storage medium and the server of access point |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110099426A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011146831A1 (en) * | 2010-05-20 | 2011-11-24 | At&T Mobility Ii Llc | Wi-fi intelligent selection engine |
CN105208629A (en) * | 2015-08-11 | 2015-12-30 | 广东欧珀移动通信有限公司 | Method and device for automatically accessing AP in WiFi communication |
CN105491642A (en) * | 2015-11-25 | 2016-04-13 | 小米科技有限责任公司 | Network connection method and device |
CN105979572A (en) * | 2016-06-30 | 2016-09-28 | 上海斐讯数据通信技术有限公司 | Method of selecting network access device and network terminal |
-
2018
- 2018-01-31 CN CN201810096503.1A patent/CN110099426A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011146831A1 (en) * | 2010-05-20 | 2011-11-24 | At&T Mobility Ii Llc | Wi-fi intelligent selection engine |
CN105208629A (en) * | 2015-08-11 | 2015-12-30 | 广东欧珀移动通信有限公司 | Method and device for automatically accessing AP in WiFi communication |
CN105491642A (en) * | 2015-11-25 | 2016-04-13 | 小米科技有限责任公司 | Network connection method and device |
CN105979572A (en) * | 2016-06-30 | 2016-09-28 | 上海斐讯数据通信技术有限公司 | Method of selecting network access device and network terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11363102B2 (en) | Communication method and apparatus for network accessible only in specific area | |
CN110401943B (en) | Mobile terminal network-residing method, device, server and storage medium | |
US12167498B2 (en) | Enterprise remote management for cellular services | |
EP3151628A1 (en) | Method, device and system for accessing a wireless network | |
EP3197213B1 (en) | Network access method and mobile communication terminal | |
US11765587B2 (en) | Wireless network access control method, device, and system | |
CN104902541B (en) | A kind of method for network access and mobile communication terminal | |
CN111221484B (en) | Screen projection method and device | |
WO2016173336A1 (en) | Network access method and mobile communication terminal | |
CN107864053B (en) | Zookeeper-based dynamic configuration method and device | |
KR20150025208A (en) | Method for connecting network and an electronic device thereof | |
US20180220391A1 (en) | Network registration method and mobile device | |
CN105813086A (en) | Method and system for target network coverage detection | |
US20220225471A1 (en) | Flight Area Management Method for Uncrewed Aerial Vehicle and Related Apparatus | |
CN112929224A (en) | Network distribution method and device of equipment, server and computer readable storage medium | |
CN104853410A (en) | Network access method and mobile communication terminal | |
WO2016202263A1 (en) | Method and server for saving standard format page | |
CN112469106B (en) | A method, device and readable storage medium for configuring access point name | |
CN103188733B (en) | A kind of method and device improving load balancing degrees | |
CN112042231B (en) | A method and terminal device for acquiring information | |
WO2016173338A1 (en) | Network access method and mobile communications terminal | |
CN107949019B (en) | Load balancing method of wireless access point | |
KR101993778B1 (en) | Apparatus and Method for Displaying Indicator According to Interwork Network | |
CN110858990B (en) | Network reselection method and device | |
CN110099426A (en) | Connection method, device, storage medium and the server of access point |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190806 |
|
RJ01 | Rejection of invention patent application after publication |