The content of the invention
To overcome above-mentioned the shortcomings of the prior art, the purpose of the present invention is that providing a kind of AP quickly declares registration side
Method and AC controllers, to realize that AP declares registration automatically on AC controllers, improve beginning operating efficiency.
For the above-mentioned purpose, technical scheme provided by the invention is as follows:
A kind of AP quickly declares register method, comprises the following steps:
Step 1, AC controllers receive AP registration request, obtain AP logon message;
Step 2, judge whether the AP is existing according to AP logon messages;
Step 3, AP is carried out according to judged result to declare location registration process accordingly.
Further, step 3 includes:
If judged result is that the AP is existing, already present AP configurations in the AC controllers are synchronized to the AP;
Do not exist if judged result is the AP, the AP is added into the default network being pre-created and default set.
Further, do not exist if judged result is the AP, determine whether the AC controllers are opened and declare automatically
Registration, registration is declared if opening automatically, the AP is added into the default network being pre-created and default set, if not opening automatic Shen
Report registration, then AP is added and do not declare list, subsequently declared, add network and group flow by artificially manually completing.
Further, before the AP is added into the default network being pre-created and default set, also comprise the following steps:
Step S1, detection AC controllers whether there is default network, if so, then entering step S2, if it is not, then AC controllers
AP is carried out to declare registration, is included in and has declared list;
Step S2, detection AC controllers whether there is default set, if so, the AP is then added into default network and default set,
And SSID and other parameter configurations in group are issued, if it is not, then AP is automatically added to default network by the AC controllers, it is added without
AP groups.
Further, before step 1, also comprise the following steps:
Network is pre-created in the AC controllers, and is default network by the network settings, and in AC controllers
AP groups are created, and the AP groups are arranged to default set.
Further, in step 2, whether the SN information according to the AP in the AP logon messages judges the AP in AC
Exist in controller.
To reach above-mentioned purpose, the present invention also provides a kind of AC controllers, including:
Registration request receiving unit, for receiving AP registration request, obtain AP logon message;
Logon message judging unit, for judging whether the AP is existing according to AP logon messages;
Location registration process unit is declared, for carrying out declaring location registration process accordingly to AP according to judged result.
Further, it is described to declare registration if the judged result of the logon message judging unit is that the AP is existing
Already present AP configurations in AC controllers are synchronized to the AP by processing unit;If the judged result of the logon message judging unit
Do not exist for the AP, then the AP is added the default network being pre-created and default set by the location registration process unit of declaring.
Further, the AC controllers also include declaring unlatching monitoring unit, in the logon message judging unit
Judged result be the AP not in the presence of, it is described declare open monitoring unit further monitor whether the AC controllers open automatic Shen
Report registration, if the AC controllers have turned on declares registration automatically, start this declare location registration process unit by the AP addition in advance
The default network and default set of establishment, if the AC controllers are not opened declares registration automatically, location registration process is declared described in startup
The AP is added and is not declared list by unit.
Further, it is described declare location registration process unit by the AP add the default network that is pre-created and default set it
Before, it is additionally operable to detection AC controllers and whether there is default network, if default network be present, further detecting the AC controllers is
It is no default set to be present, if default set be present, the AP is added into default network and default set, and issue SSID and other ginsengs in group
Number configuration information, if default set is not present, default network is automatically added to by the AP, is added without AP groups;If in the absence of acquiescence net
Network, then AP is carried out declaring registration, be included in and declared list, the network information is sky, and the follow-up network operation that adds is then by keeper
Manually complete.
Compared with prior art, a kind of AP of the present invention quickly declares register method and the beneficial effect of AC controllers is:
A kind of AP of the present invention quickly declare register method and AC controllers by AP electricity, AP controllers receive AP note
After volume request, according to the AP relevant informations carried in logon message, AP is added to automatically and is pre-created your default network
And default set, and SSID in group is issued, realize AP and declare registering functional automatically on AC controllers, improve beginning work
Efficiency, AP registration processes automation of the present invention, can fast responding market demand.
Embodiment
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, control is illustrated below
The embodiment of the present invention.It should be evident that drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically show in each figure, they are not represented
Its practical structures as product.In addition, so that simplified form readily appreciates, there is identical structure or function in some figures
Part, one of those is only symbolically depicted, or only marked one of those.Herein, "one" is not only represented
" only this ", the situation of " more than one " can also be represented.
In one embodiment of the invention, as shown in figure 1, a kind of AP of the present invention quickly declares register method, including such as
Lower step:
Step 101, AC controllers receive AP registration request, obtain AP logon message.In the specific embodiment of the invention
In, after electricity on AP, registration request is sent to AC controllers based on Transmission Control Protocol, TR069 specifications, AC controllers obtain AP note
Volume message, AP relevant information, such as SN (Serial Number, sequence number), AP comprising AP are carried in the logon message
MAC (Media Access Control, media access control) address, AP IP (Internet Protocol, network association
View) address, AP versions etc..
Step 102, judge whether the AP is existing according to AP logon messages, in the specific embodiment of the invention, AC controls
Whether device can judge the AP in AC controllers after AP logon messages are received according to the SN information of the AP in the AP logon messages
Middle presence.
Step 103, AP is carried out according to judged result declaring location registration process accordingly.Specifically, if judged result is
The AP is existing, then already present AP configurations in AC controllers is synchronized into the AP;Do not exist if judged result is the AP, will
The AP adds the default network being pre-created and default set.
Preferably, when judged result be the AP not in the presence of, also determine whether the AC controllers open automatic Shen
Report registration, registration is declared if opening automatically, and the AP is added into the default network being pre-created and default set, if not opening automatic
Registration is declared, then AP is added and does not declare list, subsequently declares, add network and group requirements of process manually operated, also
It is to say, the automatic starting switch for declaring registration is provided with AC controllers, when the switch is opened, then starts and declare note automatically
Volume, when the switch is closed, then closes this and declares registration automatically.
Preferably, before the AP is added into the default network being pre-created and default set, the AP of the present invention is quickly declared
Register method also comprises the following steps:
Step S1, detection AC controllers whether there is default network, if so, then entering step S2, if it is not, then AC controllers
AP is carried out to declare registration, is included in and has declared list, the network information is sky, and follow-up addition network operation is then complete manually by keeper
Into;
Step S2, detection AC controllers whether there is default set, if so, the AP is then added into default network and default set,
And SSID in group (Service Set Identifier, service set) and other parameter configurations are issued, if it is not, then AC
AP is automatically added to default network by controller, is added without AP groups, and the operation that follow-up AP adds AP groups is then manually completed by keeper.
Preferably, as shown in Fig. 2 before step 101, the AP of the present invention, which quickly declares register method, also includes following step
Suddenly:
Step 100a, network is pre-created in AC controllers, and is default network by the network settings, and
Step 100b, AP groups are created in AC controllers, and the AP groups are arranged to default set.
Fig. 3 is a kind of structural representation of AC controllers of the present invention.As shown in figure 3, a kind of AC controllers of the present invention, can be real
The quick of existing AP declares registration, and it includes:Registration request receiving unit 301, logon message judging unit 302 and declare registration
Processing unit 303.
Registration request receiving unit 301, for receiving AP registration request, obtain AP logon message.Have in the present invention
In body embodiment, after electricity on AP, registration request is sent to AC controllers based on Transmission Control Protocol, TR069 specifications, registration request connects
The logon message that unit 301 obtains AP is received, AP relevant information, such as the SN comprising AP are carried in the logon message
(Serial Number, sequence number), AP MAC (Media Access Control, media access control) address, AP IP
(Internet Protocol, procotol) address, AP versions etc..
Logon message judging unit 302, for judging whether the AP is existing according to AP logon messages, of the invention specific
In embodiment, for AC controllers after AP logon messages are received, logon message judging unit 302 can be according in the AP logon messages
AP SN information judges whether the AP has existed in AC controllers.
Location registration process unit 303 is declared, for carrying out declaring location registration process accordingly to AP according to judged result.Specifically
Say, if the judged result of logon message judging unit 302 is that the AP is existing, declares location registration process unit 303 and control AC
Already present AP configurations are synchronized to the AP in device;Do not exist if the judged result of logon message judging unit 302 is the AP, Shen
The AP is added the default network being pre-created and default set by report location registration process unit 303.
Preferably, the AC controllers of the present invention also include declaring unlatching monitoring unit, in logon message judging unit 302
Judged result be the AP not in the presence of, whether this declares to open monitoring unit and further monitor the AC controllers and open and declares automatically
Registration, if the AC controllers have turned on declares registration automatically, start this declare location registration process unit 303 by the AP addition in advance
The default network and default set of establishment, if the AC controllers are not opened declares registration automatically, location registration process unit is declared in startup
AP additions are not declared list by 303, are subsequently declared, are added network and group requirements of process manually operated, that is to say, that AC is controlled
The automatic starting switch for declaring registration is provided with device processed, when the switch is opened, then starts and declares registration automatically, when the switch
During closing, then close this and declare registration automatically.
Preferably, location registration process unit 303 is declared before the AP is added into the default network being pre-created and default set,
It is additionally operable to detection AC controllers and whether there is default network, if default network be present, further detects whether AC controllers are deposited
In default set, if default set be present, the AP is added into default network and default set, and issue SSID and other specification in group and match somebody with somebody
Confidence is ceased, if default set is not present, AP is automatically added into default network, is added without AP groups, and follow-up AP adds the operation of AP groups
Then manually completed by keeper, if default network is not present, AP is carried out to declare registration, is included in and has declared list, network letter
Cease and then manually completed for sky, the follow-up network operation that adds by keeper.
Preferably, the AC controllers of the present invention also include:
Network creation unit, it is default network for being pre-created network in AC controllers, and by the network settings;With
And
AP group creating units, for creating AP groups in AC controllers, and the AP groups are arranged to default set.
Fig. 4 is that the AP of a specific embodiment of the invention quickly declares register flow path figure.In the embodiment, based on Transmission Control Protocol,
TR069 specifications realize that AP quickly declares registration, as shown in figure 4, quickly to declare register flow path as follows by the AP of the present invention:
1st, in AC controllers side, switch is declared in definition automatically, and acquiescence is closed, and is defined as follows as shown in figure 5, switch is enabled:
1) enabled closing is declared automatically:Now AC controllers do not perform to the AP that reaches the standard grade and declare operation automatically, after the upper electricity of AP, institute
There is flow to be manually completed by keeper;
2) enabled unlatching is declared automatically:AC controllers perform to the new AP that reaches the standard grade and declare operation automatically, follow-up addition network with
The action of AP groups is automatically performed by AC controllers;
2nd, AC controllers side creates network, and is default network by the network settings, as shown in Figure 6;
3rd, AP groups are created in AC controllers side, and the AP groups is arranged to default set, as shown in Figure 7;
4th, after electricity on AP, AP is established with AC controllers three-way handshake and connected, as shown in table 1 below, sends electric note on TR069
Volume message is to controller;
Table 1
No. |
Time |
Source |
Destinat
ion |
Protoc
ol |
Leng
th |
Info |
20..
. |
2016-
09... |
10.6.61.
194 |
10.6.61.
95 |
TCP |
66 |
54893 → 9000 [SYN] Seq=0 Win=8192 Len=0 MSS=1460 WS=256 SACK_
PERM=1 |
20..
. |
2016-
09... |
10.6.61.
95 |
10.6.61.
194 |
TCP |
66 |
9000 → 54893 [SYN, ACK] Seq=0 Ack=1 Win=2920 Len=0 MSS=1460
SACK_PERM=1 WS=512 |
20..
. |
2016-
09... |
10.6.61.
194 |
10.6.61.
95 |
TCP |
54 |
54893 → 9000 [ACK] Seq=1 Ack=1 Win=65536 Len=0 |
5th, AC controllers are received on AP after telegram text, judge whether the AP has deposited according to the SN information in logon message
:
If A, in the presence of already present AP configuration in AC controllers is synchronized into AP;
If B, being not present, judge whether to open and declare automatically, if opening, AP is added acquiescence net by AC controllers automatically
Network and default set;If not opening, AP is added and is not declared list by AC controllers, is subsequently declared, is added network and group flow need
Want manually operated.Specifically, declared automatically if opening, detection AC controllers side whether there is default network, if existing silent
Recognize network, then further detection AC controllers side whether there is default set, if default set be present, AC controllers add AP automatically
Enter default network and default set, and issue SSID and other parameter configurations in group, if default set is not present, AP is added
Default network, is added without AP groups, and follow-up AP adds AP groups and manually completed by keeper;If default network is not present, AP is entered
Row is declared, and is included in and has been declared list, and the network information is sky, and the follow-up network operation that adds is manually completed by keeper.
In summary, a kind of AP of the present invention quickly declares register method and AC controllers and passes through electricity, AP controllers on AP
After the registration request for receiving AP, according to the AP relevant informations carried in logon message, AP is added to automatically and is pre-created you
Default network and default set, and issue SSID in group, realize automatic on AC controllers of AP and declare registering functional, improve
Beginning operating efficiency, AP registration processes automation of the present invention, can fast responding market demand.
It should be noted that above-described embodiment can independent assortment as needed.Described above is only the preferred of the present invention
Embodiment, it is noted that for those skilled in the art, do not departing from the premise of the principle of the invention
Under, some improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.