Summary of the invention
The invention provides a kind of performance data acquisition method and equipment, be used to improve the accuracy and the continuity of performance data.
The invention provides a kind of performance data acquisition method, be applied to comprise network management device, in the network system of wireless access point AP and at least two Radio Access Controller AC compositions, described network management device is stored the annexation between described AP and a plurality of AC in advance, each AC goes up the annexation between storage himself and each AP, wherein, described AP is configured to main the connection with annexation between each AC, be equipped with and connect or do not connect, and further the described main grade that connects of configuration is higher than the described grade that connects that is equipped with on described network management device, and the described grade that connects that is equipped with is higher than the described grade that does not connect; Under the normal condition, described network management device said method comprising the steps of from leading the performance data that the AC that is connected gathers described AP with described AP:
When the annexation between described AP and the AC changed, described network management device was searched the AC that disposes described AP according to described AP and the annexation between the described AP that stores on the described network management device and each AC;
Described network management device is according to each AC that finds, from each AC storage and each AP between annexation obtain annexation after upgrading between described AP and described each AC, and each AC behind the storage update and the annexation between described AP are extremely in the described network management device;
Described network management device is according to described AP after upgrading and the annexation between described each AC, select and described AP between the highest grade of annexation AC, and from the performance data of the described AP correspondence of AC collection of described selection.
Preferably, described network management device is according to described each AC that finds, from each AC storage and each AP between annexation obtain the annexation after the renewal between described AP and described each AC, be specially: described each AP includes the sequence number of this AP of unique identification, network management device reads management information bank MIB among the described AC according to the sequence number of described AP, obtains the annexation after upgrading between described AP and the described AC from the connection relational table of described MIB.
Preferably, annexation between described AP and the AC changes and is known by the annexation between described AP of automatic regular polling and the AC by described network management device, and whether the annexation between perhaps described AP and the AC changes and known according to receiving from the triggering alarm of AC by described network management device.
The present invention also provides a kind of network management device, be applied to comprise network management device, in the network system of AP and at least two AC compositions, described network management device is stored the annexation between described AP and a plurality of AC in advance, each AC goes up the annexation between storage himself and each AP, wherein, described AP is configured to main the connection with annexation between each AC, be equipped with and connect or do not connect, and further the described main grade that connects of configuration is higher than the described grade that connects that is equipped with on described network management device, and the described grade that connects that is equipped with is higher than the described grade that does not connect; Under the normal condition, described network management device is from leading the performance data that the AC that is connected gathers described AP with described AP, and described network management device comprises:
Search module, when being used for annexation between described AP and AC and changing, search the AC that disposes described AP according to described AP and described annexation between the described AP that stores on the network management device and each AC;
Obtain update module, electrically connect with the described module of searching, be used for searching each AC that module searches arrives according to described, from each AC storage and each AP between annexation obtain annexation after upgrading between described AP and described each AC, and each AC behind the storage update and the annexation between described AP are extremely in the described NM network management equipment;
Select processing module, electrically connect with the described update module of obtaining, be used for according to described after obtaining update module and upgrading described AP and the annexation between each AC, select with described AP between the highest grade of annexation AC, and from the performance data of the described AP correspondence of AC collection selected.
Preferably, described network management device further comprises:
Judge module, electrically connect with the described module of searching, be used for the poll result that basis obtains by the annexation between described AP of automatic regular polling and the AC, perhaps whether basis receives the triggering alarm from AC, judge whether the annexation between described AP and the AC changes, and when judging that annexation between described AP and the AC changes, with the described module of searching of this change notification.
Preferably, described network management device also further comprises:
Memory module, search module and the described update module of obtaining electrically connects with described, be used to store the annexation between the above AP of described network management device and a plurality of AC, described annexation is searched module searches and is upgraded by the described update module of obtaining for described.
Compared with prior art, the present invention has the following advantages: the present invention by select and AP between the highest grade of annexation AC as the source of collecting performance data, realized dynamically obtaining continuously to the performance data of the AP under the active and standby AC situation, the performance data that has guaranteed to gather is convenient to the user performance data is further analyzed accurately with coherent.
Embodiment
In the technical scheme provided by the invention, dispose the annexation with same AP on a plurality of AC respectively, this AP and annexation between each AC comprise and mainly being connected, be equipped with connection and be not connected, wherein, the main grade that connects is higher than and is equipped with the grade that connects, and is equipped with the grade that connects and is higher than the grade that does not connect.When the annexation between AP and the AC changed, network management device obtained the annexation after upgrading between this AP and each AC, the highest grade of annexation the AC between selection and this AP, and continue from the performance data of this this AP correspondence of AC collection.
Based on above-mentioned thought, the invention provides a kind of performance data acquisition method, be applied to comprise in the network system of network management device, AP and at least two AC compositions, this network management device is stored the annexation between AP and a plurality of AC in advance, and each AC goes up the annexation between storage himself and each AP.Wherein, this AP and annexation between each AC be configured to mainly be connected, be equipped with and connect or do not connect, and further on network management device the main grade that connects of configuration be higher than and be equipped with the grade that connects, be equipped with the grade that connects and be higher than the not grade of connection.Under the normal condition, network management device is from leading the performance data that the AC that is connected gathers this AP with AP.As shown in Figure 1, this method may further comprise the steps:
Step 101, when the annexation between AP and the AC changed, network management device was searched the AC that disposes this AP according to this AP and the annexation between this AP that stores on the network management device and each AC.
Wherein, the annexation between AP and the AC changes and can be known by the annexation between automatic regular polling AP and the AC by network management device.Particularly, network management device every certain time interval (for example, 10 minutes) from each AC this AP of inquiry that disposes this AP and the annexation between each AC, if this AP of the annexation between current this AP that inquires and certain AC and self storage is different with the annexation between this AC, then network management device knows that the annexation between this AP and the AC changes.
In addition, whether the annexation between AP and the AC changes also and can be known according to receiving from the triggering alarm of this AC by network management device.Particularly, when the annexation between AP and the AC changes, this AC can send the alarm triggered signal that comprises this AP information to network management device, after network management device receives this alarm triggered signal, knows that the annexation between this AP and the AC changes.
Need to prove, when the annexation between AP and the AC changes is because AC breaks down when causing, if the fault type of this AC do not influence with network management device between communicate by letter, this AC can send to network management device and trigger alarm, and network management device can know that the annexation between AP and the AC changes according to the triggering alarm that receives; If the fault type of AC, for example connect the class fault, when causing AC to communicate with network management device, this AC can't send to network management device and trigger alarm, and network management device can know that the annexation between AP and the AC changes by the annexation between automatic regular polling AP and the AC.
Network management device can store the annexation between AP and the AC in the connection relational table of self storing in advance, and is as shown in table 1.Wherein, same AP can dispose with a plurality of AC and produce annexation, and corresponding, same AC also can dispose with a plurality of AP and be connected.Can comprise information and the information of AP and the interconnected relationship therebetween of all AC in the connection relational table of network management device storage, wherein, the information of AC can be used for unique identification AC, can be the sequence number of AC, also can be other information of AC; The information of AP can be used for unique identification AP, can be the sequence number of AP, also can be other information of AP.Below be example with the sequence number of AC and the sequence number of AP, use unique sequence number to identify each AC or AP.
The connection relational table of table 1 network management device storage
When the annexation between AP and the AC changes, network management device can read himself the storage AP and the connection relational table between AC, search the AC that all dispose this AP.For example, network management device is known can read above-mentioned connection relational table when the annexation between AP1 and the AC changes, and searches the AC of all configuration AP1, i.e. AC1 in the table 1 and AC2.
Step 102, network management device is according to each AC that finds, from each AC storage and each AP between annexation obtain the annexation after the renewal between this AP and each AC, and each AC behind the storage update and the annexation between this AP are to network management device.
Wherein, MIB among the AC (Management Information Base, management information bank) can store the annexation of each AP that this AC is connected with self by connection relational table, so obtain himself with each AP between be main is connected, is equipped with connection or annexation not, as shown in table 2.Can comprise information and the information of AP and the interconnected relationship therebetween of this AC in the connection relational table of AC storage, wherein, the information of AC can be used for unique identification AC, can be the sequence number of AC, also can be other information of AC; The information of AP can be used for unique identification AP, can be the sequence number of AP, also can be other information of AP.Below be example with the sequence number of AC and the sequence number of AP, use unique sequence number to identify each AC or AP.When the annexation between the AP of AC and self configuration changed, AC can be updated to the annexation after changing in the connection relational table of self storing.
The connection relational table of table 2AC storage
Particularly, in table 2, suppose that AC1 is the main AC that use of AP1, then AC1 is to lead to be connected with annexation between the AP1; Suppose that AC1 is the standby AC of AP2, then the annexation between AC1 and the AP2 is for to be connected fully; Suppose that AC1 has only registered AP3, do not connect that then the annexation between AC1 and the AP3 is not for being connected with AP3.
If the AC that network management device finds does not break down, the AC that perhaps finds breaks down but the fault type of this AC when not influencing communicating by letter between this AC and the network management device, and network management device can obtain annexation between each AP and the AC from this AC according to the information of AP.Particularly, each AP includes the sequence number of this AP of unique identification, and network management device can read the MIB among this AC according to the sequence number of AP, obtains the annexation after upgrading between each AP and this AC from the connection relational table of MIB.For example, network management device can read MIB among the AC1 according to AP1, and it is main the connection with annexation between the AC1 that the connection relational table from this MIB is obtained AP1.In addition, if AC breaks down and the fault type of AC when causing this AC to communicate by letter with network management device, network management device can't be when this AC obtains annexation between AP and this AC, can AP is set to not be connected with annexation between this AC.
Network management device is according to each AC that finds, from each AC storage and each AP connection relational table obtain between this AP and each AC after the annexation after the renewal, store the annexation after this renewal of obtaining into self in order in the connection relational table of storing this AP annexation.
Step 103, network management device be according to AP after upgrading and the annexation between each AC, select with this AP between the highest grade of annexation AC, and from the performance data of this AP correspondence of AC collection of selection.
Particularly, it is that main is connected main use AC with annexation between the AP that network management device preferentially selects to upgrade the back, if this master do not add network management device with AC, then after the selection renewal with AP between annexation be the standby AC that is connected fully; If this standby AC does not add network management device yet, then select to upgrade the AC of annexation between back and the AP for not being connected.Network management device starts performance collection task to AP on AC the new master who selects, and carries out the collection of performance data, and the performance data that collects is recorded database.When the master after the standby AC before switching switches to switching uses AC, if the AC of this active and standby connection all adds network management device, then network management device is after standby AC switching master is with AC, switch the source of this AP collecting performance data simultaneously, all the time from this AP between annexation be that the main master who is connected goes up collecting performance data with AC, make that the performance data of switching front and back is continuous.
The present invention by select and AP between the highest grade of annexation AC as the source of collecting performance data, realized dynamically obtaining continuously to the performance data of the AP under the active and standby AC situation, the performance data that has guaranteed to gather is convenient to the user performance data is further analyzed accurately with coherent.
In order further to set forth technological thought of the present invention, existing application scenarios in conjunction with as shown in Figure 2, to technical scheme of the present invention carry out in detail, specific description.Should use in the scene, system architecture comprises network management device, AC1, AC2, access switch and AP1.Wherein, AC1 and AC2 all add network management device, and AP1 is main the connection with annexation between the AC1, with annexation between the AC2 for to be connected fully.In the active and standby annexation between AP1 and AC, the main grade that connects is higher than and is equipped with the grade that connects.
Performance data collection flow process in the application scenarios of the present invention as shown in Figure 3, specifically may further comprise the steps:
Step 301, network management device is from leading the performance data that the AC1 that is connected gathers AP1 with AP1.
Step 302, when AC1 broke down, AP1 need switch to AC2 from AC1, and AC1 sends the alarm triggered signal to network management device.
Particularly, when AC1 breaks down, in the time of need carrying out active and standby switching, AP1 switches to AC2 and works on.After the switching, AC2 is main the connection with annexation between the AP1, and the annexation between AC1 and the AP1 is for to be connected fully.When the fault type of AC1 do not influence himself with network management device between communicate by letter the time, AC1 can send the alarm triggered signal to network management device.
Step 303, network management device receives the alarm triggered signal from AC1, knows that the annexation between AP1 and the AC1 changes.
Wherein, carry the information of AP1 in the alarm triggered signal, network management device knows that according to this information the annexation between AP1 and the AC1 changes.
Step 304, network management device are searched the connection relational table that self stores, and obtain disposing AC1 and the AC2 of AP1.
Particularly, the connection relational table of network management device storage, as shown in table 3.
The connection relational table of table 3 network management device storage
The sequence number of AC |
The sequence number of AP |
Annexation |
??AC1 |
??AP1 |
The main connection |
??AC2 |
??AP1 |
Be equipped with and connect |
Network management device is searched above-mentioned connection relational table, and the AC that can obtain disposing AP1 is AC1 and AC2.
Step 305, network management device from AC1 and AC2 storage with each AP connection relational table, obtain the annexation of switching between back AP1 and AC1 and the AC2 respectively, and the annexation of obtaining after will switching is updated in the connection relational table of self storing.
Particularly, AC1 and AC2 can store connection relational table respectively, and when the annexation between AC1 and AC2 and the AP1 changed, AC1 and AC2 can be updated to the annexation after changing in the connection relational table of storage separately, shown in table 4 and table 5.
The connection relational table of table 4AC1 storage
The sequence number of AC |
The sequence number of AP |
Annexation |
??AC1 |
??AP1 |
Be equipped with and connect |
The connection relational table of table 5AC2 storage
The sequence number of AC |
The sequence number of AP |
Annexation |
??AC2 |
??AP1 |
The main connection |
Network management device is searched above-mentioned two connection relational table, can know that annexation between AP1 and the AC1 after the switching is for to be connected fully from AC1, know that from AC2 the AP1 after the switching is main the connection with annexation between the AC2, and upgrade the connection relational table of self storage according to above-mentioned annexation, connection relational table after the renewal, as shown in table 6.
The connection relational table of the network management device storage after table 6 upgrades
The sequence number of AC |
The sequence number of AP |
Annexation |
??AC1 |
??AP1 |
Be equipped with and connect |
??AC2 |
??AP1 |
The main connection |
Step 306, network management device select according to the connection relational table after upgrading and AP1 between the highest grade of annexation AC2, and from the performance data of AC2 collection AP1 correspondence.
The present invention by select and AP between the highest grade of annexation AC as the source of collecting performance data, realized dynamically obtaining continuously to the performance data of the AP under the active and standby AC situation, the performance data that has guaranteed to gather is convenient to the user performance data is further analyzed accurately with coherent.
The present invention provides performance data acquisition method and application scenarios in the above-described embodiment, and correspondingly, the present invention also provides the device of using above-mentioned performance data acquisition method.
As shown in Figure 4, be a kind of network management device among the present invention, be applied to comprise that this network management device is stored the annexation between AP and a plurality of AC in advance in the network system that network management device, AP and at least two AC form, each AC goes up the annexation of storing between himself and each AP.Wherein, this AP and annexation between each AC be configured to mainly be connected, be equipped with and connect or do not connect, and further on network management device the main grade that connects of configuration be higher than and be equipped with the grade that connects, be equipped with the grade that connects and be higher than the not grade of connection.Under the normal condition, network management device is from leading the performance data that the AC that is connected gathers this AP with AP.Above-mentioned network management device comprises:
Search module 410, when being used for annexation between AP and AC and changing, search all AC that dispose this AP according to the annexation between this AP that stores on this AP and the network storage equipment and each AC.
Particularly, network management device can store the annexation between AP and the AC in the connection relational table that self is provided with in advance.Wherein, same AP can dispose with a plurality of AC and produce annexation, and corresponding, same AC also can dispose with a plurality of AP and be connected.Can comprise information and the information of AP and the interconnected relationship therebetween of all AC in the connection relational table of network management device storage, wherein, the information of AC can be used for unique identification AC, can be the sequence number of AC, also can be other information of AC; The information of AP can be used for unique identification AP, can be the sequence number of AP, also can be other information of AP.When the annexation between AP and the AC changes, search module 410 and can read AP on the above-mentioned network management device and the connection relational table between AC, search the AC that all dispose this AP.
Obtain update module 420, with search module 410 and electrically connect, be used for according to searching each AC that module 410 finds, from each AC storage and each AP between annexation obtain the annexation after the renewal between this AP and each AC, and behind the storage update annexation between each AC and this AP to network management device.
Select processing module 430, with obtain update module 420 and electrically connect, be used for according to the AP and the annexation between each AC that obtain after update module 420 is upgraded, select with this AP between the highest grade of annexation AC, and from the performance data of this AP correspondence of AC collection of selection.
Particularly, selecting processing module 430, preferential to select to upgrade the back be that main is connected main use AC with annexation between the AP, if this master do not add network management device with AC, then after the selection renewal with AP between annexation be the standby AC that is connected fully; If this standby AC does not add network management device yet, then select to upgrade the AC of annexation between back and the AP for not being connected.Select processing module 430 to start performance collection task on AC, carry out the collection of performance data, and the performance data that collects is recorded database AP the new master who selects.When the master after the standby AC before switching switches to switching uses AC, if the AC of this active and standby connection all adds network management device, then network management device is after standby AC switching master is with AC, switch the source of this AP collecting performance data simultaneously, all the time from this AP between annexation be that the main master who is connected goes up collecting performance data with AC, make that the performance data of switching front and back is continuous.
Need to prove that the network management device among the present invention can further include:
Judge module 440 electrically connects with searching module 410, is used for when judging that annexation between this AP and the AC changes this change notification being searched module 410.
Particularly, judge module 440 can judge whether the annexation between this AP and the AC changes according to the poll result who obtains by the annexation between this AP of automatic regular polling and the AC; Also can judge whether the annexation between this AP and the AC changes according to the triggering alarm of whether receiving from AC.
Memory module 450 electrically connects with searching module 410 and obtain update module 420, is used for the annexation between the AP and a plurality of AC on the storage network management equipment, and this annexation confession is searched that module 410 is searched and upgraded by obtaining update module 420.
Particularly, memory module 450 can be stored the connection relational table between AP and the AC, and in this connection relational table, same AP can dispose with a plurality of AC and produce annexation, and corresponding, same AC also can dispose with a plurality of AP and be connected.When the annexation between AP and the AC changes, search module 410 and can obtain disposing the AC of this AP by searching the connection relational table of memory module 450 storages.Obtaining update module 420 can be according to the annexation between the AP that obtains and each AC, and each AC goes up the annexation of this AP in the connection relational table of updated stored module 450 storages.
The present invention by select and AP between the highest grade of annexation AC as the source of collecting performance data, realized dynamically obtaining continuously to the performance data of the AP under the active and standby AC situation, the performance data that has guaranteed to gather is convenient to the user performance data is further analyzed accurately with coherent.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.