CN104468201A - Automatic deleting method and device for offline network equipment - Google Patents

Automatic deleting method and device for offline network equipment Download PDF

Info

Publication number
CN104468201A
CN104468201A CN201410693228.3A CN201410693228A CN104468201A CN 104468201 A CN104468201 A CN 104468201A CN 201410693228 A CN201410693228 A CN 201410693228A CN 104468201 A CN104468201 A CN 104468201A
Authority
CN
China
Prior art keywords
network equipment
controller
line
leader
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.)
Granted
Application number
CN201410693228.3A
Other languages
Chinese (zh)
Other versions
CN104468201B (en
Inventor
温涛
林涛
任维春
张寅飞
程行峰
叶镖翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201410693228.3A priority Critical patent/CN104468201B/en
Publication of CN104468201A publication Critical patent/CN104468201A/en
Application granted granted Critical
Publication of CN104468201B publication Critical patent/CN104468201B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an automatic deleting method and device for offline network equipment. The method includes the steps that a Leader controller receives an offline notification message from a Member controller, wherein the offline notification message carries identification information and offline time information of the network equipment; the Leader controller records the identification information and the offline time information in an offline burn-in table and allocates a burn-in timer for the network equipment; when the burn-in timer exceeds preset time, the Leader controller deletes equipment information of the network equipment and sends deletion information to the Member controller, wherein the deletion information is used for indicating the Member controller to delete the equipment information of the network equipment. According to the method, the offline network equipment is automatically deleted, recovery efficiency of resources is improved, treatment efficiency is improved, and the workload of network managers is relieved.

Description

A kind of auto-deleted method of network equipment off-line and equipment
Technical field
The present invention relates to the communications field, especially a kind of auto-deleted method of network equipment off-line and equipment.
Background technology
OpenFlow is define in SDN (Software Defined Network, software defined network) framework one communication interface standard between controller and forwarding.The thought of OpenFlow is separated control plane and datum plane, uses the protocol communication of standard therebetween.In OpenFlow network, comprise the network equipment (as OpenFlow Switch) and controller (as OpenFlow Controller), and by OpenFlow tunneling traffic between the network equipment and controller.Wherein, controller is used for according to the configuration of user or the protocol generation stream table (Flow Table) of dynamic operation, and this stream table is sent to the network equipment.The network equipment for receiving the stream table of self-controller, and mates according to stream table and processes message.
When network equipment off-line, need the facility information deleting this network equipment from controller.And in prior art, need the facility information manually being deleted the network equipment by user from controller, when running into large scale network equipment off-line and deleting, the treatment effeciency that user manually deletes the facility information of the network equipment is very low, and cannot be deleted from controller by the facility information of the network equipment in time.
Summary of the invention
The embodiment of the present invention provides a kind of auto-deleted method of network equipment off-line, comprises leader Leader controller and multiple member Member controller, said method comprising the steps of in controller cluster:
Described Leader controller receives the off-line notification message from Member controller, carries identification information and the Offtime information of the network equipment of current off-line in described off-line notification message;
Described Leader controller records the identification information of the described network equipment and described Offtime information in the aging table of pre-configured off-line, and arranges ageing timer for the described network equipment;
When described ageing timer time-out, the facility information of the described network equipment deleted by described Leader controller from this Leader controller, and send deletion message to all Member controllers in controller cluster, carry the identification information of the described network equipment in described deletion message, and described deletion message is used to indicate the described network equipment deleted by Member controller facility information from this Member controller.
Described method comprises further:
Described Leader controller receives the notification message of reaching the standard grade from Member controller, described in reach the standard grade and carry identification information and the on-line time information of the current network equipment of again reaching the standard grade in notification message;
Described Leader controller is by the aging table of off-line described in the identification information-enquiry of the current network equipment of again reaching the standard grade, if there is the identification information of the current network equipment of again reaching the standard grade in the aging table of described off-line, then from the aging table of described off-line, delete record corresponding to the current network equipment of again reaching the standard grade.
The identification information of the described network equipment specifically comprises one of following or combination in any: the general unique identifier UUID of the described network equipment, title, IP address, medium access control MAC Address;
The facility information of the described network equipment specifically comprises one of following or combination in any: the IP address of the described network equipment, bridge MAC Address, endpoint of a tunnel IP address, data path mark.
The embodiment of the present invention provides a kind of auto-deleted method of network equipment off-line, comprises leader Leader controller and multiple member Member controller, said method comprising the steps of in controller cluster:
Member controller sends probe requests thereby message to the network equipment of this Member controller management; If do not receive detection response message in Preset Time, then determine the current off-line of the described network equipment;
Described Member controller sends off-line notification message to described Leader controller, carries identification information and the Offtime information of the described network equipment in described off-line notification message; Described off-line notification message is used to indicate described Leader controller in the aging table of pre-configured off-line, records the identification information of the described network equipment and described Offtime information, and arranges ageing timer for the described network equipment;
Described Member controller receives the deletion message from described Leader controller, carries the identification information of the described network equipment in described deletion message; Wherein, described deletion message is in described ageing timer time-out, and described Leader controller, from after the facility information of the described network equipment deleted by this Leader controller, sends to all Member controllers in controller cluster;
Described Member controller utilizes the identification information of the described network equipment carried in described deletion message, deletes the facility information of the described network equipment from this Member controller.
Described Member controller is to after described Leader controller sends off-line notification message, and described method comprises further:
Described Member controller is after sending probe requests thereby message to the network equipment of this Member controller management, if receive detection response message in Preset Time, then determine that the described network equipment is current again to reach the standard grade, and send to described Leader controller notification message of reaching the standard grade, described in reach the standard grade and carry identification information and the on-line time information of the current network equipment of again reaching the standard grade in notification message; Described notification message of reaching the standard grade is used to indicate the identification information-enquiry off-line aging table of described Leader controller by the current network equipment of again reaching the standard grade, if there is the identification information of the current network equipment of again reaching the standard grade in the aging table of described off-line, then from the aging table of described off-line, delete record corresponding to the current network equipment of again reaching the standard grade.
The identification information of the described network equipment specifically comprises one of following or combination in any: the general unique identifier UUID of the described network equipment, title, IP address, medium access control MAC Address;
The facility information of the described network equipment specifically comprises one of following or combination in any: the IP address of the described network equipment, bridge MAC Address, endpoint of a tunnel IP address, data path mark.
The embodiment of the present invention provides a kind of leader Leader controller, and comprise Leader controller and multiple member Member controller in controller cluster, described Leader controller specifically comprises:
Receiver module, for receiving the off-line notification message from Member controller, carries identification information and the Offtime information of the network equipment of current off-line in described off-line notification message;
Processing module, for recording the identification information of the described network equipment and described Offtime information in the aging table of pre-configured off-line, and arranges ageing timer for the described network equipment; When described ageing timer time-out, delete the facility information of the described network equipment from described Leader controller;
Sending module, message is deleted for sending to all Member controllers in controller cluster, carry the identification information of the described network equipment in described deletion message, and described deletion message is used to indicate the described network equipment deleted by Member controller facility information from this Member controller.
Described receiver module, also for receiving the notification message of reaching the standard grade from Member controller, described in reach the standard grade and carry identification information and the on-line time information of the current network equipment of again reaching the standard grade in notification message;
Described processing module, also for the aging table of off-line described in the identification information-enquiry by the current network equipment of again reaching the standard grade, if there is the identification information of the current network equipment of again reaching the standard grade in the aging table of described off-line, then from the aging table of described off-line, delete record corresponding to the current network equipment of again reaching the standard grade.
The identification information of the described network equipment specifically comprises one of following or combination in any: the general unique identifier UUID of the described network equipment, title, IP address, medium access control MAC Address;
The facility information of the described network equipment specifically comprises one of following or combination in any: the IP address of the described network equipment, bridge MAC Address, endpoint of a tunnel IP address, data path mark.
The embodiment of the present invention provides a kind of member Member controller, and comprise leader Leader controller and multiple Member controller in controller cluster, described Member controller specifically comprises:
Determination module, sends probe requests thereby message for the network equipment to Member controller management; If do not receive detection response message in Preset Time, then determine the current off-line of the described network equipment;
Sending module, for sending off-line notification message to described Leader controller, carries identification information and the Offtime information of the described network equipment in described off-line notification message; Described off-line notification message is used to indicate described Leader controller in the aging table of pre-configured off-line, records the identification information of the described network equipment and described Offtime information, and arranges ageing timer for the described network equipment;
Receiver module, for receiving the deletion message from described Leader controller, carries the identification information of the described network equipment in described deletion message; Wherein, described deletion message is in described ageing timer time-out, and described Leader controller, from after the facility information of the described network equipment deleted by described Leader controller, sends to all Member controllers in controller cluster;
Processing module, for utilizing the identification information of the described network equipment carried in described deletion message, deletes the facility information of the described network equipment from described Member controller.
Described determination module, also for after sending off-line notification message to described Leader controller, after sending probe requests thereby message to the network equipment of described Member controller management, if receive detection response message in Preset Time, then determine that the described network equipment is current and again reach the standard grade;
Described sending module, also to reach the standard grade notification message for sending to Leader controller, described in reach the standard grade and carry identification information and the on-line time information of the current network equipment of again reaching the standard grade in notification message; Described notification message of reaching the standard grade is used to indicate the identification information-enquiry off-line aging table of Leader controller by the current network equipment of again reaching the standard grade, if there is the identification information of the current network equipment of again reaching the standard grade in the aging table of described off-line, then from the aging table of described off-line, delete record corresponding to the current network equipment of again reaching the standard grade.
The identification information of the described network equipment specifically comprises one of following or combination in any: the general unique identifier UUID of the described network equipment, title, IP address, medium access control MAC Address;
The facility information of the described network equipment specifically comprises one of following or combination in any: the IP address of the described network equipment, bridge MAC Address, endpoint of a tunnel IP address, data path mark.
Based on technique scheme, in the embodiment of the present invention, Leader controller initiatively can delete the facility information of the network equipment from this Leader controller, and the facility information of the network equipment deleted by all Member controllers in notification controller cluster from this Member controller, realize the automatic deletion to offline network equipment, improve resource reclaim efficiency, improve treatment effeciency, without the need to manpower intervention, reduce the workload of network manager, reduce O&M cost.Further, the facility information of the network equipment can be deleted from all controllers in controller cluster by aforesaid way in time, when there is the large-scale off-line network equipment, the resource of the network equipment can be reclaimed in time, avoiding the deployment affecting the new network equipment.
Accompanying drawing explanation
Fig. 1 is the application scenarios schematic diagram of the embodiment of the present invention;
Fig. 2 is the auto-deleted method flow chart of a kind of network equipment off-line that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of Leader controller that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of Member controller that the embodiment of the present invention provides.
Embodiment
In order to improve the reliability of OpenFlow network, can dispose multiple controller in OpenFlow network, this multiple controller forms a controller cluster.In this controller cluster, a controller is as Leader (leader) controller, and other controller is as Member (member) controller.
When network equipment off-line, need the facility information all controllers in controller cluster all being deleted this network equipment.Based on this, user can issue the order of the facility information deleting the network equipment on Leader controller, by Leader controller after receiving this order, the facility information of this network equipment is deleted from this Leader controller, and the facility information of this network equipment deleted by the Member controller in notification controller cluster, deleted the facility information of this network equipment by the Member controller in controller cluster.Further, in order to all controllers in controller cluster all being deleted the facility information of this network equipment, the embodiment of the present invention can also provide a kind of auto-deleted method of network equipment off-line, and the method can be applied in the SDN comprising the network equipment and multiple controller.In this SDN, deploy multiple controller, and this multiple controller constitutes a controller cluster.Wherein, a Leader controller and multiple Member controller is comprised in this controller cluster.In order to improve the reliability of SDN, a backup controller can also be configured for each controller.
For the backup Leader controller that Leader controller is corresponding, the operating state of backup Leader monitoring control devices Leader controller; When Leader controller did not lose efficacy, backup Leader controller, as the backup of Leader controller, can not replace the work of Leader controller; When Leader controller lost efficacy, backup Leader controller upgraded to new Leader controller, and Leader controller will be replaced to work.Further, for the backup Member controller that Member controller is corresponding, the operating state of backup Member monitoring control devices Member controller; When Member controller did not lose efficacy, backup Member controller, as the backup of Member controller, can not replace the work of Member controller; When Member controller lost efficacy, backup Member controller upgraded to new Member controller, and Member controller will be replaced to work.Further, the network equipment and Member controller and this backup Member controller corresponding to Member controller establish TCP (TransmissionControl Protocol, transmission control protocol) respectively and connect.When Member controller did not lose efficacy, the network equipment communicated with Member controller.When Member controller lost efficacy, the network equipment communicated with the backup Member controller becoming new Member controller.
Take Fig. 1 as the application scenarios schematic diagram of the embodiment of the present invention, in controller cluster, comprise controller 1, controller 2, controller 3, controller 4, controller 5 and controller 6.Wherein, controller 1 is Leader controller, and controller 2 is the backup Leader controller of controller 1.Controller 3 is Member controller, and controller 4 is the backup Member controller of controller 3.Controller 5 is Member controller, and controller 6 is the backup Member controller of controller 5.The network equipment 1 is set up TCP with controller 3 and controller 4 respectively and is connected, and is currently managed by controller 3 pairs of network equipments 1.
As shown in Figure 2, the auto-deleted method of this network equipment off-line specifically comprises the following steps:
Step 201, Member controller sends probe requests thereby message to the network equipment of this Member controller management.If do not receive detection response message in Preset Time, then determine the current off-line of the network equipment.If receive detection response message in Preset Time, then determine that the network equipment is online current.
Wherein, the reason of the current off-line of the network equipment is: the network equipment causes present networks equipment generation off-line due to lower conductance; Or the network equipment causes present networks equipment generation off-line due to network failure.
In the embodiment of the present invention, Member controller periodically (can rule of thumb arrange) can send probe requests thereby message to the network equipment of this Member controller management.Wherein, probe requests thereby message is specifically as follows Echo (loopback) request message, and detection response message is specifically as follows Echo response message.
Such as, controller 3 (i.e. Member controller) sent a probe requests thereby message every 5 seconds to the network equipment 1 (i.e. the network equipment of controller 3 management).If do not receive the detection response message that the network equipment 1 returns in Preset Time (can arrange arbitrarily according to practical experience, as being set to 25 seconds), then the current off-line of the network equipment 1 determined by controller 3.If receive the detection response message that the network equipment 1 returns in Preset Time, then controller 3 determines that the network equipment 1 is current still online.
Step 202, when the current off-line of the network equipment, Member controller sends off-line notification message to Leader controller, receives off-line notification message by Leader controller.Wherein, identification information and the Offtime information of the network equipment of current off-line is carried in this off-line notification message.
Step 203, Leader controller records identification information and the Offtime information of the network equipment carried in off-line notification message in the aging table of pre-configured off-line, and arranges ageing timer for the network equipment.
In the embodiment of the present invention, in off-line notification message, type of message can also be carried, and type of message is specially network equipment off-line type (as the network equipment _ OFFLINE).Leader controller is after receiving the off-line notification message from Member controller, when the type of message finding off-line notification message is network equipment off-line type, in the aging table of pre-configured off-line, then record identification information and the Offtime information of the network equipment carried in off-line notification message, and ageing timer is set for the network equipment.
Such as, when the current off-line of the network equipment 1, controller 3 (i.e. Member controller) sends off-line notification message to controller 1 (i.e. Leader controller), carries the Offtime information (namely controller 3 detects the time of the network equipment 1 off-line) of the identification information of the network equipment 1 and the network equipment 1 in this off-line notification message.Controller 1, after receiving off-line notification message, records the identification information of the network equipment 1 and the Offtime information of the network equipment 1, and arranges ageing timer for the network equipment 1, the aging table of off-line as shown in table 1 in the aging table of pre-configured off-line.
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 the ageing timer time-out that the network equipment is corresponding, Leader controller deletes the facility information of this network equipment from Leader controller, and sends deletion message to all Member controllers in controller cluster.Wherein, the identification information of this network equipment is carried in this deletion message.
Concrete, Leader controller can start a timer, during each timer expiry, and all records in the aging table of Leader controller inquiry off-line.If have ageing timer time-out, then the network equipment of Leader controller determination ageing timer time-out, and delete the facility information of this network equipment from this Leader controller, and send deletion message to all Member controllers in controller cluster.
Such as, when the ageing timer time-out of the network equipment 1 correspondence, controller 1 (Leader controller) determines that the network equipment of ageing timer time-out is the network equipment 1, the facility information of this network equipment 1 is deleted from this controller 1, and send deletion message to all Member controllers (i.e. controller 3, controller 4, controller 5, controller 6) in controller cluster, carry the identification information of the network equipment 1 in this deletion message.In addition, controller 1 can also send to the backup Leader controller (i.e. controller 2) in controller cluster and delete message, carries the identification information of the network equipment 1 in this deletion message.
In the embodiment of the present invention, Leader controller is after deleting the facility information of the network equipment from Leader controller, and Leader controller can also delete record corresponding to this network equipment from the aging table of off-line.Such as, controller 1 is after deleting the facility information of the network equipment 1 from this controller 1, controller 1 can also delete the record of the network equipment 1 correspondence from the aging table of off-line, namely deletes the corresponding relation between the identification information of the network equipment 1, the Offtime information of the network equipment 1 and ageing time.
Step 205, Member controller, after receiving deletion message, utilizes the identification information deleting the network equipment carried in message, deletes the facility information of this network equipment from this Member controller.
Wherein, the type of message deleting message is the network equipment _ deletion.After Member controller receives and deletes message, when finding that type of message is the network equipment _ deletion, then utilize the identification information deleting the network equipment carried in message, directly delete the facility information of this network equipment from this Member controller.
In the embodiment of the present invention, the identification information of the network equipment specifically includes but not limited to one of following or combination in any: UUID (the Universally Unique Identifier of the network equipment, general unique identifier), title, IP address, MAC (Media Access Control, medium access control) address.The facility information of the network equipment specifically includes but not limited to one of following or combination in any: the IP address of the network equipment, bridge (bridge) MAC Address, endpoint of a tunnel IP address (VtepIP), data path mark (DatapathID).
In the embodiment of the present invention, because Leader controller stores the facility information of each network equipment in internal memory, therefore, when Leader controller needs to delete the facility information of the network equipment from Leader controller, Leader controller is all devices information of deleting this network equipment from internal memory, as the IP address, bridge MAC Address, endpoint of a tunnel IP address, data path mark etc. of this network equipment.Such as, when Leader controller in internal memory with all devices information of mode storage networking device of hash table time, all devices information of this network equipment by same for correspondence hash value, the hash value that the IP address as equipment Network Based is determined.In the case, when needing to delete all devices information of the network equipment from internal memory, first obtaining the IP address of this network equipment, and determining the hash value that the IP address of this network equipment is corresponding.Afterwards, Leader controller obtains all devices information corresponding to this hash value from internal memory, and from internal memory, delete all devices information corresponding to this hash value.In like manner, the process that Member controller deletes the facility information of the network equipment from this Member controller is identical with the process that Leader controller deletes the facility information of the network equipment from this Leader controller, repeats no longer in detail in the embodiment of the present invention to this.
In the embodiment of the present invention, Member controller is after sending probe requests thereby message to the network equipment of this Member controller management, if receive detection response message in Preset Time, if sent the off-line notification message for this network equipment to Leader controller before Member controller, then the Member controller determination network equipment is current reaches the standard grade again, and send to Leader controller notification message of reaching the standard grade, carry identification information and the on-line time information of the current network equipment of again reaching the standard grade in this notification message of reaching the standard grade.Further, Leader controller is after receiving the notification message of reaching the standard grade from Member controller, by the aging table of identification information-enquiry off-line of the current network equipment of again reaching the standard grade, if there is the identification information of the current network equipment of again reaching the standard grade in the aging table of this off-line, then Leader controller needs from the aging table of off-line, delete record corresponding to the current network equipment of again reaching the standard grade.
In the embodiment of the present invention, in notification message of reaching the standard grade, type of message can also be carried, and type of message is specially the network equipment reaches the standard grade type (as the network equipment _ ONLINE).Leader controller is after receiving the notification message of reaching the standard grade from Member controller, when the type of message of notification message of finding to reach the standard grade be the network equipment reach the standard grade type time, then by the aging table of identification information-enquiry off-line of the current network equipment of again reaching the standard grade, if there is the identification information of the current network equipment of again reaching the standard grade in the aging table of this off-line, then Leader controller needs from the aging table of off-line, delete record corresponding to the current network equipment of again reaching the standard grade.
Such as, when controller 3 (i.e. Member controller) receives the detection response message that the network equipment 1 returns in Preset Time, if sent the off-line notification message for this network equipment 1 to controller 1 (i.e. Leader controller) before controller 3, then controller 3 is determined that the network equipment 1 is current and is again reached the standard grade, and send to controller 1 notification message of reaching the standard grade, the identification information of the current network equipment 1 of again reaching the standard grade and the on-line time information (namely controller 3 detects the time that the network equipment 1 is reached the standard grade again) of the network equipment 1 is carried in this notification message of reaching the standard grade.Controller 1 is after receiving notification message of reaching the standard grade, by the aging table of identification information-enquiry off-line of the current network equipment 1 of again reaching the standard grade, if there is the identification information of the current network equipment 1 of again reaching the standard grade in the aging table of this off-line, then controller 1 needs the record deleting the current network equipment 1 correspondence of again reaching the standard grade from the aging table of off-line, namely deletes the corresponding relation between the identification information of the network equipment 1, the Offtime information of the network equipment 1 and ageing time.
In the embodiment of the present invention, for the aging table of the off-line that Leader controller is safeguarded, aging for off-line table regularly can also be sent to backup Leader controller by Leader controller, to carry out back-up processing to the aging table of off-line on backup Leader controller, thus improve the reliability of the aging table maintenance of off-line.Further, for the aging table of the off-line that Leader controller is safeguarded, when the content of the aging table of off-line changes, Leader controller can also be real-time aging for off-line table is sent to backup Leader controller, to carry out back-up processing to the aging table of off-line on backup Leader controller.
Based on technique scheme, in the embodiment of the present invention, Leader controller initiatively can delete the facility information of the network equipment from this Leader controller, and the facility information of the network equipment deleted by all Member controllers in notification controller cluster from this Member controller, realize the automatic deletion to offline network equipment, improve resource reclaim efficiency, improve treatment effeciency, without the need to manpower intervention, reduce the workload of network manager, reduce O&M cost.Further, the facility information of the network equipment can be deleted from all controllers in controller cluster by aforesaid way in time, when there is the large-scale off-line network equipment, the resource of the network equipment can be reclaimed in time, avoiding the deployment affecting the new network equipment.
Based on the inventive concept same with said method, a kind of leader Leader controller is additionally provided in the embodiment of the present invention, comprise Leader controller and multiple member Member controller in controller cluster, as shown in Figure 3, described Leader controller specifically comprises:
Receiver module 11, for receiving the off-line notification message from Member controller, carries identification information and the Offtime information of the network equipment of current off-line in described off-line notification message;
Processing module 12, for recording the identification information of the described network equipment and described Offtime information in the aging table of pre-configured off-line, and arranges ageing timer for the described network equipment; When described ageing timer time-out, delete the facility information of the described network equipment from described Leader controller;
Sending module 13, message is deleted for sending to all Member controllers in controller cluster, carry the identification information of the described network equipment in described deletion message, and described deletion message is used to indicate the described network equipment deleted by Member controller facility information from this Member controller.
Described receiver module 11, also for receiving the notification message of reaching the standard grade from Member controller, described in reach the standard grade and carry identification information and the on-line time information of the current network equipment of again reaching the standard grade in notification message; Described processing module 12, also for the aging table of off-line described in the identification information-enquiry by the current network equipment of again reaching the standard grade, if there is the identification information of the current network equipment of again reaching the standard grade in the aging table of described off-line, then from the aging table of described off-line, delete record corresponding to the current network equipment of again reaching the standard grade.
The identification information of the described network equipment specifically comprises one of following or combination in any: the general unique identifier UUID of the described network equipment, title, IP address, medium access control MAC Address;
The facility information of the described network equipment specifically comprises one of following or combination in any: the IP address of the described network equipment, 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 also can be separated deployment.Above-mentioned module can merge into a module, also can split into multiple submodule further.
Based on the inventive concept same with said method, a kind of member Member controller is additionally provided in the embodiment of the present invention, comprise leader Leader controller and multiple Member controller in controller cluster, as shown in Figure 4, described Member controller specifically comprises:
Determination module 21, sends probe requests thereby message for the network equipment to Member controller management; If do not receive detection response message in Preset Time, then determine the current off-line of the described network equipment;
Sending module 22, for sending off-line notification message to described Leader controller, carries identification information and the Offtime information of the described network equipment in described off-line notification message; Described off-line notification message is used to indicate described Leader controller in the aging table of pre-configured off-line, records the identification information of the described network equipment and described Offtime information, and arranges ageing timer for the described network equipment;
Receiver module 23, for receiving the deletion message from described Leader controller, carries the identification information of the described network equipment in described deletion message; Wherein, described deletion message is in described ageing timer time-out, and described Leader controller, from after the facility information of the described network equipment deleted by described Leader controller, sends to all Member controllers in controller cluster;
Processing module 24, for utilizing the identification information of the described network equipment carried in described deletion message, deletes the facility information of the described network equipment from described Member controller.
Described determination module 21, also for after sending off-line notification message to described Leader controller, after sending probe requests thereby message to the network equipment of described Member controller management, if receive detection response message in Preset Time, then determine that the described network equipment is current and again reach the standard grade;
Described sending module 22, also to reach the standard grade notification message for sending to Leader controller, described in reach the standard grade and carry identification information and the on-line time information of the current network equipment of again reaching the standard grade in notification message; Described notification message of reaching the standard grade is used to indicate the identification information-enquiry off-line aging table of Leader controller by the current network equipment of again reaching the standard grade, if there is the identification information of the current network equipment of again reaching the standard grade in the aging table of described off-line, from the aging table of described off-line, delete record corresponding to the current network equipment of again reaching the standard grade.
The identification information of the described network equipment specifically comprises one of following or combination in any: the general unique identifier UUID of the described network equipment, title, IP address, medium access control MAC Address;
The facility information of the described network equipment specifically comprises one of following or combination in any: the IP address of the described network equipment, 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 also can be separated deployment.Above-mentioned module can merge into a module, also can split into multiple submodule further.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (12)

1. an auto-deleted method for network equipment off-line, comprises leader Leader controller and multiple member Member controller, it is characterized in that, said method comprising the steps of in controller cluster:
Described Leader controller receives the off-line notification message from Member controller, carries identification information and the Offtime information of the network equipment of current off-line in described off-line notification message;
Described Leader controller records the identification information of the described network equipment and described Offtime information in the aging table of pre-configured off-line, and arranges ageing timer for the described network equipment;
When described ageing timer time-out, the facility information of the described network equipment deleted by described Leader controller from this Leader controller, and send deletion message to all Member controllers in controller cluster, carry the identification information of the described network equipment in described deletion message, and described deletion message is used to indicate the described network equipment deleted by Member controller facility information from this Member controller.
2. the method for claim 1, is characterized in that, described method comprises further:
Described Leader controller receives the notification message of reaching the standard grade from Member controller, described in reach the standard grade and carry identification information and the on-line time information of the current network equipment of again reaching the standard grade in notification message;
Described Leader controller is by the aging table of off-line described in the identification information-enquiry of the current network equipment of again reaching the standard grade, if there is the identification information of the current network equipment of again reaching the standard grade in the aging table of described off-line, then from the aging table of described off-line, delete record corresponding to the current network equipment of again reaching the standard grade.
3. method as claimed in claim 1 or 2, is characterized in that,
The identification information of the described network equipment specifically comprises one of following or combination in any: the general unique identifier UUID of the described network equipment, title, IP address, medium access control MAC Address;
The facility information of the described network equipment specifically comprises one of following or combination in any: the IP address of the described network equipment, bridge MAC Address, endpoint of a tunnel IP address, data path mark.
4. an auto-deleted method for network equipment off-line, comprises leader Leader controller and multiple member Member controller, it is characterized in that, said method comprising the steps of in controller cluster:
Member controller sends probe requests thereby message to the network equipment of this Member controller management; If do not receive detection response message in Preset Time, then determine the current off-line of the described network equipment;
Described Member controller sends off-line notification message to described Leader controller, carries identification information and the Offtime information of the described network equipment in described off-line notification message; Described off-line notification message is used to indicate described Leader controller in the aging table of pre-configured off-line, records the identification information of the described network equipment and described Offtime information, and arranges ageing timer for the described network equipment;
Described Member controller receives the deletion message from described Leader controller, carries the identification information of the described network equipment in described deletion message; Wherein, described deletion message is in described ageing timer time-out, and described Leader controller, from after the facility information of the described network equipment deleted by this Leader controller, sends to all Member controllers in controller cluster;
Described Member controller utilizes the identification information of the described network equipment carried in described deletion message, deletes the facility information of the described network equipment from this Member controller.
5. method as claimed in claim 4, is characterized in that, described Member controller is to after described Leader controller sends off-line notification message, and described method comprises further:
Described Member controller is after sending probe requests thereby message to the network equipment of this Member controller management, if receive detection response message in Preset Time, then determine that the described network equipment is current again to reach the standard grade, and send to described Leader controller notification message of reaching the standard grade, described in reach the standard grade and carry identification information and the on-line time information of the current network equipment of again reaching the standard grade in notification message; Described notification message of reaching the standard grade is used to indicate the identification information-enquiry off-line aging table of described Leader controller by the current network equipment of again reaching the standard grade, if there is the identification information of the current network equipment of again reaching the standard grade in the aging table of described off-line, then from the aging table of described off-line, delete record corresponding to the current network equipment of again reaching the standard grade.
6. the method as described in claim 4 or 5, is characterized in that,
The identification information of the described network equipment specifically comprises one of following or combination in any: the general unique identifier UUID of the described network equipment, title, IP address, medium access control MAC Address;
The facility information of the described network equipment specifically comprises one of following or combination in any: the IP address of the described network equipment, bridge MAC Address, endpoint of a tunnel IP address, data path mark.
7. a leader Leader controller, comprise Leader controller and multiple member Member controller in controller cluster, it is characterized in that, described Leader controller specifically comprises:
Receiver module, for receiving the off-line notification message from Member controller, carries identification information and the Offtime information of the network equipment of current off-line in described off-line notification message;
Processing module, for recording the identification information of the described network equipment and described Offtime information in the aging table of pre-configured off-line, and arranges ageing timer for the described network equipment; When described ageing timer time-out, delete the facility information of the described network equipment from described Leader controller;
Sending module, message is deleted for sending to all Member controllers in controller cluster, carry the identification information of the described network equipment in described deletion message, and described deletion message is used to indicate the described network equipment deleted by Member controller facility information from this Member controller.
8. Leader controller as claimed in claim 7, is characterized in that,
Described receiver module, also for receiving the notification message of reaching the standard grade from Member controller, described in reach the standard grade and carry identification information and the on-line time information of the current network equipment of again reaching the standard grade in notification message;
Described processing module, also for the aging table of off-line described in the identification information-enquiry by the current network equipment of again reaching the standard grade, if there is the identification information of the current network equipment of again reaching the standard grade in the aging table of described off-line, then from the aging table of described off-line, delete record corresponding to the current network equipment of again reaching the standard grade.
9. Leader controller as claimed in claim 7 or 8, is characterized in that,
The identification information of the described network equipment specifically comprises one of following or combination in any: the general unique identifier UUID of the described network equipment, title, IP address, medium access control MAC Address;
The facility information of the described network equipment specifically comprises one of following or combination in any: the IP address of the described network equipment, bridge MAC Address, endpoint of a tunnel IP address, data path mark.
10. a member Member controller, comprise leader Leader controller and multiple Member controller in controller cluster, it is characterized in that, described Member controller specifically comprises:
Determination module, sends probe requests thereby message for the network equipment to Member controller management; If do not receive detection response message in Preset Time, then determine the current off-line of the described network equipment;
Sending module, for sending off-line notification message to described Leader controller, carries identification information and the Offtime information of the described network equipment in described off-line notification message; Described off-line notification message is used to indicate described Leader controller in the aging table of pre-configured off-line, records the identification information of the described network equipment and described Offtime information, and arranges ageing timer for the described network equipment;
Receiver module, for receiving the deletion message from described Leader controller, carries the identification information of the described network equipment in described deletion message; Wherein, described deletion message is in described ageing timer time-out, and described Leader controller, from after the facility information of the described network equipment deleted by described Leader controller, sends to all Member controllers in controller cluster;
Processing module, for utilizing the identification information of the described network equipment carried in described deletion message, deletes the facility information of the described network equipment from described Member controller.
11. Member controllers as claimed in claim 10, is characterized in that,
Described determination module, also for after sending off-line notification message to described Leader controller, after sending probe requests thereby message to the network equipment of described Member controller management, if receive detection response message in Preset Time, then determine that the described network equipment is current and again reach the standard grade;
Described sending module, also to reach the standard grade notification message for sending to Leader controller, described in reach the standard grade and carry identification information and the on-line time information of the current network equipment of again reaching the standard grade in notification message; Described notification message of reaching the standard grade is used to indicate the identification information-enquiry off-line aging table of Leader controller by the current network equipment of again reaching the standard grade, if there is the identification information of the current network equipment of again reaching the standard grade in the aging table of described off-line, then from the aging table of described off-line, delete record corresponding to the current network equipment of again reaching the standard grade.
12. Member controllers as described in claim 10 or 11, is characterized in that,
The identification information of the described network equipment specifically comprises one of following or combination in any: the general unique identifier UUID of the described network equipment, title, IP address, medium access control MAC Address;
The facility information of the described network equipment specifically comprises one of following or combination in any: the IP address of the described network equipment, bridge MAC Address, endpoint of a tunnel IP address, data path mark.
CN201410693228.3A 2014-11-26 2014-11-26 A kind of offline auto-deleted method of network equipment and equipment Active CN104468201B (en)

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 true CN104468201A (en) 2015-03-25
CN104468201B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301887A (en) * 2016-07-26 2017-01-04 东软集团股份有限公司 Vertex ticks method and device, node start method and device
CN106789913A (en) * 2016-11-23 2017-05-31 北京云中融信网络科技有限公司 User account management method and device
CN108092829A (en) * 2018-01-31 2018-05-29 深信服科技股份有限公司 Processing method, SDN controllers and the storage medium of cluster division
CN112702204A (en) * 2020-12-24 2021-04-23 武汉联影医疗科技有限公司 Equipment monitoring method, device, server and storage medium
CN113225201A (en) * 2021-02-05 2021-08-06 新华三大数据技术有限公司 Information synchronization method and device
CN114928515A (en) * 2021-02-11 2022-08-19 慧与发展有限责任合伙企业 Automatic deployment of wireless or wired networks through gateway clustering and tunneling of data traffic to gateways
CN117575544A (en) * 2024-01-15 2024-02-20 北京智芯微电子科技有限公司 Distribution area equipment management method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020082796A1 (en) * 2000-12-22 2002-06-27 United Microelectronics Corp. Method for determining failure rate and selecting best burn-in time
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020082796A1 (en) * 2000-12-22 2002-06-27 United Microelectronics Corp. Method for determining failure rate and selecting best burn-in time
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

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301887A (en) * 2016-07-26 2017-01-04 东软集团股份有限公司 Vertex ticks method and device, node start method and device
CN106301887B (en) * 2016-07-26 2019-08-23 东软集团股份有限公司 Vertex ticks method and device, node start method and device
CN106789913A (en) * 2016-11-23 2017-05-31 北京云中融信网络科技有限公司 User account management method and device
CN106789913B (en) * 2016-11-23 2020-02-07 北京云中融信网络科技有限公司 User account management method and device
CN108092829A (en) * 2018-01-31 2018-05-29 深信服科技股份有限公司 Processing method, SDN controllers and the storage medium of cluster division
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
CN113225201A (en) * 2021-02-05 2021-08-06 新华三大数据技术有限公司 Information synchronization method and device
CN113225201B (en) * 2021-02-05 2022-05-24 新华三大数据技术有限公司 Information synchronization method and device
CN114928515A (en) * 2021-02-11 2022-08-19 慧与发展有限责任合伙企业 Automatic deployment of wireless or wired networks through gateway clustering and tunneling of data traffic to gateways
CN117575544A (en) * 2024-01-15 2024-02-20 北京智芯微电子科技有限公司 Distribution area equipment management method and device, storage medium and electronic equipment
CN117575544B (en) * 2024-01-15 2024-03-22 北京智芯微电子科技有限公司 Distribution area equipment management method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN104468201B (en) 2018-03-16

Similar Documents

Publication Publication Date Title
CN104468201A (en) Automatic deleting method and device for offline network equipment
US10887247B2 (en) Dynamic resource allocation for sensor devices on a cellular network
CN107800565B (en) Inspection method, inspection device, inspection system, computer equipment and storage medium
TWI612415B (en) System and management method of server and computer-readable storage medium
RU2683630C2 (en) Method for update of nsd network service descriptor and device
CN109274557B (en) Intelligent CMDB management and cloud host monitoring method in cloud environment
CN105005521A (en) Test method and apparatus
CN105049502B (en) The method and apparatus that device software updates in a kind of cloud network management system
CN104243205A (en) Message processing method and device used during virtual switch fault
WO2017206576A1 (en) Gateway service processing method and apparatus
CN104301142A (en) Backup method and device for configuration files
CN102904977B (en) Network address allocation method, server and node
CN104486125A (en) Backup method and device of configuration files
WO2018041101A1 (en) Data query method and apparatus and data query processing method and apparatus
CN105554099A (en) Method and device for balancing load of acquisition servers
KR100714681B1 (en) Network managing device and method thereof
CN107872336B (en) Mounting point identification method and system and identification management equipment
RU2693903C1 (en) Method, apparatus and processing system for expanded port
KR102212603B1 (en) Internet access system of providing dualized connection for mobile network and broadband network, and method for the same
KR20200007912A (en) Methods, devices, and systems for monitoring data traffic
CN111010362B (en) Monitoring method and device for abnormal host
CN107018033B (en) Self-adjusting cloud management system
CN104579758A (en) LISP (Location/ID Separation Protocol) domain fault detection convergence method and equipment
CN106559439B (en) A kind of method for processing business and equipment
CN104022917A (en) Cloud bridge monitoring method

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant