CN112291162A - Business dynamic resource allocation method - Google Patents

Business dynamic resource allocation method Download PDF

Info

Publication number
CN112291162A
CN112291162A CN202011066645.7A CN202011066645A CN112291162A CN 112291162 A CN112291162 A CN 112291162A CN 202011066645 A CN202011066645 A CN 202011066645A CN 112291162 A CN112291162 A CN 112291162A
Authority
CN
China
Prior art keywords
address
equipment
vlan
access
idle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011066645.7A
Other languages
Chinese (zh)
Other versions
CN112291162B (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.)
Zhongying Youchuang Information Technology Co Ltd
Original Assignee
Zhongying Youchuang Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongying Youchuang Information Technology Co Ltd filed Critical Zhongying Youchuang Information Technology Co Ltd
Priority to CN202011066645.7A priority Critical patent/CN112291162B/en
Publication of CN112291162A publication Critical patent/CN112291162A/en
Application granted granted Critical
Publication of CN112291162B publication Critical patent/CN112291162B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/78Architectures of resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects

Abstract

The embodiment of the invention provides a business dynamic resource allocation method, which comprises the steps of receiving a resource allocation application of an upstream system, and pre-occupying required resources in the resource allocation application; allocating the access equipment according to the office direction allocation method or the standard address allocation method; selecting a physical topological path between the access equipment and the MSE/BAS, and distributing the shortest physical topological path; allocating the vlan according to the vlan allocation rule; selecting a service path according to the outer vlan by combining the physical topological path; allocating addresses according to address allocation rules; sending a message for pre-occupying the resources to an upstream system, receiving the use condition of the corresponding resources of the upstream system, and adjusting the occupied state of the resources according to the use condition of the corresponding resources. The invention realizes the automatic reasonable distribution of different resources, improves the accuracy and efficiency of resource distribution, ensures the dynamic reasonable distribution of the resources, reduces the pressure of maintenance personnel and reduces the maintenance cost.

Description

Business dynamic resource allocation method
Technical Field
Embodiments of the present invention relate generally to the field of resource allocation, and more particularly, to a method for dynamic resource allocation of a service.
Background
With the rapid development of the internet industry, the number of internet users and the types of services are continuously increased, so that a large number of maintenance personnel are required, and how to effectively, reasonably and accurately distribute resources becomes a key problem.
In the existing resource allocation, when resources need to be allocated, idle resources need to be found out from a resource system for allocation; however, resource flow has many links, so that all links are difficult to close loops and accumulate for a long time, a large amount of resource data are not updated in a resource system in time, the data are inaccurate, and errors often occur; the service cut-in rate is reduced, and the maintenance cost is increased. When idle resources are needed every time, maintenance personnel are required to repeatedly compare data conditions of a resource system and a network management system, even login equipment is required to check, and the operation and maintenance efficiency is low.
Disclosure of Invention
According to the embodiment of the invention, a method for allocating service dynamic resources is provided.
The method comprises the following steps: receiving a resource allocation application of an upstream system, and pre-occupying required resources in the resource allocation application; the resource allocation application comprises one or more of an access equipment allocation application, a physical topology path allocation application, a vlan allocation application, a service path allocation application and an address allocation application;
when the resource allocation application has an access device allocation demand, allocating the access device according to a local direction allocation method or a standard address allocation method;
when a physical topological path distribution requirement exists in the resource distribution application, selecting a physical topological path between the access equipment and the MSE/BAS, and distributing the shortest physical topological path;
when a vlan allocation demand exists in the resource allocation application, allocating the vlan according to a vlan allocation rule;
when a service path distribution requirement exists in the resource distribution application, selecting a service path according to the outer-layer vlan by combining the physical topology path;
when the resource allocation application has an address allocation requirement, allocating addresses according to an address allocation rule;
sending a message for pre-occupying the resources to an upstream system, receiving the use condition of the corresponding resources of the upstream system, and adjusting the occupied state of the resources according to the use condition of the corresponding resources.
Further, if there is office direction information in the resource allocation application, allocating according to the office direction allocation method, specifically including:
if the access equipment is OLT equipment, the access equipment and the downlink port are provided by an upstream system and are not distributed;
and if the access equipment is non-OLT equipment, distributing the access equipment and the access port according to the office direction.
Further, the allocating the access device and the access device port according to the office direction includes:
step 1: allocating access devices, comprising:
matching a plurality of devices corresponding to the service types according to the office direction;
if the bandwidth does not exceed hundred megabits, selecting access equipment according to the priorities of the SR equipment, the SW equipment and the BAS equipment until the access equipment is selected; if the SW equipment is selected as access equipment, the access is carried out through a switch, and if not, the access is carried out through direct connection;
if the bandwidth exceeds hundreds of megabytes, selecting access equipment according to the priority of the BAS equipment and the SR equipment until the access equipment is selected;
step 2: selecting an access port, including the following two cases:
in the first case: if the selected access equipment is SR equipment, selecting an idle port according to a first idle port selection rule;
the first idle port selection rule is as follows:
if the optical port is selected, selecting an idle port with an ODF value;
if the electric port is selected, selecting an idle port with both photoelectric and ODF values;
in the second case: if the selected access equipment is BAS equipment, selecting an idle port according to a second idle port selection rule;
the second idle port selection rule is as follows: a free port is selected for which the ODF has a value.
Further, if a standard address exists in the resource allocation application, allocating according to a standard address allocation method, specifically including:
if the access equipment is OLT equipment, the access equipment and the downlink port are provided by an upstream system and are not distributed;
if the access equipment is non-OLT equipment, iteration is started from the standard address, and a father node address of the current address is searched from the standard address table until the equipment is searched from the address and equipment relation table through the address of the father node;
judging whether the found equipment is one or not, and if so, allocating the equipment as access equipment; otherwise, one of the devices is selected as the access device and the device port is selected.
Further, the selecting one of the plurality of devices as an access device and a device port includes:
step a: allocating access devices, comprising:
if the bandwidth does not exceed hundred megabits, selecting access equipment according to the priorities of the SR equipment, the SW equipment and the BAS equipment until the access equipment is selected; if the SW equipment is selected as access equipment, the access is carried out through a switch, and if not, the access is carried out through direct connection;
if the bandwidth exceeds hundreds of megabytes, selecting access equipment according to the priority of the BAS equipment and the SR equipment until the access equipment is selected;
step b: allocating device ports, including the following two cases:
in the first case: if the selected access equipment is SR equipment, selecting an idle port according to a first idle port selection rule;
the first idle port selection rule is as follows:
if the optical port is selected, selecting an idle port with an ODF value;
if the electric port is selected, selecting an idle port with both photoelectric and ODF values;
in the second case: if the selected access equipment is BAS equipment, selecting an idle port according to a second idle port selection rule;
the second idle port selection rule is as follows: a free port is selected for which the ODF has a value.
Further, the selecting a physical topology path between the access device and the MSE/BAS and allocating a shortest physical topology path includes:
after the access equipment is distributed, positioning to the MSE/BAS according to the topological relation, obtaining all physical topological paths from the access equipment to the MSE/BAS, and calculating the shortest physical topological path as the selected physical topological path;
and if the shortest physical topological path has a plurality of paths, selecting one path from the plurality of paths as the selected physical topological path.
Further, the vlan is distributed according to the vlan distribution rule;
if the direct connection is achieved, the vlan does not need to be allocated;
if the access is the switch access, allocating vlan according to the Dot1Q rule;
if the OLT equipment is accessed, allocating vlan according to QinQ rules, namely allocating outer vlan according to Dot1Q rules; distributing the inner-layer vlan according to the inner-layer vlan distribution rule;
the Dot1Q rule, comprising:
planning an available idle outer-layer vlan section, collecting the used outer-layer vlan, subtracting the used outer-layer vlan from the planned idle outer-layer vlan section to obtain an idle outer-layer vlan, and distributing one outer-layer vlan from the idle outer-layer vlan;
the allocating the inner-layer vlan according to the inner-layer vlan rule includes:
the equipment plans an available idle inner-layer vlan segment, collects the used inner-layer vlan, subtracts the used inner-layer vlan from the planned idle inner-layer vlan segment to obtain an idle inner-layer vlan, and allocates one inner-layer vlan from the idle inner-layer vlan; wherein different ports of the same device may be duplicated, except in the case of the same outer vlan.
Further, the selecting a service path according to the outer vlan in combination with the physical topology path includes:
step 1: judging whether the access equipment is OLT equipment, if so, executing the step 2; otherwise, directly entering the outer vlan analysis of the access equipment;
step 2: judging whether the network manager acquires the vlan of the access equipment; if yes, directly performing outer-layer vlan analysis from an uplink port of the OLT equipment according to the physical topological path; otherwise, carrying out outer-layer vlan analysis from a lower connection port of an upper connection device of the OLT device;
the outer vlan analysis comprising:
when the outer vlan is not empty, if the MSE/BAS can be found according to the outer vlan, returning to the path found according to the outer vlan; if the MSE/BAS cannot be found according to the outer vlan, the situation is the same as that the outer vlan is empty;
and when the outer vlan is empty, returning all possible paths according to the MSE/BAS positioned by the physical topology.
Further, the allocating the address according to the address allocation rule includes:
if the resource allocation application is a port address, allocating the address according to an independent gateway address allocation rule, including:
planning usable address fields;
collecting the used address on the equipment and the pre-occupied address in the work order;
subtracting the used address from the planned used address to obtain an idle address;
carrying out address allocation on the idle addresses according to the number of the addresses of the interfaces; the first available address is allocated with a BAS port address, and the second available address is allocated with a user segment interconnection address;
if the resource allocation application is a user address, allocating the address according to a user address allocation rule, including:
planning usable address fields;
collecting the used address on the equipment and the pre-occupied address in the work order;
subtracting the used address from the planned used address to obtain an idle address;
taking an idle address, and carrying out address allocation according to the number of the addresses of the interfaces;
if the resource allocation application is the shared gateway address, allocating the address according to the shared gateway address allocation rule, including:
collecting an address field, a gateway, an unavailable address and a configured address of a shared address pool;
collecting the used address on the equipment and the pre-occupied address in the work order;
subtracting the unavailable address and the configured address from the acquired available address segment to obtain an idle address segment;
and allocating the idle address segments with enough allocated allocable addresses in turn according to the sequence from small to large.
Further, the adjusting the occupation state of the resource according to the usage of the corresponding resource includes:
if the use condition of the corresponding resource is used, the state of the corresponding resource is adjusted from the pre-occupation state to the real occupation state;
and if the use condition of the corresponding resource is unused, releasing the corresponding resource, and adjusting the state of the corresponding resource from the pre-occupied state to a resource release state.
The invention can realize automatic reasonable distribution of different resources, improve the accuracy and efficiency of resource distribution, ensure dynamic reasonable distribution of resources, reduce the pressure of maintenance personnel and reduce the maintenance cost.
Drawings
The above and other features, advantages and aspects of various embodiments of the present invention will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, like or similar reference characters designate like or similar elements, and wherein:
FIG. 1 shows a flow diagram of a method of dynamic resource allocation for a service according to an embodiment of the invention;
FIG. 2 illustrates a schematic diagram of a path to an MSE according to a topological relationship, according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an example scenario of port address assignment according to an embodiment of the invention;
fig. 4 is a schematic diagram illustrating an example scenario of user address assignment according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
According to the invention, automatic reasonable allocation of different resources is realized, the accuracy and efficiency of resource allocation are improved, dynamic reasonable allocation of resources is ensured, the pressure of maintenance personnel is reduced, and the maintenance cost is reduced.
Fig. 1 shows a flowchart of a dynamic service resource allocation method according to an embodiment of the present invention.
The method comprises the following steps:
s100, receiving a resource allocation application of an upstream system, and pre-occupying required resources in the resource allocation application; the resource allocation application comprises one or more of an access equipment allocation application, physical topology path selection, vlan allocation application, service path selection and address allocation application.
And when the service system needs idle resources, initiating a resource allocation application. The dynamic resource library analyzes whether corresponding idle resources exist, if so, resource pre-occupation can be carried out, and the pre-occupied resources are returned at the same time. The resource needing to be allocated correspondingly in the resource allocation application comprises the following steps:
s200 is a process of allocating corresponding resources according to the resource allocation application, and the step S200 includes 5 cases, which are S210 to S250:
s210, when the resource allocation application has the access equipment allocation requirement, allocating the access equipment according to the office allocation method or the standard address allocation method. The selection rule is that if a standard address exists in the resource allocation application, the resource allocation application is allocated according to a standard address allocation method, otherwise, the resource allocation application is allocated according to an office allocation method, that is, the S210 further includes two allocation processes of S211 and S212:
s211, said allocating the access devices according to the office direction allocation method includes:
the service system distinguishes whether the OLT equipment is accessed or not through the work order.
If the access equipment is OLT, the access equipment and the downlink port are provided by an upstream system and are not distributed;
and if the access equipment is not the OLT, the access equipment and the access port are distributed according to the office direction. The method specifically comprises the following steps:
step 1: allocating access devices, comprising:
matching a plurality of devices corresponding to the service types according to the office direction;
if the bandwidth does not exceed hundred megabits, selecting access equipment according to the priorities of the SR equipment, the SW equipment and the BAS equipment until the access equipment is selected;
and if the bandwidth exceeds hundreds of megabits, selecting the access equipment according to the priority of the BAS equipment and the SR equipment until the access equipment is selected, and not selecting the SW.
Description of networking: and if the SW equipment is selected as access equipment, accessing through the switch, and otherwise, directly accessing.
Step 2: selecting an access port, including the following two cases:
in the first case: if the selected access equipment is SR equipment, selecting an idle port according to a first idle port selection rule;
the first idle port selection rule is as follows:
if the optical port is selected, selecting an idle port with an ODF value;
if the electric port is selected, selecting an idle port with both photoelectric and ODF values;
description of the drawings: the rules for selecting optical and electrical ports are random.
In the second case: if the selected access equipment is BAS equipment, selecting an idle port according to a second idle port selection rule;
the second idle port selection rule is as follows: a free port is selected for which the ODF has a value.
S212, distributing according to a standard address distribution method, and specifically comprising the following steps:
if the access equipment is OLT, the access equipment and the downlink port are provided by an upstream system and are not distributed;
if the access equipment is not OLT, iteration is started from the standard address, the father node address of the current address is searched from the standard address table until the equipment is searched from the address and equipment relation table through the address of the father node;
judging whether the found equipment is one or not, and if so, allocating the equipment as access equipment; otherwise, one of the devices is selected as the access device and the device port is selected.
As an embodiment of the present invention, according to a standard address name transmitted by the uniform system, a parent address node is found in a standard address table, for example, an ADDR _ SEGM table, and whether a device exists in the ADDR _ SEGM _ EQP table is checked; if the device cannot be found, continuing to find the address of the address parent node; and continuing to find the device in the ADDR _ SEGM _ EQP by using the parent node address, and if the device cannot be found, continuing to loop.
If the device can be found finally, it is considered correct, if not, an error is reported.
In another case, the finding of multiple devices, selecting one of the multiple devices as an access device and selecting a device port at this time specifically includes:
step a: allocating access devices, comprising:
if the bandwidth does not exceed hundred megabits, selecting access equipment according to the priorities of the SR equipment, the SW equipment and the BAS equipment until the access equipment is selected; if the SW equipment is selected as access equipment, the access is carried out through a switch, and if not, the access is carried out through direct connection;
if the bandwidth exceeds hundreds of megabits, the access equipment is selected according to the priority of the BAS equipment and the SR equipment until the access equipment is selected, and the SW equipment is not selected;
step b: allocating device ports, including the following two cases:
in the first case: if the selected access equipment is SR equipment, selecting an idle port according to a first idle port selection rule;
the first idle port selection rule is as follows:
if the optical port is selected, selecting an idle port with an ODF value;
if the electric port is selected, selecting an idle port with both photoelectric and ODF values;
description of the drawings: the choice of optical and electrical ports is random.
In the second case: if the selected access equipment is BAS equipment, selecting an idle port according to a second idle port selection rule;
the second idle port selection rule is as follows: a free port is selected for which the ODF has a value.
S220, after the access equipment is allocated or when the access equipment is set, when a physical topological path allocation requirement exists in the resource allocation application, selecting a physical topological path between the access equipment and the MSE/BAS, and allocating the shortest physical topological path.
After the access equipment is distributed, positioning to the MSE/BAS according to the topological relation, obtaining all physical topological paths from the access equipment to the MSE/BAS, and calculating the shortest physical topological path as the selected physical topological path;
and if the shortest physical topological path has a plurality of paths, selecting one path from the plurality of paths as the selected physical topological path.
After selecting the access device, the network manager positions the MSE according to the topological relation, adopts the shortest path, and displays a plurality of paths for selection if the path levels are the same, as shown in fig. 2:
there are 3 paths in the figure, which are:
route 1: access SW1 > convergence SW1 > convergence SW2 > MSE 1;
route 2: access SW1 > convergence SW1 > convergence SW3 > MSE 2;
route 3: access SW1 > sink SW1 > sink SW4 > sink SW5 > MSE 3.
Wherein, the shortest paths found according to the path hierarchy are path 1 and path 2.
And S230, when the vlan allocation requirement exists in the resource allocation application, allocating the vlan according to a vlan allocation rule.
The S230 includes three cases of S231, S232, and S233:
and S231, if the direct connection is realized, the vlan does not need to be allocated.
And S232, if the access is the switch access, allocating the vlan according to the Dot1Q rule.
When the vlan is the Dot1Q model, it is a single-layer vlan, and paths need to be analyzed first when allocating the vlan.
The analysis path is as follows:
after selecting the access device, the network manager positions the MSE according to the topological relation, adopts the shortest path, and displays a plurality of paths for selection if the path levels are the same, as shown in fig. 2:
there are 3 paths in the figure, which are:
route 1: access SW1 > convergence SW1 > convergence SW2 > MSE 1;
route 2: access SW1 > convergence SW1 > convergence SW3 > MSE 2;
route 3: access SW1 > sink SW1 > sink SW4 > sink SW5 > MSE 3.
Wherein, the shortest paths found according to the path hierarchy are path 1 and path 2.
After selecting the shortest path, allocating vlan according to Dot1Q rules, including:
1) the idle vlan segment that the equipment plan may use, for example: the vlan is 200-.
2) Collecting the used vlan:
(1) the vlan is transmitted through the upstream ports of the convergence SW2 and the convergence SW 3;
(2) the vlan is transmitted through all ports of the convergence SW1 directly connected with the access SW 1;
(3) the vlan which is pre-occupied in the work order and ready to be transmitted through on the equipment, but is not transmitted through yet.
3) Calculating an idle vlan:
and subtracting the used vlan from the planned vlan to obtain the idle vlan, and dividing one from the idle vlan.
As an embodiment of the present invention, for accessing SW1, if the planned vlan in the first step is 200- "1000", the used selected in the second step is: 200- > 400, the idle unused vlan is: 401-1000. When the distribution is actually used, the distribution is from top to bottom, and if the current 401 plus 1000 is unused, the distribution is as follows: 1000, 999 the next time, and so on.
S233, if the OLT is accessed, allocating vlan according to QinQ rule, namely allocating outer vlan according to Dot1Q rule; and then distributing the inner-layer vlan according to the inner-layer vlan distribution rule.
The distributing the outer vlan according to the Dot1Q rule includes:
planning an available outer-layer idle vlan segment;
collecting the used outer vlan;
subtracting the used outer-layer vlan from the planned idle outer-layer vlan section to obtain an idle outer-layer vlan;
allocating an outer vlan from said free outer vlan;
the allocating the inner-layer vlan according to the inner-layer vlan rule includes:
the inner-layer vlan allocation rule includes:
the equipment plans an available idle inner-layer vlan segment;
collecting the used inner-layer vlan:
subtracting the used inner-layer vlan from the planned idle inner-layer vlan segment to obtain an idle vlan;
allocating an inner-layer vlan from said free vlan;
wherein different ports of the same device may be duplicated, except in the case of the same outer vlan. If the direct connection is achieved, the vlan does not need to be allocated.
After the inner and outer-layer vlans of one internet special line are distributed, the vlan of another internet special line can be redistributed.
And S240, when the service path distribution requirement exists in the resource distribution application, selecting a service path according to the outer-layer vlan by combining the physical topological path.
The S240 includes:
s241, judging whether the access equipment is OLT equipment, if so, executing S242; otherwise, directly entering the outer vlan analysis of the access equipment.
S242, judging whether the network manager acquires a vlan of the OLT; if yes, directly performing outer-layer vlan analysis from an uplink port of the OLT equipment by combining a physical topological path; otherwise, carrying out outer-layer vlan analysis from a lower connection port of an upper connection device of the OLT device;
s243, analyzing the outer-layer vlan, including:
when the outer-layer vlan is not empty, if the MSE can be found according to the outer-layer vlan, returning to the path found according to the outer-layer vlan; if the MSE cannot be found according to the outer vlan, the situation is the same as the situation that the outer vlan is empty;
and when the outer vlan is empty, returning all possible paths according to the MSE positioned by the physical topology.
As an embodiment of the present invention, the input parameters are: access device (OLT/SW, any device below the topology), outer vlan (may be empty), terminating device attributes.
As an embodiment of the present invention, the path that may be returned includes:
OLT equipment-OLT upper connection port-SW 1 equipment-SW 1 lower connection port-SW 1 upper connection port-SW 2 equipment-SW 2 lower connection port-SW 2 upper connection port-MSE equipment lower connection port-MSE equipment.
As an embodiment of the present invention, the path that may be returned further includes:
exchanger-exchanger upper connection port-SW 1 equipment-SW 1 lower connection port-SW 1 upper connection port-SW 2 equipment-SW 2 lower connection port-SW 2 upper connection port-MSE equipment lower connection port-MSE equipment.
And S250, when the address allocation requirement exists in the resource allocation application, allocating the address according to an address allocation rule.
The S250 includes three cases of S251, S252, and S253:
s251, if the resource allocation application is a port address, allocating the address according to an independent gateway address allocation rule, including:
planning usable address fields;
collecting the used address on the equipment or the pre-occupied address in the work order;
subtracting the used address from the planned used address to obtain an idle address;
carrying out address allocation on the idle addresses according to the number of the addresses of the interfaces; wherein the first available address is assigned a BAS port address and the second available address is assigned a user segment interconnect address.
As an embodiment of the present invention, as shown in FIG. 3, there is an address field 10.100.186.96/20, which is an available address;
when a first internet private line is configured, a first idle address field is taken and distributed according to the number of addresses given by an interface, a first available address is configured with a BAS port address, and a second available address is used for a user field interconnection address. When 10.100.186.96/30 is fetched, the port address is 10.100.186.97 and the interconnect address is 98.
When the second private line is configured, the first idle address field which is left idle is taken, and the like.
S252, if the resource allocation application is a user address, allocating the address according to a user address allocation rule, including:
planning usable address fields;
collecting the used address on the equipment or the address which is pre-occupied to be used in the work order;
subtracting the used address from the planned used address to obtain an idle address;
and taking the idle address, and performing address allocation according to the number of the addresses of the interfaces.
As an embodiment of the present invention, the user reserves a separate address segment (a BAS segment address), configured in the database: assume 192.168.128.0/20 and are both idle. When configuring the internet private line, if 8 addresses are needed to be allocated, the allocation is carried out according to the number of the addresses, and if the addresses are 192.168.128.0/29, the allocation is shown in fig. 4.
S253, if the resource allocation application is the shared gateway address, allocating the address according to the shared gateway address allocation rule, including:
collecting an address field, a gateway, an unavailable address and a configured address of a shared address pool;
collecting the used address on the equipment or the address which is pre-occupied to be used in the work order;
subtracting the unavailable address and the configured address from the acquired address segment to obtain an idle address segment;
and allocating the idle address segments with enough allocated allocable addresses in turn according to the sequence from small to large.
S300, sending a message for pre-occupying the resources to an upstream system, receiving the use condition of the corresponding resources of the upstream system, and adjusting the occupied state of the resources according to the use condition of the corresponding resources.
In some embodiments, a BAS configures an address pool in advance, and address fields, gateways, and unavailable addresses in the address pool are configured.
For example, an address pool with address segments of 10.0.81.64/26; the gateway is 10.0.81.65255.255.255.192; the address field is 010.0.81.6610.0.81.126; the unavailable address is 10.0.81.6610.0.81.126.
Firstly, the network manager needs to collect the address field, gateway and unavailable address of the shared address pool. The network manager needs to collect the configured addresses, and the collected addresses are used addresses. And (4) calculating the residual address: and subtracting the unavailable address from the acquired address field, subtracting the used address, and taking the rest address as a free address. And sorting the idle address fields from small to large, firstly, judging whether enough allocable addresses exist from the minimum address field, and if so, directly allocating. If not, finding the next free address segment and continuously checking whether the allocation is available. If not found, all free address segments are checked.
The adjusting the occupation state of the resource according to the use condition of the corresponding resource comprises:
if the use condition of the corresponding resource is used, the state of the corresponding resource is adjusted from the pre-occupation state to the real occupation state;
and if the use condition of the corresponding resource is unused, releasing the corresponding resource, and adjusting the state of the corresponding resource from the pre-occupied state to a resource release state.
As an embodiment of the invention, the upstream system notifies the dynamic resource library of the use condition of the allocated resource, if the normal completion, the resource state changes from pre-occupation to real occupation; if failing, the resources can be released directly.
The invention can realize automatic reasonable distribution of different resources, improve the accuracy and efficiency of resource distribution, ensure dynamic reasonable distribution of resources, reduce the pressure of maintenance personnel and reduce the maintenance cost.
The method specifically comprises the following steps:
1. the manual resource checking links are reduced: the used resources collected by the existing network are automatically synchronized by establishing a data model consistent with the existing network, and are updated to the dynamic resource library, so that the link of manually recording and checking the resources is reduced.
2. Automatically allocating free resources through a dynamic resource pool: by analyzing the planning and real occupied resources of various resources, the idle resources are automatically calculated according to the needs and automatically allocated according to the allocation rule of the resources, so that the pressure of operation and maintenance personnel is reduced.
3. The full process automatic tracking statistics of the resource state: the dynamic resources automatically record the idle, selective occupation, pre-occupation, real occupation and release states of the resources according to the business or engineering requirements, and the accuracy of automatic opening and operation and maintenance is improved.
4. Providing unified resource data externally: when other systems need to use resources or count resources, the resources can be uniformly acquired from the dynamic resource library, so that the consistency of data among the systems can be maintained.
5. Providing an idle resource query and allocation interface for the outside: when other systems need to use resources, the system can uniformly inquire whether idle resources exist in the dynamic resource library, and if the idle resources exist, the resources are distributed by using the resource distribution interface, so that the service opening efficiency is greatly improved, and the burden of operation and maintenance personnel is reduced.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A method for allocating dynamic resources of a service is characterized by comprising the following steps:
receiving a resource allocation application of an upstream system, and pre-occupying required resources in the resource allocation application; the resource allocation application comprises one or more of an access equipment allocation application, a physical topology path allocation application, a vlan allocation application, a service path allocation application and an address allocation application;
when the resource allocation application has an access device allocation demand, allocating the access device according to a local direction allocation method or a standard address allocation method;
when a physical topological path distribution requirement exists in the resource distribution application, selecting a physical topological path between the access equipment and the MSE/BAS, and distributing the shortest physical topological path;
when a vlan allocation demand exists in the resource allocation application, allocating the vlan according to a vlan allocation rule;
when a service path distribution requirement exists in the resource distribution application, selecting a service path according to the outer-layer vlan by combining the physical topology path;
when the resource allocation application has an address allocation requirement, allocating addresses according to an address allocation rule;
sending a message for pre-occupying the resources to an upstream system, receiving the use condition of the corresponding resources of the upstream system, and adjusting the occupied state of the resources according to the use condition of the corresponding resources.
2. The method according to claim 1, wherein if there is office direction information in the resource allocation application, allocating according to the office direction allocation method, specifically comprises:
if the access equipment is OLT equipment, the access equipment and the downlink port are provided by an upstream system and are not distributed;
and if the access equipment is non-OLT equipment, distributing the access equipment and the access port according to the office direction.
3. The method of claim 2, wherein the assigning access devices and access device ports according to office direction comprises:
step 1: allocating access devices, comprising:
matching a plurality of devices corresponding to the service types according to the office direction;
if the bandwidth does not exceed hundred megabits, selecting access equipment according to the priorities of the SR equipment, the SW equipment and the BAS equipment until the access equipment is selected; if the SW equipment is selected as access equipment, the access is carried out through a switch, and if not, the access is carried out through direct connection;
if the bandwidth exceeds hundreds of megabytes, selecting access equipment according to the priority of the BAS equipment and the SR equipment until the access equipment is selected;
step 2: selecting an access port, including the following two cases:
in the first case: if the selected access equipment is SR equipment, selecting an idle port according to a first idle port selection rule;
the first idle port selection rule is as follows:
if the optical port is selected, selecting an idle port with an ODF value;
if the electric port is selected, selecting an idle port with both photoelectric and ODF values;
in the second case: if the selected access equipment is BAS equipment, selecting an idle port according to a second idle port selection rule;
the second idle port selection rule is as follows: a free port is selected for which the ODF has a value.
4. The method according to claim 1, wherein if a standard address exists in the resource allocation application, allocating according to a standard address allocation method specifically comprises:
if the access equipment is OLT equipment, the access equipment and the downlink port are provided by an upstream system and are not distributed;
if the access equipment is non-OLT equipment, iteration is started from the standard address, and a father node address of the current address is searched from the standard address table until the equipment is searched from the address and equipment relation table through the address of the father node;
judging whether the found equipment is one or not, and if so, allocating the equipment as access equipment; otherwise, one of the devices is selected as the access device and the device port is selected.
5. The method of claim 4, wherein selecting one of the plurality of devices as the access device and selecting the device port comprises:
step a: allocating access devices, comprising:
if the bandwidth does not exceed hundred megabits, selecting access equipment according to the priorities of the SR equipment, the SW equipment and the BAS equipment until the access equipment is selected; if the SW equipment is selected as access equipment, the access is carried out through a switch, and if not, the access is carried out through direct connection;
if the bandwidth exceeds hundreds of megabytes, selecting access equipment according to the priority of the BAS equipment and the SR equipment until the access equipment is selected;
step b: allocating device ports, including the following two cases:
in the first case: if the selected access equipment is SR equipment, selecting an idle port according to a first idle port selection rule;
the first idle port selection rule is as follows:
if the optical port is selected, selecting an idle port with an ODF value;
if the electric port is selected, selecting an idle port with both photoelectric and ODF values;
in the second case: if the selected access equipment is BAS equipment, selecting an idle port according to a second idle port selection rule;
the second idle port selection rule is as follows: a free port is selected for which the ODF has a value.
6. The method of claim 1, wherein selecting the physical topology path between the access device and the MSE/BAS, and allocating the shortest physical topology path comprises:
after the access equipment is distributed, positioning to the MSE/BAS according to the topological relation, obtaining all physical topological paths from the access equipment to the MSE/BAS, and calculating the shortest physical topological path as the selected physical topological path;
and if the shortest physical topological path has a plurality of paths, selecting one path from the plurality of paths as the selected physical topological path.
7. The method according to claim 1, wherein the allocation of the vlan is performed according to vlan allocation rules;
if the direct connection is achieved, the vlan does not need to be allocated;
if the access is the switch access, allocating vlan according to the Dot1Q rule;
if the OLT equipment is accessed, allocating vlan according to QinQ rules, namely allocating outer vlan according to Dot1Q rules; distributing the inner-layer vlan according to the inner-layer vlan distribution rule;
the Dot1Q rule, comprising:
planning an available idle outer-layer vlan section, collecting the used outer-layer vlan, subtracting the used outer-layer vlan from the planned idle outer-layer vlan section to obtain an idle outer-layer vlan, and distributing one outer-layer vlan from the idle outer-layer vlan;
the allocating the inner-layer vlan according to the inner-layer vlan rule includes:
the equipment plans an available idle inner-layer vlan segment, collects the used inner-layer vlan, subtracts the used inner-layer vlan from the planned idle inner-layer vlan segment to obtain an idle inner-layer vlan, and allocates one inner-layer vlan from the idle inner-layer vlan; wherein different ports of the same device may be duplicated, except in the case of the same outer vlan.
8. The method according to claim 1, wherein said selecting a traffic path according to an outer vlan in combination with a physical topological path comprises:
step 1: judging whether the access equipment is OLT equipment, if so, executing the step 2; otherwise, directly entering the outer vlan analysis of the access equipment;
step 2: judging whether the network manager acquires the vlan of the access equipment; if yes, directly performing outer-layer vlan analysis from an uplink port of the OLT equipment according to the physical topological path; otherwise, carrying out outer-layer vlan analysis from a lower connection port of an upper connection device of the OLT device;
the outer vlan analysis comprising:
when the outer vlan is not empty, if the MSE/BAS can be found according to the outer vlan, returning to the path found according to the outer vlan; if the MSE/BAS cannot be found according to the outer vlan, the situation is the same as that the outer vlan is empty;
and when the outer vlan is empty, returning all possible paths according to the MSE/BAS positioned by the physical topology.
9. The method of claim 1, wherein allocating addresses according to the address allocation rule comprises:
if the resource allocation application is a port address, allocating the address according to an independent gateway address allocation rule, including:
planning usable address fields;
collecting the used address on the equipment and the pre-occupied address in the work order;
subtracting the used address from the planned used address to obtain an idle address;
carrying out address allocation on the idle addresses according to the number of the addresses of the interfaces; the first available address is allocated with a BAS port address, and the second available address is allocated with a user segment interconnection address;
if the resource allocation application is a user address, allocating the address according to a user address allocation rule, including:
planning usable address fields;
collecting the used address on the equipment and the pre-occupied address in the work order;
subtracting the used address from the planned used address to obtain an idle address;
taking an idle address, and carrying out address allocation according to the number of the addresses of the interfaces;
if the resource allocation application is the shared gateway address, allocating the address according to the shared gateway address allocation rule, including:
collecting an address field, a gateway, an unavailable address and a configured address of a shared address pool;
collecting the used address on the equipment and the pre-occupied address in the work order;
subtracting the unavailable address and the configured address from the acquired available address segment to obtain an idle address segment;
and allocating the idle address segments with enough allocated allocable addresses in turn according to the sequence from small to large.
10. The method according to claim 1, wherein the adjusting the resource occupation status according to the usage of the corresponding resource comprises:
if the use condition of the corresponding resource is used, the state of the corresponding resource is adjusted from the pre-occupation state to the real occupation state;
and if the use condition of the corresponding resource is unused, releasing the corresponding resource, and adjusting the state of the corresponding resource from the pre-occupied state to a resource release state.
CN202011066645.7A 2020-10-02 2020-10-02 Business dynamic resource allocation method Active CN112291162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011066645.7A CN112291162B (en) 2020-10-02 2020-10-02 Business dynamic resource allocation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011066645.7A CN112291162B (en) 2020-10-02 2020-10-02 Business dynamic resource allocation method

Publications (2)

Publication Number Publication Date
CN112291162A true CN112291162A (en) 2021-01-29
CN112291162B CN112291162B (en) 2022-12-06

Family

ID=74422753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011066645.7A Active CN112291162B (en) 2020-10-02 2020-10-02 Business dynamic resource allocation method

Country Status (1)

Country Link
CN (1) CN112291162B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115865677A (en) * 2022-10-31 2023-03-28 中盈优创资讯科技有限公司 Method and device for solving limitation of number of multi-service edge servers (VPui)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307129A (en) * 2011-09-09 2012-01-04 南京邮电大学 Real-time network element topology discovery method for IP (internet protocol) metropolitan area network
US20140321845A1 (en) * 2011-12-20 2014-10-30 Huawei Technologies Co., Ltd. Passive optical network pon protection method and apparatus
CN104144361A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method and system for testing and accepting logical resources in FTTH mode
WO2017219856A1 (en) * 2016-06-23 2017-12-28 中兴通讯股份有限公司 Circuit verification processing method and system, controller, and computer storage medium
CN107994942A (en) * 2017-12-04 2018-05-04 科大国创软件股份有限公司 A kind of smooth broadband access network service resources tree topology finds algorithm
US20190379582A1 (en) * 2017-08-31 2019-12-12 Oracle International Corporation System and method for a single logical ip subnet across multiple independent layer 2 (l2) subnets in a high performance ocmputing environment
CN111163378A (en) * 2019-11-26 2020-05-15 中盈优创资讯科技有限公司 Optical network multicast sinking management method and device
CN111294269A (en) * 2018-12-07 2020-06-16 中国移动通信集团广东有限公司 Method and device for distributing VLAN (virtual local area network) in home wide service inner layer and outer layer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307129A (en) * 2011-09-09 2012-01-04 南京邮电大学 Real-time network element topology discovery method for IP (internet protocol) metropolitan area network
US20140321845A1 (en) * 2011-12-20 2014-10-30 Huawei Technologies Co., Ltd. Passive optical network pon protection method and apparatus
CN104144361A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method and system for testing and accepting logical resources in FTTH mode
WO2017219856A1 (en) * 2016-06-23 2017-12-28 中兴通讯股份有限公司 Circuit verification processing method and system, controller, and computer storage medium
US20190379582A1 (en) * 2017-08-31 2019-12-12 Oracle International Corporation System and method for a single logical ip subnet across multiple independent layer 2 (l2) subnets in a high performance ocmputing environment
CN107994942A (en) * 2017-12-04 2018-05-04 科大国创软件股份有限公司 A kind of smooth broadband access network service resources tree topology finds algorithm
CN111294269A (en) * 2018-12-07 2020-06-16 中国移动通信集团广东有限公司 Method and device for distributing VLAN (virtual local area network) in home wide service inner layer and outer layer
CN111163378A (en) * 2019-11-26 2020-05-15 中盈优创资讯科技有限公司 Optical network multicast sinking management method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
廖伟全等: "基于城域网与GPON组网的OLT双上联流量均衡研究与应用", 《通信技术》 *
范敏: "Trunk和VLAN技术在企业网中的综合运用", 《新疆职业大学学报》 *
许华: "宽带资源动态管控流程的研制与应用", 《新型工业化》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115865677A (en) * 2022-10-31 2023-03-28 中盈优创资讯科技有限公司 Method and device for solving limitation of number of multi-service edge servers (VPui)

Also Published As

Publication number Publication date
CN112291162B (en) 2022-12-06

Similar Documents

Publication Publication Date Title
US20230261943A1 (en) System and method for managing virtual local area networks
EP3072260B1 (en) Methods, systems, and computer readable media for a network function virtualization information concentrator
US7099879B2 (en) Real-time monitoring of service performance through the use of relational database calculation clusters
US7305623B2 (en) Method and apparatus for managing and representing elements in a network
US6438110B1 (en) Reservation of connections in a communications network
US8099488B2 (en) Real-time monitoring of service agreements
US6862619B1 (en) Network management system equipped with event control means and method
US20030120764A1 (en) Real-time monitoring of services through aggregation view
US20150215228A1 (en) Methods, systems, and computer readable media for a cloud-based virtualization orchestrator
EP1361761A1 (en) Telecommunications network management system and method for service monitoring
US10848347B2 (en) Managing virtual local area network domains
US20110258317A1 (en) Application sla based dynamic, elastic, and adaptive provisioning of network capacity
US9026632B2 (en) Network with a network wide extended policy framework
CN114125924A (en) TSN service processing method and device and computer readable storage medium
CN107292598A (en) One kind pays method for routing and pays route middleware
CN112333065B (en) Automatic opening method and device for IPRAN Ethernet private line
CN109005126B (en) Data stream processing method, device and computer readable storage medium
WO2020177255A1 (en) Resource allocation method and device for wireless access network
CN114630214A (en) Service route calculation method and device, electronic equipment and readable storage medium
CN112291162B (en) Business dynamic resource allocation method
US7653730B1 (en) System and method for latency assurance and dynamic re-provisioning of telecommunication connections in a carrier virtual network
EP2187567A1 (en) Predictive method and system for optimizing demands of connectivity services
US7047295B1 (en) Generic alignment method in a multimanager environment
US20130110757A1 (en) System and method for analyzing attribute change impact within a managed network
CN111466134B (en) Method and arrangement for allocating communication resources in a communication network

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
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 702-2, No. 4811 Caoan Road, Jiading District, Shanghai, 201800

Patentee after: CHINA UNITECHS

Address before: Room 1004-4, 10 / F, 1112 Hanggui Road, Anting Town, Jiading District, Shanghai 201800

Patentee before: CHINA UNITECHS