CN108509535A - Resource ID based on section manages system and method - Google Patents
Resource ID based on section manages system and method Download PDFInfo
- Publication number
- CN108509535A CN108509535A CN201810215053.3A CN201810215053A CN108509535A CN 108509535 A CN108509535 A CN 108509535A CN 201810215053 A CN201810215053 A CN 201810215053A CN 108509535 A CN108509535 A CN 108509535A
- Authority
- CN
- China
- Prior art keywords
- resource
- section
- value
- manager
- given
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
- H04L41/0266—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of, and the resource ID based on section manages system and method, is related to telecommunication transmission net management domain.The system includes resource ID manager, database, specification unit, resource ID manager initialization unit, resource ID administrative unit.This approach includes the following steps:The specification of resource ID manager is defined using XML file;According to the interval censored data in XML file and database, resource ID manager is initialized;The resource ID of network element is managed using resource ID manager, including obtains idle resource ID, distribution resource ID, release resource ID.The present invention can effectively save the memory space of resource ID, reduce the distribution time of resource ID.
Description
Technical field
The present invention relates to telecommunication transmission net management domain, be specifically related to a kind of resource ID management system based on section and
Method.
Background technology
In the management of telecommunication transmission net, telecommunication service is required for occupying certain resource on each network element of process;No
The resource that same telecommunication service occupies on the same network element cannot conflict mutually.To meet the demand, needed on network element pair
Resource is managed, and distributes resource ID:One network element supports a variety of different types of resources;Different type resource ID is in a net
It can be repeated in member;Same type resource ID is not reproducible on a network element.It is occupied that every telecommunication service is recorded on network element
Resource ID, so, the resource ID that different telecommunication services occupies on the same network element are different, would not generate conflict;
Network element can also distinguish different telecommunication services according to resource ID.
Existing ID management methods are when distributing some type of resource ID, for this type for ensureing with being occupied by telecommunication service
Resource ID do not conflict, need to be traversed for the resource ID of all this type recorded on network element.When the resource of this type on network element
When ID numbers are very huge, the space of storage resource ID increases therewith, and the time that distribution resource ID is consumed also increases, with
Resource ID number is proportional.In such case, a kind of new ID management methods are designed, the resource ID of tremendous amount is met
The efficiency of storage and distribution just seems abnormal important.
Invention content
The purpose of the invention is to overcome the shortcomings of above-mentioned background technology, a kind of resource ID management based on section is provided
System and method can effectively save the memory space of resource ID, reduce the distribution time of resource ID.
The present invention provides a kind of resource ID management system based on section, which includes specification unit, resource ID
Manager initialization unit, resource ID administrative unit, wherein:
Specification unit is used for:Use the specification of expandable mark language XML document definition resource ID manager:XML
The a variety of NE types of document definition, each NE type include multiple resources type, each resource type both defines resource ID
Minimum value and maximum value;
Database preserves the interval censored data of resource ID manager, and section indicates the range of used resource ID, section by
Initial value and end value composition;Resource ID manager includes each span list, according to ascending suitable of initial value and end value
Sequence joins end to end each section;
Resource ID manager initialization unit is used for:According to the interval censored data in XML file and database, resource is initialized
ID managers;
Resource ID administrative unit is used for:The resource ID of network element is managed using resource ID manager, including is obtained empty
Resource ID, distribution resource ID, the release resource ID in spare time.
Based on the above technical solution, the initialization resource ID manager refers to:Network element is read from database
Data initialize the resource ID manager of each network element, are as follows:
All network elements in B1, ergodic data library, go to step B2;
Whether B2, the type for judging current network, if it is, going to step B3, otherwise return defined in XML file
Step B1;
B3, from XML file obtain current network the corresponding multiple resource ID managers of type specification, go to step
B4;
B4, the minimum value and maximum value that resource ID is initialized according to resource ID manager specification, go to step B5;
B5, the interval censored data that resource ID manager is read from database, go to step B6;
If the initial value of B6, section are less than the minimum value of resource ID or the end value in section is more than the maximum of resource ID
Value, goes to step B7, otherwise goes to step B8;
B7, the minimum value that the initial value for adjusting section is resource ID, or the end value in adjustment section is the maximum of resource ID
Value, goes to step B8;
B8, this section is added in resource ID manager, returns to step B5.
Based on the above technical solution, the resource ID for obtaining the free time refers to:From given resource ID initial value
Start, finds the idle resource ID specified number from small to large, be as follows:
If C11, given resource ID initial value < resource ID minimum values, it is money that given resource ID initial value, which is arranged,
Source ID minimum values, go to step C12;
If C12, given resource ID initial value are more than > resource ID maximum values, report an error, go to step C13;
Whether C13, the span list for traversing resource ID manager are empty, if it is sky, go to step C18;If not being
Sky goes to step C14;
If the initial value of C14, the given sections resource ID initial value <, go to step C15, otherwise go to step C17;
C15, the ID between given resource ID initial value and the initial value in section is added to idle resource ID list
In, go to step C16;
C16, judge that whether ID numbers if it is, terminate, otherwise turn more than specifying number in idle resource ID list
To step C17;
C17, the end value in section are bigger by 1 than given resource ID initial value, then it is area that given resource ID initial value, which is arranged,
Between end value add 1, return to step C13;
C18, calculating specify number the difference with ID numbers in idle resource ID list, if it is greater than zero and less than specified
Number, goes to step C19, otherwise goes to step C110;
C19, in the span list of resource ID manager the end value in the last one section and the maximum value of resource ID it
Between, the resource ID of difference number in C18 is taken, is added in idle resource ID list, then terminates;
C110, judge whether the span list of resource ID manager is empty, if the span list of resource ID manager is
Sky goes to step C112;It is not sky, then goes to step C111;
C111, in the span list of resource ID manager the end value in the last one section and the maximum value of resource ID it
Between, fetching fixed number purpose resource ID is added in idle resource ID list, then terminates;
C112, between resource ID minimum value and maximum value, fetching fixed number purpose resource ID is added to idle resource ID
In list, then terminate.
Based on the above technical solution, the distribution resource ID refers to:The given resource ID of distribution, in resource ID pipe
The present positions ID are found in reason device, create or change the affiliated sections ID, the specific steps are:
C21, the span list for traversing resource ID manager, if there are current intervals and next section, if the two
All exist, then go to step C22, otherwise goes to step C25;
If the initial value in the next sections resource ID < given the end value < of C22, current interval, goes to step
Otherwise C23 goes to step C24;
C23, section merging is carried out to current interval, next section and given resource ID, terminated;
C24, the next section of setting are current interval, return to step C21;
If the span list of C25, resource ID manager is sky, step C26 is gone to, step C27 is otherwise gone to;
C26, section is created, initial value and end value are all given resource IDs, are added to the section of resource ID manager
In list, terminate;
If resource ID given the initial value > in first section of the span list of C27, resource ID manager, goes to
Otherwise step C28 goes to step C29;
C28, section is created, initial value and end value are all given resource IDs, are added to the section of resource ID manager
List foremost is terminated;
If resource ID given the end value < in the last one section of the span list of C29, resource ID manager turns
To step C210, otherwise terminate;
C210, section is created, initial value and end value are all given resource IDs, are added to the section of resource ID manager
List backmost, terminates.
Based on the above technical solution, the section in step C23, which merges, specifically includes following steps:
If the initial value -1 in the next sections resource ID the < given end value+1=of C231, current interval, goes to
Otherwise step C232 goes to step C233;
C232, it sets the end value of current interval to given resource ID, terminates;
If the initial value -1 in resource ID=next section given+1 < of end value of C233, current interval, goes to
Otherwise step C234 goes to step C235;
C234, it sets the initial value in next section to given resource ID, terminates;
If the initial value -1 in resource ID=next section given end value+1=of C235, current interval, goes to
Otherwise step C236 goes to step C237;
C236, the end value for setting the end value of current interval in next section, from the section of resource ID manager
Next section is removed in list, is terminated;
If the initial value -1 in the next sections resource ID < given+1 < of end value of C237, current interval, goes to
Step C238, otherwise terminates;
C238, section is created, initial value and end value are all given resource IDs, are added to the section of resource ID manager
In list, between current interval and next section, terminate.
Based on the above technical solution, the release resource ID refers to:The given resource ID of release, in resource ID pipe
The present positions ID are found in reason device, creates or changes the affiliated sections ID, be as follows:
C31, the span list for traversing resource ID manager, take current interval, go to step C32;
If the end value of the initial value of C32, current interval≤given resource ID≤current interval, goes to step C33,
Otherwise return to step C31;
If the end value of the initial value of C33, current interval=given resource ID < current intervals, goes to step C34,
Otherwise step C35 is gone to;
C34, the initial value of current interval is added to 1, terminated;
If the end value of resource ID=current interval given the initial value < of C35, current interval, goes to step C36,
Otherwise step C37 is gone to;
C36, the end value of current interval is subtracted 1, terminated;
If the end value of the initial value of C37, current interval=given resource ID=current interval, goes to step C38,
Otherwise step C39 is gone to;
C38, current interval is removed from the span list of resource ID manager, terminated;
If the end value of resource ID < current intervals given the initial value < of C39, current interval, goes to step
Otherwise C310 terminates;
C310, section is created, initial value is given resource ID+1, and end value is the end value of current interval, is added to
In the span list of resource ID manager after current interval, step C311 is gone to;
C311, it sets the end value of current interval to given resource ID -1, terminates.
The resource ID management method based on section that the present invention also provides a kind of, includes the following steps:
A, using the specification of expandable mark language XML document definition resource ID manager:XML file defines a variety of network elements
Type, each NE type include multiple resources type, each resource type both defines the minimum value and maximum value of resource ID;
B, database preserves the interval censored data of resource ID manager, and section indicates the range of used resource ID, section
It is made of initial value and end value, resource ID manager includes each span list, ascending according to initial value and end value
Sequence joins end to end each section;According to the interval censored data in XML file and database, resource ID manager is initialized;
C, the resource ID of network element is managed using resource ID manager, including obtains idle resource ID, distribution money
Source ID, release resource ID.
Based on the above technical solution, the initialization resource ID manager in step B refers to:It is read from database
Network element data initializes the resource ID manager of each network element, is as follows:
All network elements in B1, ergodic data library, go to step B2;
Whether B2, the type for judging current network, if it is, going to step B3, otherwise return defined in XML file
Step B1;
B3, from XML file obtain current network the corresponding multiple resource ID managers of type specification, go to step
B4;
B4, the minimum value and maximum value that resource ID is initialized according to resource ID manager specification, go to step B5;
B5, the interval censored data that resource ID manager is read from database, go to step B6;
If the initial value of B6, section are less than the minimum value of resource ID or the end value in section is more than the maximum of resource ID
Value, goes to step B7, otherwise goes to step B8;
B7, the minimum value that the initial value for adjusting section is resource ID, or the end value in adjustment section is the maximum of resource ID
Value, goes to step B8;
B8, this section is added in resource ID manager, returns to step B5.
Based on the above technical solution, idle resource ID is obtained in step C refers to:It is originated from given resource ID
Value starts, and finds the idle resource ID specified number from small to large, is as follows:
If C11, given resource ID initial value < resource ID minimum values, it is money that given resource ID initial value, which is arranged,
Source ID minimum values, go to step C12;
If C12, given resource ID initial value are more than > resource ID maximum values, report an error, go to step C13;
Whether C13, the span list for traversing resource ID manager are empty, if it is sky, go to step C18;If not being
Sky goes to step C14;
If the initial value of C14, the given sections resource ID initial value <, go to step C15, otherwise go to step C17;
C15, the ID between given resource ID initial value and the initial value in section is added to idle resource ID list
In, go to step C16;
C16, judge that whether ID numbers if it is, terminate, otherwise turn more than specifying number in idle resource ID list
To step C17;
C17, the end value in section are bigger by 1 than given resource ID initial value, then it is area that given resource ID initial value, which is arranged,
Between end value add 1, return to step C13;
C18, calculating specify number the difference with ID numbers in idle resource ID list, if it is greater than zero and less than specified
Number, goes to step C19, otherwise goes to step C110;
C19, in the span list of resource ID manager the end value in the last one section and the maximum value of resource ID it
Between, the resource ID of difference number in C18 is taken, is added in idle resource ID list, then terminates;
C110, judge whether the span list of resource ID manager is empty, if the span list of resource ID manager is
Sky goes to step C112;It is not sky, then goes to step C111;
C111, in the span list of resource ID manager the end value in the last one section and the maximum value of resource ID it
Between, fetching fixed number purpose resource ID is added in idle resource ID list, then terminates;
C112, between resource ID minimum value and maximum value, fetching fixed number purpose resource ID is added to idle resource ID
In list, then terminate.
Based on the above technical solution, the distribution resource ID in step C refers to:The given resource ID of distribution, is providing
The present positions ID are found in the ID managers of source, create or change the affiliated sections ID, the specific steps are:
C21, the span list for traversing resource ID manager, if there are current intervals and next section, if the two
All exist, then go to step C22, otherwise goes to step C25;
If the initial value in the next sections resource ID < given the end value < of C22, current interval, goes to step
Otherwise C23 goes to step C24;
C23, section merging is carried out to current interval, next section and given resource ID, terminated;
C24, the next section of setting are current interval, return to step C21;
If the span list of C25, resource ID manager is sky, step C26 is gone to, step C27 is otherwise gone to;
C26, section is created, initial value and end value are all given resource IDs, are added to the section of resource ID manager
In list, terminate;
If resource ID given the initial value > in first section of the span list of C27, resource ID manager, goes to
Otherwise step C28 goes to step C29;
C28, section is created, initial value and end value are all given resource IDs, are added to the section of resource ID manager
List foremost is terminated;
If resource ID given the end value < in the last one section of the span list of C29, resource ID manager turns
To step C210, otherwise terminate;
C210, section is created, initial value and end value are all given resource IDs, are added to the section of resource ID manager
List backmost, terminates.
Based on the above technical solution, the section in step C23, which merges, specifically includes following steps:
If the initial value -1 in the next sections resource ID the < given end value+1=of C231, current interval, goes to
Otherwise step C232 goes to step C233;
C232, it sets the end value of current interval to given resource ID, terminates;
If the initial value -1 in resource ID=next section given+1 < of end value of C233, current interval, goes to
Otherwise step C234 goes to step C235;
C234, it sets the initial value in next section to given resource ID, terminates;
If the initial value -1 in resource ID=next section given end value+1=of C235, current interval, goes to
Otherwise step C236 goes to step C237;
C236, the end value for setting the end value of current interval in next section, from the section of resource ID manager
Next section is removed in list, is terminated;
If the initial value -1 in the next sections resource ID < given+1 < of end value of C237, current interval, goes to
Step C238, otherwise terminates;
C238, section is created, initial value and end value are all given resource IDs, are added to the section of resource ID manager
In list, between current interval and next section, terminate.
Based on the above technical solution, the release resource ID in step C refers to:The given resource ID of release, is providing
The present positions ID are found in the ID managers of source, are created or are changed the affiliated sections ID, be as follows:
C31, the span list for traversing resource ID manager, take current interval, go to step C32;
If the end value of the initial value of C32, current interval≤given resource ID≤current interval, goes to step C33,
Otherwise return to step C31;
If the end value of the initial value of C33, current interval=given resource ID < current intervals, goes to step C34,
Otherwise step C35 is gone to;
C34, the initial value of current interval is added to 1, terminated;
If the end value of resource ID=current interval given the initial value < of C35, current interval, goes to step C36,
Otherwise step C37 is gone to;
C36, the end value of current interval is subtracted 1, terminated;
If the end value of the initial value of C37, current interval=given resource ID=current interval, goes to step C38,
Otherwise step C39 is gone to;
C38, current interval is removed from the span list of resource ID manager, terminated;
If the end value of resource ID < current intervals given the initial value < of C39, current interval, goes to step
Otherwise C310 terminates;
C310, section is created, initial value is given resource ID+1, and end value is the end value of current interval, is added to
In the span list of resource ID manager after current interval, step C311 is gone to;
C311, it sets the end value of current interval to given resource ID -1, terminates.
Compared with prior art, advantages of the present invention is as follows:
(1) present invention stores the resource ID of some range by the way of section, can effectively save the storage of resource ID
Space.
(2) when the present invention distributes new resource ID, it is only necessary to section is traversed, when can effectively reduce the distribution of resource ID
Between.
(3) for the present invention in resource ID enormous amount, the number in section keeps the smaller order of magnitude, can be obviously improved and obtain
Take idling-resource ID, distribution resource ID and the efficiency for discharging resource ID.
(4) present invention defines the specification of resource ID distributor using XML file so that user is more prone to extend.
Description of the drawings
Fig. 1 is the flow chart of the resource ID management method based on section in the embodiment of the present invention.
Fig. 2 is the interval data structure figure in the embodiment of the present invention.
Fig. 3 is the flow chart of step B in the embodiment of the present invention.
Fig. 4 is the flow chart of step C1 in the embodiment of the present invention.
Fig. 5 is the flow chart of step C2 in the embodiment of the present invention.
Fig. 6 is the flow chart of step C23 in the embodiment of the present invention.
Fig. 7 is the flow chart of step C3 in the embodiment of the present invention.
Specific implementation mode
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
Embodiment 1
The embodiment of the present invention 1 provide it is a kind of based on section resource ID management system, the system include specification unit,
Resource ID manager initialization unit, resource ID administrative unit, wherein:
Specification unit is used for:Use XML (Extensible Markup Language, extensible markup language) texts
Part defines the specification of resource ID manager;
Resource ID manager initialization unit is used for:According to the interval censored data in XML file and database, resource is initialized
ID managers;
Resource ID administrative unit is used for:The resource ID of network element is managed using resource ID manager, including is obtained empty
Resource ID, distribution resource ID, the release resource ID in spare time.
Specification unit includes NE type, resource type and resource ID using the The concrete specification that XML file defines
Four minimum value, maximum value fields.XML file can define a variety of NE types;Each NE type includes multiple resources type;
Each resource type both defines the minimum value and maximum value of resource ID.
The interval censored data of resource ID manager is saved in database, section indicates the range of used resource ID.Area
Between be made of initial value and end value, include each span list in resource ID manager, according to initial value and end value by
It is small that section joins end to end to big sequence.
Embodiment 2
Shown in Figure 1, the embodiment of the present invention 2 provides a kind of resource ID management method based on section, including following step
Suddenly:
A, the specification of resource ID manager is defined using XML file.
B, according to the data in XML file and database, resource ID manager is initialized.
C, the resource ID of network element is managed using resource ID manager, including idling-resource ID is obtained, resource ID point
With being discharged with resource ID.
Specific XML file is defined as follows:
The use of the The concrete specification that XML file defines include minimum value, the maximum value of NE type, resource type and resource ID
Four fields.As it appears from the above, the beginning of XML file defines<element-list>Element, it is therein<element>Sub- member
Element represents this four specs fields.
XML file can define a variety of NE types;Each NE type includes multiple resources type;Each resource type is all
Define the minimum value and maximum value of resource ID.As indicated above, XML file defines<data>Element, daughter element therein<
row>Indicate a resource specification;<row>In four daughter elements<col>NE type, resource type and resource are indicated respectively
The specific value of four fields of minimum value, maximum value of ID, such as In Label resources, its specification is on NE type 1
(123,1,301,1048575) are (255,1,301,786432) on NE type 2;If two<row>First<
col>It is identical, then it represents that same NE type it is upper there are two types of different resource specifications;If two<row>First<
col>It is different, then it represents that be the resource specification in different network elements type.
The tableau format that section is stored in database is as follows:
The tableau format in section is stored in table 1, database
NE type | Types of dispensers | Section initial value | Section end value |
123 | 1 | 301 | 310 |
123 | 2 | 301 | 310 |
123 | 1 | 321 | 330 |
123 | 2 | 321 | 330 |
255 | 1 | 301 | 310 |
255 | 2 | 301 | 310 |
255 | 1 | 321 | 330 |
255 | 2 | 321 | 330 |
The interval censored data of resource ID manager is saved in database, section indicates the range of used resource ID.Ginseng
As shown in Figure 2, section is made of initial value and end value, includes each span list in resource ID manager, according to starting
Value and the ascending sequence of end value join end to end section.As shown in table 1, two kinds of NE types 123 and 255, each net
Element type all supports 1 and 2 two kind of types of dispensers, and there are two section [301,310] and [321,330] for each types of dispensers.
The number in section can have multiple, and initial value and end value are different from, and table 1 has done simplification.
Embodiment 3
On the basis of embodiment 2, the initialization resource ID manager in step B refers to:Network element is read from database
Data initialize the resource ID manager of each network element, shown in Figure 3, are as follows:
All network elements in B1, ergodic data library, go to step B2;
Table in database there are network element is as follows:
There are the tables of network element in table 2, database
NE ID | NE type |
1 | 123 |
2 | 255 |
3 | 123 |
4 | 255 |
As shown in table 2, the NE type of each network element is obtained according to network element table.The NE type of different network elements can be
It is identical.
Whether B2, the type for judging current network, if it is, going to step B3, otherwise return defined in XML file
Step B1;
It is searched in XML file<row>Daughter element judges its first<col>Whether it is current network type.
B3, from XML file obtain current network the corresponding multiple resource ID managers of type specification, go to step
B4;
It is searched in XML file<row>Daughter element obtains all first<col>For current network type<row>.
B4, the minimum value and maximum value that resource ID is initialized according to resource ID manager specification, go to step B5;
According to<row>In third and the 4th<col>Data initialization resource ID maximum value and minimum value.
B5, the interval censored data that resource ID manager is read from database, go to step B6;
According to<row>In first and second<col>Data read all interval censored datas from database.
If the initial value of B6, section are less than the minimum value of resource ID or the end value in section is more than the maximum of resource ID
Value, goes to step B7, otherwise goes to step B8;
B7, the minimum value that the initial value for adjusting section is resource ID, or the end value in adjustment section is the maximum of resource ID
Value, goes to step B8;Third row and the 4th row i.e. in table 1 and XML file<row>In third and the 4th<col>'s
Data compare size.This step is the minimum and maximum limitation that interval value is more than XML file defines in order to prevent.
B8, this section is added in resource ID manager, returns to step B5.Section is added to resource ID management
In the span list of device.The span list of resource ID manager is as shown in Fig. 2, can include n section, wherein each section
Initial value and end value meet relationship:2≤end value of initial value 1≤end value, 1≤initial value 2≤...≤initial value n≤knot
Beam value n.
Embodiment 4
On the basis of embodiment 2, idle resource ID is obtained in step C refers to:It is opened from given resource ID initial value
Begin, finds the idle resource ID specified number from small to large, it is shown in Figure 4, it is as follows:
If C11, given resource ID initial value < resource ID minimum values, it is money that given resource ID initial value, which is arranged,
Source ID minimum values, go to step C12;
If C12, given resource ID initial value are more than > resource ID maximum values, report an error, go to step C13;
C11 and C12 ensures legal resource ID initial value.Such as the In Label that the NE type in XML file is 123
Resource ID, minimum value and maximum value are respectively 301 and 1048575;When obtaining idle In Label resource IDs, it is possible to specify
Resource ID initial value, finds backward since it, but its range is between 301 and 1048575.
Whether C13, the span list for traversing resource ID manager are empty, if it is sky, go to step C18;If not being
Sky goes to step C14;
If the initial value of C14, the given sections resource ID initial value <, go to step C15, otherwise go to step C17;
C15, the ID between given resource ID initial value and the initial value in section is added to idle resource ID list
In, go to step C16;
C16, judge that whether ID numbers if it is, terminate, otherwise turn more than specifying number in idle resource ID list
To step C17;
C17, the end value in section are bigger by 1 than given resource ID initial value, then it is area that given resource ID initial value, which is arranged,
Between end value add 1, return to step C13;
Span list is not empty situation in C13 to C17 process resource ID managers.As described above, it is assumed that network element class
The In Label resource IDs that type is 123, have section [301,310] and [321,330], given resource ID initial value is 302, is referred to
Fixed number mesh is 11;C13 takes section [301,310];So C14 judges that 302 are more than 301, turns C17;Resource ID initial value is set as
The end value in section [301,310] adds one, i.e., 311, turns C13;Current interval is [321,330] at this time, then C14 judges 311
Less than 321, turn C15;Then the ID between 311 and 321 is added in idle resource ID list, certain number will meet finger
Fixed number 11 only has 10 resource IDs between present 311 and 321, therefore one also poor, needs to make further meter into C18
It calculates.
C18, calculating specify number the difference with ID numbers in idle resource ID list, if difference is more than zero and is less than
It specifies number, goes to step C19, otherwise go to step C110;
C19, in the span list of resource ID manager the end value in the last one section and the maximum value of resource ID it
Between, the resource ID of difference number in C18 is taken, is added in idle resource ID list, then terminates;
C110, judge whether the span list of resource ID manager is empty, if the span list of resource ID manager is
Sky goes to step C112;It is not sky, then goes to step C111;
C111, in the span list of resource ID manager the end value in the last one section and the maximum value of resource ID it
Between, fetching fixed number purpose resource ID is added in idle resource ID list, then terminates;
C112, between resource ID minimum value and maximum value, fetching fixed number purpose resource ID is added to idle resource ID
In list, then terminate.
Step C18 handles following several situations, the first situation, area in resource ID manager in step C13 to step C17
Between list be not sky, but the number of idling-resource ID obtained specifies number not enough.As described above, NE type is
123 In Label resource IDs have section [301,310] and [321,330], and given resource ID initial value is 301, specify number
Mesh is 11;Step C13 to C17 has obtained 10 idling-resource ID, therefore the difference that C18 is calculated is 1, goes to step C19;
Current interval is [321,330], therefore takes 1 ID between 330 and 1048575, i.e., 331, idle resource ID list is added,
Terminate.
The second situation, the span list of resource ID manager is judged in step C13 for sky, i.e., above-mentioned section [301,
310] it is not present with [321,330], goes to step C18;The difference that step C18 is calculated is 11, equal to specifying number, goes to step
C110;The span list of resource ID manager is sky, goes to step C112,11 resource IDs are taken between 302 and 1048575.
The third situation judges that the span list of resource ID manager not for sky, there is section [301,310] in step C13
[321,330], given resource ID initial value is 301, and it is 10 to specify number, and C13 to C17 has obtained enough resources
ID, the difference that at this moment step C18 is calculated is 0, goes to step C110;The span list of resource ID manager is not empty, is gone to
Step C111;Since specified number is the difference 0 that step C18 is calculated at this time, without obtaining resource ID, terminate.
Embodiment 5
On the basis of embodiment 2, the distribution resource ID in step C refers to:The given resource ID of distribution, in resource ID pipe
The present positions ID are found in reason device, create or change the affiliated sections ID, it is shown in Figure 5, the specific steps are:
C21, the span list for traversing resource ID manager, if there are current intervals and next section, if the two
All exist, then go to step C22, otherwise goes to step C25;
If the initial value in the next sections resource ID < given the end value < of C22, current interval, goes to step
Otherwise C23 goes to step C24;
C23, section merging is carried out to current interval, next section and given resource ID, terminated;
C24, the next section of setting are current interval, return to step C21;
Step C21 to C24 is searched in span list, sees whether given resource ID is between former and later two sections.
For example, span list is [301,310], [321,330], if given resource ID is in 311, C22 311 in two sections
Between, step C23 is gone to, the step of into combine interval;If given resource ID is 331 to be more than area in 331, C22
Between [301,310] end value, go to step C24;It is [321,330] that current interval is arranged in C24, goes to step C21;C21
It is middle to judge no next section, then go to step C25.
If the span list of C25, resource ID manager is sky, step C26 is gone to, step C27 is otherwise gone to;
C26, section is created, initial value and end value are all given resource IDs, are added to the section of resource ID manager
In list, terminate;
Only there are one value, ID distribution later can increase the size in section in the section of initial creation.
If resource ID given the initial value > in first section of the span list of C27, resource ID manager, goes to
Otherwise step C28 goes to step C29;
C28, section is created, initial value and end value are all given resource IDs, are added to the section of resource ID manager
List foremost is terminated;
If resource ID given the end value < in the last one section of the span list of C29, resource ID manager turns
To step C210, otherwise terminate;
C210, section is created, initial value and end value are all given resource IDs, are added to the section of resource ID manager
List backmost, terminates.
The case where step C25 to C210 processing is the case where given resource ID is not between two sections.For example, if
Span list is sky, and given resource ID is 301, then step C25 goes to step C26, span list be revised as [301,
301];If span list is [321,330], and given resource ID is 301, then step C27 goes to step C28, section
List is revised as [301,301], [321,330];If span list is [321,330], and given resource ID is 331, that
Step C29 goes to step C210, and span list is revised as [321,330], [331,331].
Embodiment 6
On the basis of embodiment 5, the section in step C23, which merges, specifically includes following steps, shown in Figure 6:
If the initial value -1 in the next sections resource ID the < given end value+1=of C231, current interval, goes to
Otherwise step C232 goes to step C233;
C232, it sets the end value of current interval to given resource ID, terminates;
If the initial value -1 in resource ID=next section given+1 < of end value of C233, current interval, goes to
Otherwise step C234 goes to step C235;
C234, it sets the initial value in next section to given resource ID, terminates;
If the initial value -1 in resource ID=next section given end value+1=of C235, current interval, goes to
Otherwise step C236 goes to step C237;
C236, the end value for setting the end value of current interval in next section, from the section of resource ID manager
Next section is removed in list, is terminated;
If the initial value -1 in the next sections resource ID < given+1 < of end value of C237, current interval, goes to
Step C238, otherwise terminates;
C238, section is created, initial value and end value are all given resource IDs, are added to the section of resource ID manager
In list, between current interval and next section, terminate.
The combine interval of above-mentioned steps C23, consideration is the case where given resource ID is between two sections.For example,
Span list is [301,310], [321,330], if given resource ID is that 311, C231 turns C232, span list is repaiied
It is changed to [301,311], [321,330];If given resource ID is 320, step C233 goes to step C234, section row
Table is revised as [301,310], [320,330];If given resource ID is 312, step C237 goes to step C238, area
Between be revised as [301,310], [312,312], [321,330].
It is [301,310], [312,330] separately to have a kind of situation, span list, and given resource ID is 311, then step
C235 goes to step C236, and span list is revised as [301,330].
Embodiment 7
On the basis of embodiment 2, the release resource ID in step C refers to:The given resource ID of release, in resource ID pipe
The present positions ID are found in reason device, create or change the affiliated sections ID, it is shown in Figure 7, it is as follows:
C31, the span list for traversing resource ID manager, take current interval, go to step C32;
If the end value of the initial value of C32, current interval≤given resource ID≤current interval, goes to step C33,
Otherwise return to step C31;
Step C31 to C32 is that section where fixed resource ID is given in span list.For example, span list is
[301,310], [321,330], if given resource ID is 305, section where finding it is [301,310], goes to step
Rapid C33;If given resource ID is 331, such section is can not find, without discharging this resource ID.
If the end value of the initial value of C33, current interval=given resource ID < current intervals, goes to step C34,
Otherwise step C35 is gone to;
C34, the initial value of current interval is added to 1, terminated;
If the end value of resource ID=current interval given the initial value < of C35, current interval, goes to step C36,
Otherwise step C37 is gone to;
C36, the end value of current interval is subtracted 1, terminated;
If the end value of the initial value of C37, current interval=given resource ID=current interval, goes to step C38,
Otherwise step C39 is gone to;
C38, current interval is removed from the span list of resource ID manager, terminated;
If the end value of resource ID < current intervals given the initial value < of C39, current interval, goes to step
Otherwise C310 terminates;
C310, section is created, initial value is given resource ID+1, and end value is the end value of current interval, is added to
In the span list of resource ID manager after current interval, step C311 is gone to;
C311, it sets the end value of current interval to given resource ID -1, terminates.
Step C33 to step C311, be consider to find a case where section contains the resource ID to be discharged, such as on
It is 305 to state given resource ID, is located in section [301,310].If section is [301,310], [321,330], work as proparea
Between be [301,310], possible situation is several just like under:Given resource ID is 301, then step C33 goes to step C34, area
Between list be revised as [302,310], [321,330];Given resource ID is 310, then step C35 goes to step C36, section row
Table is revised as [301,309], [321,330];Given resource ID is any one in 302 to 309, such as 305, then step C39
Step C310 is gone to, step C311 is returned again to, section [301,310] resolve into two sections [301,304] from 305, [306,
310], then span list is revised as [301,304], [306,310], [321,330].
Another there is a special case, for example, span list is [301,301], [321,330], given resource ID is
301, then step C37 goes to step C38, span list is revised as [321,330].
Those skilled in the art can be carry out various modifications to the embodiment of the present invention and modification, if these modifications and change
For type within the scope of the claims in the present invention and its equivalent technologies, then these modifications and variations are also in protection scope of the present invention
Within.
The prior art that the content not being described in detail in specification is known to the skilled person.
Claims (12)
1. a kind of resource ID based on section manages system, it is characterised in that:The system includes specification unit, resource ID pipe
Device initialization unit, resource ID administrative unit are managed, wherein:
Specification unit is used for:Use the specification of expandable mark language XML document definition resource ID manager:XML file
A variety of NE types are defined, each NE type includes multiple resources type, each resource type both defines resource ID most
Small value and maximum value;
Database preserves the interval censored data of resource ID manager, and section indicates the range of used resource ID, and section is by originating
Value and end value composition;Resource ID manager includes each span list, will according to the ascending sequence of initial value and end value
Each section joins end to end;
Resource ID manager initialization unit is used for:According to the interval censored data in XML file and database, resource ID pipe is initialized
Manage device;
Resource ID administrative unit is used for:The resource ID of network element is managed using resource ID manager, including obtains the free time
Resource ID, distribution resource ID, release resource ID.
2. the resource ID based on section manages system as described in claim 1, it is characterised in that:The initialization resource ID pipe
Managing device refers to:Network element data is read from database, is initialized the resource ID manager of each network element, is as follows:
All network elements in B1, ergodic data library, go to step B2;
B2, the type of current network is judged whether defined in XML file, if it is, go to step B3, otherwise return to step
B1;
B3, from XML file obtain current network the corresponding multiple resource ID managers of type specification, go to step B4;
B4, the minimum value and maximum value that resource ID is initialized according to resource ID manager specification, go to step B5;
B5, the interval censored data that resource ID manager is read from database, go to step B6;
If the initial value of B6, section are less than the minimum value of resource ID or the end value in section is more than the maximum value of resource ID, turn
To step B7, step B8 is otherwise gone to;
B7, the minimum value that the initial value for adjusting section is resource ID, or the end value in adjustment section is the maximum value of resource ID, is turned
To step B8;
B8, this section is added in resource ID manager, returns to step B5.
3. the resource ID based on section manages system as described in claim 1, it is characterised in that:It is described to obtain idle resource
ID refers to:Since given resource ID initial value, the idle resource ID specified number, specific steps are found from small to large
It is as follows:
If C11, given resource ID initial value < resource ID minimum values, it is resource ID that given resource ID initial value, which is arranged,
Minimum value goes to step C12;
If C12, given resource ID initial value are more than > resource ID maximum values, report an error, go to step C13;
Whether C13, the span list for traversing resource ID manager are empty, if it is sky, go to step C18;If not being sky, turn
To step C14;
If the initial value of C14, the given sections resource ID initial value <, go to step C15, otherwise go to step C17;
C15, the ID between given resource ID initial value and the initial value in section is added in idle resource ID list, is turned
To step C16;
C16, judge that whether ID numbers if it is, terminate, otherwise go to step more than specifying number in idle resource ID list
Rapid C17;
C17, the end value in section are bigger by 1 than given resource ID initial value, then it is section that given resource ID initial value, which is arranged,
End value adds 1, return to step C13;
C18, calculating specify number the difference with ID numbers in idle resource ID list, if it is greater than zero and less than specified number
Mesh, goes to step C19, otherwise goes to step C110;
C19, it between the end value in the last one section and the maximum value of resource ID, is taken in the span list of resource ID manager
The resource ID of difference number in C18 is added in idle resource ID list, then terminates;
C110, judge whether the span list of resource ID manager is empty, if the span list of resource ID manager is sky, is turned
To step C112;It is not sky, then goes to step C111;
C111, in the span list of resource ID manager between the end value in the last one section and the maximum value of resource ID,
Fetching fixed number purpose resource ID is added in idle resource ID list, then terminates;
C112, between resource ID minimum value and maximum value, fetching fixed number purpose resource ID is added to idle resource ID list
In, then terminate.
4. the resource ID based on section manages system as described in claim 1, it is characterised in that:The distribution resource ID is
Refer to:The given resource ID of distribution, finds the present positions ID in resource ID manager, creates or changes the affiliated sections ID, specifically
Step is:
C21, the span list for traversing resource ID manager, if there are current intervals and next section, if both deposited
Step C22 is then being gone to, step C25 is otherwise gone to;
If the initial value in the next sections resource ID < given the end value < of C22, current interval, step C23 is gone to, it is no
Then go to step C24;
C23, section merging is carried out to current interval, next section and given resource ID, terminated;
C24, the next section of setting are current interval, return to step C21;
If the span list of C25, resource ID manager is sky, step C26 is gone to, step C27 is otherwise gone to;
C26, section is created, initial value and end value are all given resource IDs, are added to the span list of resource ID manager
In, terminate;
If resource ID given the initial value > in first section of the span list of C27, resource ID manager, goes to step
Otherwise C28 goes to step C29;
C28, section is created, initial value and end value are all given resource IDs, are added to the span list of resource ID manager
Foremost is terminated;
If resource ID given the end value < in the last one section of the span list of C29, resource ID manager, goes to step
Rapid C210, otherwise terminates;
C210, section is created, initial value and end value are all given resource IDs, are added to the span list of resource ID manager
Backmost, terminate.
5. the resource ID based on section manages system as claimed in claim 4, it is characterised in that:It closes in section in step C23
And specifically include following steps:
If the initial value -1 in the next sections resource ID the < given end value+1=of C231, current interval, goes to step
Otherwise C232 goes to step C233;
C232, it sets the end value of current interval to given resource ID, terminates;
If the initial value -1 in resource ID=next section given+1 < of end value of C233, current interval, goes to step
Otherwise C234 goes to step C235;
C234, it sets the initial value in next section to given resource ID, terminates;
If the initial value -1 in resource ID=next section given end value+1=of C235, current interval, goes to step
Otherwise C236 goes to step C237;
C236, the end value for setting the end value of current interval in next section, from the span list of resource ID manager
It is middle to remove next section, terminate;
If the initial value -1 in the next sections resource ID < given+1 < of end value of C237, current interval, goes to step
Otherwise C238 terminates;
C238, section is created, initial value and end value are all given resource IDs, are added to the span list of resource ID manager
In, between current interval and next section, terminate.
6. the resource ID based on section manages system as described in claim 1, it is characterised in that:The release resource ID is
Refer to:The given resource ID of release, finds the present positions ID in resource ID manager, creates or change the affiliated sections ID, tool
Steps are as follows for body:
C31, the span list for traversing resource ID manager, take current interval, go to step C32;
If the end value of the initial value of C32, current interval≤given resource ID≤current interval, goes to step C33, otherwise
Return to step C31;
If the end value of the initial value of C33, current interval=given resource ID < current intervals, goes to step C34, otherwise
Go to step C35;
C34, the initial value of current interval is added to 1, terminated;
If the end value of resource ID=current interval given the initial value < of C35, current interval, goes to step C36, otherwise
Go to step C37;
C36, the end value of current interval is subtracted 1, terminated;
If the end value of the initial value of C37, current interval=given resource ID=current interval, goes to step C38, otherwise
Go to step C39;
C38, current interval is removed from the span list of resource ID manager, terminated;
If the end value of resource ID < current intervals given the initial value < of C39, current interval, step C310 is gone to, it is no
Then terminate;
C310, section is created, initial value is given resource ID+1, and end value is the end value of current interval, is added to resource
In the span list of ID managers after current interval, step C311 is gone to;
C311, it sets the end value of current interval to given resource ID -1, terminates.
7. a kind of resource ID management method based on section, which is characterized in that include the following steps:
A, using the specification of expandable mark language XML document definition resource ID manager:XML file defines a variety of network element classes
Type, each NE type include multiple resources type, each resource type both defines the minimum value and maximum value of resource ID;
B, database preserves the interval censored data of resource ID manager, and section indicates the range of used resource ID, and section is by
Initial value and end value composition, resource ID manager includes each span list, according to the sequence that initial value and end value are ascending
Each section is joined end to end;According to the interval censored data in XML file and database, resource ID manager is initialized;
C, the resource ID of network element is managed using resource ID manager, including obtain idle resource ID, distribution resource ID,
Discharge resource ID.
8. the resource ID management method based on section as claimed in claim 7, it is characterised in that:Initialization money in step B
Source ID managers refer to:Network element data is read from database, initializes the resource ID manager of each network element, specific steps
It is as follows:
All network elements in B1, ergodic data library, go to step B2;
B2, the type of current network is judged whether defined in XML file, if it is, go to step B3, otherwise return to step
B1;
B3, from XML file obtain current network the corresponding multiple resource ID managers of type specification, go to step B4;
B4, the minimum value and maximum value that resource ID is initialized according to resource ID manager specification, go to step B5;
B5, the interval censored data that resource ID manager is read from database, go to step B6;
If the initial value of B6, section are less than the minimum value of resource ID or the end value in section is more than the maximum value of resource ID, turn
To step B7, step B8 is otherwise gone to;
B7, the minimum value that the initial value for adjusting section is resource ID, or the end value in adjustment section is the maximum value of resource ID, is turned
To step B8;
B8, this section is added in resource ID manager, returns to step B5.
9. the resource ID management method based on section as claimed in claim 7, it is characterised in that:The free time is obtained in step C
Resource ID refers to:Since given resource ID initial value, the idle resource ID specified number is found from small to large, it is specific
Steps are as follows:
If C11, given resource ID initial value < resource ID minimum values, it is resource ID that given resource ID initial value, which is arranged,
Minimum value goes to step C12;
If C12, given resource ID initial value are more than > resource ID maximum values, report an error, go to step C13;
Whether C13, the span list for traversing resource ID manager are empty, if it is sky, go to step C18;If not being sky, turn
To step C14;
If the initial value of C14, the given sections resource ID initial value <, go to step C15, otherwise go to step C17;
C15, the ID between given resource ID initial value and the initial value in section is added in idle resource ID list, is turned
To step C16;
C16, judge that whether ID numbers if it is, terminate, otherwise go to step more than specifying number in idle resource ID list
Rapid C17;
C17, the end value in section are bigger by 1 than given resource ID initial value, then it is section that given resource ID initial value, which is arranged,
End value adds 1, return to step C13;
C18, calculating specify number the difference with ID numbers in idle resource ID list, if it is greater than zero and less than specified number
Mesh, goes to step C19, otherwise goes to step C110;
C19, it between the end value in the last one section and the maximum value of resource ID, is taken in the span list of resource ID manager
The resource ID of difference number in C18 is added in idle resource ID list, then terminates;
C110, judge whether the span list of resource ID manager is empty, if the span list of resource ID manager is sky, is turned
To step C112;It is not sky, then goes to step C111;
C111, in the span list of resource ID manager between the end value in the last one section and the maximum value of resource ID,
Fetching fixed number purpose resource ID is added in idle resource ID list, then terminates;
C112, between resource ID minimum value and maximum value, fetching fixed number purpose resource ID is added to idle resource ID list
In, then terminate.
10. the resource ID management method based on section as claimed in claim 7, it is characterised in that:Distribution resource in step C
ID refers to:The given resource ID of distribution, finds the present positions ID in resource ID manager, creates or change the affiliated sections ID,
The specific steps are:
C21, the span list for traversing resource ID manager, if there are current intervals and next section, if both deposited
Step C22 is then being gone to, step C25 is otherwise gone to;
If the initial value in the next sections resource ID < given the end value < of C22, current interval, step C23 is gone to, it is no
Then go to step C24;
C23, section merging is carried out to current interval, next section and given resource ID, terminated;
C24, the next section of setting are current interval, return to step C21;
If the span list of C25, resource ID manager is sky, step C26 is gone to, step C27 is otherwise gone to;
C26, section is created, initial value and end value are all given resource IDs, are added to the span list of resource ID manager
In, terminate;
If resource ID given the initial value > in first section of the span list of C27, resource ID manager, goes to step
Otherwise C28 goes to step C29;
C28, section is created, initial value and end value are all given resource IDs, are added to the span list of resource ID manager
Foremost is terminated;
If resource ID given the end value < in the last one section of the span list of C29, resource ID manager, goes to step
Rapid C210, otherwise terminates;
C210, section is created, initial value and end value are all given resource IDs, are added to the span list of resource ID manager
Backmost, terminate.
11. the resource ID management method based on section as claimed in claim 10, it is characterised in that:Section in step C23
Merging specifically includes following steps:
If the initial value -1 in the next sections resource ID the < given end value+1=of C231, current interval, goes to step
Otherwise C232 goes to step C233;
C232, it sets the end value of current interval to given resource ID, terminates;
If the initial value -1 in resource ID=next section given+1 < of end value of C233, current interval, goes to step
Otherwise C234 goes to step C235;
C234, it sets the initial value in next section to given resource ID, terminates;
If the initial value -1 in resource ID=next section given end value+1=of C235, current interval, goes to step
Otherwise C236 goes to step C237;
C236, the end value for setting the end value of current interval in next section, from the span list of resource ID manager
It is middle to remove next section, terminate;
If the initial value -1 in the next sections resource ID < given+1 < of end value of C237, current interval, goes to step
Otherwise C238 terminates;
C238, section is created, initial value and end value are all given resource IDs, are added to the span list of resource ID manager
In, between current interval and next section, terminate.
12. the resource ID management method based on section as claimed in claim 7, it is characterised in that:Release resource in step C
ID refers to:The given resource ID of release, finds the present positions ID in resource ID manager, creates or change the affiliated sections ID,
It is as follows:
C31, the span list for traversing resource ID manager, take current interval, go to step C32;
If the end value of the initial value of C32, current interval≤given resource ID≤current interval, goes to step C33, otherwise
Return to step C31;
If the end value of the initial value of C33, current interval=given resource ID < current intervals, goes to step C34, otherwise
Go to step C35;
C34, the initial value of current interval is added to 1, terminated;
If the end value of resource ID=current interval given the initial value < of C35, current interval, goes to step C36, otherwise
Go to step C37;
C36, the end value of current interval is subtracted 1, terminated;
If the end value of the initial value of C37, current interval=given resource ID=current interval, goes to step C38, otherwise
Go to step C39;
C38, current interval is removed from the span list of resource ID manager, terminated;
If the end value of resource ID < current intervals given the initial value < of C39, current interval, step C310 is gone to, it is no
Then terminate;
C310, section is created, initial value is given resource ID+1, and end value is the end value of current interval, is added to resource
In the span list of ID managers after current interval, step C311 is gone to;
C311, it sets the end value of current interval to given resource ID -1, terminates.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810215053.3A CN108509535B (en) | 2018-03-15 | 2018-03-15 | Resource ID management system and method based on interval |
PCT/CN2018/103165 WO2019174196A1 (en) | 2018-03-15 | 2018-08-30 | Interval-based resource id management system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810215053.3A CN108509535B (en) | 2018-03-15 | 2018-03-15 | Resource ID management system and method based on interval |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108509535A true CN108509535A (en) | 2018-09-07 |
CN108509535B CN108509535B (en) | 2020-12-01 |
Family
ID=63377643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810215053.3A Active CN108509535B (en) | 2018-03-15 | 2018-03-15 | Resource ID management system and method based on interval |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108509535B (en) |
WO (1) | WO2019174196A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112291340A (en) * | 2020-10-28 | 2021-01-29 | 武汉绿色网络信息服务有限责任公司 | Service distribution method, controller and virtual network element |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102694878A (en) * | 2012-05-16 | 2012-09-26 | 烽火通信科技股份有限公司 | Sectional ID (Identity) distributing method |
CN103139255A (en) * | 2011-11-30 | 2013-06-05 | 腾讯科技(深圳)有限公司 | Method for allocating resource identification and identification section |
CN103873389A (en) * | 2012-12-12 | 2014-06-18 | 北京百度网讯科技有限公司 | Identity resource allocation method and system thereof |
CN105610593A (en) * | 2014-11-05 | 2016-05-25 | 中兴通讯股份有限公司 | Method and device for resource identifier allocation in network management system |
US20160162520A1 (en) * | 2013-08-16 | 2016-06-09 | Huawei Technologies Co., Ltd. | Data Storage Method and Apparatus for Distributed Database |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101640613B (en) * | 2009-09-11 | 2012-01-25 | 中兴通讯股份有限公司 | Method and device for network resource relating management |
CN102547818B (en) * | 2012-01-04 | 2016-06-15 | 大唐移动通信设备有限公司 | Resource identifier allocating method and equipment |
-
2018
- 2018-03-15 CN CN201810215053.3A patent/CN108509535B/en active Active
- 2018-08-30 WO PCT/CN2018/103165 patent/WO2019174196A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103139255A (en) * | 2011-11-30 | 2013-06-05 | 腾讯科技(深圳)有限公司 | Method for allocating resource identification and identification section |
CN102694878A (en) * | 2012-05-16 | 2012-09-26 | 烽火通信科技股份有限公司 | Sectional ID (Identity) distributing method |
CN103873389A (en) * | 2012-12-12 | 2014-06-18 | 北京百度网讯科技有限公司 | Identity resource allocation method and system thereof |
US20160162520A1 (en) * | 2013-08-16 | 2016-06-09 | Huawei Technologies Co., Ltd. | Data Storage Method and Apparatus for Distributed Database |
CN105610593A (en) * | 2014-11-05 | 2016-05-25 | 中兴通讯股份有限公司 | Method and device for resource identifier allocation in network management system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112291340A (en) * | 2020-10-28 | 2021-01-29 | 武汉绿色网络信息服务有限责任公司 | Service distribution method, controller and virtual network element |
CN112291340B (en) * | 2020-10-28 | 2022-06-03 | 武汉绿色网络信息服务有限责任公司 | Service distribution method, controller and virtual network element |
Also Published As
Publication number | Publication date |
---|---|
WO2019174196A1 (en) | 2019-09-19 |
CN108509535B (en) | 2020-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107045455B (en) | A kind of Docker Swarm cluster resource method for optimizing scheduling based on load estimation | |
CN105516367B (en) | Distributed data-storage system, method and apparatus | |
CN108667867A (en) | Date storage method and device | |
CN111682962B (en) | Power data network fault recovery method, system and storage medium | |
CN109299157A (en) | A kind of data export method and device of distributed big single table | |
CN108089923A (en) | User's access area division methods and device based on weighted Voronoi diagrams figure | |
CN112764920A (en) | Edge application deployment method, device, equipment and storage medium | |
CN108270581A (en) | Shared resource charge processing method and device | |
CN109120431B (en) | Method and device for selecting propagation source in complex network and terminal equipment | |
CN108574645A (en) | A kind of array dispatching method and device | |
CN111708629B (en) | Resource allocation method and device, electronic equipment and storage medium | |
CN107070645A (en) | Compare the method and system of the data of tables of data | |
CN108509535A (en) | Resource ID based on section manages system and method | |
CN110210895A (en) | A kind of usufruct dividend distribution system and distribution method based under completely new business model | |
CN109492031A (en) | Display methods, server and the computer storage medium of list data | |
CN109062683A (en) | The method, apparatus and computer readable storage medium of host resource distribution | |
CN112214321A (en) | Node selection method and device for newly-added micro service and micro service management platform | |
CN115525230A (en) | Storage resource allocation method and device, storage medium and electronic equipment | |
CN113656046A (en) | Application deployment method and device | |
CN114416298A (en) | Node matching method and device of server, computer equipment and storage medium | |
CN107392467A (en) | A kind of software work amount evaluation method and device based on unified demand | |
CN112734466A (en) | Method and device for processing associated information and storage medium | |
CN110597572B (en) | Service call relation analysis method and computer system | |
CN103516624B (en) | Network resource allocation method and device | |
CN115269126B (en) | Cloud platform inverse affinity scheduling system based on cosine similarity |
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 |