CN100407655C - Method of dynamic allocation of network communication apparatus system resource - Google Patents

Method of dynamic allocation of network communication apparatus system resource Download PDF

Info

Publication number
CN100407655C
CN100407655C CN2005101232346A CN200510123234A CN100407655C CN 100407655 C CN100407655 C CN 100407655C CN 2005101232346 A CN2005101232346 A CN 2005101232346A CN 200510123234 A CN200510123234 A CN 200510123234A CN 100407655 C CN100407655 C CN 100407655C
Authority
CN
China
Prior art keywords
system resource
business
network communication
communication apparatus
dynamic assignment
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.)
Expired - Fee Related
Application number
CN2005101232346A
Other languages
Chinese (zh)
Other versions
CN1863082A (en
Inventor
王黎阳
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2005101232346A priority Critical patent/CN100407655C/en
Publication of CN1863082A publication Critical patent/CN1863082A/en
Application granted granted Critical
Publication of CN100407655C publication Critical patent/CN100407655C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses a method of dynamic allocation of system resources of a network communication device. The present invention comprises the steps that according to at least one business mode of various business modes, the requirement proportionality of at least one business category for the system resources is determined; the information of a resource management module is rewritten; the system resources are allocated according to the requirement proportionality of the determined business category for the system resources. Based on the different requirements of different business for the system resources, the present invention uses the operation that the resource management module is repeatedly rewritten to realize the dynamic allocation of the system resources. The requirements of practical business can be met, and the operating flexibility of network communication devices is improved.

Description

A kind of method of dynamic assignment network communication apparatus system resource
Technical field
The present invention relates to a kind of control method of network communication apparatus, relate in particular to a kind of method of the system resource of network communication apparatus being carried out dynamic assignment.
Background technology
Along with development of internet technology, various new business emerge in an endless stream, the transmission bandwidth of data has also obtained very big improvement, and the main bottleneck that influences the core network performance no longer has been a transmission bandwidth, and transfers in the support of network communication apparatus system resource to the performed task of network communication apparatus.
For different users, its business demand is different, even same user, the business demand in different times also is different.These business demands are combined into the miscellaneous service pattern, these business models need the system resource of network communication apparatus to support, promptly according to concrete business model, network communication apparatus satisfies the needs of concrete business model according to pre-set resource allocation methods distributing system resource.The system resource of network communication apparatus comprises a lot, for example internal memory, message queue or thread etc., these system resources show as the support method of miscellaneous service pattern, by the resource management module in the network communication apparatus is operated the distribution that realizes various system resources, satisfy the demand of conventional business model.
Memory source with network communication apparatus is an example to IP forwarding-table item in the network and MPLS forwarding-table item, and current network equipment generally only provides the fixed mode that the IP forwarding-table item is many, the MPLS forwarding-table item is few.At specific demand, customize special version and satisfied, it is suitable with the MPLS forwarding-table item for example to customize the IP forwarding-table item, or the version that the IP forwarding-table item is few, the MPLS forwarding-table item is many satisfies the user of specific demand.
This fixed allocation to system resource has limited the flexibility of business model, and for satisfying user's different demands, systems provider need provide the equipment of different size respectively.And when user's request was changed, systems provider can only be achieved by changing version, and ineffective activity is apparent.
Summary of the invention
Technical problem to be solved by this invention just is to provide a kind of network communication apparatus system resource is carried out the method for dynamic assignment, to adapt to the needs of various different business patterns.
Technical scheme of the present invention is:
Step 1 is selected a kind of business model from the multiple business pattern, comprise the demand percentage of at least a class of business to system resource in the described business model;
Step 2 is distributed according to class of business in the above-mentioned business model system resource according to described selecteed business model to the demand percentage of system resource.
In the method for the invention, the resource management module information stores is in storage medium, and it specifically comprises the system resource allocation percent information, and network communication apparatus is pressed the message distribution system resource of resource management module.
System resource to network communication apparatus among the present invention is carried out dynamic assignment, and described system resource comprises internal memory, message queue or thread etc.
Class of business described in the present invention can along with the development of network communication apparatus, can also increase by two layers and transmit professional for IP operation and MPLS business.
The present invention is based in the different business pattern different business kind to the different demands of system resource, change in the past the system resource of network communication apparatus is taked the unmodifiable method of salary distribution of fixing, and adopt to the system resource management module repeatedly carry out rewriting operation, realization is to the dynamic assignment of system resource, can satisfy the demand of practical business, improve the flexibility that network communication apparatus uses.
Description of drawings
Fig. 1 is to internal memory dynamic allocation of resources method flow diagram among the present invention;
Fig. 2 is for carrying out the user mode schematic diagram of memory source after the dynamic assignment among the present invention to memory source;
Fig. 3 is for carrying out the another kind of user mode schematic diagram of memory source after the dynamic assignment among the present invention to memory source;
Fig. 4 is for carrying out the another kind of user mode schematic diagram of memory source after the dynamic assignment among the present invention to memory source;
Fig. 5 is for carrying out the method flow diagram of dynamic assignment simultaneously by different proportion to memory source among the present invention;
Fig. 6 is the method flow diagram of dynamic allocation system resource during system start-up among the present invention;
Fig. 7 is the method flow diagram of dynamic allocation system resource in system's running among the present invention;
Fig. 8 is for carrying out the another kind of user mode schematic diagram of memory source after the dynamic assignment among the present invention to memory source;
Fig. 9 is for carrying out the another kind of user mode schematic diagram of memory source after the dynamic assignment among the present invention to memory source.
Embodiment
The present invention will be further described below in conjunction with Figure of description.
Method to the system resource dynamic assignment of the present invention is applicable to as various system resources such as internal memory, message queue, threads, in network communication apparatus, these different system resources for concrete class of business, are distributed the resource of respective numbers jointly for miscellaneous service provides support.
A kind of definite business model has all comprised at least a class of business, all can provide IP forwarding-table item and MPLS forwarding-table item as current general networking equipment, is example based on above-mentioned business model, and the situation of dynamic assigning memory resource is described.Shown in Figure of description 1, step comprises as follows:
Step 101 is determined the shared ratio of different business kind in the business model, and for example IP operation accounts for 60%, the MPLS business accounts for 40%;
Step 102 according to above-mentioned each business shared ratio in this business model, can be determined the demand percentage of each business to memory source, and promptly IP operation needs 60% of memory source, professional 40% of the memory source that needs of MPLS;
Step 103, according to the demand percentage of above-mentioned definite each business to memory source, the system resource management module is carried out rewriting operation, promptly memory source assignment item is wherein rewritten, 60% of memory source is distributed to IP operation, 40% of memory source is distributed to the MPLS business;
Step 104 is kept at the information of amended system resource management module in the storage medium;
Step 105, memory source distributes end, and network communication apparatus is distributed to memory source the corresponding business kind according to the above ratio.
In the said method, can also change the distribution condition of memory source at any time according to the variation of IP operation and MPLS business.
For the shared ratio of various class of business in the business model, can adopt the method for data statistics, promptly the various class of business that network communication apparatus is finished is in the recent period added up and is determined concrete class of business shared ratio in whole classs of business, or determines ratio by its tendency of artificial prediction.
The present invention also can distribute system resource in advance in several ratios, and allocation result is kept in the storage medium, is selected according to concrete service conditions in use by the user.This kind situation is applicable to and can't carries out data statistics or prediction to recent miscellaneous service kind, or through the identical situation of allocation proportion of system resource under different business kind proportion in the resulting business model of data statistics or prediction back and the reference model that the network equipment provides.Still be example, shown in Figure of description 2,3,4 with the memory source.
In Figure of description 2, be pattern one, the situation that promptly the IP forwarding-table item is many, the MPLS forwarding-table item is few.This moment IP operation account for 70%, the MPLS business accounts for 30%, then the distribution state of memory source represents that as figure MAX_IP_A the employed memory source of IP forwarding-table item accounts for the ratio of full memory resource, and MIN_MPLS_A represents that the employed memory source of MPLS forwarding-table item accounts for the ratio of full memory resource.
In Figure of description 3, be pattern two, i.e. IP forwarding-table item situation about equating with the MPLS forwarding-table item.This moment IP operation account for 50%, the MPLS business accounts for 50%, then the distribution state of memory source represents that as figure MAX_IP_B the employed memory source of IP forwarding-table item accounts for the ratio of full memory resource, and MAX_MPLS_B represents that the employed memory source of MPLS forwarding-table item accounts for the ratio of full memory resource.
In Figure of description 4, be pattern three, the situation that promptly the IP forwarding-table item is few, the MPLS forwarding-table item is many.This moment IP operation account for 30%, the MPLS business accounts for 70%, then the distribution state of memory source represents that as figure MIN_IP_C the employed memory source of IP forwarding-table item accounts for the ratio of full memory resource, and MAX_MPLS_C represents that the employed memory source of MPLS forwarding-table item accounts for the ratio of full memory resource.
Shown in Figure of description 5, among the present invention to memory source in above-mentioned three kinds of implementation methods that ratio is distributed, step is as follows:
Step 201, the quantity of definite business model that can provide for example can provide three kinds of business models;
Step 202, respectively in input pattern one, pattern two, the pattern three to the allocation proportion of memory source;
Step 203 is kept at above-mentioned three kinds of information to internal memory resource allocation ratio in the system resource management module;
Step 204, memory source distributes end, and system provides three kinds of memory source allocation models.
Can provide the combination of more than one any several business models, user can therefrom select the business model that is fit to according to said method.
Shown in Figure of description 6, for the user uses the method for dynamic allocation system resource of the present invention, its step is as follows:
Step 301, system start-up;
Step 302 judges whether new system resource distribution information input, as does not have new assignment information input, and then execution in step 307; If any new assignment information input, then execution in step 303;
Step 303 judges whether the system resource distribution information of input belongs to the resource allocation mode of selecting default for use, and in this way, then execution in step 304; Otherwise, execution in step 305;
Step 304, the business model distributing system resource of pressing default finishes;
Step 305 judges whether the resource allocation ratio of current input belongs to the resource allocation mode of default, and in this way, then execution in step 304; Otherwise, execution in step 306;
Step 306, system finish by the resource allocation pro rate system resource of current input;
Step 307, the resource allocation mode distributing system resource of pressing system default, the mode assignments system resource of setting during promptly by last time system start-up as start-up system first, is then pressed the Default Value distributing system resource, finishes.
In the method for above-mentioned use dynamic allocation system resource, the user can be after system start-up, the resource allocation mode of using when selection is to use system to move last time, or select to come distributing system resource according to the ratio of current class of business, or the business model of selecting using system to set is come distributing system resource, when No Assets assignment information after the system start-up was imported, the allocation model of using when then system moved by last time was carried out resource allocation; When the resource allocation ratio of importing is identical with the setting pattern, then system does not reallocate to system resource by the allocation proportion of current input again, but call identical setting pattern, by the pattern of setting resource is distributed, so just avoid each input assignment information all will carry out the situation that resource is redistributed, improved the speed of system.
The user also can change business model in system's running, system resource is redistributed, and shown in Figure of description 7, its distribution method comprises the steps:
Step 401, the user input systems resource allocation information;
Step 402 judges whether the system resource distribution information of above-mentioned input is identical with current system resource distribution information, if identical, then carries out 404; Otherwise, execution in step 403;
Step 403 is preserved the system resource distribution information of user's input, sends interrupt notification, and system resource is redistributed;
Step 404, system is operation as usual.
For the situation that has increased class of business in the system, after supporting that IP forwarding, MPLS transmit, increased the function of two layers of forwarding again newly as certain network equipment.In the business of two layers of forwarding not for a long time, the user can select the less allocation model of two-layer retransmitting table item, transmits and/or MPLS transmits and accounts for 60%, two layer of forwarding and account for 40% as IP, and corresponding memory source distributes shown in Figure of description 8.
When later stage two layers of forwarding business increase, the user's request change, the user can select the two-layer retransmitting table item allocation model suitable with other forwarding-table items, accounts for 50% as IP forwarding and/or MPLS forwarding, two layers of forwarding account for 50%, and corresponding memory source distributes shown in Figure of description 9.

Claims (8)

1. the method for a dynamic assignment network communication apparatus system resource is characterized in that, comprises the steps:
Step 1 is selected a kind of business model from the multiple business pattern, comprise the demand percentage of at least a class of business to system resource in the described business model;
Step 2 is distributed according to class of business in the above-mentioned business model system resource according to described selecteed business model to the demand percentage of system resource.
2. the method for dynamic assignment network communication apparatus system resource as claimed in claim 1 is characterized in that: described class of business comprises IP operation, the MPLS business.
3. the method for dynamic assignment network communication apparatus system resource as claimed in claim 2 is characterized in that: described class of business comprises that further two layers are transmitted professional.
4. the method for dynamic assignment network communication apparatus system resource as claimed in claim 1 is characterized in that: network communication apparatus is pressed the system resource allocation percent information distributing system resource of resource management module.
5. the method for dynamic assignment network communication apparatus system resource as claimed in claim 4 is characterized in that: the system resource allocation percent information of described resource management module is stored in the storage medium.
6. the method for dynamic assignment network communication apparatus system resource as claimed in claim 1, it is characterized in that: when system moves, user input systems resource allocation percent information, if the system resource allocation percent information of input and current system resource allocation percent information are inequality, then system preserves the system resource allocation percent information of above-mentioned input, send interrupt notification, by the system resource allocation percent information distributing system resource of above-mentioned input; If the system resource allocation percent information of input is identical with current system resource allocation percent information, then system does not carry out the reallocation of system resource.
7. the method for dynamic assignment network communication apparatus system resource as claimed in claim 1 is characterized in that: the quantity according to business model is determined the multiple business pattern.
8. the method for dynamic assignment network communication apparatus system resource as claimed in claim 1 is characterized in that: described system resource comprises internal memory, message queue or thread.
CN2005101232346A 2005-11-15 2005-11-15 Method of dynamic allocation of network communication apparatus system resource Expired - Fee Related CN100407655C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2005101232346A CN100407655C (en) 2005-11-15 2005-11-15 Method of dynamic allocation of network communication apparatus system resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2005101232346A CN100407655C (en) 2005-11-15 2005-11-15 Method of dynamic allocation of network communication apparatus system resource

Publications (2)

Publication Number Publication Date
CN1863082A CN1863082A (en) 2006-11-15
CN100407655C true CN100407655C (en) 2008-07-30

Family

ID=37390415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2005101232346A Expired - Fee Related CN100407655C (en) 2005-11-15 2005-11-15 Method of dynamic allocation of network communication apparatus system resource

Country Status (1)

Country Link
CN (1) CN100407655C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215493A (en) * 2011-06-01 2011-10-12 中兴通讯股份有限公司 Method and device for dynamically controlling base station resources in mobile communication system and base station
CN109522113B (en) * 2018-09-28 2020-12-18 迈普通信技术股份有限公司 Memory management method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1490993A (en) * 2003-09-15 2004-04-21 北京港湾网络有限公司 Multiservice system realizing method for broadband network cut-in apparatus user
CN1643860A (en) * 2002-03-28 2005-07-20 马科尼英国知识产权有限公司 Method and arrangement for dinamic allocation of network resources

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1643860A (en) * 2002-03-28 2005-07-20 马科尼英国知识产权有限公司 Method and arrangement for dinamic allocation of network resources
CN1490993A (en) * 2003-09-15 2004-04-21 北京港湾网络有限公司 Multiservice system realizing method for broadband network cut-in apparatus user

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
一种基于流量预测的资源动态管理算法. 王悦伟,曹阳,杨冕,黄少昱.计算机应用,第25卷第1期. 2005
一种基于流量预测的资源动态管理算法. 王悦伟,曹阳,杨冕,黄少昱.计算机应用,第25卷第1期. 2005 *
基于QoS需求类型的资源动态分配算法. 王兰生,蒋雄飞,居悌.计算机应用研究,第10期. 2000
基于QoS需求类型的资源动态分配算法. 王兰生,蒋雄飞,居悌.计算机应用研究,第10期. 2000 *

Also Published As

Publication number Publication date
CN1863082A (en) 2006-11-15

Similar Documents

Publication Publication Date Title
CN106656867B (en) A kind of dynamic SDN configuration method of the application perception based on virtual network
CN101645022B (en) Work scheduling management system and method for a plurality of colonies
CN104243405B (en) A kind of request processing method, apparatus and system
CN107580023A (en) A kind of the stream process job scheduling method and system of dynamic adjustment task distribution
CN102567106B (en) Task scheduling method, system and device
WO2004053655B1 (en) Resource management on a personal area network
CN102611735A (en) Load balancing method and system of application services
CN105959395A (en) Cluster self-feedback type load balancing scheduling system and method
CN102655503A (en) Resource allocation using shared resource pools
CN104735095A (en) Method and device for job scheduling of cloud computing platform
CN110336885A (en) Fringe node distribution method, device, dispatch server and storage medium
CN101582917A (en) Method for dispatching MCU resource, business server and system
CN113139726A (en) Multi-tenant order dispatching method and network car booking system
CN101753359B (en) Method and system for dynamically distributing components
CN106571863B (en) Hybrid switching type satellite multi-service radio resource management method based on quick indexing
CN110310198A (en) Management method, device, equipment and the readable storage medium storing program for executing of enterprise's amount information
CN108055701A (en) A kind of resource regulating method and base station
CN108282526A (en) Server dynamic allocation method and system between double clusters
CN116089009A (en) GPU resource management method, system, equipment and storage medium
CN114175602A (en) Authority management of cloud resources
CN100407655C (en) Method of dynamic allocation of network communication apparatus system resource
CN106686112A (en) Cloud file transmission system and method
CN109801425A (en) Queue poll reminding method, device, equipment and storage medium in the label business of face
CN105721545A (en) Multi-level cluster management realization method
CN103281254B (en) The method of bandwidth dynamic allocation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20170919

Address after: 063000, No. 3, No. 401, 110 floor, Anping street, Anping street, Tangshan City Port District, Hebei, China

Patentee after: Li Yuman

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: Huawei Technologies Co., Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080730

Termination date: 20171115

CF01 Termination of patent right due to non-payment of annual fee