CN107786681B - Method, device and system for scheduling IP address resources - Google Patents
Method, device and system for scheduling IP address resources Download PDFInfo
- Publication number
- CN107786681B CN107786681B CN201610791275.0A CN201610791275A CN107786681B CN 107786681 B CN107786681 B CN 107786681B CN 201610791275 A CN201610791275 A CN 201610791275A CN 107786681 B CN107786681 B CN 107786681B
- Authority
- CN
- China
- Prior art keywords
- address
- resource
- edge device
- controller
- edge
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5061—Pools of addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method, a device and a system for scheduling IP address resources, and relates to the field of network technology communication. The method comprises the following steps: the resource manager receives the IP address resource use state information of each edge device reported by the controller; the resource manager judges whether the IP address resource scheduling needs to be carried out on the edge equipment or not according to the IP address resource use state information; and if the resource manager determines that the IP address resource scheduling needs to be carried out on the edge equipment, carrying out the IP address resource scheduling on the edge equipment through the controller. The resource manager can manage the address resources of the edge devices in a centralized manner according to the IP address resource use states of the edge devices reported by the controller, so that the use efficiency of the IP address resources of the edge devices can be improved.
Description
Technical Field
The present invention relates to the field of network technology communication, and in particular, to a method, an apparatus, and a system for scheduling IP address resources.
Background
With the continuous development of internet technology, the demand of internet users and terminal devices for IP address resources shows a significantly increasing trend, the existing IPv4 address resources are consumed up, and the shortage of address resources becomes a problem to be solved urgently in an operator network. In a conventional IP network, edge devices such as a BRAS (Broadband Remote Access Server) device are responsible for allocating service IP addresses to terminal users, and in the current network, each edge device needs to manually allocate fixed IP address blocks and address pool resources to meet internet Access requirements of a large number of internet users, which causes the problems of uneven IP address resource allocation and resource waste.
At present, IP address resources of IP network edge devices such as BRAS devices, firewalls, CGN (Carrier-grade NAT) devices and the like are implemented by adopting a manual configuration mode of an address block associated address pool and an address pool associated domain (domain), each device needs to monopolize fixed IP address resources, and a user accesses the internet to authenticate and acquire a service IP address by associating a designated domain. The intelligent mode is triggered by the equipment, the dynamic interaction is carried out with the IP address resource management system, the address resource is dynamically applied to issue and recover, and the resource management system is only responsible for responding to the equipment requirement and allocating the available address to the equipment for use.
Fig. 1 is an architecture diagram of an IP address resource allocation system triggered by a device, where an address resource manager is responsible for managing allocation of all IP address resources, and the device is interconnected with the address resource manager through different southbound interfaces, and because the address resource manager cannot know the address usage of each device, the address resource manager only responds when the device requests address resources, and randomly selects a segment from available addresses and issues the segment to the device.
Fig. 2 is a working flow chart of the device triggering mode, in which an IP network edge device (taking a vbars as an example) is connected to an IP address resource manager, and the main working flow includes: in step 210, when the vbrs device detects that the local address resource reaches the alarm threshold, the vbrs device triggers an address resource issuing request message, and sends the address resource issuing request message to the address resource manager; in step 220, the address resource manager checks whether there is a local idle IP address resource available for allocation, and if there is an address available, it decides to issue and responds to the address request issue message of the device side in step 230, and issues a new IP address resource. If no idle address is available locally, responding to the failure of equipment side allocation; in step 240, when the vbrs device detects that there is a local address resource idle, it initiates an address resource recovery request message to the resource manager, in step 250, the resource manager checks the address resource to be recovered after receiving the message, and decides to recover after the check is passed, in step 260, the address resource manager responds to the address recovery request of the device side, records the address segment in the local address resource library, and completes the recovery operation.
The address resource manager is triggered by the equipment to carry out address resource, and the method has the following disadvantages in terms of architecture: the address resource manager needs to interface with a large number of devices, and the southbound interface protocols of the devices are numerous, such as: NETCONF, RADIUS, SNMP, OPENFLOW, etc., the resource manager needs to develop a plurality of interface protocol adapters to meet the butt joint with the device, and the automatic allocation method of the resource can be realized, which undoubtedly greatly increases the realization difficulty and the universality of the address resource manager; the IP metropolitan area network has huge amount of edge equipment, a large amount of interaction protocols can be generated between a large amount of equipment and the address resource manager, and the address resource manager can not meet the timely response of equipment requests and cause influence on the current network application in the face of the problems of performance reduction, slow response speed and the like caused by a large amount of messages; in addition, in this mode, the address resource manager only passively responds to the request of the device, the use condition of the global address resource cannot be known, and the judgment algorithms of each device are different, which easily causes unreasonable resource application among the devices, and causes the problems of unbalanced resource allocation and resource waste.
Disclosure of Invention
The invention aims to provide a scheme capable of improving the use efficiency of IP address resources of edge equipment.
According to an aspect of the present invention, a method for scheduling IP address resources is provided, including: the resource manager receives the IP address resource use state information of each edge device reported by the controller; the resource manager judges whether the IP address resource scheduling needs to be carried out on the edge equipment or not according to the IP address resource use state information; and if the resource manager determines that the IP address resource scheduling needs to be carried out on the edge equipment, carrying out the IP address resource scheduling on the edge equipment through the controller.
Further, the method further comprises: the resource manager issues the reserved address resources to the controller, so that the controller issues the reserved address resources to the edge device after the edge device is on line for the first time.
Further, the resource manager determining whether the edge device needs to be scheduled with the IP address resource according to the IP address resource usage status information includes: the resource manager judges whether the address utilization rate of the domain to which the edge device address block belongs exceeds an alarm threshold value or not according to the IP address resource use state information; if the address utilization rate of the domain to which the device address block belongs exceeds the alarm threshold value, the resource manager judges that new IP address resources need to be issued to the edge device.
Further, after the resource manager determines that a new IP address resource needs to be issued to the edge device, the method further includes: the resource manager judges whether idle address resources exist or not; if the idle address resources exist, the resource manager issues the idle address resources to the edge device through the controller; if no idle address resource exists, the resource manager sends an instruction for switching the user service flow to other edge equipment to the edge equipment through the controller.
Further, the resource manager determining whether to schedule the IP address resource to the edge device according to the IP address resource usage status information further includes: the resource manager judges whether the utilization rate of the address block of the edge device is less than or equal to the idle threshold of the address block according to the IP address resource utilization state information; if the utilization rate of the address block of the edge device is less than or equal to the idle threshold of the address block, the resource manager judges that the allocated IP address resource needs to be recycled to the edge device.
Further, if the usage rate of the address block of the edge device is less than or equal to the idle threshold of the address block, the resource manager determines that it is necessary to recycle the allocated IP address resource instruction to the edge device, including: if the utilization rate of the address block of the edge device is less than or equal to the idle threshold of the address block and the idle time length of the address block of the edge device exceeds the idle waiting time threshold, the resource manager sends an instruction for recovering the allocated IP address resource to the edge device through the controller; if the utilization rate of the address block of the edge device is less than or equal to the idle threshold of the address block, and the idle time length of the address block of the edge device does not exceed the idle waiting time threshold, the resource manager issues an address block recovery waiting instruction to the edge device through the controller.
Further, the method further comprises: the resource manager receives the online state information of the edge device reported by the controller; and after receiving the edge equipment offline notification fed back by the controller, the resource manager recovers the IP address resources distributed by the edge equipment through the controller.
According to another aspect of the present invention, there is also provided a resource manager, including: the address resource management unit is used for receiving the IP address resource use state information of each edge device reported by the controller; the address resource judging unit is used for judging whether the IP address resource scheduling needs to be carried out on the edge equipment according to the IP address resource use state information; and the address resource scheduling unit is used for scheduling the IP address resources for the edge device through the controller if the IP address resources are determined to be required to be scheduled for the edge device.
Further, the address resource scheduling unit is further configured to issue the reserved address resource to the controller, so that after the edge device is on line for the first time, the controller issues the reserved address resource to the edge device.
Further, the address resource judging unit is configured to judge whether the address usage rate of the domain to which the edge device address block belongs exceeds an alarm threshold according to the IP address resource usage state information, and if the address usage rate of the domain to which the device address block belongs exceeds the alarm threshold, judge that a new IP address resource needs to be issued to the edge device.
Further, the address resource judging unit is further configured to judge whether there is a free address resource; the address resource scheduling unit is used for issuing idle address resources to the edge device through the controller when the idle address resources exist; and when no idle address resource exists, sending an instruction for switching the user service flow to other edge equipment to the edge equipment through the controller.
Further, the address resource determining unit is further configured to determine whether the usage rate of the address block of the edge device is less than or equal to an address block idle threshold according to the IP address resource usage state information, and if the usage rate of the address block of the edge device is less than or equal to the address block idle threshold, determine that the allocated IP address resource needs to be recovered to the edge device.
Further, the address resource judging unit is further configured to judge whether an address block idle duration of the edge device exceeds an idle waiting time threshold; the address resource scheduling unit is used for issuing an instruction for recovering the allocated IP address resources to the edge device through the controller when the utilization rate of the address block of the edge device is less than or equal to an address block idle threshold and the idle time length of the address block of the edge device exceeds an idle waiting time threshold; and when the utilization rate of the address block of the edge device is less than or equal to the idle threshold of the address block and the idle time length of the address block of the edge device does not exceed the idle waiting time threshold, issuing a command of waiting for recovering the address block to the edge device through the controller.
Further, the resource manager also includes a device state management unit; the device state management unit is used for receiving the online state information of the edge device reported by the controller; and the address resource scheduling unit is used for recovering the IP address resources distributed by the edge equipment through the controller after receiving the edge equipment offline notification fed back by the controller.
According to another aspect of the present invention, there is also provided a controller, comprising: an address resource use state reporting unit, configured to report the IP address resource use state information of each edge device to the resource manager, so that the resource manager determines whether to perform IP address resource scheduling on the edge device according to the IP address resource use state information; and the address resource issuing and recycling management unit is used for receiving the IP address resource scheduling information issued by the resource manager and scheduling the IP address resources of the edge equipment according to the IP address resource scheduling information.
Further, the address resource issuing and recovering management unit is further configured to apply for the reserved address resource to the resource manager, so that the reserved address resource is issued to the edge device after the edge device is on line for the first time.
Further, the address resource issuing and recycling management unit is further configured to issue the idle address resource to the edge device after receiving the idle address resource issued by the resource manager.
Further, the address resource issuing and recycling management unit is further configured to forward, to the edge device, an instruction sent by the resource manager to recycle the allocated IP address resource, so that the edge device deletes the configuration information related to the allocated IP address resource.
Further, the controller also comprises a device state management unit; and the device state management unit is used for sending the online state information of the edge device to the resource manager so as to recycle the IP address resource allocated by the edge device after the resource manager receives the offline notification of the edge device.
According to another aspect of the present invention, a system for scheduling IP address resources is also provided, which includes an edge device, the above resource manager, and the above controller; the controller is connected with the resource manager through a northbound interface and connected with the edge device through a southbound interface.
Compared with the prior art, the resource manager receives the IP address resource use state information of each edge device reported by the controller, and judges whether the edge device needs to be subjected to IP address resource scheduling or not according to the IP address resource use state information; and if the fact that the IP address resource scheduling needs to be carried out on the edge equipment is determined, carrying out the IP address resource scheduling on the edge equipment through the controller. The resource manager can manage the address resources of the edge devices in a centralized manner according to the IP address resource use states of the edge devices, so that the use efficiency of the IP address resources of the edge devices can be improved.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
The invention will be more clearly understood from the following detailed description, taken with reference to the accompanying drawings, in which:
fig. 1 is a schematic diagram of a system for triggering IP address resource allocation by a device in the prior art.
Fig. 2 is a schematic flowchart of a device triggering IP address resource allocation in the prior art.
Fig. 3 is a flowchart illustrating a method for scheduling IP address resources according to an embodiment of the present invention.
Fig. 4 is a flowchart illustrating a method for scheduling IP address resources according to another embodiment of the present invention.
Fig. 5 is a flowchart illustrating a method for scheduling IP address resources according to still another embodiment of the present invention.
Fig. 6 is a flowchart illustrating a method for scheduling IP address resources according to another embodiment of the present invention.
FIG. 7 is a diagram illustrating an embodiment of a resource manager.
Fig. 8 is a schematic structural diagram of an embodiment of the controller of the present invention.
Fig. 9 is a schematic structural diagram of a system for scheduling IP address resources according to an embodiment of the present invention.
Fig. 10 is a schematic diagram of an embodiment of a specific application of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings.
Fig. 3 is a flowchart illustrating a method for scheduling IP address resources according to an embodiment of the present invention. The method for scheduling the IP address resources comprises the following steps:
in step 310, the resource manager receives the IP address resource usage status information of each edge device reported by the controller. The controller may be an SDN (Software Defined Network) controller. Each edge device is in butt joint with an attributive SDN controller through a south-oriented interface, the SDN controller is in butt joint with a resource manager through a unified north-oriented interface, and the current SDN controller is very perfect in adaptation to various south-oriented interfaces, so that the difficulty in realizing the adaptation of the resource manager interfaces is reduced. The SDN controller may collect and report the IP address resource usage state information in a reporting period of the edge device according to the ID of the edge device to the resource manager.
In step 320, the resource manager determines whether to schedule the IP address resource for the edge device according to the IP address resource usage status information. The resource manager can judge whether the address utilization rate of the domain to which the edge device address block belongs exceeds an alarm threshold value according to the IP address resource use state information; and if the address utilization rate of the domain to which the equipment address block belongs exceeds the alarm threshold, judging that new IP address resources need to be issued to the edge equipment. The resource manager can also judge whether the utilization rate of the address block of the edge device is less than or equal to the idle threshold of the address block according to the IP address resource utilization state information; and if the utilization rate of the address block of the edge device is less than or equal to the idle threshold of the address block, judging that the allocated IP address resource needs to be recycled to the edge device.
In step 330, if the resource manager determines that the edge device needs to be scheduled with the IP address resource, the resource manager performs IP address resource scheduling on the edge device through the controller. That is, when the resource manager determines that the address utilization rate of a domain of a certain edge device exceeds a threshold, a new address resource is issued to the specified domain of the edge device through the controller, and the edge device responds to the acknowledgement message after receiving the address resource. When the resource manager judges that a certain address field resource of a certain edge device reaches the idle recovery judgment threshold, an address resource recovery instruction is issued through the controller, the edge device deletes the address related configuration and responds to the reply, and the resource manager sets the address resource state to be an unallocated state.
In the embodiment, the resource manager receives the IP address resource use state information of each edge device reported by the controller, and judges whether the IP address resource scheduling needs to be performed on the edge device according to the IP address resource use state information; and if the fact that the IP address resource scheduling needs to be carried out on the edge equipment is determined, carrying out the IP address resource scheduling on the edge equipment through the controller. Because the resource manager can manage the address resources of the edge devices in a centralized manner according to the IP address resource use states of the edge devices, the use efficiency of the IP address resources of the edge devices can be improved, and the problem of resource waste such as excessive application of the address resources and untimely recovery caused by the active application mode of the edge devices can be solved. In addition, the controller is very perfect in adapting to various southbound interfaces, so that the difficulty in realizing the interface adaptation of the resource manager is reduced.
Fig. 4 is a flowchart illustrating a method for scheduling IP address resources according to another embodiment of the present invention. The method comprises the following steps:
in step 410, the controller applies for reservation of address resources after successfully connecting with the resource manager.
In step 420, after the edge device is on-line for the first time, the controller issues the reserved address resource to the edge device.
In step 430, the edge device reports its own IP address resource usage status information to the controller at regular time.
In step 440, the controller reports the IP address resource usage status information of the edge device to the resource manager after aggregating the information. For example, when the edge device has multiple domains, each domain is associated with multiple IP address resource pools, and multiple IP address blocks are located under each IP address resource pool, the controller may collect the usage status information of each IP address block reported by the edge device at regular time according to the domain, and report the collected result to the resource manager, so as to reduce the amount of reported messages.
In step 450, the resource manager determines whether the address usage rate of the domain to which the edge device address block belongs exceeds the alarm threshold according to the IP address resource usage state information, or whether the address block usage rate of the edge device is less than or equal to the address block idle threshold.
In step 460, if the address utilization of the domain to which the device address block belongs exceeds the alarm threshold, the resource manager issues a new IP address resource to the controller.
In step 461, the controller issues the new IP address resource to the corresponding edge device according to the ID of the edge device.
After receiving the new IP address resource, the edge device sends an acknowledgement response message to the controller, at step 462.
In step 463, the controller sends an acknowledgement response message to the resource manager.
In step 470, if the usage rate of the edge device address block is less than or equal to the idle threshold of the address block, the resource manager issues an instruction to recycle the allocated IP address resource to the controller.
In step 471, the controller issues the instruction to recover the allocated IP address resource to the corresponding edge device according to the ID of the edge device.
At step 472, the edge device deletes the address block related configuration information and sends a response message to the controller.
In step 473, the controller sends a response message to the resource manager to cause the resource manager to place the address resource status in an unallocated status.
In this embodiment, after the edge device is on line for the first time, the controller issues the pre-applied reserved address resource to the edge device, so as to reduce the pressure of the resource manager. In addition, the controller sends the IP address resource use state information of the edge device to the resource manager, the resource manager carries out global decision and automatically distributes or recovers the IP address resource, thereby realizing intelligent scheduling of the IP address resource and improving the resource utilization rate. In addition, the controller collects the address resource use states of the edge devices and reports the address resource use states to the resource manager, so that the message volume reported to the resource manager can be reduced, and the application deployment requirements of a large number of devices in the existing network are met.
Fig. 5 is a flowchart illustrating a method for scheduling IP address resources according to still another embodiment of the present invention. The method is executed by a resource manager and comprises the following steps:
in step 510, the IP address resource usage status information of the edge device reported by the controller at regular time is received.
In step 520, it is determined whether the address utilization rate of the domain to which the edge device address block belongs exceeds the alarm threshold, if so, step 530 is executed, otherwise, the edge device continues to report the flow at regular time in response.
In step 530, it is determined whether there is a free address resource, if there is no free address resource, step 540 is executed, if there is a free address resource, step 550 may be directly executed, or it may be further determined in step 531 whether to deny allocation of a new address resource to the edge device, if it is denied allocation of a new address resource for some reason (for example, considering a security factor), step 560 is executed, otherwise, step 550 is executed.
At step 540, an instruction to switch user traffic to other edge devices is sent to the edge device by the controller. After switching the User service flow to other edge devices, the edge device returns a response message to the resource manager, and the resource manager rewrites the field in the database of the resource manager and can display the no-remaining idle address to the User through a User Interface (UI) of the resource manager.
In step 550, the controller issues the free address resource to the edge device. After the edge device receives the idle address resource and sends a confirmation response message to the resource manager through the controller, the resource manager records data in the database, namely updates the state information of the address block, and can display the state information of the address block to a user through a UI of the resource manager.
In step 560, an allocate free address denied command is issued by the controller to the edge device. After receiving the message, the edge device refuses the new user to get on-line, and returns a response message to the resource manager, and the resource manager records in the database.
In the embodiment, the resource manager judges whether to schedule the IP address resource to the edge device according to the IP address resource usage state information of the edge device periodically reported by the controller, further judges whether there is a free address resource if the address usage rate of the domain to which the edge device address block belongs exceeds the alarm threshold, issues a new address resource to the edge device through the controller if there is a free address resource, sends an instruction for switching the user service traffic to other edge devices through the controller if there is no free address resource, and issues an instruction for refusing to allocate the free address to the edge device through the controller if it is refused to allocate the new address resource to the edge device due to reasons such as security. According to the embodiment, the resource manager can perform global calculation and decision, so that centralized management and on-demand scheduling of address resources are really realized, waste of the address resources is reduced, and the resource use efficiency is improved.
Fig. 6 is a flowchart illustrating a method for scheduling IP address resources according to another embodiment of the present invention. The method is executed by a resource manager and comprises the following steps:
in step 610, the IP address resource usage status information of the edge device reported by the controller at regular time is received.
In step 620, it is determined whether the usage rate of the address block of the edge device is less than or equal to the idle threshold of the address block, if the usage rate of the address block of the edge device is less than or equal to the idle threshold of the address block, step 630 is executed, otherwise, the edge device continues to report the flow at regular time in response.
In step 630, it is determined whether the idle duration of the address block of the edge device exceeds the idle waiting time threshold, if not, step 640 is performed, if so, step 650 may be directly performed, or it may be further determined whether the address block is not to be recovered, if it is determined that the address block is not to be recovered in consideration of the security factors or the incomplete messages reported by the edge device, step 660 is performed, otherwise, step 650 is performed.
In step 640, the controller issues an address block recovery waiting instruction to the edge device, and continues to wait for the edge device to report the use state of the address block at regular time.
In step 650, the controller issues a recycle allocated IP address resource instruction to the edge device. After receiving the instruction, the edge device deletes the service configuration and route related to the address, and feeds back a recovery success message to the resource manager through the controller, and the resource manager sets the state of the address block to be an idle state and can show the state of the address block to the user through the UI of the resource manager.
In step 660, the database record is performed on the address resource usage status information reported by the edge device, and no new instruction is issued to the edge device.
In the embodiment, the resource manager judges whether the allocated IP address resources need to be recovered from the edge device according to the IP address resource use state information of the edge device periodically reported by the controller, if the address block utilization rate of the edge device is less than or equal to the address block idle threshold, further judges whether the address block idle duration of the edge device exceeds the idle waiting time threshold, if so, the resource manager sends an instruction for recovering the allocated IP address resources to the edge device through the controller, if not, the resource manager sends an instruction for waiting for recovering the address block to the edge device through the controller, and if the reason that the address block is not recovered is judged in consideration of safety factors or incomplete information reported by the edge device, the resource manager does not send a new instruction to the edge device. According to the embodiment, the resource manager can perform global calculation and decision, so that centralized management and on-demand scheduling of address resources are really realized, waste of the address resources is reduced, and the resource use efficiency is improved.
In another embodiment of the present invention, the controller may further manage the state of the edge device in the domain, for example, send information about whether the edge device is online to the resource manager, and after the resource manager receives the notification that the edge device is offline sent by the controller, the resource manager may forcibly recover the IP address resources allocated by the edge device, and after the edge device is offline, successfully release all the address resources, and the resource manager updates the state information of the address block. Certainly, the controller may also send its own status information to the resource manager, and when the controller is in an offline state, the resource manager may generate alarm information and no longer issue or recycle address resources to the edge device.
In this embodiment, when the edge device goes down or is in an abnormal state, the controller can quickly sense and notify the resource manager, and when the edge device goes down, the resource manager can forcibly recover the address resource of the edge device, thereby avoiding resource waste.
FIG. 7 is a diagram illustrating an embodiment of a resource manager. The resource manager includes an address resource management unit 710, an address resource determination unit 720, and an address resource scheduling unit 730, wherein:
the address resource management unit 710 is configured to receive the IP address resource usage status information of each edge device reported by the controller. Wherein the controller may be an SDN controller.
The address resource determining unit 720 is configured to determine whether to perform IP address resource scheduling on the edge device according to the IP address resource usage status information. The address resource judging unit 720 may judge whether the address usage rate of the domain to which the edge device address block belongs exceeds the alarm threshold according to the IP address resource usage state information; and if the address utilization rate of the domain to which the equipment address block belongs exceeds the alarm threshold, judging that new IP address resources need to be issued to the edge equipment. The address resource judging unit 720 may further judge whether the usage rate of the address block of the edge device is less than or equal to an address block idle threshold according to the IP address resource usage status information; and if the utilization rate of the address block of the edge device is less than or equal to the idle threshold of the address block, judging that the allocated IP address resource needs to be recycled to the edge device.
The address resource scheduling unit 730 is configured to perform IP address resource scheduling on the edge device through the controller if it is determined that the IP address resource scheduling needs to be performed on the edge device. That is, when the resource manager determines that the address utilization rate of a domain of a certain edge device exceeds a threshold, a new address resource is issued to the specified domain of the edge device through the controller, and the edge device responds to the acknowledgement message after receiving the address resource. When the resource manager judges that a certain address field resource of a certain edge device reaches the idle recovery judgment threshold, an address resource recovery instruction is issued through the controller, the edge device deletes the address related configuration and responds to the reply, and the resource manager sets the address resource state to be an unallocated state.
In the embodiment, the resource manager receives the IP address resource use state information of each edge device reported by the controller, and judges whether the IP address resource scheduling needs to be performed on the edge device according to the IP address resource use state information; and if the fact that the IP address resource scheduling needs to be carried out on the edge equipment is determined, carrying out the IP address resource scheduling on the edge equipment through the controller. Because the resource manager can manage the address resources of the edge devices in a centralized manner according to the IP address resource use states of the edge devices, the use efficiency of the IP address resources of the edge devices can be improved, and the problem of resource waste such as excessive application of the address resources and untimely recovery caused by the active application mode of the edge devices can be solved.
In another embodiment of the present invention, the address resource scheduling unit 730 is further configured to issue the reserved address resource to the controller, so that after the edge device is on-line for the first time, the controller issues the reserved address resource to the edge device, thereby reducing the pressure of the resource manager in the subsequent processing.
In another embodiment of the present invention, the address resource management unit 710 is configured to receive the IP address resource usage status information of the edge device periodically reported by the controller. The address resource determining unit 720 is configured to determine whether the address usage rate of the domain to which the edge device address block belongs exceeds the alarm threshold according to the IP address resource usage state information of the edge device, and if the address usage rate exceeds the alarm threshold, continue to determine whether there is a free address resource. The address resource scheduling unit 730 is configured to issue, if there is a free address resource, the free address resource to the edge device through the controller. And if no idle address resource exists, sending an instruction for switching the user service flow to other edge equipment to the edge equipment through the controller. The address resource scheduling unit 730 is further configured to, if the reason such as security is considered to refuse to allocate a new address resource to the edge device, issue an instruction to refuse to allocate an idle address to the edge device through the controller, and after the edge device receives the message, refuse to bring a new user online.
In the embodiment, the resource manager judges whether to schedule the IP address resource to the edge device according to the IP address resource usage state information of the edge device periodically reported by the controller, further judges whether there is a free address resource if the address usage rate of the domain to which the edge device address block belongs exceeds the alarm threshold, issues a new address resource to the edge device through the controller if there is a free address resource, sends an instruction for switching the user service traffic to other edge devices through the controller if there is no free address resource, and issues an instruction for refusing to allocate the free address to the edge device through the controller if the reason such as security is considered and the like. According to the embodiment, the resource manager can perform global calculation and decision, so that centralized management and on-demand scheduling of address resources are really realized, waste of the address resources is reduced, and the resource use efficiency is improved.
In another embodiment of the present invention, the address resource management unit 710 is configured to receive the IP address resource usage status information of the edge device periodically reported by the controller. The address resource determining unit 720 is configured to determine whether the usage rate of the address block of the edge device is less than or equal to the idle threshold of the address block according to the IP address resource usage status information of the edge device, and if the usage rate of the address block of the edge device is less than or equal to the idle threshold of the address block, further determine whether the idle duration of the address block of the edge device exceeds the idle waiting time threshold. The address resource scheduling unit 730 is configured to issue, to the edge device, an address block recovery waiting instruction through the controller if the idle duration of the address block of the edge device does not exceed the idle waiting time threshold, and continue to wait for the edge device to report the use state of the address block at regular time; if the idle time of the address block of the edge device exceeds the idle waiting time threshold, sending an instruction for recovering the allocated IP address resource to the edge device through the controller; and if the address block is judged not to be recycled by considering the safety factor or the incomplete information reported by the edge equipment and other reasons, carrying out database recording on the address resource use state information reported by the edge equipment and not issuing a new instruction to the edge equipment.
In the embodiment, the resource manager judges whether the allocated IP address resources need to be recovered from the edge device according to the IP address resource usage state information of the edge device periodically reported by the controller, if the address block usage rate of the edge device is less than the address block idle threshold, further judges whether the address block idle duration of the edge device exceeds the idle waiting time threshold, if so, the resource manager issues an instruction for recovering the allocated IP address resources to the edge device through the controller, if not, the resource manager issues an instruction for waiting for recovering the address block to the edge device through the controller, and if it is determined that the address block is not to be recovered considering the safety factors or the incomplete information reported by the edge device, the resource manager does not issue a new instruction to the edge device. According to the embodiment, the resource manager can perform global calculation and decision, so that centralized management and on-demand scheduling of address resources are really realized, waste of the address resources is reduced, and the resource use efficiency is improved.
In another embodiment of the present invention, the resource manager further includes a device status management unit 740, where the device status management unit 740 is configured to receive the presence status information of the edge device reported by the controller. After receiving the edge device offline notification fed back by the controller, the address resource scheduling unit 730 recovers the IP address resources allocated by the edge device through the controller, thereby avoiding resource waste.
Fig. 8 is a schematic structural diagram of an embodiment of the controller of the present invention. The controller may be an SDN controller, and includes an address resource usage status reporting unit 810 and an address resource issuing and recycling management unit 820, where:
the address resource usage status reporting unit 810 is configured to report the IP address resource usage status information of each edge device to the resource manager. The address resource usage status reporting unit 810 summarizes the IP address resource usage status information of the edge device within a reporting period according to the ID of the edge device, and reports the summarized IP address resource usage status information to the resource manager. For example, when the edge device has multiple domains, each domain is associated with multiple IP address resource pools, each IP address resource pool has multiple IP address blocks, and the address resource usage status reporting unit 810 collects the usage status information of each IP address block reported by the edge device at regular time according to the domain, and reports the collected result to the resource manager, so as to reduce the amount of reported messages. The resource manager can judge whether the edge device needs to be scheduled with the IP address resource according to the IP address resource use state information.
The address resource issuing and recycling management unit 820 is configured to receive the IP address resource scheduling information issued by the resource manager, and schedule the IP address resource of the edge device according to the IP address resource scheduling information. For example, when the resource manager determines that the address utilization of a domain of an edge device exceeds a threshold, the resource manager issues a new address block resource to the specified domain of the edge device. When the resource manager judges that a certain address field resource of a certain edge device reaches the idle recovery judgment threshold, an address block resource recovery instruction is issued through the controller, so that the edge device deletes the address related configuration.
In this embodiment, the controller reports the IP address resource usage status information of each edge device to the resource manager, so that the resource manager determines whether to perform IP address resource scheduling on the edge device according to the IP address resource usage status information, and when the controller receives the IP address resource scheduling information issued by the resource manager and schedules the IP address resource of the edge device according to the IP address resource scheduling information, the utilization rate of the address resource can be improved, and since the controller can summarize the messages reported by the edge device and then report the summarized messages to the resource manager, the message amount reported to the resource manager can be reduced, and the application deployment requirements of a large number of devices in the existing network can be met.
In another embodiment of the present invention, the address resource issuing and recycling management unit 820 is further configured to apply for the reserved address resource to the resource manager after the connection with the resource manager is successful, so that after the edge device is on line for the first time, the reserved address resource is issued to the edge device, so as to reduce the pressure of subsequent processing by the resource manager.
In another embodiment of the present invention, the controller further includes a device status management unit 830, where the device status management unit 830 is configured to manage the status of the edge device accessed in the domain, and may send the online status information of the edge device to the resource manager, so as to recycle the IP address resource allocated by the edge device after the resource manager receives the offline notification of the edge device, so as to reduce the waste of the address resource.
Fig. 9 is a schematic structural diagram of a system for scheduling IP address resources according to an embodiment of the present invention. The system includes an edge device 910, a controller 920, and a resource manager 930, wherein:
the edge device 910 interfaces with the home controller 920 at a southbound interface 940, and the controller 920 interfaces with the resource manager 930 through a unified northbound REST interface 950.
The controller 920 includes an address resource usage status reporting unit 921, an address resource issuing and recycling management unit 922, and may further include an equipment status management unit 923, where the address resource usage status reporting unit 921 is responsible for regularly receiving the IP address resource usage status information reported by the edge device, and reporting the IP address resource usage status information to the resource manager after summarizing the IP address resource usage status information, so that the resource manager determines whether to perform IP address resource scheduling on the edge device according to the IP address resource usage status information. The address resource issue and recycle management unit 922 is responsible for interacting with the resource manager and the edge device for address issue and recycle related instructions. The device status management unit 923 is responsible for supervising the online status information of the edge devices and sending the online status information of the edge devices to the resource manager. Of course, the controller 920 may further include a controller status management unit 924, and the controller status management unit 924 is responsible for advertising presence information of itself with the resource manager.
The resource manager 930 includes an address resource management unit 931, an address resource determination unit 932 and an address resource scheduling unit 933, where the address resource management unit 931 is responsible for managing the IP address resource usage status information of each edge device reported by the controller, and may store the received IP address resource usage status information in a DB (Database) 934, where all the configuration information and the information reported by the controller are stored in the DB 934, and each unit reads from the DB when needing to call related messages and parameters. The address resource determination unit 932 is the core of the system, and is responsible for making decision-making determination according to the IP address resource usage status information reported by the controller and a related threshold, so as to determine whether to issue or recover the address resource. The address resource scheduling unit 933 is responsible for scheduling the IP address resources for the edge device by the controller.
The resource manager 930 may also include a device state management unit 935, where the device state management unit 935 is responsible for maintaining controller and edge device presence information. In addition, the resource manager 930 may further include an address block configuration management unit 936 and a UI (User Interface) 937, where the address block configuration management unit 936 is responsible for maintaining configuration information of the address resource and configuration management of associated edge devices and domains, the UI 937 opens an import of the address resource for an administrator and associated configuration of the edge devices, and a User may also view address state information through the UI.
In the embodiment, the edge device is in south interface butt joint with the controller to which the edge device belongs, and the controller is in butt joint with the resource manager through the unified north interface, so that the implementation difficulty of the resource manager is reduced, and the universality of the resource manager is improved. And because the controller reports the information of the edge device to the resource manager after gathering, the message amount processed by the resource manager is reduced, and the performance and the influence speed are improved. In addition, the resource manager can perform global calculation and decision according to the IP address resource use state information of each edge device reported by the controller, so that automatic allocation and intelligent scheduling of the IP address resources are realized, and the utilization rate of the address resources is improved.
Fig. 10 is a schematic diagram of an embodiment of a specific application of the present invention. Taking a vbbras device and an entity BRAS device as an example, the vbbras device and the entity BRAS device are respectively butted with a controller through a Netconf interface and a Radius interface, and the controller is interconnected with a resource manager through a standard Restful interface.
Firstly, information related to address resources to be managed needs to be imported or configured in a resource manager, and the information includes: the name, id, prefix and prefix length of the IPv4 and IPv6 address block (IPv4 refers to network address and mask, IPv6 refers to network prefix and prefix length), and corresponding gateway, DNS and other parameters. Then, global policy parameters need to be configured, including: the device timing reporting period, the alarm threshold, the idle waiting period, the device heartbeat time, the device sampling period, etc. And finally, adding the IP and the port of the connected controller and the IP addresses and the ports of two pieces of equipment connected in a downstream manner on the resource manager, and configuring the domain name to be configured for each piece of equipment according to the plan.
After the resource manager is connected with the controller according to the IP address and the port configuration of the controller, the resource manager issues the global parameters, the equipment list managed by the controller and the domain configuration of 2 equipment to the controller, and the controller can apply for available address reserved resources to the local according to the domain configured to each equipment. For example: the method comprises the steps that the vBRAS equipment is configured with domain of pppoe, the BRAS equipment is configured with domain of ipoe, and the controllers reserve 1 IP address resource (which can be IPv4 address resource or IPv6 address resource and are configured in the domain in advance according to specific requirements of the equipment) for the vBRAS equipment.
After the device is on-line for the first time, the controller firstly issues parameters required by the device to the device, and then allocates a default address resource to the device, in this embodiment, the controller will issue an ippool1 to a pppoe domain of the vbars device and associate the ippool1 with a default ipblock 1; and simultaneously, one ippool2 in the ipoe domain of the BRAS equipment which is sent to the online is associated with another default ipblock2, and the sent configuration further comprises gateway, DNS and other parameters. After the initial distribution, the two devices can distribute the service IP address for the terminal user.
The two devices report the utilization rates of the ipblock1 and the ipblock2 to the controller at regular time according to the issued regular reporting cycle time, the controller reports the utilization rates to the resource manager, the resource manager calculates the utilization rate of the address resource of the domain to which the resource manager belongs according to the utilization rate of the address block and compares the utilization rate with a threshold value, the utilization rate of the address resource is lower than the threshold value under the normal condition, and the resource manager records the utilization rate information of the devices and replies a response message.
Assuming that the set threshold is 80%, when a vrbs device suddenly goes online to allocate a large number of users with addresses, resulting in an address usage rate reported at a certain time being 81% (the usage rate of each ipblock reported by the device, the resource manager will calculate an address average usage rate of each domain of the device according to a corresponding relationship between the ipblocks, the ipspots and the domains, so as to compare with the threshold, since there may be multiple ipspots in the domains, one ipspot may contain multiple ipblocks, exceeding the threshold by a single ipblock does not necessarily cause the threshold of the domain to be exceeded, by comparing the average usage rates of the domains, the address can be allocated more precisely according to the need, avoiding unnecessary allocation of new address resources), the resource manager finds that a new address allocation flow is triggered by exceeding the threshold through the threshold comparison, finds whether there is an allocable free address block, selects the ipblock for sending, and selects 3 for sending when a new address block is selected, the gateway and the DNS of the newly delivered address block need to be ensured to be associated and matched with the gateway and the DNS of the ipblock1 that have been delivered, that is, the ipblock1 and the ipblock3 can use one set of gateway and DNS, so that the user can be ensured to access normally after being assigned to the IP address. And if the resource manager cannot find the address block matched with the issued address block, issuing the selected ipblock3 newly associated with an ippool3 into the pppool domain of the vBRAS device, and realizing the availability of the ipblock3 by newly establishing an ippool. When the ipblock3 issues the address, the resource manager marks the allocated address blocks and informs the device, the address of the ipblock1 is preferentially allocated, and when the effective addresses of the ipblock1 are all allocated, the allocation is started from the ipblock3, so that the allocation efficiency of the original resources is prevented from being reduced after the address resources are newly allocated.
When the BRAS equipment reports the utilization rate of the address block at regular time, the utilization rate of the address is not higher than an idle threshold (the idle threshold is 0) in an idle waiting period (the configured idle waiting period is 5 regular reporting period times) all the time due to sudden reduction of the user internet access requirement (such as school vacation) in a certain time period, at this time, the resource manager starts an automatic address recovery process, an address recovery instruction is issued to the BRAS equipment through the controller according to the recovery judgment process, the BRAS equipment deletes service configuration such as route release and the like related to the address block after receiving the instruction and deletes configuration of the ipblock2, a recovery success message is fed back to the resource manager through the controller after the recovery is successful, and the resource manager sets the state of the address block to be idle after receiving the message and can continue to distribute other equipment.
After the controller receives the offline notification of the equipment, the controller feeds back the resource manager, the resource manager can forcibly recover all the address resources issued to the equipment, all the address resources are released after the equipment is successfully offline, and the resource manager updates the state information of the address block.
Through a UI interface of the resource manager, an administrator can manually issue a new address resource for a certain device and recycle a certain address resource. The manual issuing process comprises the following steps: the administrator selects a certain domain of the designated equipment, selects and allocates an IPv4/IPv6 address, then selects an idle ipblock address block to issue to the equipment, and the equipment receives the message and then adds the configuration of the address block to the configuration of the address pool of the equipment. The manual recovery process comprises the following steps: when an administrator recovers a certain section of allocated address block of the designated equipment, an instant recovery instruction is issued, after the equipment receives the instruction, firstly, an online terminal user on the section of address block is kicked off the line, then, the service configuration such as the route corresponding to the section of address block is cleared, then, after the configuration of the address block is deleted, the feedback controller recovers successfully, the controller informs the resource manager, the state of the address block is set to be idle, and the manual recovery process is completed.
Meanwhile, the device can report KA heartbeat messages at regular time and the controller so that the controller can know the real-time state of the managed device, and the controller forwards the state of the device to the resource manager to write the state of the device into the database; meanwhile, all controllers can report KA heartbeat messages to the resource manager at regular time, and the resource manager controls the state information of all devices of the whole system.
In the foregoing embodiment, the interface parameter model for implementing automatic issuing of the address block may be implemented based on a YANG model, and includes: the parameters related to the IPv4 and IPv6 address blocks, the association relation between the associated address pool and domain, and the parameters such as the id of the corresponding equipment are also included, so that the address blocks can be guaranteed to be correctly issued to the specified domain of the specified equipment. The IPv4 address block automatically issues specific codes as follows:
the IPv6 address block automatically issues specific codes as follows:
the YANG model interface design code reported at regular time of address block state is shown as follows, and also includes the incidence relation of address blocks and address pools and the statistical information such as the maximum utilization rate and the average utilization rate of the address blocks.
As shown in the YANG model interface design code for automatically recycling the address resources, the message only needs to tell the device the relevant information of the address block which needs to be recycled, including id, Name and the relevant information of the address pool associated with the Name, and the parameter of device id also needs to be carried to the controller when the resource manager issues the message.
Thus far, the present invention has been described in detail. Some details well known in the art have not been described in order to avoid obscuring the concepts of the present invention. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
The method and apparatus of the present invention may be implemented in a number of ways. For example, the methods and apparatus of the present invention may be implemented by 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.
Although some specific embodiments of the present invention have been described in detail by way of illustration, it should be understood by those skilled in the art that the above illustration is only for the purpose of illustration and is not intended to limit the scope of the invention. It will be appreciated by those skilled in the art that modifications may be made to the above embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.
Claims (10)
1. A method for IP address resource scheduling, comprising:
the resource manager issues reserved address resources to the controller, so that after the edge device is on line for the first time, the controller issues the reserved address resources to the edge device;
the resource manager receives IP address resource use state information, keep-alive KA heartbeat messages and self state information of each edge device reported by the controller, wherein each domain is associated with a plurality of IP address resource pools, a plurality of IP address blocks are arranged under each IP address resource pool, the controller collects the use state information of each IP address block reported by the edge devices at regular time according to the domain, and reports the collected result to the resource manager;
the resource manager judges whether the IP address resource scheduling needs to be carried out on the edge equipment according to the IP address resource use state information, wherein whether the address use rate of a domain to which an address block of the edge equipment belongs exceeds an alarm threshold value is judged according to the IP address resource use state information; if the address utilization rate of the domain to which the equipment address block belongs exceeds an alarm threshold, judging that new IP address resources need to be issued to the edge equipment; judging whether the utilization rate of the address block of the edge device is less than or equal to an address block idle threshold value or not according to the IP address resource utilization state information, if the utilization rate of the address block of the edge device is less than or equal to the address block idle threshold value and the idle time length of the address block of the edge device exceeds an idle waiting time threshold value, if the address block needs to be recovered, issuing an instruction for recovering the allocated IP address resource to the edge device through the controller, and if the address block is determined not to be recovered by considering safety factors or incomplete factors of messages reported by the edge device, performing database recording on the address resource utilization state information reported by the edge device and not issuing a new instruction to the edge device;
if the resource manager determines that IP address resource scheduling needs to be performed on the edge device, judging whether idle address resources exist, if no idle address resources exist, sending an instruction for switching user service traffic to other edge devices to the edge device through the controller, if the idle address resources exist, judging whether new address resources are refused to be allocated to the edge device due to safety factors, if yes, issuing an instruction for refusing to allocate the idle address to the edge device through the controller, and if not, issuing the idle address resources to the edge device through the controller; when the resource manager judges that the controller is in an off-line state, the resource manager generates alarm information and does not issue or recycle address resources to the edge device through the controller any more;
the resource manager provides a UI interface for an administrator so that the administrator can issue new address resources for the edge device and recycle the address resources of the edge device through a manual mode on the UI interface.
2. The method of claim 1,
and if the utilization rate of the address block of the edge device is less than or equal to the idle threshold of the address block and the idle time length of the address block of the edge device does not exceed the idle waiting time threshold, the resource manager issues an address block recovery waiting instruction to the edge device through the controller.
3. The method of claim 1 or 2, further comprising:
the resource manager receives the online state information of the edge device reported by the controller;
and after receiving the edge equipment offline notification fed back by the controller, the resource manager recovers the IP address resources distributed by the edge equipment through the controller.
4. A resource manager, comprising:
the device comprises an address resource management unit, an address resource management unit and an address resource management unit, wherein the address resource management unit is used for receiving IP address resource use state information, keep-alive KA heartbeat messages and self state information of each edge device, which are reported by a controller, each domain is associated with a plurality of IP address resource pools, a plurality of IP address blocks are arranged under each IP address resource pool, the controller collects the use state information of each IP address block, which is reported by the edge device at regular time, according to the domain, and reports the collected result to the address resource management unit;
an address resource judging unit, configured to judge whether IP address resource scheduling needs to be performed on the edge device according to the IP address resource usage state information, and whether there is an idle address resource, where it is judged whether an address usage rate of a domain to which an address block of the edge device belongs exceeds an alarm threshold value according to the IP address resource usage state information; if the address utilization rate of the domain to which the equipment address block belongs exceeds an alarm threshold, determining that new IP address resources need to be issued to the edge equipment; judging whether the utilization rate of the address block of the edge device is less than or equal to an address block idle threshold value or not according to the IP address resource utilization state information, and judging whether the address block needs to be recycled or not if the utilization rate of the address block of the edge device is less than or equal to the address block idle threshold value and the idle time length of the address block of the edge device exceeds an idle waiting time threshold value;
an address resource scheduling unit, configured to issue a reserved address resource to the controller, so that after the edge device is on-line for the first time, the controller issues the reserved address resource to the edge device, and if it is determined that IP address resource scheduling needs to be performed on the edge device but no idle address resource exists, send, to the edge device, an instruction for switching user service traffic to another edge device through the controller; if the edge equipment has idle address resources, judging whether to refuse to allocate new address resources to the edge equipment due to safety factors, if so, issuing an instruction of refusing to allocate the idle address to the edge equipment through a controller, and if not, issuing the idle address resources to the edge equipment through the controller; when the controller is judged to be in the off-line state, generating alarm information, and no longer sending or recovering address resources to the edge device through the controller; if the address block needs to be recovered, an instruction for recovering the allocated IP address resource is issued to the edge device through the controller, if the address block is determined not to be recovered by considering the safety factor or the incomplete factor of the message reported by the edge device, database recording is carried out on the address resource use state information reported by the edge device, and a new instruction is not issued to the edge device;
and the UI interface is used for issuing new address resources to the edge equipment and recycling the address resources of the edge equipment by an administrator in a manual mode.
5. The resource manager of claim 4,
and the address resource scheduling unit is used for issuing an address block recovery waiting instruction to the edge device through the controller when the utilization rate of the address block of the edge device is less than or equal to the address block idle threshold and the idle time length of the address block of the edge device does not exceed the idle waiting time threshold.
6. The resource manager according to claim 4 or 5, further comprising a device state management unit;
the equipment state management unit is used for receiving the online state information of the edge equipment reported by the controller;
and the address resource scheduling unit is used for recovering the IP address resources distributed by the edge equipment through the controller after receiving the offline notification of the edge equipment fed back by the controller.
7. A controller, comprising:
an address resource usage status reporting unit, configured to collect IP address resource usage status information of each edge device according to a domain, and report a collection result, keep-alive KA heartbeat messages, and self status information to a resource manager, so that the resource manager determines, according to the IP address resource usage status information, whether IP address resource scheduling needs to be performed on the edge device, where each domain is associated with multiple IP address resource pools, each IP address resource pool has multiple IP address blocks, and the resource manager determines, according to the IP address resource usage status information, whether an address usage rate of a domain to which an address block of the edge device belongs exceeds an alarm threshold; if the address utilization rate of the domain to which the equipment address block belongs exceeds an alarm threshold, judging that new IP address resources need to be issued to the edge equipment;
an address resource issuing and recycling management unit, configured to apply for a reserved address resource to the resource manager, so as to issue the reserved address resource to the edge device after the edge device is online for the first time, receive IP address resource scheduling information issued by the resource manager, and schedule an IP address resource of the edge device according to the IP address resource scheduling information, where if the resource manager determines that the IP address resource scheduling needs to be performed on the edge device, it determines whether there is a free address resource; if no idle address resource exists, sending an instruction for switching user service flow to other edge equipment to the edge equipment through the controller; if the edge equipment has idle address resources, judging whether to refuse to allocate new address resources to the edge equipment due to safety factors, if so, issuing an instruction of refusing to allocate the idle address to the edge equipment through a controller, and if not, issuing the idle address resources to the edge equipment through the controller; when the controller is judged to be in the off-line state, generating alarm information and not sending or recovering address resources to the edge equipment through the controller any more; judging whether the utilization rate of the address block of the edge device is less than or equal to an address block idle threshold value or not according to the IP address resource utilization state information, if the utilization rate of the address block of the edge device is less than or equal to the address block idle threshold value and the idle time length of the address block of the edge device exceeds an idle waiting time threshold value, if the address block needs to be recovered, issuing an instruction of recovering the allocated IP address resource to the edge device through the controller, and if the address block is determined not to be recovered by considering safety factors or incomplete factors of messages reported by the edge device, performing database recording on the address resource utilization state information reported by the edge device and not issuing a new instruction to the edge device; the resource manager provides a UI interface for an administrator so that the administrator can issue new address resources for the edge device and recycle the address resources of the edge device in the UI interface in a manual mode.
8. The controller according to claim 7, wherein the address resource issuing and recycling management unit is further configured to forward, to the edge device, an instruction sent by the resource manager to recycle the allocated IP address resource, so that the edge device deletes the configuration information related to the allocated IP address resource.
9. The controller according to claim 7 or 8, further comprising a device state management unit;
the device state management unit is configured to send the online state information of the edge device to the resource manager, so that the resource manager receives the offline notification of the edge device and then recovers the IP address resource allocated to the edge device.
10. A system for IP address resource scheduling, comprising an edge device, a resource manager according to any of claims 4 to 6 and a controller according to any of claims 7 to 9;
the controller is connected with the resource manager through a northbound interface and connected with the edge device through a southbound interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610791275.0A CN107786681B (en) | 2016-08-31 | 2016-08-31 | Method, device and system for scheduling IP address resources |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610791275.0A CN107786681B (en) | 2016-08-31 | 2016-08-31 | Method, device and system for scheduling IP address resources |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107786681A CN107786681A (en) | 2018-03-09 |
CN107786681B true CN107786681B (en) | 2021-02-26 |
Family
ID=61450660
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610791275.0A Active CN107786681B (en) | 2016-08-31 | 2016-08-31 | Method, device and system for scheduling IP address resources |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107786681B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109271305A (en) * | 2018-09-14 | 2019-01-25 | 郑州云海信息技术有限公司 | A kind of information acquisition method and device |
CN111107173B (en) * | 2018-10-29 | 2023-04-07 | 中国移动通信集团浙江有限公司 | IP address planning method and system of IP bearing network |
CN114006858A (en) * | 2020-07-13 | 2022-02-01 | 中国移动通信有限公司研究院 | IPv6 information discovery method, device, network node and storage medium |
CN112532761B (en) * | 2020-11-23 | 2022-09-06 | 中盈优创资讯科技有限公司 | Management method and device for automatically reporting and recording public network address |
CN113194462B (en) * | 2021-03-30 | 2023-03-21 | 北京和峰科技有限公司 | Node address allocation method and device, storage medium and electronic equipment |
CN113242170B (en) * | 2021-05-21 | 2023-03-21 | 深圳易马达科技有限公司 | Address allocation method and device |
US11757833B2 (en) | 2021-09-29 | 2023-09-12 | Juniper Networks, Inc. | Network device interface for supporting centralized address pool management |
CN114244709B (en) * | 2021-11-11 | 2023-12-26 | 新华三大数据技术有限公司 | UP equipment association control method and device |
CN114090252A (en) * | 2021-11-23 | 2022-02-25 | 北京京东振世信息技术有限公司 | Resource management method and device, storage medium and computer system |
CN115361449B (en) * | 2022-07-27 | 2024-06-07 | 上海浦东发展银行股份有限公司 | Method, device, equipment and storage medium for adjusting IP resources |
CN115766869A (en) * | 2022-09-26 | 2023-03-07 | 奇安信网神信息技术(北京)股份有限公司 | Network scanning method, device and equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1455563A (en) * | 2003-06-19 | 2003-11-12 | 北京港湾网络有限公司 | Method of distruting network protocol address of distributed wideband connecting-in authenticated node users |
CN1487697A (en) * | 2003-06-30 | 2004-04-07 | 北京港湾网络有限公司 | IP address distributing management method for wideband access equipment |
CN102387222A (en) * | 2011-10-19 | 2012-03-21 | 中国联合网络通信集团有限公司 | Address distribution method, apparatus and system thereof |
CN103441865A (en) * | 2013-08-13 | 2013-12-11 | 中国联合网络通信集团有限公司 | Method and system for managing IP addresses, BRASes and Portal server |
CN104767765A (en) * | 2015-04-29 | 2015-07-08 | 杭州华三通信技术有限公司 | Method for improving on-line speed of user and access equipment for broadband to get access to server remotely |
CN105704256A (en) * | 2014-11-26 | 2016-06-22 | 中国移动通信集团公司 | Method, device and system for IP address management |
-
2016
- 2016-08-31 CN CN201610791275.0A patent/CN107786681B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1455563A (en) * | 2003-06-19 | 2003-11-12 | 北京港湾网络有限公司 | Method of distruting network protocol address of distributed wideband connecting-in authenticated node users |
CN1487697A (en) * | 2003-06-30 | 2004-04-07 | 北京港湾网络有限公司 | IP address distributing management method for wideband access equipment |
CN102387222A (en) * | 2011-10-19 | 2012-03-21 | 中国联合网络通信集团有限公司 | Address distribution method, apparatus and system thereof |
CN103441865A (en) * | 2013-08-13 | 2013-12-11 | 中国联合网络通信集团有限公司 | Method and system for managing IP addresses, BRASes and Portal server |
CN105704256A (en) * | 2014-11-26 | 2016-06-22 | 中国移动通信集团公司 | Method, device and system for IP address management |
CN104767765A (en) * | 2015-04-29 | 2015-07-08 | 杭州华三通信技术有限公司 | Method for improving on-line speed of user and access equipment for broadband to get access to server remotely |
Non-Patent Citations (2)
Title |
---|
NFV对于运营级IP网络的影响及挑战;解冲锋 胡晓娟 李晨 谷欣;《NFV技术与应用》;20150731;全文 * |
新IP网络的地址资源池化及智能调度技术;解冲锋,李晨,谷欣,孙琼;《电信技术》;20160725;第18-21页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107786681A (en) | 2018-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107786681B (en) | Method, device and system for scheduling IP address resources | |
CN102710554B (en) | The service state detection method of distributed information system and distributed information system | |
CN107786680B (en) | Method and device for managing IP address resources | |
CN105119986B (en) | A kind of Web reverse proxy methods based on pre-connection | |
CN103812823A (en) | Method, device and system for configuration information migration in thermal migration of virtual machine | |
CN106713484A (en) | Performance pressure measurement implementation method, system and server | |
CN101895472A (en) | Traffic flow load sharing method and processing method and corresponding device and system | |
WO2012126243A1 (en) | Address pool allocation system and method | |
CN110809262B (en) | COAP protocol-based operation and maintenance management method for Internet of things equipment | |
CN108183849B (en) | Device management method, device and system based on L2TP | |
WO2012176337A1 (en) | Information processing system, information processing system control method, administration device, and system switching program | |
WO2015154366A1 (en) | Policy-based m2m terminal device monitoring and control method and device | |
CN118740840A (en) | A method, device, equipment and storage medium for configuring load resources | |
CN107656847A (en) | Node administration method, system, device and storage medium based on distributed type assemblies | |
CN111158763A (en) | Equipment instruction processing system for building intelligent management and control | |
CN108234681B (en) | Address resource automatic recovery method, address resource management device and network system | |
CN102036188A (en) | Mail proxy method, equipment and system under multi-node system | |
CN105681266B (en) | A kind of communication cluster method and device of mediaphone MMTel | |
US20190036793A1 (en) | Network service implementation method, service controller, and communications system | |
WO2017000625A1 (en) | Dynamic host configuration protocol (dhcp) server management method and apparatus | |
CN106067857B (en) | Method and device for preventing user from being forced off-line | |
CN101695049A (en) | Method and device for processing businesses in monitoring system | |
KR100611102B1 (en) | Service level agreement system and method for collecting performance data automatically | |
CN106161068A (en) | A kind of recovery prompting to Internet resources and distribution method, and controller | |
WO2017092403A1 (en) | Control method and device for group network access |
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 |