CN107493594A - A kind of internet of things equipment access AP method and AP - Google Patents
A kind of internet of things equipment access AP method and AP Download PDFInfo
- Publication number
- CN107493594A CN107493594A CN201710598516.4A CN201710598516A CN107493594A CN 107493594 A CN107493594 A CN 107493594A CN 201710598516 A CN201710598516 A CN 201710598516A CN 107493594 A CN107493594 A CN 107493594A
- Authority
- CN
- China
- Prior art keywords
- internet
- things equipment
- access
- priority
- target
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/02—Access restriction performed under specific conditions
- H04W48/06—Access restriction performed under specific conditions based on traffic conditions
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of internet of things equipment access AP method and AP, this method includes:When receiving the access request of target internet of things equipment, whether the quantity for detecting the internet of things equipment for having accessed access point AP reaches preset upper limit value;If the internet of things equipment for having accessed AP reaches preset upper limit value, the priority of each internet of things equipment in the internet of things equipment for having accessed AP is obtained;Judge whether the priority of target internet of things equipment is more than the priority of the first internet of things equipment, the first internet of things equipment is priority is minimum in the internet of things equipment for accessed AP one;If the priority of target internet of things equipment is more than the priority of the first internet of things equipment, the first internet of things equipment is disconnected with AP, target internet of things equipment is accessed into AP.AP load can be mitigated by implementing the embodiment of the present invention.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of internet of things equipment access AP method and AP.
Background technology
Currently, as the number of nodes in Internet of Things network is more and more, often have new internet of things equipment and add net
Network.At present, the mode that internet of things equipment adds network is to input the key of access point (Access Point, AP) and then add net
Network.However, when the internet of things equipment quantity in network is more, AP loads are heavier.
The content of the invention
The embodiment of the invention discloses a kind of internet of things equipment access AP method and AP, can mitigate AP load
Meanwhile ensure that the higher equipment of priority can preferentially network.
First aspect of the embodiment of the present invention discloses a kind of internet of things equipment access AP method, including:
When receiving the access request of target internet of things equipment, detection has accessed access point AP internet of things equipment
Whether quantity reaches preset upper limit value;
If the internet of things equipment for having accessed the AP reaches the preset upper limit value, institute has been accessed described in acquisition
State the priority of each internet of things equipment in AP internet of things equipment;
Judge the target internet of things equipment priority whether be more than the first internet of things equipment priority, described first
Internet of things equipment is priority is minimum in the internet of things equipment for having accessed the AP one;
If the priority of the target internet of things equipment is more than the priority of first internet of things equipment, by described first
Internet of things equipment is disconnected with the AP, and the target internet of things equipment is accessed into the AP.
Wherein, the priority of each internet of things equipment can be stored in advance in AP memory, and AP priority can be with
Set by user, can also according to each internet of things equipment and AP cohesion (number that is connected with AP, connection when
Long, connection success rate etc.) calculated.The embodiment of the present invention can mitigate AP load while, ensure priority compared with
High equipment can preferentially network.
Optionally, if the internet of things equipment for having accessed the AP is not up to the preset upper limit value, by the mesh
Mark internet of things equipment and access the AP.
Optionally, if the priority of the target internet of things equipment is less than the priority of first internet of things equipment, refuse
Target internet of things equipment described absolutely accesses the AP.
Optionally, the priority of each internet of things equipment is based on the accumulative access AP of each internet of things equipment
Duration, the accumulative access AP of each internet of things equipment number and each internet of things equipment access the AP
Success rate determine.
Optionally, it is described detect accessed access point AP internet of things equipment quantity whether reach preset upper limit value it
Afterwards, methods described also includes:
If the internet of things equipment for having accessed the AP reaches the preset upper limit value, sent to destination mobile terminal
Prompting message, the internet of things equipment that the prompting message is used to prompt to access the AP reach the preset upper limit value.
Optionally, it is described to disconnect first internet of things equipment with the AP, by the target internet of things equipment
Access before the AP, methods described also includes:
To destination mobile terminal send for the target internet of things equipment access request, the destination mobile terminal with
The AP and the internet of things equipment for having accessed the AP establish binding relationship;
The access configured information that the destination mobile terminal is sent is received, the access configured information is used to indicate the AP
The target internet of things equipment whether is allowed to access;
If the access configured information indicates that the AP allows the target internet of things equipment to access, perform described by institute
The first internet of things equipment is stated to disconnect with the AP, by the target internet of things equipment access the AP the step of;
If the access configured information indicates that the AP does not allow the target internet of things equipment to access, refuse the target
Internet of things equipment accesses the AP.
Wherein, when the priority of target internet of things equipment meets the requirements, it is also necessary to further obtain and award to target terminal
Power, if target terminal allows the target internet of things equipment to access, the target internet of things equipment is accessed into AP, if target is whole
End does not allow the target internet of things equipment to access, then refuses target internet of things equipment access AP.Target terminal is added to be authorized
Certification, it can further improve internet of things equipment access AP security.
Optionally, it is described detect accessed access point AP internet of things equipment quantity whether reach preset upper limit value it
Afterwards, methods described also includes:
If the internet of things equipment for having accessed the AP reaches the preset upper limit value, sent to destination mobile terminal
The internet of things equipment mark of connection to be broken obtains request, the destination mobile terminal and the Internet of Things for having accessed the AP
Net equipment establishes binding relationship;
The internet of things equipment mark for the connection to be broken that the destination mobile terminal is sent is received, the connection to be broken
The internet of things equipment of connection to be broken corresponding to internet of things equipment mark is any in the internet of things equipment for having accessed AP
It is individual;
The internet of things equipment of the connection to be broken is disconnected with the AP, and the target internet of things equipment is connect
Enter the AP.
Wherein it is possible to which the internet of things equipment of the connection to be broken sent by receiving destination mobile terminal identifies, will wait to break
The internet of things equipment and AP for opening connection disconnect.The internet of things equipment of connection to be broken can be selected according to user, and will
The internet of things equipment of connection to be broken disconnects with AP, can also will wait to break according to preset rules selection by destination mobile terminal
The internet of things equipment of connection is opened, and the internet of things equipment of connection to be broken is disconnected with AP, so as to mitigate the negative of AP
Lotus.
Second aspect of the embodiment of the present invention discloses a kind of AP, including:
Detection unit, for when receiving the access request of target internet of things equipment, detection to have accessed access point AP
The quantity of internet of things equipment whether reach preset upper limit value;
Acquiring unit, for reaching described when the internet of things equipment that the AP has been accessed described in detection unit detection
During preset upper limit value, the priority of each internet of things equipment in the internet of things equipment of the AP has been accessed described in acquisition;
Judging unit, for judging whether the priority of the target internet of things equipment is more than the excellent of the first internet of things equipment
First level, first internet of things equipment are priority is minimum in the internet of things equipment for having accessed the AP one;
Connection unit, it is more than the preferential of first internet of things equipment for the priority when the target internet of things equipment
During level, first internet of things equipment is disconnected with the AP, the target internet of things equipment is accessed into the AP.
Optionally, the connection unit, it is additionally operable to when the internet of things equipment for having accessed the AP is not up to described
Preset upper limit value, the target internet of things equipment is accessed into the AP.
Optionally, the connection unit, it is additionally operable to when the priority of the target internet of things equipment is less than first thing
During the priority of networked devices, refuse the target internet of things equipment and access the AP.
Optionally, the priority of each internet of things equipment is based on the accumulative access AP of each internet of things equipment
Duration, the accumulative access AP of each internet of things equipment number and each internet of things equipment access the AP
Success rate determine.
Optionally, the AP also includes:
Transmitting element, for when the internet of things equipment for having accessed the AP reaches the preset upper limit value, to
Destination mobile terminal sends prompting message, and the internet of things equipment that the prompting message is used to prompt to access the AP reaches described pre-
If higher limit.
Optionally, the AP also includes:
Transmitting element, it is described for sending the access request for the target internet of things equipment to destination mobile terminal
Destination mobile terminal establishes binding relationship with the AP and the internet of things equipment for having accessed the AP;
Receiving unit, the access configured information sent for receiving the destination mobile terminal, the access configured information
For indicating whether the AP allows the target internet of things equipment to access;
The connection unit, it is additionally operable to when the access configured information indicates that the AP allows the target internet of things equipment
During access, first internet of things equipment is disconnected with the AP, the target internet of things equipment is accessed into the AP;
The connection unit, it is additionally operable to when the access configured information indicates that the AP does not allow the target Internet of Things to set
During standby access, refuse the target internet of things equipment and access the AP.
Optionally, the AP also includes:
The transmitting element, it is additionally operable to when the internet of things equipment for having accessed the AP reaches the preset upper limit value
When, the internet of things equipment mark that connection to be broken is sent to destination mobile terminal obtains request, the destination mobile terminal and institute
State and accessed the internet of things equipment of the AP and establish binding relationship;
Receiving unit, the internet of things equipment mark of the connection to be broken sent for receiving the destination mobile terminal, institute
The internet of things equipment for stating connection to be broken corresponding to the internet of things equipment mark of connection to be broken is the thing for having accessed AP
Any of networked devices;
The connection unit, it is additionally operable to disconnect the internet of things equipment of the connection to be broken with the AP, and will
The target internet of things equipment accesses the AP.
In the embodiment of the present invention, when the internet of things equipment for accessing AP reaches preset upper limit value, if new Internet of Things
Equipment is wanted to access the AP, and whether AP judges the priority of the new internet of things equipment higher than in the internet of things equipment connected
Minimum one of priority, if so, then disconnect minimum one of priority in the internet of things equipment connected with the AP,
And the new internet of things equipment is accessed into the AP.Implement the embodiment of the present invention, can reach pre- in the internet of things equipment of AP connections
If not being directly to refuse new internet of things equipment access AP during higher limit, but according to the priority of internet of things equipment, it is allowed to excellent
The higher equipment access AP of first level, and the relatively low equipment of priority is disconnected with AP, while AP load is mitigated, protect
The higher equipment of card priority can preferentially network.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability
For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached
Figure.
Fig. 1 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of internet of things equipment access AP method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another internet of things equipment access AP method disclosed in the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another internet of things equipment access AP method disclosed in the embodiment of the present invention;
Fig. 5 is a kind of AP structural representation disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another AP disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this
Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example is applied, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of internet of things equipment access AP method and AP, can mitigate AP load
Meanwhile ensure that the higher equipment of priority can preferentially network.It is described in detail individually below.
In order to be better understood from the embodiment of the present invention, first a kind of network architecture disclosed in the embodiment of the present invention is carried out below
Description.Referring to Fig. 1, Fig. 1 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention.As shown in figure 1, the network architecture
Including access point and multiple internet of things equipment, access point (Access Point, AP) can pass through nothing with multiple internet of things equipment
Line network connection (for example, WiFi connections).
AP, it is the access point of a wireless network, is commonly called as " focus ", central points of the AP as WLAN, confession is other
Equipment (for example, internet of things equipment) equipped with wireless communication module accesses the WLAN by it.Internet of Things (Internet
Of Things, IoT) equipment, refer to the equipment that sensor and wireless communication module (for example, WiFi module) combine, such as can wear
The smart machine in equipment, intelligent vehicle-carried equipment, home network is worn (for example, intelligent desk lamp, intelligent refrigerator, intelligent television, intelligence
Washing machine, intelligent air condition, Intelligent air purifier) etc..AP can be managed and control to the internet of things equipment being attached thereto
System, the quantity of the internet of things equipment of AP accesses can be controlled, implements the network architecture shown in Fig. 1, mitigates AP load.
Referring to Fig. 2, Fig. 2 is a kind of flow signal of internet of things equipment access AP method disclosed in the embodiment of the present invention
Figure.As shown in Fig. 2 internet of things equipment access AP method comprises the following steps.
201, when receiving the access request of target internet of things equipment, AP detections have accessed AP internet of things equipment
Whether quantity reaches preset upper limit value.If so, step 202 is then performed, if it is not, then performing step 205.
In the embodiment of the present invention, when internet of things equipment needs to access internet, the AP (heat near internet of things equipment search
Point), when searching service set (Service the Set Identifier, SSID) of the AP, the password of the SSID is inputted,
The AP is may be connected to, accesses internet.When internet of things equipment accesses AP, if First Contact Connections, then need to input the AP
SSID passwords, cipher authentication could access the AP after, and if not First Contact Connections, then internet of things equipment can preserve
History connects the SSID passwords of the AP, carries out cipher authentication automatically.However, because AP load is limited, the section that AP can be connected
Point limited amount, therefore, can pre-set the higher limit of the quantity for the internet of things equipment that AP can be connected, for example, setting pre-
If higher limit is 15.Target Internet of Things is the current internet of things equipment for wanting access AP, and target internet of things equipment can be to AP
Access request is initiated, AP receives the access request of the target internet of things equipment.
202, AP obtain the priority of each internet of things equipment in the internet of things equipment for having accessed AP.
In the embodiment of the present invention, when the internet of things equipment for having accessed AP reaches preset upper limit value, AP can be from AP's
The preferential of each internet of things equipment in the internet of things equipment for having accessed AP is obtained in memory (for example, nonvolatile memory)
Level.The priority of internet of things equipment can be set by user, and after user sets the priority of Internet of Things, Internet of Things is set
It is standby be connected with AP after, priority that internet of things equipment can pre-set user is issued AP and recorded.Optionally, Internet of Things
The priority of net equipment can also be judged by AP according to default rule (for example, historical connection information), for example, AP can be with
The time being attached thereto for the first time in the internet of things equipment being attached thereto is obtained, AP works as the time gap being attached thereto for the first time
The priority of most long internet of things equipment of preceding time is set to highest, and the time gap current time being attached thereto for the first time is most long
The priority of internet of things equipment be set to minimum.Certainly, AP can also determine the preferential of internet of things equipment according to other rules
Level.
Optionally, duration of the priority of each internet of things equipment based on the accumulative access AP of each internet of things equipment, each
Internet of things equipment adds up access AP number and each internet of things equipment access AP success rate to determine.
In the embodiment of the present invention, the accumulative access AP of internet of things equipment duration is longer, the accumulative access AP of internet of things equipment
Number is more, internet of things equipment access AP success rate is higher, then the priority of internet of things equipment is higher.Can be according to Internet of Things
Equipment and AP cohesion judges the priority of internet of things equipment, and AP can be according to each internet of things equipment and the company of itself
Connect frequency, connection number, connect duration to calculate the priority of each internet of things equipment.For example, weight coefficient can be set, lift
For example, the weight coefficient that can set the accumulative access AP of internet of things equipment duration (hour) is that 0.5, internet of things equipment adds up
The weight coefficient for accessing AP number is 0.3, the weight coefficient of internet of things equipment access AP success rate is 0.2.Then Internet of Things
The priority calculation formula of equipment is the accumulative access AP of P=0.5* internet of things equipment duration (hour)+0.3* internet of things equipment
Accumulative access AP number+0.2* internet of things equipment access AP success rate.The meter of the priority of internet of things equipment is calculated above
Calculation method is only a kind of example, can also use other calculation formula, differ a citing herein.Each thing is set with user
The priority of networked devices is compared, and the embodiment of the present invention accurately can calculate Internet of Things according to internet of things equipment and AP cohesion
The priority of net equipment, is configured without user, can calculate the priority of each internet of things equipment automatically.
203, AP judge whether the priority of target internet of things equipment is more than the priority of the first internet of things equipment, the first thing
Networked devices are priority is minimum in the internet of things equipment for accessed AP one.If so, step 204 is then performed, if it is not, then
Perform step 206.
204, AP disconnect the first internet of things equipment with AP, and target internet of things equipment is accessed into AP.
In the embodiment of the present invention, when target internet of things equipment is to AP transmission access requests, it can be carried in access request
The priority of the mark of the target internet of things equipment and the target internet of things equipment.When the internet of things equipment for having accessed AP reaches
During preset upper limit value, AP, which is obtained, have been accessed in AP all internet of things equipment after the priority of each internet of things equipment, is compared
Whether the priority of target internet of things equipment is more than priority is minimum in all internet of things equipment for having accessed AP one, if
It is then to show that the priority of the target internet of things equipment is higher, it may be considered that the target internet of things equipment is accessed into AP.If it is not,
Then show that the priority for all internet of things equipment that the priority ratio of the target internet of things equipment has been connected with AP will be low,
It is contemplated that the target internet of things equipment is accessed AP by refusal.
For example, the priority for all internet of things equipment being currently attached thereto has been prestored in AP, it is assumed that AP can
Using the preset upper limit value of the internet of things equipment of access as 6, the internet of things equipment being connected with AP includes:Internet of things equipment 1, Internet of Things
Equipment 2, internet of things equipment 3, internet of things equipment 4, internet of things equipment 5, internet of things equipment 6.Can in AP nonvolatile memory
To be stored with the mapping table of internet of things equipment and priority, as shown in table 1.
Table 1
Internet of things equipment | Priority |
Internet of things equipment 1 | 1 |
Internet of things equipment 2 | 3 |
Internet of things equipment 3 | 2 |
Internet of things equipment 4 | 3 |
Internet of things equipment 5 | 4 |
Internet of things equipment 6 | 5 |
In table 1, priority corresponding to internet of things equipment 1 is 1, priority corresponding to internet of things equipment 2 is 3, Internet of Things is set
Priority corresponding to standby 3 is 2, priority corresponding to internet of things equipment 4 is 3, priority corresponding to internet of things equipment 5 is 4, Internet of Things
Priority corresponding to net equipment 6 is 5.Each internet of things equipment corresponds to a priority size.As it can be seen from table 1 Internet of Things
The priority of net equipment 1 is minimum, the highest priority of internet of things equipment 6.
If the priority of target internet of things equipment is 3, the priority of the target internet of things equipment is set more than Internet of Things
Standby 1 priority and the priority of internet of things equipment 3, then AP internet of things equipment 1 and AP is disconnected, target Internet of Things is set
Standby access AP.If the priority of target internet of things equipment is 0, what the priority ratio of the target internet of things equipment was connected with AP
The priority of all internet of things equipment will be low, then AP refuses target internet of things equipment access AP.
Target internet of things equipment is accessed AP by 205, AP.
206, AP refusal target internet of things equipment access AP.
Optionally, before step 204 or step 205 or step 206 is performed, following steps be can also carry out:
207, AP send the access request for target internet of things equipment, destination mobile terminal and AP to destination mobile terminal
The internet of things equipment for having accessed AP establishes binding relationship;
208, the access configured information that destination mobile terminal is sent is received, access configured information is used to indicate whether AP allows
Target internet of things equipment accesses;
209, if access configured information instruction AP allows target internet of things equipment to access, perform step 204 or step
205;
210, if access configured information instruction AP does not allow target internet of things equipment to access, perform step 206.
Wherein, when the priority of target internet of things equipment meets the requirements, it is also necessary to further obtain and award to target terminal
Power, if target terminal allows the target internet of things equipment to access, the target internet of things equipment is accessed into AP, if target is whole
End does not allow the target internet of things equipment to access, then refuses target internet of things equipment access AP.Target terminal is added to be authorized
Certification, it can further improve internet of things equipment access AP security.
Implement the method shown in Fig. 2, can not be directly to refuse when the internet of things equipment of AP connections reaches preset upper limit value
Internet of things equipment access AP new absolutely, but according to the priority of internet of things equipment, it is allowed to the higher equipment access AP of priority,
And disconnect the relatively low equipment of priority with AP, while AP load is mitigated, ensure the higher equipment energy of priority
Enough preferential networkings.
Referring to Fig. 3, the flow that Fig. 3 is another internet of things equipment access AP method disclosed in the embodiment of the present invention is shown
It is intended to.As shown in figure 3, internet of things equipment access AP method comprises the following steps.
301, when receiving the access request of target internet of things equipment, AP detections have accessed AP internet of things equipment
Whether quantity reaches preset upper limit value.If so, step 302 and step 307 are then performed, if it is not, then performing step 305.
302, AP obtain the priority of each internet of things equipment in the internet of things equipment for having accessed AP.
303, AP judge whether the priority of target internet of things equipment is more than the priority of the first internet of things equipment, the first thing
Networked devices are priority is minimum in the internet of things equipment for accessed AP one.If so, step 304 is then performed, if it is not, then
Perform step 306.
304, AP disconnect the first internet of things equipment with AP, and target internet of things equipment is accessed into AP.
Target internet of things equipment is accessed AP by 305, AP.
306, AP refusal target internet of things equipment access AP.
Step 301 to step 306 in the embodiment of the present invention may refer to step 201 described in Fig. 2 to step 206, this
Place repeats no more.
307, AP send prompting message to destination mobile terminal, and prompting message is used to prompt access AP internet of things equipment to reach
To preset upper limit value.
The embodiment of the present invention, when the internet of things equipment for having accessed AP reaches preset upper limit value, AP is moved eventually to target
End sends prompting message, and prompting message is used to prompt access AP internet of things equipment to reach preset upper limit value.Prompting message can be with
Text prompt message, can also be voice message message, can also be vibration prompting message or be the above it is several prompting disappear
The combination of breath.Destination mobile terminal can be bound with accessing AP all internet of things equipment in advance, when AP receives prompting
After message, user learns that the internet of things equipment of AP accesses has reached preset upper limit value, then user can be from access AP property
Some or multiple internet of things equipment are selected in networked devices, and sends to disconnect with AP to the one or more internet of things equipment and connects
The instruction connect, so as to be disconnected to the one or more internet of things equipment with AP.
Mobile terminal can include cell phone, tablet personal computer, personal digital assistant (Personal Digital
Assistant, PDA), mobile internet device (Mobile Internet Device, MID), Intelligent worn device (as intelligence
Wrist-watch, Intelligent bracelet) etc. all kinds of mobile terminals, the embodiment of the present invention be not construed as limiting.
Method shown in implementing Fig. 3, can not be directly to refuse when the internet of things equipment of AP connections reaches preset upper limit value
Internet of things equipment access AP new absolutely, but according to the priority of internet of things equipment, it is allowed to the higher equipment access AP of priority,
And disconnect the relatively low equipment of priority with AP, while AP load is mitigated, ensure the higher equipment energy of priority
Enough preferential networkings.Further, AP can also send prompting message to destination mobile terminal, to remind destination mobile terminal, connect
The internet of things equipment for entering AP reaches preset upper limit value, can be when the internet of things equipment for accessing AP reaches preset upper limit value, in time
User is reminded, which can also be determined by destination mobile terminal when the internet of things equipment for accessing AP reaches preset upper limit value
Internet of things equipment can disconnect with AP.
Referring to Fig. 4, the flow that Fig. 4 is another internet of things equipment access AP method disclosed in the embodiment of the present invention is shown
It is intended to.As shown in figure 4, internet of things equipment access AP method comprises the following steps.
401, when receiving the access request of target internet of things equipment, AP detections have accessed AP internet of things equipment
Whether quantity reaches preset upper limit value.If so, step 403 is then performed, if it is not, then performing step 402.
Target internet of things equipment is accessed AP by 402, AP.
403, the AP internet of things equipment marks that connection to be broken is sent to destination mobile terminal obtain request, and target movement is eventually
End establishes binding relationship with having accessed AP internet of things equipment.
404, AP receive the internet of things equipment mark for the connection to be broken that destination mobile terminal is sent, the thing of connection to be broken
The internet of things equipment of connection to be broken is to have accessed any of AP internet of things equipment corresponding to networked devices mark.
405, AP disconnect the internet of things equipment of connection to be broken with AP, and target internet of things equipment is accessed into AP.
In the embodiment of the present invention, the internet of things equipment for the connection to be broken that AP can be sent by receiving destination mobile terminal
Mark, the internet of things equipment of connection to be broken is disconnected with AP.Destination mobile terminal can select to wait to break according to user
The internet of things equipment of connection is opened, the internet of things equipment of connection to be broken mark is sent to AP, AP is by the Internet of Things of connection to be broken
Net equipment disconnects with AP, and destination mobile terminal can also select to set the Internet of Things of connection to be broken according to preset rules
It is standby, the internet of things equipment mark of connection to be broken is sent to AP, AP, which disconnects the internet of things equipment of connection to be broken and AP, to be connected
Connect, so as to mitigate AP load.
Implement the method shown in Fig. 4, can be moved when the internet of things equipment for accessing AP reaches preset upper limit value to target
The internet of things equipment mark that terminal sends connection to be broken obtains request, when AP receives the internet of things equipment mark of connection to be broken
After knowledge, the internet of things equipment of connection to be broken is disconnected with AP, so as to mitigate AP load.
Referring to Fig. 5, Fig. 5 is a kind of AP structural representation disclosed in the embodiment of the present invention, as shown in figure 5, the AP bags
Detection unit 501, acquiring unit 502, judging unit 503 and connection unit 504 are included, wherein:
Detection unit 501, for when receiving the access request of target internet of things equipment, detection to have accessed access point
Whether the quantity of AP internet of things equipment reaches preset upper limit value.
Acquiring unit 502, when the internet of things equipment for having accessed AP when detection unit detection reaches preset upper limit value,
Obtain the priority of each internet of things equipment in the internet of things equipment for having accessed AP.
Judging unit 503, for judging whether the priority of target internet of things equipment is more than the excellent of the first internet of things equipment
First level, the first internet of things equipment are priority is minimum in the internet of things equipment for accessed AP one.
Connection unit 504, for when target internet of things equipment priority be more than the first internet of things equipment priority when,
First internet of things equipment is disconnected with AP, target internet of things equipment is accessed into AP.
Implement the AP shown in Fig. 5, can not be directly to refuse when the internet of things equipment of AP connections reaches preset upper limit value
New internet of things equipment access AP, but according to the priority of internet of things equipment, it is allowed to the higher equipment access AP of priority, and
The relatively low equipment of priority is disconnected with AP, while AP load is mitigated, ensures that the higher equipment of priority can
It is preferential to network.
Based on same inventive concept, the principle for solving problem due to the AP is set with the Internet of Things in the inventive method embodiment
Standby access AP method is similar, therefore the implementation of the AP may refer to the implementation of method shown in Fig. 2-Fig. 4, and it is no longer superfluous to repeat part
State.
Referring to Fig. 6, Fig. 6 is the structural representation of another AP disclosed in the embodiment of the present invention.AP shown in Fig. 6 includes
At least one processor 601, at least one memory 602 and network interface 603, processor 601, memory 602 and network connect
Mouth 603 is connected by communication bus 604, and processor 601 can be CPU, and memory 602 is used for storage program area, network leads to
Believe program, user interface program, transmission SRS programs etc.;Network interface 603 is used to receiving and sending data.Memory 602 can be with
It is high-speed RAM memory or non-labile memory (non-volatile memory), a for example, at least magnetic
Disk storage.Memory 602 optionally can also be at least one storage device for being located remotely from aforementioned processor 601.
Memory 602 can be used for store instruction and data, and memory 602 can mainly include store instruction area and data storage
Area, wherein, store instruction area can storage program area, instruction needed at least one function etc.;Above-mentioned instruction can make processor
602 perform following methods, and specific method includes:
When receiving the access request of target internet of things equipment, detection has accessed access point AP internet of things equipment
Whether quantity reaches preset upper limit value;
If the internet of things equipment for having accessed AP reaches preset upper limit value, obtain every in the internet of things equipment for having accessed AP
The priority of individual internet of things equipment;
Judge whether the priority of target internet of things equipment is more than the priority of the first internet of things equipment, the first Internet of Things is set
Standby is priority is minimum in the internet of things equipment for accessed AP one;
If the priority of target internet of things equipment be more than the first internet of things equipment priority, by the first internet of things equipment with
AP is disconnected, and target internet of things equipment is accessed into AP.
Optionally, processor 602 is additionally operable to,
When the internet of things equipment for having accessed AP is not up to preset upper limit value, target internet of things equipment is accessed into AP.
Optionally, processor 602 is additionally operable to,
When the priority of target internet of things equipment is less than the priority of the first internet of things equipment, refusal target Internet of Things is set
Standby access AP.
Optionally, duration of the priority of each internet of things equipment based on the accumulative access AP of each internet of things equipment, each
Internet of things equipment adds up access AP number and each internet of things equipment access AP success rate to determine.
Optionally, processor 602 is additionally operable to,
When the internet of things equipment for having accessed AP reaches preset upper limit value, prompting message is sent to destination mobile terminal,
Prompting message is used to prompt access AP internet of things equipment to reach preset upper limit value.
Can not be direct when the internet of things equipment of AP connections reaches preset upper limit value by implementing the AP shown in Fig. 6
Refuse new internet of things equipment access AP, but according to the priority of internet of things equipment, it is allowed to the higher equipment access of priority
AP, and the relatively low equipment of priority is disconnected with AP, while AP load is mitigated, ensure the higher equipment of priority
Can preferentially it network.
Step in the method for the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit or subelement in terminal of the embodiment of the present invention or equipment can according to be actually needed merge, divide and
Delete.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey
Sequence, the part of the method including any internet of things equipment access AP described in the above method embodiment when program performs
Or Overall Steps.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way
Realize.For example, device embodiment described above is only schematical, such as the division of the unit, it is only one kind
Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual
Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or
Person say the part to be contributed to prior art or the technical scheme all or part can in the form of software product body
Reveal and, the computer software product is stored in a memory, including some instructions are causing a computer equipment
(can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the present invention
Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage
Medium include read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits
Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One-
Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage
(Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact
Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can
For carrying or any other computer-readable medium of data storage.
Above to a kind of internet of things equipment accesses AP method disclosed in the embodiment of the present invention and AP is described in detail,
Specific case used herein is set forth to the principle and embodiment of the present invention, and the explanation of above example is simply used
Understand the method and its core concept of the present invention in help;Meanwhile for those of ordinary skill in the art, according to the present invention's
Thought, there will be changes in specific embodiments and applications, in summary, this specification content should not be construed as
Limitation of the present invention.
Claims (10)
- A kind of 1. internet of things equipment access AP method, it is characterised in that including:When receiving the access request of target internet of things equipment, detection has accessed the quantity of access point AP internet of things equipment Whether preset upper limit value is reached;If the internet of things equipment for having accessed the AP reaches the preset upper limit value, the AP has been accessed described in acquisition Internet of things equipment in each internet of things equipment priority;Judge whether the priority of the target internet of things equipment is more than the priority of the first internet of things equipment, first Internet of Things Net equipment is priority is minimum in the internet of things equipment for having accessed the AP one;If the priority of the target internet of things equipment is more than the priority of first internet of things equipment, by first Internet of Things Net equipment is disconnected with the AP, and the target internet of things equipment is accessed into the AP.
- 2. according to the method for claim 1, it is characterised in that methods described also includes:If the internet of things equipment for having accessed the AP is not up to the preset upper limit value, by the target internet of things equipment Access the AP.
- 3. method according to claim 1 or 2, it is characterised in that methods described also includes:If the priority of the target internet of things equipment is less than the priority of first internet of things equipment, refuse the object Networked devices access the AP.
- 4. according to the method described in claim any one of 1-3, it is characterised in that the priority base of each internet of things equipment Time of duration, each accumulative access AP of internet of things equipment in each accumulative access AP of internet of things equipment Several and described each internet of things equipment accesses the success rate of the AP to determine.
- 5. according to the method described in claim any one of 1-4, it is characterised in that described by first internet of things equipment and institute State AP to disconnect, before the target internet of things equipment is accessed into the AP, methods described also includes:To destination mobile terminal send for the target internet of things equipment access request, the destination mobile terminal with it is described AP and the internet of things equipment for having accessed the AP establish binding relationship;The access configured information that the destination mobile terminal is sent is received, the access configured information is used for whether indicating the AP The target internet of things equipment is allowed to access;If the access configured information indicates that the AP allows the target internet of things equipment to access, perform described by described the One internet of things equipment disconnects with the AP, by the target internet of things equipment access the AP the step of;If the access configured information indicates that the AP does not allow the target internet of things equipment to access, refuse the target Internet of Things Net equipment accesses the AP.
- A kind of 6. AP, it is characterised in that including:Detection unit, for when receiving the access request of target internet of things equipment, detection to have accessed access point AP thing Whether the quantity of networked devices reaches preset upper limit value;Acquiring unit, for reaching described default when the internet of things equipment that the AP has been accessed described in detection unit detection During higher limit, the priority of each internet of things equipment in the internet of things equipment of the AP has been accessed described in acquisition;Judging unit, for judging whether the priority of the target internet of things equipment is more than the preferential of the first internet of things equipment Level, first internet of things equipment are priority is minimum in the internet of things equipment for having accessed the AP one;Connection unit, for being more than the priority of first internet of things equipment when the priority of the target internet of things equipment When, first internet of things equipment is disconnected with the AP, the target internet of things equipment is accessed into the AP.
- 7. AP according to claim 6, it is characterised in thatThe connection unit, the internet of things equipment for being additionally operable to access the AP described in are not up to the preset upper limit value, The target internet of things equipment is accessed into the AP.
- 8. the AP according to claim 6 or 7, it is characterised in thatThe connection unit, it is additionally operable to when the priority of the target internet of things equipment is less than the excellent of first internet of things equipment During first level, refuse the target internet of things equipment and access the AP.
- 9. according to the AP described in claim any one of 6-8, it is characterised in that the priority of each internet of things equipment is based on The number of the duration of the accumulative access AP of each internet of things equipment, each accumulative access AP of internet of things equipment And each internet of things equipment accesses the success rate of the AP to determine.
- 10. according to the AP described in claim any one of 6-9, it is characterised in that the AP also includes:Transmitting element, for sending the access request for the target internet of things equipment, the target to destination mobile terminal Mobile terminal establishes binding relationship with the AP and the internet of things equipment for having accessed the AP;Receiving unit, the access configured information sent for receiving the destination mobile terminal, the access configured information are used for Indicate whether the AP allows the target internet of things equipment to access;The connection unit, it is additionally operable to when the access configured information indicates that the AP allows the target internet of things equipment to access When, first internet of things equipment is disconnected with the AP, the target internet of things equipment is accessed into the AP;The connection unit, it is additionally operable to when the access configured information indicates that the AP does not allow the target internet of things equipment to connect It is fashionable, refuse the target internet of things equipment and access the AP.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710598516.4A CN107493594A (en) | 2017-07-21 | 2017-07-21 | A kind of internet of things equipment access AP method and AP |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710598516.4A CN107493594A (en) | 2017-07-21 | 2017-07-21 | A kind of internet of things equipment access AP method and AP |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107493594A true CN107493594A (en) | 2017-12-19 |
Family
ID=60644653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710598516.4A Pending CN107493594A (en) | 2017-07-21 | 2017-07-21 | A kind of internet of things equipment access AP method and AP |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107493594A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109302691A (en) * | 2018-10-22 | 2019-02-01 | 宁波工程学院 | A kind of device of Wi-Fi automatic screening user |
CN109922509A (en) * | 2019-02-28 | 2019-06-21 | 重庆大学 | A kind of intelligent group's switching method in multiple networks fusion |
CN111741456A (en) * | 2020-06-17 | 2020-10-02 | 成都极米科技股份有限公司 | Bluetooth device, Bluetooth preemption method and device thereof, and computer-readable storage medium |
CN112564942A (en) * | 2020-11-19 | 2021-03-26 | 深圳市晨北科技有限公司 | Distribution network control method and device of Internet of things equipment, equipment and storage medium |
CN112738909A (en) * | 2020-12-29 | 2021-04-30 | 欧普照明股份有限公司 | Scheduling method for multi-terminal connection bearer and router |
CN113163318A (en) * | 2021-05-10 | 2021-07-23 | 深圳市美恩微电子有限公司 | Call Bluetooth headset based on ENC noise reduction |
CN113438713A (en) * | 2021-06-11 | 2021-09-24 | 海尔(深圳)研发有限责任公司 | Network distribution method and device and intelligent home system |
CN114205838A (en) * | 2020-09-02 | 2022-03-18 | 深圳绿米联创科技有限公司 | Network access method, device, electronic equipment and computer readable storage medium |
CN114710376A (en) * | 2020-12-16 | 2022-07-05 | 深圳Tcl新技术有限公司 | Connection control method and device of gateway equipment, gateway equipment and storage medium |
CN114727360A (en) * | 2020-12-22 | 2022-07-08 | 深圳Tcl新技术有限公司 | Network connection equipment management method, device, terminal equipment and storage medium |
WO2023093555A1 (en) * | 2021-11-24 | 2023-06-01 | 中兴通讯股份有限公司 | Method for determining service access point, and information sending method, communication node and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2867259A1 (en) * | 2012-05-08 | 2013-11-14 | Blackberry Limited | Apparatus and method for processing priority information in a wireless device |
CN103813330A (en) * | 2012-11-15 | 2014-05-21 | 中兴通讯股份有限公司 | Communication terminal and system and authority management method |
CN104219788A (en) * | 2014-09-29 | 2014-12-17 | 王波 | Access method and access device of Internet-of-Things terminal |
CN104780553A (en) * | 2014-01-10 | 2015-07-15 | 中兴通讯股份有限公司 | Wireless access point access communication terminal management method, wireless access point access communication terminal management device and wireless access terminal |
CN105916151A (en) * | 2016-06-06 | 2016-08-31 | 惠州Tcl移动通信有限公司 | Intelligent equipment wireless network access method and system thereof |
-
2017
- 2017-07-21 CN CN201710598516.4A patent/CN107493594A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2867259A1 (en) * | 2012-05-08 | 2013-11-14 | Blackberry Limited | Apparatus and method for processing priority information in a wireless device |
CN103813330A (en) * | 2012-11-15 | 2014-05-21 | 中兴通讯股份有限公司 | Communication terminal and system and authority management method |
CN104780553A (en) * | 2014-01-10 | 2015-07-15 | 中兴通讯股份有限公司 | Wireless access point access communication terminal management method, wireless access point access communication terminal management device and wireless access terminal |
CN104219788A (en) * | 2014-09-29 | 2014-12-17 | 王波 | Access method and access device of Internet-of-Things terminal |
CN105916151A (en) * | 2016-06-06 | 2016-08-31 | 惠州Tcl移动通信有限公司 | Intelligent equipment wireless network access method and system thereof |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109302691A (en) * | 2018-10-22 | 2019-02-01 | 宁波工程学院 | A kind of device of Wi-Fi automatic screening user |
CN109922509A (en) * | 2019-02-28 | 2019-06-21 | 重庆大学 | A kind of intelligent group's switching method in multiple networks fusion |
CN111741456A (en) * | 2020-06-17 | 2020-10-02 | 成都极米科技股份有限公司 | Bluetooth device, Bluetooth preemption method and device thereof, and computer-readable storage medium |
CN114205838A (en) * | 2020-09-02 | 2022-03-18 | 深圳绿米联创科技有限公司 | Network access method, device, electronic equipment and computer readable storage medium |
CN112564942A (en) * | 2020-11-19 | 2021-03-26 | 深圳市晨北科技有限公司 | Distribution network control method and device of Internet of things equipment, equipment and storage medium |
CN114710376A (en) * | 2020-12-16 | 2022-07-05 | 深圳Tcl新技术有限公司 | Connection control method and device of gateway equipment, gateway equipment and storage medium |
CN114710376B (en) * | 2020-12-16 | 2024-03-12 | 深圳Tcl新技术有限公司 | Connection control method and device of gateway equipment, gateway equipment and storage medium |
CN114727360A (en) * | 2020-12-22 | 2022-07-08 | 深圳Tcl新技术有限公司 | Network connection equipment management method, device, terminal equipment and storage medium |
CN112738909A (en) * | 2020-12-29 | 2021-04-30 | 欧普照明股份有限公司 | Scheduling method for multi-terminal connection bearer and router |
CN113163318A (en) * | 2021-05-10 | 2021-07-23 | 深圳市美恩微电子有限公司 | Call Bluetooth headset based on ENC noise reduction |
CN113163318B (en) * | 2021-05-10 | 2022-04-29 | 深圳市美恩微电子有限公司 | Call Bluetooth headset based on ENC noise reduction |
CN113438713A (en) * | 2021-06-11 | 2021-09-24 | 海尔(深圳)研发有限责任公司 | Network distribution method and device and intelligent home system |
WO2023093555A1 (en) * | 2021-11-24 | 2023-06-01 | 中兴通讯股份有限公司 | Method for determining service access point, and information sending method, communication node and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107493594A (en) | A kind of internet of things equipment access AP method and AP | |
CN105610842B (en) | A kind of WIFI hot spot cut-in method and mobile device | |
CN104618905A (en) | WIFI hotspot sharing method and mobile terminal | |
CN104363666B (en) | The method and apparatus being wirelessly connected are established with external equipment in the electronic device | |
CN104837215A (en) | Wireless access point connecting method and device | |
CN105099704A (en) | Biometric identification-based OAuth service | |
CN107135149B (en) | Method and equipment for recommending social users | |
CN104967997A (en) | Wireless network accessing method, Wi-Fi equipment, terminal equipment and system | |
CN103490466B (en) | Battery electric quantity shares method, device and server | |
CN104075726A (en) | Individual navigation method as well as navigation client and terminal equipment | |
CN107182098A (en) | For realizing the method and apparatus that user equipment switches between WAP | |
CN104363665A (en) | Terminal | |
TW201238273A (en) | Electronic device, controller and method for controlling data transfer | |
CN106096450A (en) | A kind of application program freezing method and mobile terminal | |
CN103916980A (en) | Communication apparatus and method for controlling the same | |
CN106550360A (en) | WiFi methods of attachment and system | |
CN105900525A (en) | Method and apparatus for direct control of smart devices with a remote source | |
CN109612123A (en) | Intelligent heating method, apparatus and electronic equipment | |
CN107949031A (en) | A kind of scan method of wireless network, mobile terminal and storage medium | |
CN106203184A (en) | A kind of keyboard output intent and terminal | |
CN105120518B (en) | A kind of indoor orientation method and user terminal | |
CN107318174A (en) | A kind of communication means, device and terminal | |
CN108289290A (en) | A kind of method and apparatus for connecting intelligent wearable device and wireless access point | |
JP6984387B2 (en) | Information processing equipment, access control methods, programs and systems | |
CN104242998A (en) | Method and system for fast sharing various types of information through magnetic sensor |
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: 20171219 |
|
RJ01 | Rejection of invention patent application after publication |