CN106027420A - Resource model establishment method and device - Google Patents

Resource model establishment method and device Download PDF

Info

Publication number
CN106027420A
CN106027420A CN201610271025.4A CN201610271025A CN106027420A CN 106027420 A CN106027420 A CN 106027420A CN 201610271025 A CN201610271025 A CN 201610271025A CN 106027420 A CN106027420 A CN 106027420A
Authority
CN
China
Prior art keywords
resource
role
according
described
weight
Prior art date
Application number
CN201610271025.4A
Other languages
Chinese (zh)
Inventor
杨继伟
王孝庆
鲍大磊
Original Assignee
乐视控股(北京)有限公司
乐视云计算有限公司
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 乐视控股(北京)有限公司, 乐视云计算有限公司 filed Critical 乐视控股(北京)有限公司
Priority to CN201610271025.4A priority Critical patent/CN106027420A/en
Publication of CN106027420A publication Critical patent/CN106027420A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance or administration or management of packet switching networks
    • H04L41/08Configuration management of network or network elements
    • H04L41/0803Configuration setting of network or network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance or administration or management of packet switching networks
    • H04L41/08Configuration management of network or network elements
    • H04L41/085Keeping track of network configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance or administration or management of packet switching networks
    • H04L41/50Network service management, i.e. ensuring proper service fulfillment according to an agreement or contract between two parties, e.g. between an IT-provider and a customer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic regulation in packet switching networks
    • H04L47/70Admission control or resource allocation
    • H04L47/78Resource allocation architecture

Abstract

The embodiment of the invention provides a resource model establishment method and a resource model establishment device. The method comprises the steps of dividing multiple resources, and generating at least one resource pool; establishing a resource role for each resource pool, wherein each resource pool comprises at least one resource; setting weights of each resource role and each resource corresponding to the resource roles; and establishing a resource model according to the weights of each resource role and each resource corresponding to the resource roles. The problem that a lot of resource devices are distributed unreasonably can be avoided by carrying out effective management on the resources through the resource model.

Description

A kind of resource model creation method and device

Technical field

It relates to communication technical field, particularly relate to a kind of resource model creation method and a kind of money Source model creates device.

Background technology

In recent years, along with the continuous expansion of Internet scale, system needs video data to be processed also The most quickly increase.The raising of portfolio causes some cores of current existing network, visit capacity and Data traffic quickly increases, and its disposal ability and calculating intensity the most correspondingly increase.Owing to video data is transported Row, in the most exclusive resource apparatus, causes part resource equipment to have task queuing up always, and wait is held OK;And another part resource apparatus is chronically at idle condition.The extensive IT basis that some are concentrated Facility occurs in that ample resources equipment unreasonable distribution, the situation that resource utilization is relatively low.

Summary of the invention

Disclosure embodiment technical problem to be solved is to provide a kind of resource model creation method, solves The problem of ample resources unreasonable distribution.

Accordingly, disclosure embodiment additionally provides a kind of resource model and creates device, above-mentioned in order to ensure The realization of method and application.

In order to solve the problems referred to above, present disclosure discloses a kind of resource model creation method, described method bag Include: multiple resources are divided, generate at least one resource pool;It is respectively created money for each resource pool Source case;Wherein, described resource pool includes at least one resource;It is respectively provided with each Resource Role and resource The weight of the corresponding each resource of role;Weight according to described each Resource Role each resource corresponding with Resource Role Set up resource model.

Alternatively, according to preset type, multiple resource apparatus are divided, generate and described preset type At least one corresponding resource pool;Wherein, described preset type includes resource services type, and resource uses Authority or resource regional information.

Alternatively, according to the type information of each Resource Role, it is respectively provided with the initial weight of each Resource Role; According to the performance information of each Resource Role correspondence resource, it is respectively provided with the initial weight of each resource.

Alternatively, the scheduling relation of each Resource Role and other Resource Roles is pre-set;Believe according to weight The scheduling relation of breath and each Resource Role and other Resource Roles sets up resource model, wherein, and described power Weight information includes the weight of each Resource Role each resource corresponding with Resource Role.

Alternatively, according to resources use right limit, multiple resource apparatus are divided, generate at least one public With resource pool and at least one private resource pond.

Alternatively, according to resource services type, multiple resource apparatus are divided, generate at least one Pass resource pool and at least one transcoding resource pool.

Alternatively, according to resource regional information, multiple resource apparatus are divided, generate each region extremely A few resource pool.

Alternatively, in preset time, gather the feedback information of resource distribution at least twice, wherein, described Feedback information includes role's feedback information and resource feedback information;According to described each role's feedback information correction The weight of corresponding each Resource Role in resource model;According to described each resource feedback information correction resource model The weight of each resource of middle correspondence.

According to a further aspect in the invention, it is provided that a kind of resource management apparatus, described device includes: money Source divides module, for dividing multiple resources, generates at least one resource pool;Role creates mould Block, for being respectively created Resource Role for each resource pool;Wherein, described resource pool includes at least one Resource;Weight setting module, for being respectively provided with the power of each Resource Role each resource corresponding with Resource Role Weight;Model building module, for the weight according to described each Resource Role each resource corresponding with Resource Role Set up resource model.

Alternatively, described resource divides module, for carrying out drawing to multiple resource apparatus according to preset type Point, generate at least one resource pool corresponding with described preset type;Wherein, described preset type includes Resource services type, resources use right limit or resource regional information.

Alternatively, role arranges submodule, for the type information according to each Resource Role, is respectively provided with The initial weight of each Resource Role;Resource arranges submodule, for according to each Resource Role correspondence resource Performance information, is respectively provided with the initial weight of each resource.

Alternatively, described model building module, it is used for pre-setting each Resource Role and other Resource Roles Scheduling relation;Set up according to the scheduling relation of weight information and each Resource Role and other Resource Roles Resource model, wherein, described weight information includes the power of each Resource Role each resource corresponding with Resource Role Weight.

Alternatively, delineation of power submodule, for carrying out multiple resource apparatus according to resources use right limit Divide, generate at least one public resource pond and at least one private resource pond.

Alternatively, delineation of activities submodule, for carrying out multiple resource apparatus according to resource services type Divide, generate at least one and upload resource pool and at least one transcoding resource pool.

Alternatively, region zones submodule, for carrying out multiple resource apparatus according to resource regional information Divide, generate at least one resource pool of each region.

Alternatively, Modifying model module, for gathering the anti-of resource distribution at least twice in preset time Feedforward information, wherein, described feedback information includes role's feedback information and resource feedback information;According to described The weight of corresponding each Resource Role in each role's feedback information correction resource model;Anti-according to described each resource The weight of corresponding each resource in feedforward information correction resource model

Compared with prior art, disclosure embodiment includes advantages below: divide multiple resources, Generate at least one resource pool;It is respectively created Resource Role for each resource pool;Wherein, described resource pool Including at least one resource;It is respectively provided with the weight of each Resource Role each resource corresponding with Resource Role;Depend on Resource model is set up according to the weight of described each Resource Role each resource corresponding with Resource Role.By resource mould Resource is effectively managed by type, it is to avoid ample resources equipment unreasonable distribution occur.

Accompanying drawing explanation

In order to be illustrated more clearly that disclosure embodiment or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing in the description of face is some embodiments of the disclosure, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.

Fig. 1 is the flow chart of steps of a kind of resource model creation method embodiment of the disclosure;

Fig. 2 is the flow chart of steps of the another kind of resource model creation method embodiment of the disclosure;

Fig. 3 is the resource model structure chart in disclosure embodiment two;

Fig. 4 is the structured flowchart of a kind of resource model establishment device embodiment of the disclosure;

Fig. 5 is the structured flowchart of the another kind of resource model establishment device embodiment of the disclosure.

Detailed description of the invention

For making the purpose of disclosure embodiment, technical scheme and advantage clearer, below in conjunction with these public affairs Open the accompanying drawing in embodiment, the technical scheme in disclosure embodiment be clearly and completely described, Obviously, described embodiment is a part of embodiment of the disclosure rather than whole embodiments.Based on Embodiment in the disclosure, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of disclosure protection.

One of core idea of disclosure embodiment is, divides multiple resources, generates at least one Individual resource pool;It is respectively created Resource Role for each resource pool;Wherein, described resource pool includes at least one Individual resource;It is respectively provided with the weight of each Resource Role each resource corresponding with Resource Role;According to described each money The weight of source case each resource corresponding with Resource Role sets up resource model.By resource model, resource is entered Row effectively management, it is to avoid ample resources equipment unreasonable distribution occurs.

Embodiment one

Disclosure embodiment resource model creation method is discussed in detail.

With reference to Fig. 1, it is shown that the flow chart of steps of a kind of resource model creation method embodiment of the disclosure, Specifically may include steps of:

Step S102, multiple resource apparatus are divided, generate at least one resource pool.

Disclosure embodiment can apply to the resource that multiple business such as video uploads with transcoding business and divides In joining.Due to the resource apparatus substantial amounts on resource platform, for the ease of rationally dividing resource apparatus Join, multiple resource apparatus can be managed by resource platform by disclosure embodiment, can be by many Individual resource apparatus divides according to different classified types.Such as set due to the resource of process different business Standby structure may be variant, according to different resource type of service, multiple resource apparatus can be divided into difference The resource pool of resource services type.After multiple resources are divided, generate corresponding with described classified types At least one resource pool.

Step S104, it is respectively created Resource Role for each resource pool;Wherein, described resource pool includes At least one resource.

For the ease of the management to each resource pool, resource platform is respectively created resource angle for each resource pool Color, at least one Taiwan investment source device in the corresponding resource pool of management.The resource such as collecting each resource apparatus makes By information such as information, network-in-dialing performances.

Step S106, it is respectively provided with the weight of each Resource Role each resource corresponding with Resource Role.

System, can be according to the Resource Role of the parameter information coupling correspondence of task when receiving resource request With resource apparatus to be allocated.Multiple Resource Role is there may be eligible during coupling, for the ease of Distribution, when setting up resource model, is respectively provided with the power of each Resource Role each resource corresponding with Resource Role Weight.Make when Resources allocation, when having multiple Resource Role or multiple resource apparatus eligible, permissible It is allocated according to weight size.The regional information of such as Resource Role is Beijing, and another mates money The regional information of source case is Jinan, it is contemplated that ask the probability from the intensive city of task relatively big, Higher weight is set can to Pekinese's Resource Role.The performance of each resource that Resource Role is corresponding is the most not Just the same, the weight that the machine performance machine assignment that preferably such as internal memory is bigger is higher can be given.

Step S108, according to described each Resource Role each resource corresponding with Resource Role weight set up money Source model.

According to each resource pool, the weight of Resource Role each resource corresponding with Resource Role that each resource pool is corresponding Set up resource model.System can determine based on resource model when receiving resource request mates with task Resource Role, if having the Resource Role of multiple coupling, determine optimum according to the weight of each Resource Role Resource Role.If optimum Resource Role has the resource apparatus of multiple coupling, according to the weight of each resource, Optimal scheme equipment.

In sum, multiple resources are divided, generate at least one resource pool;For each resource pool It is respectively created Resource Role;Wherein, described resource pool includes at least one resource;It is respectively provided with each resource The weight of role's each resource corresponding with Resource Role;Corresponding with Resource Role each according to described each Resource Role The weight of resource sets up resource model.By resource model, resource is effectively managed, it is to avoid occur big Amount resource apparatus unreasonable distribution.

Embodiment two

The another kind of resource model creation method of disclosure embodiment is discussed in detail.

With reference to Fig. 2, it is shown that the steps flow chart of the another kind of resource model creation method embodiment of the disclosure Figure, specifically may include steps of:

Step S202, according to preset type, multiple resource apparatus are divided, generate preset with described At least one resource pool that type is corresponding.

Wherein, described preset type includes resource services type, resources use right limit or resource region letter Breath.

In one preferred embodiment of the disclosure, according to preset type, multiple resource apparatus are divided, raw Become at least one resource pool corresponding with described preset type, including following sub-step:

Multiple resource apparatus are divided by step S2022, foundation resources use right limit, generate at least one Individual public resource pond and at least one private resource pond.

Multiple resource apparatus are divided by step S2024, foundation resource services type, generate at least one Individual resource pool and at least one transcoding resource pool uploaded.

Multiple resource apparatus are divided by step S2026, foundation resource regional information, generate each region At least one resource pool.

The resource of disclosure embodiment can apply to multiple business such as video and uploads and transcoding business In resource distribution.Due to the resource apparatus substantial amounts on resource platform, for the ease of to resource apparatus Multiple resource apparatus can be managed in disclosure embodiment by reasonable distribution by resource platform, can So that multiple resource apparatus are divided according to different classified types.Multiple resource apparatus are divided into Multiple resource apparatus set that particular division type is corresponding, i.e. resource pool, carry out Classification Management.Such as figure Shown in 3, may be variant owing to processing the resource apparatus structure of different business, can be according to different resource Multiple resource apparatus are divided into the resource pool of different resource type of service by type of service.Wherein, resource industry Service type includes: upload machine resource, i.e. process data upload, the resource of data download service;Transcoding provides Source, including off-line transcoding resource and real-time transcoding resource.Wherein, off-line transcoding resource, i.e. need in advance Obtain terminal type and video file is carried out the resource of transcoding;Real-time transcoding resource, detects i.e. in real time automatically Survey and judge the type of terminal, it is not necessary to the resource of the transcoding of pretreatment.Resource can also be set by resource platform Standby according to using authority to be divided into private resource and public resource.Private resource is the customization of a certain generic task Resource, public resource is the resource that any task can use.Additionally can distinguish the money of different geographical Source device, will divide according to regional information by resource apparatus, such as the resource apparatus of Beijing and Tianjin Resource apparatus.According at least one classified types above-mentioned, multiple resources are divided, generate and described stroke At least one resource pool that classifying type is corresponding.

Step S204, it is respectively created Resource Role for each resource pool;Wherein, described resource pool includes At least one resource.

For the ease of the management to each resource pool, resource platform is respectively created resource angle for each resource pool Color, at least one Taiwan investment source device in the corresponding resource pool of management.The resource such as collecting each resource apparatus makes By information such as information, network-in-dialing performances.

Step S206, type information according to each Resource Role, be respectively provided with the initial of each Resource Role Weight.

Step S208, performance information according to each Resource Role correspondence resource, be respectively provided with each resource Initial weight.

System, can be according to the Resource Role of the parameter information coupling correspondence of task when receiving resource request With resource apparatus to be allocated.Multiple Resource Role is there may be eligible during coupling, for the ease of Distribution, when setting up resource model, is respectively provided with the power of each Resource Role each resource corresponding with Resource Role Weight.Make when Resources allocation, when having multiple Resource Role or multiple resource apparatus eligible, permissible It is allocated according to weight size.Each money can be respectively provided with according to the type information of each Resource Role The initial weight of source case.Such as according to the type of service of each Resource Role, according to the sample collected in advance Data, compare the business of uploading and the task amount of transcoding business, if the task amount uploaded is bigger, it is contemplated that Ask the probability from uploading task relatively big, arrange higher can to the Resource Role uploading type of service Weight.Such as according to the areal type of each Resource Role, according to the sample data collected in advance, compare Beijing area and the task amount of Jinan Area, if the task amount of Beijing area is bigger, it is contemplated that request comes Probability from the intensive city of task is relatively big, arranges higher weight can to Pekinese's Resource Role. The performance of each resource that Resource Role is corresponding also not exclusively as, can be according to each Resource Role correspondence resource Performance information, be respectively provided with the initial weight of each resource.Machine performance the most such as internal memory can be given relatively The weight that big machine assignment is higher.

Step S210, pre-set the scheduling relation of each Resource Role and other Resource Roles.

Step S212, foundation weight information and each Resource Role and the scheduling relation of other Resource Roles Setting up resource model, wherein, described weight information includes each Resource Role each resource corresponding with Resource Role Weight.

As it is shown on figure 3, resource platform can be the scheduling pass of the configuration of each Resource Role and other Resource Roles System i.e. incidence relation.If each resource apparatus suspension that this Resource Role is corresponding or do not have idling-resource equipment Time, resource platform detects that above-mentioned situation can be scheduling processing according to scheduling relation.According to each resource Pond, the weight of the Resource Role that each resource pool is corresponding each resource corresponding with Resource Role set up resource model. System can determine, based on resource model, the Resource Role mated with task when receiving resource request, if When having the Resource Role of multiple coupling, determine optimum Resource Role according to the weight of each Resource Role.If Excellent Resource Role has the resource apparatus of multiple coupling, according to the weight of each resource, optimal scheme equipment.

Step S214, in preset time, gather the feedback information of the distribution of resource at least twice, wherein, Described feedback information includes role's feedback information and resource feedback information.

Step S216, according to corresponding each Resource Role in described each role's feedback information correction resource model Weight.

Step S218, according to the power of corresponding each resource in described each resource feedback information correction resource model Weight.

Owing to the resource service condition of Resource Role and the performance of resource apparatus are in dynamic change, for Ensure the accuracy according to resource model Resources allocation, can according to Resource Role and the reality of resource apparatus Border situation timing or variable interval correction resource model.Set an i.e. preset time of time interval, pre-at this Putting the feedback information of multi collect resource distribution in the time, feedback information and resource including Resource Role set Standby feedback information.Resource platform can preset each resource apparatus to be believed according to characteristic frequency reporting equipment Breath, the cpu usage of such as equipment, the information such as EMS memory occupation.By Resource Role manage each The facility information of resource apparatus calculates the resource utilization of this Resource Role, such as, set resource apparatus CPU takies and reaches specific threshold such as 70% or time EMS memory occupation reaches 60%, determines that this resource sets Standby for overload operation, the weight of this resource apparatus can be reduced.The CPU setting resource apparatus takies When being less than 20% less than specific threshold such as 30% or EMS memory occupation, determine that this resource apparatus is for free time money Source device, can improve the weight of this resource apparatus.The quantity of statistics over loading resource apparatus is that equipment makes Use quantity.The ratio of the total quantity of calculating equipment usage quantity and whole resource apparatus is as this Resource Role Resource utilization.The resource utilization of the most described Resource Role, example is gathered in preset time As set in a such as time period, gather every half an hour the time period of 6 in the at 8 in the morning to afternoon The resource utilization of the most described Resource Role.Judge the average resource utilization rate of this Resource Role the most relatively Low, if relatively low, increase the weight of this Resource Role.If higher, reduce the weight of this Resource Role.

In sum, in preset time, the feedback information of resource distribution at least twice, wherein, institute are gathered State feedback information and include role's feedback information and resource feedback information;Repair according to described each role's feedback information The weight of corresponding each Resource Role in positive resource model;According to described each resource feedback information correction resource mould The weight of corresponding each resource in type.According to feedback information, resource model is carried out accommodation, Ke Yiti The accuracy of high resource model.

It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as one it be The combination of actions of row, but those skilled in the art should know, and disclosure embodiment is not by described The restriction of sequence of movement because according to disclosure embodiment, some step can use other orders or Person is carried out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description Belong to preferred embodiment, necessary to involved action not necessarily disclosure embodiment.

With reference to Fig. 4, it is shown that a kind of resource model of the disclosure creates the structured flowchart of device embodiment, tool Body can include such as lower module:

Resource divides module 402, for dividing multiple resources, generates at least one resource pool.

Role's creation module 404, for being respectively created Resource Role for each resource pool;Wherein, described Resource pool includes at least one resource.

Weight setting module 406, for being respectively provided with each Resource Role each resource corresponding with Resource Role Weight.

Model building module 408, for according to described each Resource Role each resource corresponding with Resource Role Weight sets up resource model.

In sum, multiple resources are divided, generate at least one resource pool;For each resource pool It is respectively created Resource Role;Wherein, described resource pool includes at least one resource;It is respectively provided with each resource The weight of role's each resource corresponding with Resource Role;Corresponding with Resource Role each according to described each Resource Role The weight of resource sets up resource model.By resource model, resource is effectively managed, it is to avoid occur big Amount resource apparatus unreasonable distribution.

With reference to Fig. 5, it is shown that disclosure another kind resource model creates the structured flowchart of device embodiment, Specifically include with lower module:

Resource divides module 402, for dividing multiple resources, generates at least one resource pool. Described resource divides module, for dividing multiple resource apparatus according to preset type, generates and institute State at least one resource pool that preset type is corresponding;Wherein, described preset type includes resource services type, Resources use right limit or resource regional information.

In one preferred embodiment of the disclosure, described resource divides module 402 and includes following submodule:

Delineation of power submodule 4022, for carrying out drawing to multiple resource apparatus according to resources use right limit Point, generate at least one public resource pond and at least one private resource pond.

Delineation of activities submodule 4024, for carrying out multiple resource apparatus drawing according to resource services type Point, generate at least one and upload resource pool and at least one transcoding resource pool.

Region zones submodule 4026, for carrying out multiple resource apparatus drawing according to resource regional information Point, generate at least one resource pool of each region.

Role's creation module 404, for being respectively created Resource Role for each resource pool;Wherein, described Resource pool includes at least one resource.

Weight setting module 406, for being respectively provided with each Resource Role each resource corresponding with Resource Role Weight.

In one preferred embodiment of the disclosure, described weight setting module 406 includes following submodule:

Role arranges submodule 4062, for the type information according to each Resource Role, is respectively provided with each money The initial weight of source case;

Resource arranges submodule 4064, for the performance information according to each Resource Role correspondence resource, respectively The initial weight of each resource is set.

Model building module 408, for according to described each Resource Role each resource corresponding with Resource Role Weight sets up resource model.Described model building module, is used for pre-setting each Resource Role and provides with other The scheduling relation of source case;Close according to the scheduling of weight information and each Resource Role and other Resource Roles System sets up resource model, and wherein, described weight information includes each Resource Role each money corresponding with Resource Role The weight in source.

Modifying model module 410, for gathering the feedback letter of resource distribution at least twice in preset time Breath, wherein, described feedback information includes role's feedback information and resource feedback information;According to described each angle The weight of corresponding each Resource Role in color feedback information correction resource model;According to described each resource feedback letter Breath revises the weight of corresponding each resource in resource model.

In sum, in preset time, the feedback information of resource distribution at least twice, wherein, institute are gathered State feedback information and include role's feedback information and resource feedback information;Repair according to described each role's feedback information The weight of corresponding each Resource Role in positive resource model;According to described each resource feedback information correction resource mould The weight of corresponding each resource in type.According to feedback information, resource model is carried out accommodation, Ke Yiti The accuracy of high resource model.

For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison described Simply, relevant part sees the part of embodiment of the method and illustrates.

Each embodiment in this specification all uses the mode gone forward one by one to describe, and each embodiment stresses Be all the difference with other embodiments, between each embodiment, identical similar part sees mutually ?.

Those skilled in the art are it should be appreciated that the embodiment of disclosure embodiment can be provided as method, dress Put or computer program.Therefore, disclosure embodiment can use complete hardware embodiment, completely Software implementation or the form of the embodiment in terms of combining software and hardware.And, disclosure embodiment Can use and can be situated between with storage at one or more computers wherein including computer usable program code The upper computer journey implemented of matter (including but not limited to disk memory, CD-ROM, optical memory etc.) The form of sequence product.

Disclosure embodiment is with reference to the method according to disclosure embodiment, terminal unit (system) and meter The flow chart of calculation machine program product and/or block diagram describe.It should be understood that can be by computer program instructions Each flow process in flowchart and/or block diagram and/or square frame and flow chart and/or square frame Flow process in figure and/or the combination of square frame.Can provide these computer program instructions to general purpose computer, The processor of special-purpose computer, Embedded Processor or other programmable data processing terminal equipment is to produce One machine so that performed by the processor of computer or other programmable data processing terminal equipment Instruction produce for realizing at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The device of the function specified in multiple square frames.

These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process In the computer-readable memory that terminal unit works in a specific way so that be stored in this computer-readable Instruction in memorizer produces the manufacture including command device, and this command device realizes flow chart one The function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.

These computer program instructions also can be loaded into computer or other programmable data processing terminals set Standby upper so that on computer or other programmable terminal equipment, to perform sequence of operations step in terms of producing The process that calculation machine realizes, thus the instruction performed on computer or other programmable terminal equipment provides and uses In realizing in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame The step of the function specified.

Although having been described for the preferred embodiment of disclosure embodiment, but those skilled in the art being once Know basic creative concept, then these embodiments can be made other change and amendment.So, Claims are intended to be construed to include preferred embodiment and fall into the institute of disclosure scope of embodiments There are change and amendment.

Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like It is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires Or imply relation or the order that there is any this reality between these entities or operation.And, art Language " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that Process, method, article or terminal unit including a series of key elements not only include those key elements, and Also include other key elements being not expressly set out, or also include for this process, method, article or The key element that person's terminal unit is intrinsic.In the case of there is no more restriction, statement " include one It is individual ... " key element that limits, it is not excluded that including the process of described key element, method, article or end End equipment there is also other identical element.

A kind of resource model creation method provided the disclosure above and a kind of resource management apparatus, enter Having gone and be discussed in detail, specific case principle of this disclosure used herein and embodiment are explained Stating, the explanation of above example is only intended to help and understands disclosed method and core concept thereof;Meanwhile, For one of ordinary skill in the art, according to the thought of the disclosure, at detailed description of the invention and application model Placing and all will change, in sum, this specification content should not be construed as restriction of this disclosure.

Claims (16)

1. a resource model creation method, described method includes:
Multiple resources are divided, generates at least one resource pool;
It is respectively created Resource Role for each resource pool;Wherein, described resource pool includes at least one resource;
It is respectively provided with the weight of each Resource Role each resource corresponding with Resource Role;
Resource model is set up according to the weight of described each Resource Role each resource corresponding with Resource Role.
Multiple resources described are divided by method the most according to claim 1, generate at least One resource pool, including:
According to preset type, multiple resource apparatus are divided, generate corresponding extremely with described preset type A few resource pool;Wherein, described preset type includes resource services type, resources use right limit or Resource regional information.
Method the most according to claim 2, described in be respectively provided with each Resource Role and Resource Role The weight of corresponding each resource, including:
According to the type information of each Resource Role, it is respectively provided with the initial weight of each Resource Role;
According to the performance information of each Resource Role correspondence resource, it is respectively provided with the initial weight of each resource.
Method the most according to claim 1, described according to described each Resource Role and Resource Role The weight of corresponding each resource sets up resource model, including:
Pre-set the scheduling relation of each Resource Role and other Resource Roles;
Resource mould is set up according to the scheduling relation of weight information and each Resource Role and other Resource Roles Type, wherein, described weight information includes the weight of each Resource Role each resource corresponding with Resource Role.
Multiple resource apparatus described are entered by method the most according to claim 2 according to preset type Row divides, and generates at least one resource pool corresponding with described preset type, including:
According to resources use right limit, multiple resource apparatus are divided, generate at least one public resource pond With at least one private resource pond.
Multiple resource apparatus described are entered by method the most according to claim 2 according to preset type Row divides, and generates at least one resource pool corresponding with described preset type, including:
According to resource services type, multiple resource apparatus are divided, generate at least one and upload resource pool With at least one transcoding resource pool.
Multiple resource apparatus described are entered by method the most according to claim 2 according to preset type Row divides, and generates at least one resource pool corresponding with described preset type, including:
According to resource regional information, multiple resource apparatus are divided, generate at least one money of each region Pond, source.
Method the most according to claim 1, described method, also include:
The feedback information of resource distribution at least twice, wherein, described feedback information is gathered in preset time Including role's feedback information and resource feedback information;
According to the weight of corresponding each Resource Role in described each role's feedback information correction resource model;
According to the weight of corresponding each resource in described each resource feedback information correction resource model.
9. resource model creates a device, and described device includes:
Resource divides module, for dividing multiple resources, generates at least one resource pool;
Role's creation module, for being respectively created Resource Role for each resource pool;Wherein, described resource Pond includes at least one resource;
Weight setting module, for being respectively provided with the power of each Resource Role each resource corresponding with Resource Role Weight;
Model building module, for the weight according to described each Resource Role each resource corresponding with Resource Role Set up resource model.
Device the most according to claim 9,
Described resource divides module, for dividing multiple resource apparatus according to preset type, generates At least one resource pool corresponding with described preset type;Wherein, described preset type includes resource services Type, resources use right limit or resource regional information.
11. devices according to claim 10, described weight setting module, including:
Role arranges submodule, for the type information according to each Resource Role, is respectively provided with each resource angle The initial weight of color;
Resource arranges submodule, for the performance information according to each Resource Role correspondence resource, is respectively provided with The initial weight of each resource.
12. devices according to claim 9,
Described model building module, for pre-setting the scheduling pass of each Resource Role and other Resource Roles System;Resource mould is set up according to the scheduling relation of weight information and each Resource Role and other Resource Roles Type, wherein, described weight information includes the weight of each Resource Role each resource corresponding with Resource Role.
13. devices according to claim 10, described resource divides module, including:
Delineation of power submodule, for multiple resource apparatus being divided according to resources use right limit, raw Become at least one public resource pond and at least one private resource pond.
14. devices according to claim 10, described resource divides module, including:
Delineation of activities submodule, for multiple resource apparatus being divided according to resource services type, raw At least one is become to upload resource pool and at least one transcoding resource pool.
15. devices according to claim 10, described resource divides module, including:
Region zones submodule, for multiple resource apparatus being divided according to resource regional information, raw Become at least one resource pool of each region.
16. devices according to claim 9, described device, also include:
Modifying model module, for gathering the feedback information of resource distribution at least twice in preset time, Wherein, described feedback information includes role's feedback information and resource feedback information;Anti-according to described each role The weight of corresponding each Resource Role in feedforward information correction resource model;Repair according to described each resource feedback information The weight of corresponding each resource in positive resource model.
CN201610271025.4A 2016-04-27 2016-04-27 Resource model establishment method and device CN106027420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610271025.4A CN106027420A (en) 2016-04-27 2016-04-27 Resource model establishment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610271025.4A CN106027420A (en) 2016-04-27 2016-04-27 Resource model establishment method and device

Publications (1)

Publication Number Publication Date
CN106027420A true CN106027420A (en) 2016-10-12

Family

ID=57081164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610271025.4A CN106027420A (en) 2016-04-27 2016-04-27 Resource model establishment method and device

Country Status (1)

Country Link
CN (1) CN106027420A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459597A (en) * 2007-12-14 2009-06-17 华为技术有限公司 Method and system for using logic resource
CN102843418A (en) * 2012-07-03 2012-12-26 广东电网公司信息中心 Resource dispatching system
CN102958166A (en) * 2011-08-29 2013-03-06 华为技术有限公司 Resource allocation method and resource management platform
CN103701886A (en) * 2013-12-19 2014-04-02 中国信息安全测评中心 Hierarchic scheduling method for service and resources in cloud computation environment
CN105049443A (en) * 2015-08-12 2015-11-11 北京因特信安软件科技有限公司 Method for constructing trusted resource pool
CN105183546A (en) * 2015-08-12 2015-12-23 北京因特信安软件科技有限公司 Secure virtual machine migration method based on trustworthy resource pool

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459597A (en) * 2007-12-14 2009-06-17 华为技术有限公司 Method and system for using logic resource
CN102958166A (en) * 2011-08-29 2013-03-06 华为技术有限公司 Resource allocation method and resource management platform
CN102843418A (en) * 2012-07-03 2012-12-26 广东电网公司信息中心 Resource dispatching system
CN103701886A (en) * 2013-12-19 2014-04-02 中国信息安全测评中心 Hierarchic scheduling method for service and resources in cloud computation environment
CN105049443A (en) * 2015-08-12 2015-11-11 北京因特信安软件科技有限公司 Method for constructing trusted resource pool
CN105183546A (en) * 2015-08-12 2015-12-23 北京因特信安软件科技有限公司 Secure virtual machine migration method based on trustworthy resource pool

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张慧芳: "基于动态反馈的加权最小连接数服务器负载均衡算法研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Similar Documents

Publication Publication Date Title
US8380557B2 (en) Multi-tenant database management for service level agreement (SLA) profit maximization
CN1254994C (en) Network topologies
Ghamkhari et al. Energy and performance management of green data centers: A profit maximization approach
Serrano et al. Competition and adaptation in an Internet evolution model
Low Dynamic load-balancing for bsp time warp
US8396828B2 (en) Providing lightweight multidimensional online data storage for web service usage reporting
CN102711177A (en) Service prediction based load balancing method
CN104268682B (en) Planning method and device for active power distribution network
Liu et al. APS, ERP and MES systems integration for semiconductor backend assembly
CN104537155A (en) High-speed train rapid design method and system
CN101815003A (en) Uniform resource model of full service converged network
CN102955977A (en) Energy efficiency service method and energy efficiency service platform adopting same on basis of cloud technology
Pluzhnik et al. Optimal control of applications for hybrid cloud services
CN101141754B (en) Value-added service analysis system and method thereof
CN102929961B (en) Based on the data processing method and the device thereof that build rapid data classification passage
Rui et al. Architecture design of the Internet of Things based on cloud computing
CN101296477B (en) Method and device for planning network topological
CN103838863A (en) Big-data clustering algorithm based on cloud computing platform
CN102323957A (en) Distributed parallel Skyline query method based on vertical dividing mode
Forestiero et al. Hierarchical approach for efficient workload management in geo-distributed data centers
CN103702360B (en) A kind of method and device of the data rate for determining service access port
Hazas et al. Are there limits to growth in data traffic?: On time use, data generation and speed
Toosi et al. A fuzzy logic-based controller for cost and energy efficient load balancing in geo-distributed data centers
Zhou et al. DE-caABC: differential evolution enhanced context-aware artificial bee colony algorithm for service composition and optimal selection in cloud manufacturing
CN105446979A (en) Data mining method and node

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161012