CN104468201B - A kind of offline auto-deleted method of network equipment and equipment - Google Patents
A kind of offline auto-deleted method of network equipment and equipment Download PDFInfo
- Publication number
- CN104468201B CN104468201B CN201410693228.3A CN201410693228A CN104468201B CN 104468201 B CN104468201 B CN 104468201B CN 201410693228 A CN201410693228 A CN 201410693228A CN 104468201 B CN104468201 B CN 104468201B
- Authority
- CN
- China
- Prior art keywords
- network equipment
- controllers
- leader
- offline
- identification information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of offline auto-deleted method of network equipment and equipment, this method to include:Leader controllers receive the offline notification message from Member controllers, and the identification information and Offtime information of the network equipment are carried in the offline notification message;The Leader controllers record identification information and the Offtime information in offline aging table, and set ageing timer for the network equipment;When the ageing timer time-out, the Leader controllers delete the facility information of the network equipment, are sent to Member controllers and delete message, and the message of deleting is used for the facility information for indicating that Member controllers delete the network equipment.In the embodiment of the present invention, realize and offline network equipment is automatically deleted, improve resource reclaim efficiency, improve treatment effeciency, reduce the workload of network manager.
Description
Technical field
The present invention relates to the communications field, the offline auto-deleted method of especially a kind of network equipment and equipment.
Background technology
OpenFlow is one defined in SDN (Software Defined Network, software defined network) framework
Communication interface standard between controller and forwarding.OpenFlow thought is to separate control plane and datum plane, the two
Between use standard protocol communication.In OpenFlow networks, including the network equipment (such as OpenFlow Switch) and control
Device (such as OpenFlow Controller), and pass through OpenFlow tunneling traffics between the network equipment and controller.Wherein, control
Device processed is used for according to the configuration of user or the protocol generation flow table (Flow Table) of dynamic operation, and the flow table is sent to
The network equipment.The network equipment is used to receive the flow table from controller, and matches and handle message according to flow table.
The facility information of the network equipment is deleted when the network equipment is offline, it is necessary to from controller.And in the prior art,
Need by user manually from controller delete the network equipment facility information, running into large scale network equipment off-line deletion
In the case of, the treatment effeciency that user deletes the facility information of the network equipment manually is very low, and can not be in time by the network equipment
Facility information is deleted from controller.
The content of the invention
The embodiment of the present invention provides a kind of network equipment offline auto-deleted method, includes leader in controller cluster
Leader controllers and multiple member Member controllers, the described method comprises the following steps:
The Leader controllers receive the offline notification message from Member controllers, in the offline notification message
Carry the identification information and Offtime information for the network equipment currently having been off;
The Leader controllers recorded in the offline aging table being pre-configured with the identification information of the network equipment with
And the Offtime information, and ageing timer is set for the network equipment;
When the ageing timer time-out, the Leader controllers delete the network from this Leader controllers
The facility information of equipment, and all Member controllers into controller cluster send and delete message, in the deletion message
The identification information of the network equipment is carried, and the deletion message is used to indicate that Member controllers control from this Member
The facility information of the network equipment is deleted on device.
Methods described further comprises:
The Leader controllers receive the notification message of reaching the standard grade from Member controllers, in the notification message of reaching the standard grade
Carry the identification information and on-line time information of the current network equipment reached the standard grade again;
The Leader controllers pass through offline aging described in the identification information-enquiry for the network equipment currently reached the standard grade again
Table, if the identification information of the current network equipment reached the standard grade again in the offline aging table be present, from the offline aging
Delete in table and recorded corresponding to the current network equipment reached the standard grade again.
The identification information of the network equipment specifically includes one below or any combination:The network equipment it is general
Unique identifier UUID, title, IP address, medium access control MAC Address;
The facility information of the network equipment specifically includes one below or any combination:The IP of the network equipment
Location, bridge MAC Address, endpoint of a tunnel IP address, data path mark.
The embodiment of the present invention provides a kind of network equipment offline auto-deleted method, includes leader in controller cluster
Leader controllers and multiple member Member controllers, the described method comprises the following steps:
Member controllers send the probe requests message to the network equipment of this Member controller managements;If default
Detection response message is not received in time, it is determined that the network equipment currently has been off;
The Member controllers send offline notification message to the Leader controllers, in the offline notification message
Carry the identification information and Offtime information of the network equipment;The offline notification message is used to indicate the Leader
Controller records the identification information of the network equipment and the Offtime information in the offline aging table being pre-configured with,
And ageing timer is set for the network equipment;
The Member controllers receive the deletion message from the Leader controllers, are carried in the deletion message
The identification information of the network equipment;Wherein, the deletion message is in ageing timer time-out, the Leader controls
It is all into controller cluster after device processed deletes the facility information of the network equipment from this Leader controllers
What Member controllers were sent;
The Member controllers utilize the identification information of the network equipment carried in the deletion message, from this
The facility information of the network equipment is deleted on Member controllers.
After the Member controllers send offline notification message to the Leader controllers, methods described is further
Including:
The Member controllers to this Member controller managements the network equipment send the probe requests message after,
If detection response message being received in preset time, it is determined that the network equipment has currently been reached the standard grade again, and to described
Leader controllers send notification message of reaching the standard grade, and the current network equipment reached the standard grade again is carried in the notification message of reaching the standard grade
Identification information and on-line time information;The notification message of reaching the standard grade is used to indicate the Leader controllers by currently again
The offline aging table of identification information-enquiry of the network equipment of line, if the current net reached the standard grade again be present in the offline aging table
The identification information of network equipment, then delete record corresponding to the current network equipment reached the standard grade again from the offline aging table.
The identification information of the network equipment specifically includes one below or any combination:The network equipment it is general
Unique identifier UUID, title, IP address, medium access control MAC Address;
The facility information of the network equipment specifically includes one below or any combination:The IP of the network equipment
Location, bridge MAC Address, endpoint of a tunnel IP address, data path mark.
The embodiment of the present invention provides a kind of leader Leader controllers, include in controller cluster Leader controllers and
Multiple member Member controllers, the Leader controllers specifically include:
Receiving module, for receiving the offline notification message from Member controllers, taken in the offline notification message
Identification information and Offtime information with the network equipment currently having been off;
Processing module, for recording identification information and the institute of the network equipment in the offline aging table being pre-configured with
Offtime information is stated, and ageing timer is set for the network equipment;When the ageing timer time-out, from described
The facility information of the network equipment is deleted on Leader controllers;
Sending module, sends for all Member controllers into controller cluster and deletes message, and the deletion disappears
The identification information of the network equipment is carried in breath, and the deletion message is used to indicate Member controllers from this Member
The facility information of the network equipment is deleted on controller.
The receiving module, it is additionally operable to receive the notification message of reaching the standard grade from Member controllers, the notice of reaching the standard grade disappears
The identification information and on-line time information of the current network equipment reached the standard grade again are carried in breath;
The processing module, it is additionally operable to by offline old described in the identification information-enquiry for the network equipment currently reached the standard grade again
Change table, if the identification information of the current network equipment reached the standard grade again in the offline aging table be present, from described offline old
Delete in change table and recorded corresponding to the current network equipment reached the standard grade again.
The identification information of the network equipment specifically includes one below or any combination:The network equipment it is general
Unique identifier UUID, title, IP address, medium access control MAC Address;
The facility information of the network equipment specifically includes one below or any combination:The IP of the network equipment
Location, bridge MAC Address, endpoint of a tunnel IP address, data path mark.
The embodiment of the present invention provides a kind of member Member controllers, and including leader Leader in controller cluster controls
Device and multiple Member controllers, the Member controllers specifically include:
Determining module, for sending the probe requests message to the network equipment of Member controller managements;If default
Detection response message is not received in time, it is determined that the network equipment currently has been off;
Sending module, for sending offline notification message to the Leader controllers, taken in the offline notification message
With the identification information and Offtime information of the network equipment;The offline notification message is used to indicate the Leader controls
Device processed records the identification information of the network equipment and the Offtime information in the offline aging table being pre-configured with, and
For the network equipment, ageing timer is set;
Receiving module, for receiving the deletion message from the Leader controllers, carried in the deletion message
The identification information of the network equipment;Wherein, the deletion message is in ageing timer time-out, the Leader controls
It is all into controller cluster after device deletes the facility information of the network equipment from the Leader controllers
What Member controllers were sent;
Processing module, for using the identification information of the network equipment carried in the deletion message, from described
The facility information of the network equipment is deleted on Member controllers.
The determining module, it is additionally operable to after offline notification message is sent to the Leader controllers, to described
After the network equipment of Member controller managements sends the probe requests message, if receiving probe response report in preset time
Text, it is determined that the network equipment has currently been reached the standard grade again;
The sending module, it is additionally operable to send to Leader controllers and reaches the standard grade notification message, in the notification message of reaching the standard grade
Carry the identification information and on-line time information of the current network equipment reached the standard grade again;The notification message of reaching the standard grade is used to indicate
The offline aging table of identification information-enquiry of the network equipment of the Leader controllers by currently reaching the standard grade again, if described offline old
The identification information of the current network equipment reached the standard grade again in change table be present, then deleted from the offline aging table it is current again on
Recorded corresponding to the network equipment of line.
The identification information of the network equipment specifically includes one below or any combination:The network equipment it is general
Unique identifier UUID, title, IP address, medium access control MAC Address;
The facility information of the network equipment specifically includes one below or any combination:The IP of the network equipment
Location, bridge MAC Address, endpoint of a tunnel IP address, data path mark.
Based on above-mentioned technical proposal, in the embodiment of the present invention, Leader controllers can be actively from this Leader controllers
The upper facility information for deleting the network equipment, and all Member controllers in notification controller cluster are from this Member controllers
The upper facility information for deleting the network equipment, realizes and offline network equipment is automatically deleted, raising resource reclaim efficiency, at raising
Efficiency is managed, without manpower intervention, the workload of network manager is reduced, reduces O&M cost.Further, aforesaid way energy
It is enough in time to delete the facility information of the network equipment on all controllers out of controller cluster, there is large-scale off-line net
In the case of network equipment, the resource of the network equipment can be reclaimed in time, avoid influenceing the deployment of the new network equipment.
Brief description of the drawings
Fig. 1 is the application scenarios schematic diagram of the embodiment of the present invention;
Fig. 2 is a kind of offline auto-deleted method flow chart of network equipment provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of Leader controllers provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of Member controllers provided in an embodiment of the present invention.
Embodiment
In order to improve the reliability of OpenFlow networks, multiple controllers can be disposed in OpenFlow networks, this is more
Individual controller forms a controller cluster.In the controller cluster, a controller controls as Leader (leader)
Device, other controllers are as Member (member) controller.
Setting for the network equipment is deleted on all controllers when the network equipment is offline, it is necessary in controller cluster
Standby information.Based on this, user can issue the order for the facility information for deleting the network equipment on Leader controllers, by
Leader controllers delete the facility information of the network equipment after the order is received from this Leader controllers, and
Member controllers in notification controller cluster delete the facility information of the network equipment, by the Member in controller cluster
Controller deletes the facility information of the network equipment.Further, in order to be deleted on all controllers in controller cluster
Except the facility information of the network equipment, the embodiment of the present invention can also provide a kind of network equipment offline auto-deleted method,
This method can apply to include in the SDN of the network equipment and multiple controllers.Deployed in the SDN multiple
Controller, and this multiple controller constitutes a controller cluster.Wherein, a Leader is included in the controller cluster to control
Device processed and multiple Member controllers.Can also be that each controller configures a backup to improve the reliability of SDN
Controller.
For backup Leader controllers corresponding to Leader controllers, backup Leader monitoring control devices Leader controls
The working condition of device;When Leader controllers do not fail, backup of the backup Leader controllers as Leader controllers, no
Leader controllers can be replaced to work;When Leader controllers fail, backup Leader controllers upgrade to new Leader
Controller, and Leader controllers will be replaced to work.Further, controlled for backup Member corresponding to Member controllers
Device, the working condition of backup Member monitoring control devices Member controllers;When Member controllers do not fail, backup
Backup of the Member controllers as Member controllers, Member controllers will not be replaced to work;When Member disabling controllers
During effect, backup Member controllers upgrade to new Member controllers, and Member controllers will be replaced to work.Further
, the network equipment establishes respectively with the backup Member controllers corresponding to Member controllers and the Member controllers
TCP (Transmission Control Protocol, transmission control protocol) connections.When Member controllers do not fail, net
Network equipment is communicated with Member controllers.When Member controllers fail, the network equipment as new Member with controlling
The backup Member controllers of device processed are communicated.
Application scenarios schematic diagram using Fig. 1 as the embodiment of the present invention, include in controller cluster controller 1, controller 2,
Controller 3, controller 4, controller 5 and controller 6.Wherein, controller 1 is Leader controllers, and controller 2 is controller 1
Backup Leader controllers.Controller 3 is Member controllers, and controller 4 is the backup Member controllers of controller 3.
Controller 5 is Member controllers, and controller 6 is the backup Member controllers of controller 5.The network equipment 1 respectively with control
Device 3 is established TCP with controller 4 and connected, and currently the network equipment 1 is managed by controller 3.
As shown in Fig. 2 the offline auto-deleted method of the network equipment specifically includes following steps:
Step 201, Member controllers send the probe requests message to the network equipment of this Member controller managements.Such as
Fruit does not receive detection response message in preset time, it is determined that the network equipment currently has been off.If in preset time
Receive detection response message, it is determined that the network equipment is currently online.
Wherein, the reason for network equipment currently has been off be:The network equipment causes present networks equipment to occur due to lower conductance
Offline;Or the network equipment is offline because network failure causes present networks equipment to occur.
In the embodiment of the present invention, Member controllers periodically (can rule of thumb set) can control to this Member
The network equipment of device management sends the probe requests message.Wherein, the probe requests message is specifically as follows Echo (loopback) requests and disappeared
Breath, detection response message are specifically as follows Echo response messages.
For example, every 5 seconds, to the network equipment 1, (network that i.e. controller 3 manages was set controller 3 (i.e. Member controllers)
It is standby) send a probe requests message.If (it can be arbitrarily configured according to practical experience, be such as arranged in preset time
25 seconds) in do not receive the network equipment 1 return detection response message, then controller 3 determine the network equipment 1 currently have been off.
If receiving the detection response message of the return of the network equipment 1 in preset time, controller 3 determines that the network equipment 1 is current still
It is so online.
Step 202, when the network equipment currently has been off, Member controllers send offline logical to Leader controllers
Know message, offline notification message is received by Leader controllers.Wherein, carry in the offline notification message and currently have been off
The network equipment identification information and Offtime information.
Step 203, Leader controllers record what is carried in offline notification message in the offline aging table being pre-configured with
The identification information and Offtime information of the network equipment, and ageing timer is set for the network equipment.
In the embodiment of the present invention, type of message can also be carried in offline notification message, and type of message is specially network
Equipment off-line type (such as network equipment _ OFFLINE).Leader controllers are receiving leading to offline from Member controllers
After knowing message, when the type of message for finding offline notification message for the network equipment offline type when, then be pre-configured with from
The identification information and Offtime information of the network equipment carried in offline notification message are recorded in line aging table, and is set for network
It is standby that ageing timer is set.
For example, when the network equipment 1 currently has been off, controller 3 (i.e. Member controllers) to controller 1 (i.e.
Leader controllers) offline notification message is sent, the identification information and network of the network equipment 1 are carried in the offline notification message
The Offtime information of equipment 1 (i.e. controller 3 detects time that the network equipment 1 has been off).Controller 1 receive from
After line notification message, the identification information and the network equipment 1 of the network equipment 1 are recorded in the offline aging table being pre-configured with
Offtime information, and ageing timer, offline aging table as shown in table 1 are set for the network equipment 1.
Table 1
Identification information | Offtime information | Ageing timer |
The identification information of the network equipment 1 | The Offtime information of the network equipment 1 | Ageing time |
Step 204, when ageing timer time-out corresponding to the network equipment, Leader controllers are from Leader controllers
The facility information of the network equipment is deleted, and all Member controllers into controller cluster send and delete message.Wherein,
The identification information of the network equipment is carried in the deletion message.
Specifically, Leader controllers can start a timer, during each timer expiry, Leader controllers are looked into
Ask all records in offline aging table.If ageing timer time-out, then Leader controllers determine that ageing timer surpasses
When the network equipment, and delete from this Leader controllers the facility information of the network equipment, and into controller cluster
All Member controllers, which are sent, deletes message.
For example, when ageing timer time-out corresponding to the network equipment 1, controller 1 (Leader controllers) determines aging
The network equipment of timer expiry is the network equipment 1, deletes the facility information of the network equipment 1 from this controller 1, and to control
All Member controllers (i.e. controller 3, controller 4, controller 5, controller 6) in device cluster processed, which are sent, deletes message,
The identification information of the network equipment 1 is carried in the deletion message.In addition, controller 1 can also be to the backup in controller cluster
Leader controllers (i.e. controller 2), which are sent, deletes message, and the identification information of the network equipment 1 is carried in the deletion message.
In the embodiment of the present invention, Leader controllers from Leader controllers delete the network equipment facility information it
Afterwards, Leader controllers can also delete record corresponding to the network equipment from offline aging table.For example, controller 1 from
After the facility information that the network equipment 1 is deleted on this controller 1, controller 1 can also delete network from offline aging table and set
Recorded corresponding to standby 1, that is, delete the identification information of the network equipment 1, the Offtime information of the network equipment 1 and ageing time it
Between corresponding relation.
Step 205, Member controllers are after receiving and deleting message, using deleting the network equipment that is carried in message
Identification information, the facility information of the network equipment is deleted from this Member controllers.
Wherein, the type of message for deleting message is the network equipment _ deletion.After Member controllers receive deletion message,
When it is the network equipment _ deletion to find type of message, then the identification information of the network equipment carried using deleting in message, directly
The facility information of the network equipment is deleted from this Member controllers.
In the embodiment of the present invention, the identification information of the network equipment is specifically including but not limited to one below or any group
Close:The UUID (Universally Unique Identifier, general unique identifier) of the network equipment, title, IP address,
MAC (Media Access Control, medium access control) address.The facility information of the network equipment is specifically including but not limited to
One below or any combination:IP address, bridge (bridge) MAC Address, the endpoint of a tunnel IP address of the network equipment
(VtepIP), data path mark (DatapathID).
In the embodiment of the present invention, because Leader controllers store the facility information of each network equipment in internal memory, because
This, when Leader controllers need to delete the facility information of the network equipment from Leader controllers, Leader controllers are
The all devices information of the network equipment is deleted from internal memory, IP address, bridge MAC Address such as the network equipment, endpoint of a tunnel
IP address, data path mark etc..For example, when Leader controllers in internal memory the storage networking device in a manner of hash tables
During all devices information, all devices information of the network equipment will correspond to same hash values, such as the IP based on the network equipment
The hash values that location determines.In the case, when needing to delete all devices information of the network equipment from internal memory, obtain first
The IP address of the network equipment, and determine hash values corresponding to the IP address of the network equipment.Afterwards, Leader controllers are from interior
The middle all devices information obtained corresponding to the hash values is deposited, and all devices letter corresponding to the hash values is deleted from internal memory
Breath.Similarly, Member controllers delete the process of the facility information of the network equipment from this Member controllers and Leader is controlled
The process that device processed deletes the facility information of the network equipment from this Leader controllers is identical, in the embodiment of the present invention to this no longer
Repeat in detail.
In the embodiment of the present invention, Member controllers please in the network equipment transmission detection to this Member controller managements
After seeking message, if receiving detection response message in preset time, if warp-wise Leader before Member controllers
Controller is transmitted across the offline notification message for the network equipment, then Member controllers determine that the network equipment has currently weighed
Newly reach the standard grade, and notification message of reaching the standard grade is sent to Leader controllers, carry what is currently reached the standard grade again in the notification message of reaching the standard grade
The identification information and on-line time information of the network equipment.Further, Leader controllers are being received from Member controls
After the notification message of reaching the standard grade of device, the offline aging table of identification information-enquiry of the network equipment by currently reaching the standard grade again, if
The identification information of the current network equipment reached the standard grade again in the offline aging table be present, then Leader controllers are needed from offline old
Delete in change table and recorded corresponding to the current network equipment reached the standard grade again.
In the embodiment of the present invention, type of message can also be carried in notification message of reaching the standard grade, and type of message is specially network
Equipment is reached the standard grade type (such as network equipment _ ONLINE).Leader controllers receive it is logical from reaching the standard grade for Member controllers
After knowing message, when find reach the standard grade notification message type of message for the network equipment reach the standard grade type when, then by currently again on
The offline aging table of identification information-enquiry of the network equipment of line, if the current network reached the standard grade again in the offline aging table be present
The identification information of equipment, then the current network equipment reached the standard grade again of Leader controllers needs deletion from offline aging table is corresponding
Record.
For example, controller 3 (i.e. Member controllers) receives the probe response report of the return of the network equipment 1 in preset time
Wen Shi, if warp-wise controller 1 (i.e. Leader controllers) is transmitted across for the offline of the network equipment 1 before controller 3
Notification message, then controller 3 determines that the network equipment 1 has currently been reached the standard grade again, and sends notification message of reaching the standard grade to controller 1,
The current identification information of the network equipment 1 reached the standard grade again and the on-line time of the network equipment 1 are carried in the notification message of reaching the standard grade
Information (i.e. controller 3 detects time that the network equipment 1 is reached the standard grade again).Controller 1 after notification message of reaching the standard grade is received,
The offline aging table of identification information-enquiry of the network equipment 1 by currently reaching the standard grade again, work as if existed in the offline aging table
The identification information of the preceding network equipment 1 reached the standard grade again, then controller 1 needs to delete from offline aging table current reaches the standard grade again
Recorded corresponding to the network equipment 1, that is, delete the identification information of the network equipment 1, the Offtime information of the network equipment 1 and aging
Corresponding relation between time.
In the embodiment of the present invention, for the offline aging table safeguarded on Leader controllers, Leader controllers can be with
Offline aging table is periodically sent to backup Leader controllers, to be carried out on backup Leader controllers to offline aging table
Back-up processing, so as to improve the reliability that offline aging table is safeguarded.Further, it is offline for being safeguarded on Leader controllers
Aging table, when the content of offline aging table changes, Leader controllers in real time can also send offline aging table
Backup Leader controllers are given, to carry out back-up processing to offline aging table on backup Leader controllers.
Based on above-mentioned technical proposal, in the embodiment of the present invention, Leader controllers can be actively from this Leader controllers
The upper facility information for deleting the network equipment, and all Member controllers in notification controller cluster are from this Member controllers
The upper facility information for deleting the network equipment, realizes and offline network equipment is automatically deleted, raising resource reclaim efficiency, at raising
Efficiency is managed, without manpower intervention, the workload of network manager is reduced, reduces O&M cost.Further, aforesaid way energy
It is enough in time to delete the facility information of the network equipment on all controllers out of controller cluster, there is large-scale off-line net
In the case of network equipment, the resource of the network equipment can be reclaimed in time, avoid influenceing the deployment of the new network equipment.
Based on the inventive concept same with the above method, a kind of leader Leader controls are additionally provided in the embodiment of the present invention
Device processed, controller cluster is interior to include Leader controllers and multiple member Member controllers, as shown in figure 3, the Leader
Controller specifically includes:
Receiving module 11, for receiving the offline notification message from Member controllers, in the offline notification message
Carry the identification information and Offtime information for the network equipment currently having been off;
Processing module 12, for recorded in the offline aging table being pre-configured with the network equipment identification information and
The Offtime information, and ageing timer is set for the network equipment;When the ageing timer time-out, from described
The facility information of the network equipment is deleted on Leader controllers;
Sending module 13, sent for all Member controllers into controller cluster and delete message, the deletion
The identification information of the network equipment is carried in message, and the deletion message is used to indicate Member controllers from originally
The facility information of the network equipment is deleted on Member controllers.
The receiving module 11, it is additionally operable to receive the notification message of reaching the standard grade from Member controllers, the notice of reaching the standard grade
The identification information and on-line time information of the current network equipment reached the standard grade again are carried in message;The processing module 12, also
For offline aging table described in the identification information-enquiry by the network equipment currently reached the standard grade again, if the offline aging table
The middle identification information that the current network equipment reached the standard grade again be present, then delete what is currently reached the standard grade again from the offline aging table
Recorded corresponding to the network equipment.
The identification information of the network equipment specifically includes one below or any combination:The network equipment it is general
Unique identifier UUID, title, IP address, medium access control MAC Address;
The facility information of the network equipment specifically includes one below or any combination:The IP of the network equipment
Location, bridge MAC Address, endpoint of a tunnel IP address, data path mark.
Wherein, the modules of apparatus of the present invention can be integrated in one, and can also be deployed separately.Above-mentioned module can close
And be a module, multiple submodule can also be further split into.
Based on the inventive concept same with the above method, a kind of member Member controls are additionally provided in the embodiment of the present invention
Device, controller cluster is interior to include leader Leader controllers and multiple Member controllers, as shown in figure 4, the Member
Controller specifically includes:
Determining module 21, for sending the probe requests message to the network equipment of Member controller managements;If pre-
If detection response message is not received in the time, it is determined that the network equipment currently has been off;
Sending module 22, for sending offline notification message to the Leader controllers, in the offline notification message
Carry the identification information and Offtime information of the network equipment;The offline notification message is used to indicate the Leader
Controller records the identification information of the network equipment and the Offtime information in the offline aging table being pre-configured with,
And ageing timer is set for the network equipment;
Receiving module 23, for receiving the deletion message from the Leader controllers, carried in the deletion message
The identification information of the network equipment;Wherein, the deletion message is in ageing timer time-out, the Leader controls
It is all into controller cluster after device processed deletes the facility information of the network equipment from the Leader controllers
What Member controllers were sent;
Processing module 24, for using the identification information of the network equipment carried in the deletion message, from described
The facility information of the network equipment is deleted on Member controllers.
The determining module 21, it is additionally operable to after offline notification message is sent to the Leader controllers, to institute
After the network equipment transmission the probe requests message for stating Member controller managements, if receiving probe response in preset time
Message, it is determined that the network equipment has currently been reached the standard grade again;
The sending module 22, it is additionally operable to send notification message of reaching the standard grade, the notification message of reaching the standard grade to Leader controllers
In carry the identification information and on-line time information of the current network equipment reached the standard grade again;The notification message of reaching the standard grade is used to refer to
Show the offline aging table of identification information-enquiry of the network equipment of the Leader controllers by currently reaching the standard grade again, if described offline
The identification information of the current network equipment reached the standard grade again in aging table be present, deleted from the offline aging table it is current again on
Recorded corresponding to the network equipment of line.
The identification information of the network equipment specifically includes one below or any combination:The network equipment it is general
Unique identifier UUID, title, IP address, medium access control MAC Address;
The facility information of the network equipment specifically includes one below or any combination:The IP of the network equipment
Location, bridge MAC Address, endpoint of a tunnel IP address, data path mark.
Wherein, the modules of apparatus of the present invention can be integrated in one, and can also be deployed separately.Above-mentioned module can close
And be a module, multiple submodule can also be further split into.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but the former is more in many cases
Good embodiment.Based on such understanding, what technical scheme substantially contributed to prior art in other words
Part can be embodied in the form of software product, and the computer software product is stored in a storage medium, if including
It is dry to instruct to cause a computer equipment (be personal computer, server, or network equipment etc.) to perform this hair
Method described in bright each embodiment.It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment,
Module or flow in accompanying drawing are not necessarily implemented necessary to the present invention.It will be appreciated by those skilled in the art that in embodiment
Device in module can according to embodiment describe be distributed in the device of embodiment, respective change position can also be carried out
In one or more devices different from the present embodiment.The module of above-described embodiment can be merged into a module, can also
It is further split into multiple submodule.The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.With
Several specific embodiments of the upper disclosed only present invention, still, the present invention is not limited to this, any those skilled in the art
Member can think of change should all fall into protection scope of the present invention.
Claims (12)
1. a kind of offline auto-deleted method of network equipment, controller cluster is interior to include Leader controllers and multiple Member
Controller, it is characterised in that the described method comprises the following steps:
The Leader controllers receive the offline notification message from Member controllers, are carried in the offline notification message
The identification information and Offtime information for the network equipment currently having been off;
The Leader controllers record identification information and the institute of the network equipment in the offline aging table being pre-configured with
Offtime information is stated, and ageing timer is set for the network equipment;
When the ageing timer time-out, the Leader controllers delete the network equipment from this Leader controllers
Facility information, and all Member controllers into controller cluster send and delete message, are carried in the deletion message
The identification information of the network equipment, and the deletion message is used to indicate the Member controllers from this Member controllers
Delete the facility information of the network equipment.
2. the method as described in claim 1, it is characterised in that methods described further comprises:
The Leader controllers receive the notification message of reaching the standard grade from Member controllers, are carried in the notification message of reaching the standard grade
The identification information and on-line time information of the current network equipment reached the standard grade again;
The Leader controllers are by offline aging table described in the identification information-enquiry for the network equipment currently reached the standard grade again, such as
The identification information of the current network equipment reached the standard grade again in offline aging table described in fruit be present, then deleted from the offline aging table
Except record corresponding to the network equipment currently reached the standard grade again.
3. method as claimed in claim 1 or 2, it is characterised in that
The identification information of the network equipment specifically includes one below or any combination:The network equipment it is general unique
Identification code UUID, title, IP address, medium access control MAC Address;
The facility information of the network equipment specifically includes one below or any combination:The IP address of the network equipment,
Bridge MAC Address, endpoint of a tunnel IP address, data path mark.
4. a kind of offline auto-deleted method of network equipment, controller cluster is interior to include Leader controllers and multiple Member
Controller, it is characterised in that the described method comprises the following steps:
Member controllers send the probe requests message to the network equipment of this Member controller managements;If in preset time
Do not receive detection response message inside, it is determined that the network equipment currently has been off;
The Member controllers send offline notification message to the Leader controllers, are carried in the offline notification message
The identification information and Offtime information of the network equipment;The offline notification message is used to indicate the Leader controls
Device records the identification information of the network equipment and the Offtime information in the offline aging table being pre-configured with, and is
The network equipment sets ageing timer;
The Member controllers receive the deletion message from the Leader controllers, and institute is carried in the deletion message
State the identification information of the network equipment;Wherein, the deletion message is in ageing timer time-out, the Leader controllers
After the facility information that the network equipment is deleted from this Leader controllers, all Member controls into controller cluster
What device processed was sent;
The Member controllers utilize the identification information of the network equipment carried in the deletion message, from this Member
The facility information of the network equipment is deleted on controller.
5. method as claimed in claim 4, it is characterised in that the Member controllers are sent to the Leader controllers
After offline notification message, methods described further comprises:
The Member controllers to this Member controller managements the network equipment send the probe requests message after, if
Detection response message is received in preset time, it is determined that the network equipment has currently been reached the standard grade again, and to described
Leader controllers send notification message of reaching the standard grade, and the current network equipment reached the standard grade again is carried in the notification message of reaching the standard grade
Identification information and on-line time information;The notification message of reaching the standard grade is used to indicate the Leader controllers by currently again
The offline aging table of identification information-enquiry of the network equipment of line, if the current net reached the standard grade again be present in the offline aging table
The identification information of network equipment, then delete record corresponding to the current network equipment reached the standard grade again from the offline aging table.
6. the method as described in claim 4 or 5, it is characterised in that
The identification information of the network equipment specifically includes one below or any combination:The network equipment it is general unique
Identification code UUID, title, IP address, medium access control MAC Address;
The facility information of the network equipment specifically includes one below or any combination:The IP address of the network equipment,
Bridge MAC Address, endpoint of a tunnel IP address, data path mark.
7. a kind of leader Leader controllers, controller cluster is interior to include Leader controllers and multiple member Member controls
Device, it is characterised in that the Leader controllers specifically include:
Receiving module, for receiving the offline notification message from Member controllers, carried in the offline notification message
The identification information and Offtime information for the network equipment currently having been off;
Processing module, for recorded in the offline aging table being pre-configured with the network equipment identification information and it is described from
Line temporal information, and ageing timer is set for the network equipment;When the ageing timer time-out, from the Leader
The facility information of the network equipment is deleted on controller;
Sending module, sent for all Member controllers into controller cluster and delete message, in the deletion message
The identification information of the network equipment is carried, and the deletion message is used to indicate that Member controllers control from this Member
The facility information of the network equipment is deleted on device.
8. Leader controllers as claimed in claim 7, it is characterised in that
The receiving module, it is additionally operable to receive the notification message of reaching the standard grade from Member controllers, in the notification message of reaching the standard grade
Carry the identification information and on-line time information of the current network equipment reached the standard grade again;
The processing module, it is additionally operable to by offline aging described in the identification information-enquiry for the network equipment currently reached the standard grade again
Table, if the identification information of the current network equipment reached the standard grade again in the offline aging table be present, from the offline aging
Delete in table and recorded corresponding to the current network equipment reached the standard grade again.
9. Leader controllers as claimed in claim 7 or 8, it is characterised in that
The identification information of the network equipment specifically includes one below or any combination:The network equipment it is general unique
Identification code UUID, title, IP address, medium access control MAC Address;
The facility information of the network equipment specifically includes one below or any combination:The IP address of the network equipment,
Bridge MAC Address, endpoint of a tunnel IP address, data path mark.
10. a kind of member Member controllers, controller cluster is interior to include leader Leader controllers and multiple Member controls
Device processed, it is characterised in that the Member controllers specifically include:
Determining module, for sending the probe requests message to the network equipment of Member controller managements;If in preset time
Do not receive detection response message inside, it is determined that the network equipment currently has been off;
Sending module, for sending offline notification message to the Leader controllers, carried in the offline notification message
The identification information and Offtime information of the network equipment;The offline notification message is used to indicate the Leader controllers
The identification information of the network equipment and the Offtime information are recorded in the offline aging table being pre-configured with, and is institute
State the network equipment and ageing timer is set;
Receiving module, for receiving the deletion message from the Leader controllers, carried in the deletion message described
The identification information of the network equipment;Wherein, it is described deletion message be the ageing timer time-out, the Leader controllers from
After the facility information that the network equipment is deleted on the Leader controllers, all Member controls into controller cluster
What device processed was sent;
Processing module, for the identification information using the network equipment carried in the deletion message, from the Member
The facility information of the network equipment is deleted on controller.
11. Member controllers as claimed in claim 10, it is characterised in that
The determining module, it is additionally operable to after offline notification message is sent to the Leader controllers, to described
After the network equipment of Member controller managements sends the probe requests message, if receiving probe response report in preset time
Text, it is determined that the network equipment has currently been reached the standard grade again;
The sending module, it is additionally operable to send notification message of reaching the standard grade to Leader controllers, is carried in the notification message of reaching the standard grade
The identification information and on-line time information of the current network equipment reached the standard grade again;The notification message of reaching the standard grade is used to indicate
The offline aging table of identification information-enquiry of the network equipment of the Leader controllers by currently reaching the standard grade again, if described offline old
The identification information of the current network equipment reached the standard grade again in change table be present, then deleted from the offline aging table it is current again on
Recorded corresponding to the network equipment of line.
12. the Member controllers as described in claim 10 or 11, it is characterised in that
The identification information of the network equipment specifically includes one below or any combination:The network equipment it is general unique
Identification code UUID, title, IP address, medium access control MAC Address;
The facility information of the network equipment specifically includes one below or any combination:The IP address of the network equipment,
Bridge MAC Address, endpoint of a tunnel IP address, data path mark.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410693228.3A CN104468201B (en) | 2014-11-26 | 2014-11-26 | A kind of offline auto-deleted method of network equipment and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410693228.3A CN104468201B (en) | 2014-11-26 | 2014-11-26 | A kind of offline auto-deleted method of network equipment and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104468201A CN104468201A (en) | 2015-03-25 |
CN104468201B true CN104468201B (en) | 2018-03-16 |
Family
ID=52913612
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410693228.3A Active CN104468201B (en) | 2014-11-26 | 2014-11-26 | A kind of offline auto-deleted method of network equipment and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104468201B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106301887B (en) * | 2016-07-26 | 2019-08-23 | 东软集团股份有限公司 | Vertex ticks method and device, node start method and device |
CN106789913B (en) * | 2016-11-23 | 2020-02-07 | 北京云中融信网络科技有限公司 | User account management method and device |
CN108092829B (en) * | 2018-01-31 | 2021-07-06 | 深信服科技股份有限公司 | Cluster splitting processing method, SDN controller and storage medium |
CN112702204A (en) * | 2020-12-24 | 2021-04-23 | 武汉联影医疗科技有限公司 | Equipment monitoring method, device, server and storage medium |
CN113225201B (en) * | 2021-02-05 | 2022-05-24 | 新华三大数据技术有限公司 | Information synchronization method and device |
US11464073B2 (en) * | 2021-02-11 | 2022-10-04 | Hewlett Packard Enterprise Development Lp | Automatic deployment of wireless or wired networks through clustering of gateways and tunneling of data traffic to the gateways |
CN117575544B (en) * | 2024-01-15 | 2024-03-22 | 北京智芯微电子科技有限公司 | Distribution area equipment management method and device, storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101453447A (en) * | 2007-12-03 | 2009-06-10 | 华为技术有限公司 | Customer aging method for dynamic host configuration protocol DHCP and access equipment |
CN101557405A (en) * | 2009-06-01 | 2009-10-14 | 杭州华三通信技术有限公司 | Portal authentication method and corresponding gateway equipment and server thereof |
CN101820432A (en) * | 2010-05-12 | 2010-09-01 | 中兴通讯股份有限公司 | Safety control method and device of stateless address configuration |
CN103973639A (en) * | 2013-01-29 | 2014-08-06 | 华为技术有限公司 | Network access control method, device and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6820029B2 (en) * | 2000-12-22 | 2004-11-16 | United Microelectronics Corp. | Method for determining failure rate and selecting best burn-in time |
-
2014
- 2014-11-26 CN CN201410693228.3A patent/CN104468201B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101453447A (en) * | 2007-12-03 | 2009-06-10 | 华为技术有限公司 | Customer aging method for dynamic host configuration protocol DHCP and access equipment |
CN101557405A (en) * | 2009-06-01 | 2009-10-14 | 杭州华三通信技术有限公司 | Portal authentication method and corresponding gateway equipment and server thereof |
CN101820432A (en) * | 2010-05-12 | 2010-09-01 | 中兴通讯股份有限公司 | Safety control method and device of stateless address configuration |
CN103973639A (en) * | 2013-01-29 | 2014-08-06 | 华为技术有限公司 | Network access control method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN104468201A (en) | 2015-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104468201B (en) | A kind of offline auto-deleted method of network equipment and equipment | |
CN105005521A (en) | Test method and apparatus | |
CN102263667B (en) | Network management system and network management processing method | |
CN104243205A (en) | Message processing method and device used during virtual switch fault | |
JP6231598B2 (en) | Server system, method, and computer-readable storage medium for extending hold time of power supply unit | |
CN109561164B (en) | NAT table entry management method and device and NAT equipment | |
CN105871964B (en) | User Equipment (UE) processing method and device | |
CN104901828A (en) | Equipment end fault removing method | |
CN105388861A (en) | Method and system for controlling devices in internet of things | |
CN106559323A (en) | A kind of method and apparatus sent on SDN equipment first packet | |
CN106911769B (en) | Cloud platform routing data processing method and physical server of cloud platform | |
CN105094860A (en) | Terminal software online upgrade method and device | |
CN105553743A (en) | Log obtaining method, system, first network device and third network device | |
CN102143011A (en) | Device and method for realizing network protection | |
CN106972973B (en) | Control method, controller and switch | |
CN108768849A (en) | Message processing method and device | |
CN106230658B (en) | A kind of method and apparatus monitoring the network equipment | |
WO2018035766A1 (en) | Network abnormality processing method and system | |
CN110377450A (en) | A kind of hardware anomalies processing method, system and associated component | |
CN115225464B (en) | Network switching method, device, equipment and storage medium | |
CN107018033B (en) | Self-adjusting cloud management system | |
CN104270260A (en) | Method and device for elastic expansion of scale of SDN controller cluster | |
CN111343033B (en) | Network management system for multi-layer difference | |
CN103532850A (en) | Uplink message forwarding method, device and AP (access point) equipment | |
CN108429644A (en) | network device management method, device and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |