CN108234681B - Address resource automatic recovery method, address resource management device and network system - Google Patents

Address resource automatic recovery method, address resource management device and network system Download PDF

Info

Publication number
CN108234681B
CN108234681B CN201611149049.9A CN201611149049A CN108234681B CN 108234681 B CN108234681 B CN 108234681B CN 201611149049 A CN201611149049 A CN 201611149049A CN 108234681 B CN108234681 B CN 108234681B
Authority
CN
China
Prior art keywords
address
recovered
address resource
configuration information
resource
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
Application number
CN201611149049.9A
Other languages
Chinese (zh)
Other versions
CN108234681A (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201611149049.9A priority Critical patent/CN108234681B/en
Publication of CN108234681A publication Critical patent/CN108234681A/en
Application granted granted Critical
Publication of CN108234681B publication Critical patent/CN108234681B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5061Pools of addresses

Abstract

The invention discloses an address resource automatic recovery method, an address resource management device and a network system, relating to the technical field of communication, wherein the method comprises the following steps: after receiving an address recovery success message sent by network equipment, acquiring address configuration information on the network equipment and routing configuration information on uplink equipment of the network equipment; and judging whether the address resources needing to be recovered are successfully recovered or not based on the address configuration information and the routing configuration information, and if so, setting the recovered address resources as idle address resources so as to perform allocation again. The method, the device and the network system can avoid the problem of recovery failure possibly caused by the reporting error of the equipment, ensure that the recovered address resources are idle and can be allocated again, avoid the problems of routing confusion and the like, increase the availability guarantee of the address resources and effectively avoid the problem of possible waste of the address resources.

Description

Address resource automatic recovery method, address resource management device and network system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an address resource automatic recovery method, an address resource management apparatus, and a network system.
Background
With the rapidly increasing situation of the demand of internet access users and various terminal devices for IP address resources, the shortage of address resources has become a problem that needs to be solved urgently in the current operator network. In broadband IP networks, edge network devices (e.g., BRAS devices, firewalls, etc.) are responsible for assigning service IP addresses to end users. At present, each edge network device usually meets the internet access requirements of a large number of internet users by manually configuring fixed address blocks and address pool resources through a network administrator, which easily causes the problems of uneven IP address resource allocation and resource waste. The existing intelligent mode is triggered by edge network equipment, dynamically interacts with an IP address resource management system, dynamically applies for issuing and recovering address resources, and the resource management system responds to equipment requirements and allocates available addresses to the equipment for use.
Currently, the automatic recovery method of the IP address pool includes two ways: 1. the equipment actively issues a recovery instruction, and the equipment informs an address resource manager to recover a certain section of address pool resources; 2. the device responds to the recovery instruction to execute, and the address resource manager informs the device to recover a certain section of address pool resources according to the state of the address pool. However, if the device feeds back a recovery success message, but in fact the device fails to delete configuration or cancel the route release, the address resource manager reallocates the recovered address pool to another device, which may cause confusion of configuration and routing, resulting in that the end user cannot surf the internet, and the address resource manager lacks an active verification mechanism for address recovery, completely depends on the device's decision, and cannot ensure reliability.
Disclosure of Invention
In view of the above, an object of the present invention is to provide an address resource automatic recovery method, an address resource management apparatus and a network system.
According to one aspect of the invention, an address resource automatic recovery method is provided, which comprises the following steps: sending an address resource recovery message to the network equipment, wherein the address resource recovery message carries address resource information needing to be recovered; after receiving an address recovery success message sent by network equipment, acquiring address configuration information on the network equipment and routing configuration information on uplink equipment of the network equipment; and judging whether the address resources needing to be recovered are successfully recovered or not based on the address configuration information and the routing configuration information, and if so, setting the recovered address resources as idle address resources so as to allocate the recovered address resources again.
Optionally, the determining whether the address resource needing to be recycled is successfully recycled based on the address configuration information and the routing configuration information includes: when judging that the address resource configuration information does not have configuration information corresponding to the address resource needing to be recovered and the routing configuration information does not have routing information corresponding to the address resource needing to be recovered, determining that the address resource needing to be recovered is successfully recovered.
Optionally, after determining that the reclamation is successful, setting the reclaimed address resource to an idle state, and deleting the binding relationship between the reclaimed address resource and the address pool of the network device, so that the reclaimed address resource can be reallocated.
Optionally, when it is determined that configuration information corresponding to the address resource to be recovered exists in the address resource configuration information and/or routing information corresponding to the address resource to be recovered exists in the routing configuration information, it is determined that recovery of the address resource to be recovered fails, the address resource to be recovered is set to a locked state, the network device is set to an abnormal state, and a recovery abnormal warning message is sent.
Optionally, when address resources need to be allocated to the network device, determining whether the network device is in an abnormal state; if yes, no address resource is allocated to the equipment, and alarm log information is sent; if not, the address resource is allocated to the network device, wherein the allocated address resource does not contain the address resource set to the locked state.
Optionally, after receiving the address resource recovery message, the network device sends a route revocation issue message to the uplink device, so that the uplink device deletes the route configuration related to the address resource to be recovered; the network equipment locally deletes address configuration information related to the address resource needing to be recycled; and the network equipment returns the address recovery success message.
Optionally, the sending the address resource recycling message to the network device includes: receiving address resource use information periodically sent by the network equipment; according to the address resource use information, taking the address resource of which the use rate is lower than a preset threshold value in a preset period as the address resource needing to be recycled; and sending the address resource recovery message carrying the address resource information needing to be recovered to the network equipment.
Optionally, the network device includes: a broadband remote access server; the uplink device includes: a router.
According to another aspect of the present invention, there is provided an address resource management apparatus including: the system comprises an instruction issuing module, a receiving module and a processing module, wherein the instruction issuing module is used for sending an address resource recovery message to network equipment, and the address resource recovery message carries address resource information needing to be recovered; the information acquisition module is used for acquiring address configuration information on the network equipment and route configuration information on uplink equipment of the network equipment after receiving an address recovery success message sent by the network equipment; and the recovery execution module is used for judging whether the recovery of the address resources needing to be recovered is successful or not based on the address configuration information and the routing information, and if so, setting the recovered address resources as idle address resources so as to allocate the recovered address resources again.
Optionally, the recovery execution module includes: and the execution judging unit is used for determining that the address resource needing to be recovered is successfully recovered when judging that the configuration information corresponding to the address resource needing to be recovered does not exist in the address resource configuration information and the routing information corresponding to the address resource needing to be recovered does not exist in the routing configuration information.
Optionally, the recovery execution module includes: and the state management unit is used for setting the recovered address resources to be in an idle state and deleting the binding relationship between the recovered address resources and the address pool of the network equipment after the recovery is determined to be successful, so that the recovered address resources can be reallocated.
Optionally, the execution decision unit is further configured to determine that the address resource needing to be recovered is failed to be recovered when it is determined that configuration information corresponding to the address resource needing to be recovered exists in the address resource configuration information and/or routing information corresponding to the address resource needing to be recovered exists in the routing configuration information; the state management unit is further configured to set the address resource to be recovered to a locked state, and set the network device to an abnormal state; the device further comprises: and the alarm management module is used for sending the recovered abnormal alarm message.
Optionally, the address allocation module is configured to determine whether the network device is in an abnormal state when address resources need to be allocated to the network device; if so, not allocating address resources to the device; the alarm management module sends alarm log information; if not, the address allocation module allocates address resources to the network device, wherein the allocated address resources do not include address resources set to a locked state.
Optionally, the message receiving module is configured to receive address resource usage information periodically sent by the network device; the recovery selection module is used for taking the address resources with the utilization rate lower than a preset threshold value in a preset period as the address resources needing to be recovered according to the address resource use information; the instruction issuing module is further configured to send the address resource recovery message carrying the address resource information to be recovered to the network device.
Optionally, after the network device receives the address resource recovery message sent by the instruction issuing module, the network device sends a route revocation issue message to the uplink device, so that the uplink device deletes the route configuration related to the address resource to be recovered; the network equipment locally deletes address configuration information related to the address resource needing to be recycled; and the message receiving module receives the address recovery success message returned by the network equipment.
Optionally, the network device includes: a broadband remote access server; the uplink device includes: a router.
According to still another aspect of the present invention, there is provided a network system including: the address resource management apparatus as described above.
According to the automatic address resource recovery method, the address resource management device and the network system, whether the address resources needing to be recovered are successfully recovered or not is judged based on the address configuration information of the network equipment and the routing configuration information of the uplink equipment, the problem of recovery failure possibly caused by equipment reporting errors is avoided, the recovered address resources can be guaranteed to be idle and can be allocated again, and the problems of routing disorder and the like are avoided; the availability guarantee of the address resources is increased while the use efficiency of the address resources is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating an embodiment of an address resource automatic recycling method according to the present invention;
FIG. 2 is a schematic message interaction diagram of another embodiment of an automatic address resource recycling method according to the present invention;
FIG. 3 is a schematic diagram illustrating a recycling decision flow according to an embodiment of the automatic address resource recycling method of the present invention;
FIG. 4 is a schematic diagram illustrating a flow of a delivery decision according to an embodiment of the method for automatically recycling address resources of the present invention;
FIG. 5 is a schematic diagram of a deployment of a network system according to the present invention;
FIG. 6 is a block diagram illustrating an address resource management apparatus according to an embodiment of the present invention;
FIG. 7 is a block diagram illustrating a recycle execution module according to an embodiment of the present invention.
Detailed Description
The present invention now will be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the invention are shown. The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. The technical solution of the present invention is described in various aspects below with reference to various figures and embodiments.
Fig. 1 is a schematic flowchart of an embodiment of an automatic address resource recycling method according to the present invention, as shown in fig. 1:
step 101, sending an address resource recovery message to the network device, where the address resource recovery message carries address resource information to be recovered. The address resource to be recycled is an address resource allocated to the network device, such as an IP address, an address block with consecutive IP addresses, an address pool of IP addresses, and the like.
Step 102, after receiving the address recovery success message sent by the network device, acquiring address configuration information on the network device and route configuration information on an uplink device of the network device. The network device can be a broadband remote access server, a firewall and the like. The upstream device is an upstream device of the network device, and may be a router, for example. The route configuration information of the uplink device can be collected through a third-party interface.
And 103, judging whether the address resource needing to be recycled is successfully recycled or not based on the address configuration information and the routing configuration information.
And 104, if the address resource needing to be recycled is successfully recycled, setting the recycled address resource as an idle address resource so as to allocate the recycled address resource again.
In the above method for automatically recovering address resources in the embodiment, when performing address recovery, whether the address resources to be recovered are successfully recovered is determined based on the address configuration information of the network device and the routing configuration information of the uplink device, so that problems such as routing confusion caused by releasing the address pool resources only according to an address recovery state sent by the network device can be avoided, and it can be ensured that the recovered address pool resources can be redistributed without causing network problems.
And when judging that the configuration information corresponding to the address resource needing to be recovered does not exist in the address resource configuration information and the routing information corresponding to the address resource needing to be recovered does not exist in the routing configuration information, determining that the address resource needing to be recovered is successfully recovered. And after the recovery is determined to be successful, setting the recovered address resources to be in an idle state, and deleting the binding relationship between the recovered address resources and the address pool of the network equipment so as to enable the recovered address resources to be reallocated.
When judging that the configuration information corresponding to the address resource needing to be recovered exists in the address resource configuration information and the routing information corresponding to the address resource needing to be recovered exists in the routing configuration information, determining that the recovery of the address resource needing to be recovered fails, setting the address resource needing to be recovered in a locking state, setting the network equipment in an abnormal state, sending a recovery abnormity warning message, and informing an administrator of manually handling abnormity by sending the recovery abnormity warning message.
Fig. 2 is a schematic message interaction diagram of another embodiment of an address resource automatic recycling method according to the present invention, as shown in fig. 2:
in step 201, the address resource management apparatus detects that the allocated address block resource of a certain network device reaches a recovery threshold. Taking the network device as the BRAS device as an example, the address resource management device sends an address resource recovery message to notify the BRAS device to recover a certain segment of address block resources.
Step 202, the BRAS device side receives the recovery message sent by the address resource management device, performs the action of canceling the route advertised to the outside by the address block to be recovered, and deletes the configuration of the address block in the local configuration.
In step 203, after completing the operation in step 202, the BRAS device sends an address recovery success message to the address resource management device.
Step 204, after receiving the recovery success message sent by the device side, the address resource management apparatus acquires the routing table information of the address block that needs to be recovered from the uplink device (e.g. CR router) of the device such as the BRAS through the third party interface, and if the routing table of the address block of the uplink device does not exist, it indicates that the routing issue of the address block has been cancelled.
Step 205, the address resource management device collects the configuration information of the address block from the device side, and if the configuration information does not exist, it proves that the configuration of the address block has been successfully deleted on the device side.
And step 206, the resource manager sets the recovered address block resources to be in an idle state, deletes the binding relationship between the address block and the device address pool, updates the local database and completes the recovery operation. The address block resources that are reclaimed can be arbitrarily allocated for use by other devices. If the address reclamation is deemed unsuccessful, the device is marked as locked and sends an alert message, no new resources are allocated to the device.
Receiving address resource use information periodically sent by the network equipment, taking the address resource with the use rate lower than a preset threshold value in a preset period as the address resource needing to be recovered according to the address resource use information, and sending an address resource recovery message carrying the address resource information needing to be recovered to the network equipment.
After the network device receives the address resource recovery message, the network device sends a revocation route release message to the upstream device, so that the upstream device deletes the route configuration related to the address resource needing to be recovered, the network device locally deletes the address configuration information related to the address resource needing to be recovered, and returns an address recovery success message.
Fig. 3 is a schematic diagram illustrating a recycling decision process according to an embodiment of the method for automatically recycling address resources of the present invention, as shown in fig. 3:
step 301, after the address resource recovery process is started, the address resource management device receives a recovery success message returned by the device side.
Step 302, the address resource management device interacts with the uplink device through the third-party interface, obtains the routing table configuration of the address block to be recovered, and simultaneously initiates get-config operation to the device to obtain the configuration of the address block.
In step 303, the address resource management apparatus determines whether the address pool that needs to be recovered has been cleared based on the configuration information of the recovered address block fed back by the device side, and if so, the process proceeds to step 305, and if not, the process proceeds to step 304.
Step 304, the address resource management device sets the address resource state as a locked state and sends a related alarm to the administrator for processing, and records a related log.
In step 305, the address resource management apparatus determines whether the routing issue of the address block needing to be recovered in the upstream device has been revoked, and if so, proceeds to step 306, and if not, proceeds to step 307.
In step 306, the address resource management apparatus sets the address block to an idle state and can allocate the address block to other devices for use.
In step 307, the address resource management device sets the address resource state to a locked state and sends a relevant alarm to the administrator for processing, and the system records a log.
When address resources need to be allocated to the network equipment, judging whether the network equipment is in an abnormal state, if so, not allocating the address resources to the equipment, and sending alarm log information; if not, the address resource is allocated to the network device, and the allocated address resource does not contain the address resource set to the locking state.
Fig. 4 is a schematic diagram of a flow of issuing decision according to an embodiment of the method for automatically recycling address resources of the present invention, as shown in fig. 4:
step 401, the address resource management device determines that a new address resource needs to be issued to the specified device.
In step 402, the address resource management device determines whether the device has an alarm of abnormal recovery or is in an abnormal state, if yes, step 403 is performed, and if not, step 404 is performed.
In step 403, the address resource management device does not allocate a new address pool to the device and sends an alarm log to notify an administrator.
In step 404, the address resource management device determines whether there is an address pool resource in an idle state, and if so, the process goes to step 405, and if not, the process goes to step 406.
Step 405, the address resource management device selects an idle address to issue, and removes the locked address blocks which are not normally recovered from the idle address.
At step 406, the address resource management device does not assign a new address pool to the device and sends an alarm log to the administrator.
As shown in fig. 5, for example, in the metro network, a vbrs (virtual BRAS) device 54 and a physical BRAS device 55 are respectively interfaced with the address resource management apparatus 51, and the vbrs device 54 and the BRAS device 55 are respectively doubly linked with CR (Core Router) routers 52 and 53 at the exit of the metro network, as the exits of the flows of the vbrs device 55 and the vbrs device 54. The address resource management device 51 interfaces with the two CR routers 52, 53 through a third-party interface, which may be a custom-developed message transmission interface, or an SSH or TELNET connection channel, etc.
The address resource management device 51 issues to the pppoe domain of the vbars device 54 an ippool1 associated with one segment of the default ipblock1, an ippool2 associated with another segment of the default ipblock 2. The address resource management device 51 issues an ipool 3 to the ipoe domain of the BRAS device 55 and associates with another default ipblock 3. Both the vbrs device 54 and the BRAS device 55 may assign a service IP address to the subscriber.
The vbars device 54 advertises ipblock1 and ipblock2 routing messages to the upstream CR routers 52, 53, and routes on the CR routers 52, 53 for ipblock1 and ipblock2 will no longer be default routes, but will route according to the routes issued by the vbars device 54. Similarly, the BRAS device 55 also advertises to the CR routers 52, 53 a routing message for ipblock 3.
The vbars device 54 and the BRAS device 55 report the utilization rates of the ipblock1 and the ipblock2 to the address resource management device 51 at regular time according to the regular reporting cycle time, the address resource management device 51 compares the utilization rates of the address blocks with a threshold value, the utilization rate of the address resources is lower than the threshold value under normal conditions, and the address resource management device 51 records the utilization rate information of the devices and replies a response message.
In the process that the vbars device 54 reports the usage rate of the address block at regular time, the usage rate of the ipblock2 is not higher than the idle threshold value all the time in the idle waiting period due to sudden reduction of the user internet access requirement (for example, vacation by school) in a certain time period, and at this time, the address resource management device 51 starts an address recovery process for the ipblock2, and issues a recovery instruction for the ipblock2 to the vbars device 54 according to a recovery decision process.
After receiving the instruction, the vbars device 54 notifies the upstream CR routers 52 and 53 of the route distribution related to deleting the ipblock2 address, deletes the service configuration related to the ipblock2 on the vbars device 54, and deletes the ipblock configuration, and after all the above operations are successful, the vbars device 54 feeds back a recovery success message to the address resource management device 51.
After receiving the recovery success message fed back by the vbars device 54, the address resource management device 51 acquires the routing table information about ipblock2 from the CR routers 52 and 53 through the third-party interface, and if the acquired routing information of ipblock2 is a non-default route pointing to the vbars device 54, it may be determined that the route advertisement of ipblock2 is not revoked successfully; conversely, if the routing table of ipblock2 obtained from the CR router 52, 53 finds that the default route is pointed to, the vrars 54 advertises that the route withdrawal of ipblock2 is successful.
Meanwhile, the address resource management device 51 acquires the configuration information about ipblock2 on the vbars device 54 through an interface with the vbars device 54, and if the vbars device 54 does not have the configuration about ipblock2, the vbars device 54 is stated to recycle ipblock2 locally normally; conversely, if the configuration information of ipblock2 still exists in the vbars device 54, the recovery of ipblock2 by the vbars device 54 is failed.
If the recovery fails, the address resource management device 51 will send a relevant alarm log to the administrator to remind the administrator to perform fault recovery on the device, and at the same time, set the device in an abnormal state, and will not allocate new address resources to the device any more, thereby avoiding resource waste, and set the address block resources that are not normally recovered in a locked state, thereby avoiding network accidents caused by allocation to other devices.
The address resource management device 51 determines to collect ipblock2 based on the acquisition of the routing table of ipblock2 and the configuration acquisition result at the vbars apparatus 54. When the route withdrawal of ipblock2 is successful and there is no configuration of ipblock2 on the vbars device 54, the address resource management means 51 asserts ipblock2 address resource reclamation is successful. The state of the address block is set to an idle state, and allocation for other devices can be continued.
When finding that address block resources need to be newly allocated to the BRAS device 55 at a certain time, the address resource management device 51 first determines whether the BRAS device 55 has a situation that addresses are not normally recovered before, and if the BRAS device 55 is an abnormal device, does not newly allocate address resources. When the BRAS device 55 is normal, a free address block is selected for allocation, and if the ipblock2 is normally recovered, the condition which is met at the moment can be allocated to the BRAS device 55 for use. However, if ipblock2 was not recovered normally before, it is currently in a locked state and is not allocated by address resource management means 51 to BRAS device 55 and other devices. When the network administrator recovers the device failure, manually confirms that the device is recovered to be normal and releases the lock state of the ipblock2 address block, the device can be recovered to be normal.
In one embodiment, the present invention provides an address resource management apparatus 60, as shown in fig. 6, including: the system comprises an instruction issuing module 61, an information acquisition module 62, a recovery execution module 63, an alarm management module 64, an address allocation module 65, a message receiving module 66 and a recovery selection module 67.
The instruction issuing module 61 sends an address resource recovery message to the network device, where the address resource recovery message carries address resource information to be recovered. The information collection module 62 collects address configuration information on the network device and route configuration information on the uplink device of the network device after receiving the address recovery success message sent by the network device. The recycling execution module 63 determines whether the recycling is successful for the address resource needing to be recycled based on the address configuration information and the routing information, and if so, sets the recycled address resource as a free address resource so as to allocate the recycled address resource again.
When the address resource needs to be allocated to the network device, the address allocation module 65 determines whether the network device is in an abnormal state, and if so, the address allocation module 65 does not allocate the address resource to the device. The alarm management module 64 sends alarm log information. If not, the address assignment module 65 assigns an address resource to the network device, the assigned address resource not including an address resource that is set to a locked state.
The message receiving module 66 receives address resource usage information periodically sent by the network device. The recycling selection module 67 uses, as the address resource to be recycled, the address resource whose usage rate is lower than the preset threshold value in the preset period according to the address resource usage information. The instruction issuing module 61 sends an address resource recovery message carrying the address resource information to be recovered to the network device.
After the network device receives the instruction issuing module 61 and sends the address resource recovery message, the network device sends a cancel route issue message to the upstream device, so that the upstream device deletes the route configuration related to the address resource to be recovered, and the network device locally deletes the address configuration information related to the address resource to be recovered. The message receiving module 66 receives the network device return address recovery success message.
As shown in fig. 7, the recycling execution module 63 includes: an execution decision unit 631 and a state management unit 632. When it is judged that the configuration information corresponding to the address resource requiring reclamation does not exist in the address resource configuration information and the routing information corresponding to the address resource requiring reclamation does not exist in the routing configuration information, the execution decision unit 631 determines that reclamation is successful for the address resource requiring reclamation. After determining that the reclamation is successful, the state management unit 632 sets the reclaimed address resources to an idle state, and deletes the binding relationship between the reclaimed address resources and the address pool of the network device, so that the reclaimed address resources can be reallocated.
When the execution decision unit 631 determines that there is configuration information corresponding to an address resource that needs to be recovered in the address resource configuration information and/or there is routing information corresponding to an address resource that needs to be recovered in the routing configuration information, the execution decision unit 631 determines that recovery fails for the address resource that needs to be recovered. The state management unit 632 sets the address resource to be recovered to a locked state, and sets the network device to an abnormal state. The alarm management module 64 sends a reclaim exception alarm message.
In one embodiment, the present invention provides a network system comprising: the address resource management device.
According to the automatic address resource recovery method, the address resource management device and the network system, whether the address resources needing to be recovered are successfully recovered or not is judged based on the address configuration information of the network equipment and the routing configuration information of the uplink equipment, the problem of recovery failure possibly caused by equipment reporting errors is avoided, the recovered address resources can be guaranteed to be idle and can be allocated again, and the problems of routing disorder and the like are avoided; the availability guarantee of the address resources is increased while the use efficiency of the address resources is improved; when the network equipment is checked to have problems, the network management personnel can be informed of timely processing through the alarm log; the address resources which are not normally recovered are locked, and the address allocation is not added to the equipment which fails to be recovered, so that the problem of possible waste of the address resources is effectively avoided.
The method and system of the present invention may be implemented in a number of ways. For example, the methods and systems of the present invention may be implemented in software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustrative purposes only, and the steps of the method of the present invention are not limited to the order specifically described above unless specifically indicated otherwise. Furthermore, in some embodiments, the present invention may also be embodied as a program recorded in a recording medium, the program including machine-readable instructions for implementing a method according to the present invention. Thus, the present invention also covers a recording medium storing a program for executing the method according to the present invention.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to practitioners skilled in this art. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.

Claims (15)

1. An automatic address resource recovery method is characterized by comprising the following steps:
sending an address resource recovery message to network equipment, wherein the address resource recovery message carries address resource information needing to be recovered;
after receiving an address recovery success message sent by the network equipment, acquiring address configuration information on the network equipment and routing configuration information on uplink equipment of the network equipment;
judging whether the address resources needing to be recovered are successfully recovered or not based on the address configuration information and the routing configuration information, if so, setting the recovered address resources as idle address resources so as to allocate the recovered address resources again;
wherein the determining whether the address resource needing to be recycled is successfully recycled based on the address configuration information and the routing configuration information comprises:
when judging that the address resource configuration information does not have configuration information corresponding to the address resource needing to be recovered and the routing configuration information does not have routing information corresponding to the address resource needing to be recovered, determining that the address resource needing to be recovered is successfully recovered.
2. The method of claim 1, further comprising:
after determining that the reclamation is successful, setting the reclaimed address resources to be in an idle state, and deleting the binding relationship between the reclaimed address resources and the address pool of the network equipment so as to enable the reclaimed address resources to be reallocated.
3. The method of claim 1, further comprising,
when judging that the address resource configuration information contains configuration information corresponding to the address resource needing to be recovered and/or the routing information corresponding to the address resource needing to be recovered, determining that the recovery of the address resource needing to be recovered fails, setting the address resource needing to be recovered to be in a locking state, setting the network equipment to be in an abnormal state, and sending a recovery abnormal alarm message.
4. The method of claim 3, further comprising:
when address resources need to be allocated to the network equipment, judging whether the network equipment is in an abnormal state or not; if yes, no address resource is allocated to the equipment, and alarm log information is sent; if not, the address resource is allocated to the network device, wherein the allocated address resource does not contain the address resource set to the locked state.
5. The method of claim 1, further comprising:
after the network device receives the address resource recovery message, the network device sends a route revocation issue message to the uplink device, so that the uplink device deletes the route configuration related to the address resource needing to be recovered;
the network equipment locally deletes address configuration information related to the address resource needing to be recycled;
and the network equipment returns the address recovery success message.
6. The method of claim 1, wherein the sending an address resource reclamation message to a network device comprises:
receiving address resource use information periodically sent by the network equipment;
according to the address resource use information, taking the address resource of which the use rate is lower than a preset threshold value in a preset period as the address resource needing to be recycled;
and sending the address resource recovery message carrying the address resource information needing to be recovered to the network equipment.
7. The method of any one of claims 1 to 6,
the network device includes: a broadband remote access server; the uplink device includes: a router.
8. An address resource management apparatus, comprising:
the system comprises an instruction issuing module, a receiving module and a processing module, wherein the instruction issuing module is used for sending an address resource recovery message to network equipment, and the address resource recovery message carries address resource information needing to be recovered;
the information acquisition module is used for acquiring address configuration information on the network equipment and route configuration information on uplink equipment of the network equipment after receiving an address recovery success message sent by the network equipment;
the recovery execution module is used for judging whether the recovery of the address resources needing to be recovered is successful or not based on the address configuration information and the routing information, and if so, setting the recovered address resources as idle address resources so as to allocate the recovered address resources again;
wherein, the recovery execution module comprises:
and the execution judging unit is used for determining that the address resource needing to be recovered is successfully recovered when judging that the configuration information corresponding to the address resource needing to be recovered does not exist in the address resource configuration information and the routing information corresponding to the address resource needing to be recovered does not exist in the routing configuration information.
9. The apparatus of claim 8,
the recovery execution module includes:
and the state management unit is used for setting the recovered address resources to be in an idle state and deleting the binding relationship between the recovered address resources and the address pool of the network equipment after the recovery is determined to be successful, so that the recovered address resources can be reallocated.
10. The apparatus of claim 9,
the execution decision unit is further configured to determine that the address resource needing to be recovered is failed to be recovered when it is determined that configuration information corresponding to the address resource needing to be recovered exists in the address resource configuration information and/or routing information corresponding to the address resource needing to be recovered exists in the routing configuration information;
the state management unit is further configured to set the address resource to be recovered to a locked state, and set the network device to an abnormal state;
the device further comprises:
and the alarm management module is used for sending the recovered abnormal alarm message.
11. The apparatus of claim 10, further comprising:
the address allocation module is used for judging whether the network equipment is in an abnormal state or not when the address resources are required to be allocated to the network equipment; if so, not allocating address resources to the device; the alarm management module sends alarm log information; if not, the address allocation module allocates address resources to the network device, wherein the allocated address resources do not include address resources set to a locked state.
12. The apparatus of claim 8, further comprising:
the message receiving module is used for receiving the address resource use information periodically sent by the network equipment;
the recovery selection module is used for taking the address resources with the utilization rate lower than a preset threshold value in a preset period as the address resources needing to be recovered according to the address resource use information;
the instruction issuing module is further configured to send the address resource recovery message carrying the address resource information to be recovered to the network device.
13. The apparatus of claim 8,
after the network device receives the address resource recovery message sent by the instruction issuing module, the network device sends a route revocation issue message to the uplink device, so that the uplink device deletes the route configuration related to the address resource needing to be recovered; the network equipment locally deletes address configuration information related to the address resource needing to be recycled; and the message receiving module receives the address recovery success message returned by the network equipment.
14. The apparatus of claim 8,
the network device includes: a broadband remote access server; the uplink device includes: a router.
15. A network system, comprising:
address resource management apparatus according to any one of claims 8 to 14.
CN201611149049.9A 2016-12-14 2016-12-14 Address resource automatic recovery method, address resource management device and network system Active CN108234681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611149049.9A CN108234681B (en) 2016-12-14 2016-12-14 Address resource automatic recovery method, address resource management device and network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611149049.9A CN108234681B (en) 2016-12-14 2016-12-14 Address resource automatic recovery method, address resource management device and network system

Publications (2)

Publication Number Publication Date
CN108234681A CN108234681A (en) 2018-06-29
CN108234681B true CN108234681B (en) 2021-02-26

Family

ID=62637953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611149049.9A Active CN108234681B (en) 2016-12-14 2016-12-14 Address resource automatic recovery method, address resource management device and network system

Country Status (1)

Country Link
CN (1) CN108234681B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112217856A (en) * 2019-07-11 2021-01-12 华为技术有限公司 Address acquisition method, device, equipment and storage medium of application example
CN112532761B (en) * 2020-11-23 2022-09-06 中盈优创资讯科技有限公司 Management method and device for automatically reporting and recording public network address
US11757833B2 (en) * 2021-09-29 2023-09-12 Juniper Networks, Inc. Network device interface for supporting centralized address pool management

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002503097A (en) * 1997-05-05 2002-01-29 シェモメテック・アクティーゼルスカブ Method and system for measuring somatic cells in milk
CN101621550A (en) * 2009-08-14 2010-01-06 杭州华三通信技术有限公司 Method and device for recycling MAC address in VPLS
CN102025528A (en) * 2009-09-23 2011-04-20 中兴通讯股份有限公司 Address management method, device and system
CN104683490A (en) * 2013-11-27 2015-06-03 华为技术有限公司 Internet protocol address recovery method and internet protocol address recovery device
CN204615859U (en) * 2015-05-28 2015-09-02 国网辽宁省电力有限公司丹东供电公司 Forbidden device is reclaimed in a kind of IPv6 address

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002503097A (en) * 1997-05-05 2002-01-29 シェモメテック・アクティーゼルスカブ Method and system for measuring somatic cells in milk
EP0983378B1 (en) * 1997-05-05 2008-06-11 ChemoMetec A/S A method and a system for determination of somatic cells in milk
CN101621550A (en) * 2009-08-14 2010-01-06 杭州华三通信技术有限公司 Method and device for recycling MAC address in VPLS
CN102025528A (en) * 2009-09-23 2011-04-20 中兴通讯股份有限公司 Address management method, device and system
CN104683490A (en) * 2013-11-27 2015-06-03 华为技术有限公司 Internet protocol address recovery method and internet protocol address recovery device
CN204615859U (en) * 2015-05-28 2015-09-02 国网辽宁省电力有限公司丹东供电公司 Forbidden device is reclaimed in a kind of IPv6 address

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
新IP网络的地址资源池化及智能调度技术;解冲锋,李晨,谷欣,孙琼;《电信技术》;20160725;全文 *

Also Published As

Publication number Publication date
CN108234681A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN107786681B (en) Method, device and system for scheduling IP address resources
CN108234681B (en) Address resource automatic recovery method, address resource management device and network system
US7929552B2 (en) Automated IP pool management
WO2020001045A1 (en) Address management method and device
CN101958836B (en) Queuing resource management method and device in hierarchical service quality
EP2975869A1 (en) Charging method and system based on openflow protocol
US20180199239A1 (en) Management of resource allocation in a mobile telecommunication network
US20210067419A1 (en) Method And Apparatus For SLA Management In Distributed Cloud Environments
CN110661894A (en) User IP address allocation method, network device and storage medium
US20140101320A1 (en) Information processing system, control method, management apparatus and computer-readable recording medium
KR100611102B1 (en) Service level agreement system and method for collecting performance data automatically
CN107786680B (en) Method and device for managing IP address resources
WO2020038450A1 (en) Bandwidth adjustment method and apparatus, communication device, and computer readable storage medium
CN112965784A (en) Service access method, device, equipment and computer readable storage medium
CN109787911B (en) Load sharing method, control plane entity and repeater
CN107770296B (en) Method and device for allocating addresses
WO2011035496A1 (en) Protection method for subscriber access network and equipment thereof
CN112995349B (en) Address management method, server, and computer-readable storage medium
CN107135116B (en) Method and apparatus for connectivity detection
Cisco Automating IP Address Management
JP3620582B2 (en) Network management system
CN106878058B (en) Service node multiplexing method and device
CN115499414A (en) Address allocation method and device
CN106161068B (en) Recovery prompting and distributing method for network resources and controller
CN107995641B (en) Management method, device and the computer readable storage medium of terminal and real-time base station communication failure

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant