[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN105827455A - Method and apparatus for modifying resource model - Google Patents

Method and apparatus for modifying resource model Download PDF

Info

Publication number
CN105827455A
CN105827455A CN201610272147.5A CN201610272147A CN105827455A CN 105827455 A CN105827455 A CN 105827455A CN 201610272147 A CN201610272147 A CN 201610272147A CN 105827455 A CN105827455 A CN 105827455A
Authority
CN
China
Prior art keywords
resource
role
model
occupancy
weight
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.)
Pending
Application number
CN201610272147.5A
Other languages
Chinese (zh)
Inventor
杨继伟
王孝庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Holding Beijing Co Ltd
LeTV Cloud Computing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Cloud Computing 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 LeTV Holding Beijing Co Ltd, LeTV Cloud Computing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610272147.5A priority Critical patent/CN105827455A/en
Publication of CN105827455A publication Critical patent/CN105827455A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/78Architectures of resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiments of the invention provide a method and an apparatus for modifying a resource model. The method comprises the following steps: based on each resource pool and resource characters corresponding to each source pool, establishing a resource model; each resource pool includes at least one resource; with a preset time period, acquiring feedback information of at least two times of resource distribution, wherein the resource distribution is executed based on resource distribution; based on the feedback information, modifying the resource model. The method conducts adaptive adjustment on the resource model based on the feedback information, which can increase accuracy of the resource model.

Description

A kind of resource model modification method and device
Technical field
It relates to communication technical field, particularly relate to a kind of resource model modification method and a kind of resource model correcting device.
Background technology
In recent years, along with the continuous expansion of Internet scale, system needs video data to be processed the most quickly to increase.The raising of portfolio causes some cores of current existing network, and visit capacity and data traffic quickly increase, and its disposal ability and calculating intensity the most correspondingly increase.Owing to video data operates in the most exclusive resource apparatus, cause part resource equipment to have task queuing up always, wait pending;And another part resource apparatus is chronically at idle condition.Some extensive IT infrastructure concentrated occur in that ample resources sets 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 modification method, the problem solving resource unreasonable distribution.
Accordingly, disclosure embodiment additionally provides a kind of resource model correcting device, in order to ensure realization and the application of said method.
In order to solve the problems referred to above, present disclosure discloses a kind of resource model modification method, described method includes: the Resource Role corresponding with each resource pool according to each resource pool sets up resource model;Wherein, described resource pool includes at least one resource;Gathering the feedback information of resource distribution at least twice in preset time, wherein, the distribution of described resource performs according to resource model;According to resource model described in described feedback information correction.
Alternatively, in preset time, determine, according to resource model, the target resource role that the distribution of each resource is corresponding at least twice;Gather occupancy and the resource utilization of each target resource role of each resource corresponding to each target resource role;Using the resource utilization of described target resource role and the occupancy of each resource of correspondence as feedback information.
Alternatively, the occupancy of each resource corresponding to each target resource role is gathered;Add up occupancy in each resource of correspondence for each target resource role and reach the resource usage quantity of first threshold;For each target resource role, determine resource utilization according to described resource usage quantity and total number resource amount.
Alternatively, according to the weight of corresponding each Resource Role in described each resource utilization correction resource model;Weight according to each resource corresponding in the occupancy correction resource model of described each resource.
Alternatively, when the resource utilization of Resource Role is more than the first adjustment threshold value, the weight of this Resource Role is reduced;When the resource utilization of Resource Role is less than the second adjustment threshold value, increase the weight of this Resource Role.
Alternatively, when the occupancy of resource is more than the 3rd adjustment threshold value, the weight of this resource is reduced;When the occupancy of resource is less than the 4th adjustment threshold value, increase the weight of this resource.
Alternatively, according at least one classified types following, multiple resources are divided, generate at least one resource pool corresponding with described classified types;Wherein, described classified types includes resource services type, resources use right limit or resource regional information;Being respectively created Resource Role for described each resource pool, wherein, described Resource Role is for managing at least one Taiwan investment source in corresponding resource pool.
Alternatively, receiving resource request, wherein, described resource request includes customized parameter;At least one customized parameter following is mated with resource model, obtains the target resource role mated with customized parameter;Wherein, described customized parameter includes ID, protocol address, uploading nodes information.
According to a further aspect in the invention, it is provided that a kind of resource model correcting device, described device includes: model building module, for setting up resource model according to the Resource Role that each resource pool is corresponding with each resource pool;Wherein, described resource pool includes at least one resource;Feedback collection module, for gathering the feedback information of resource distribution at least twice in preset time, wherein, the distribution of described resource performs according to resource model;Modifying model module, for according to resource model described in described feedback information correction.
Alternatively, role determines submodule, for determining, according to resource model, the target resource role that the distribution of each resource is corresponding in preset time at least twice;Information gathering submodule, for gathering occupancy and the resource utilization of each target resource role of each resource corresponding to each target resource role;Feedback determines submodule, for using the resource utilization of described target resource role and the occupancy of each resource of correspondence as feedback information.
Alternatively, described information gathering submodule, for gathering the occupancy of each resource corresponding to each target resource role;Add up occupancy in each resource of correspondence for each target resource role and reach the resource usage quantity of first threshold;For each target resource role, determine resource utilization according to described resource usage quantity and total number resource amount.
Alternatively, role revises submodule, for according to the weight of corresponding each Resource Role in described each resource utilization correction resource model;Resource correction submodule, for the weight according to each resource corresponding in the occupancy correction resource model of described each resource.
Alternatively, described role revises submodule, for when the resource utilization of Resource Role is more than the first adjustment threshold value, reducing the weight of this Resource Role;When the resource utilization of Resource Role is less than the second adjustment threshold value, increase the weight of this Resource Role.
Alternatively, described resource correction submodule, for when the occupancy of resource is more than the 3rd adjustment threshold value, reducing the weight of this resource;When the occupancy of resource is less than the 4th adjustment threshold value, increase the weight of this resource.
Alternatively, resource divides module, for dividing multiple resources according at least one classified types following, generates at least one resource pool corresponding with described classified types;Wherein, described classified types includes resource services type, resources use right limit or resource regional information;Being respectively created Resource Role for described each resource pool, wherein, described Resource Role is for managing at least one Taiwan investment source in corresponding resource pool.
Alternatively, resource distribution module, it is used for receiving resource request, wherein, described resource request includes customized parameter;At least one customized parameter following is mated with resource model, obtains the target resource role mated with customized parameter;Wherein, described customized parameter includes ID, protocol address, uploading nodes information
Compared with prior art, disclosure embodiment includes advantages below: the Resource Role corresponding with each resource pool according to each resource pool sets up resource model;Wherein, described resource pool includes at least one resource;Gathering the feedback information of resource distribution at least twice in preset time, wherein, the distribution of described resource performs according to resource model;According to resource model described in described feedback information correction.According to feedback information, resource model is carried out accommodation, the accuracy of resource model can be improved.
Accompanying drawing explanation
In order to be illustrated more clearly that disclosure embodiment or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in describing below 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 modification method embodiment of the disclosure;
Fig. 2 is the flow chart of steps of the another kind of resource model modification 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 correcting device embodiment of the disclosure;
Fig. 5 is the structured flowchart of the another kind of resource model correcting 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 the accompanying drawing in disclosure embodiment, technical scheme in disclosure embodiment is clearly and completely described, obviously, described embodiment is a part of embodiment of the disclosure rather than whole embodiments.Based on the embodiment in the disclosure, the every other embodiment that those of ordinary skill in the art are obtained under not making creative work premise, broadly fall into the scope of disclosure protection.
One of core idea of disclosure embodiment is, the Resource Role corresponding with each resource pool according to each resource pool sets up resource model;Wherein, described resource pool includes at least one resource;Gathering the feedback information of resource distribution at least twice in preset time, wherein, the distribution of described resource performs according to resource model;According to resource model described in described feedback information correction.According to feedback information, resource model is carried out accommodation, the accuracy of resource model can be improved.
Embodiment one
Disclosure embodiment resource model modification 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 modification method embodiment of the disclosure, specifically may include steps of:
Step S102, set up resource model according to the Resource Role that each resource pool is corresponding with each resource pool;Wherein, described resource pool includes at least one resource.
Disclosure embodiment can apply in the resource distribution that multiple business such as video is uploaded with transcoding business.Due to the resource apparatus substantial amounts on resource platform, for the ease of the reasonable distribution to resource apparatus, multiple resource apparatus can be managed by resource platform by disclosure embodiment, multiple resource apparatus can be divided according to different classified types.Such as possible variant owing to processing the resource apparatus structure of different business, according to different resource type of service, multiple resource apparatus can be divided into the resource pool of different resource type of service.After multiple resources are divided, generate at least one resource pool corresponding with described classified types.For the ease of the management to each resource pool, resource platform is respectively created Resource Role for each resource pool, at least one Taiwan investment source device in the corresponding resource pool of management.Such as collect the information such as the resource using information of each resource apparatus, network-in-dialing performance.Resource model is set up according to each resource pool, Resource Role that each resource pool is corresponding.
Step S104, gathering the feedback information of the distribution of resource at least twice in preset time, wherein, the distribution of described resource performs according to resource model.
System can determine, based on resource model, the Resource Role mated with task when receiving resource request, and resource pool includes at least one resource apparatus, i.e. manages Resource Role at least one resource apparatus corresponding of resource pool.Due to the corresponding multiple resource apparatus of the Resource Role after coupling, and perform the resource apparatus quantity that resource apparatus that required by task wants may be corresponding less than Resource Role, it is therefore desirable to from multiple resource apparatus, select the resource apparatus of optimum to perform current task.Resource model can arrange weight for each resource apparatus when creating, and resource platform can determine optimum resource apparatus according to weight information.Owing to the resource service condition of Resource Role and the performance of resource apparatus are in dynamic change, in order to ensure the accuracy according to resource model Resources allocation, weight can be adjusted according to the practical situation of Resource Role and resource apparatus.Setting an i.e. preset time of time interval, the feedback information of multi collect resource distribution in this preset time, including feedback information and the feedback information of resource apparatus of Resource Role.The information such as resource platform can preset each resource apparatus cpu usage according to characteristic frequency reporting equipment information, such as equipment, EMS memory occupation.The facility information of each resource apparatus managed by Resource Role calculates the resource utilization of this Resource Role, as the feedback information of Resource Role.
Step S106, according to resource model described in described feedback information correction.
According to the weight of Resource Role in the feedback information correction resource model of Resource Role, according to the weight of resource apparatus in the feedback information correction resource model of resource apparatus.Revised resource model is made more to adapt to current scheduling of resource.
In sum, resource model is set up according to the Resource Role that each resource pool is corresponding with each resource pool;Wherein, described resource pool includes at least one resource;Gathering the feedback information of resource distribution at least twice in preset time, wherein, the distribution of described resource performs according to resource model;According to resource model described in described feedback information correction.According to feedback information, resource model is carried out accommodation, the accuracy of resource model can be improved.
Embodiment two
The another kind of resource model modification method of disclosure embodiment is discussed in detail.
With reference to Fig. 2, it is shown that the flow chart of steps of the another kind of resource model modification method embodiment of the disclosure, specifically may include steps of:
Step S202, according at least one classified types following, multiple resources are divided, generate at least one resource pool corresponding with described classified types;Wherein, described classified types includes resource services type, resources use right limit or resource regional information.
Step S204, being respectively created Resource Role for described each resource pool, wherein, described Resource Role is for managing at least one Taiwan investment source in corresponding resource pool.
Step S206, set up resource model according to the Resource Role that each resource pool is corresponding with each resource pool;Wherein, described resource pool includes at least one resource.
Disclosure embodiment can apply in the resource distribution that multiple business such as video is uploaded with transcoding business.Due to the resource apparatus substantial amounts on resource platform, for the ease of the reasonable distribution to resource apparatus, multiple resource apparatus can be managed by resource platform by disclosure embodiment, multiple resource apparatus can be divided according to different classified types.Multiple resource apparatus are divided into the multiple resource apparatus set corresponding with particular division type, i.e. resource pool, carry out Classification Management.As it is shown on figure 3, may be variant owing to processing the resource apparatus structure of different business, according to different resource type of service, multiple resource apparatus can be divided into the resource pool of different resource type of service.Wherein, resource services type includes: upload machine resource, i.e. process data upload, the resource of data download service;Transcoding resource, including off-line transcoding resource and real-time transcoding resource.Wherein, off-line transcoding resource, i.e. need to obtain terminal type in advance and video file is carried out the resource of transcoding;Real-time transcoding resource, i.e. in real time Auto-Sensing and the type judging terminal, it is not necessary to the resource of the transcoding of pretreatment.Resource platform can also be by resource apparatus according to using authority to be divided into private resource and public resource.Private resource is the resource of a certain generic task customization, and public resource is the resource that any task can use.Additionally can distinguish the resource apparatus of different geographical, will divide according to regional information, such as resource apparatus and the resource apparatus of Tianjin of Beijing by resource apparatus.According at least one classified types above-mentioned, multiple resources are divided, generate at least one resource pool corresponding with described classified types.For the ease of the management to each resource pool, resource platform is respectively created Resource Role for each resource pool, at least one Taiwan investment source device in the corresponding resource pool of management.Such as collect the information such as the resource using information of each resource apparatus, network-in-dialing performance.The each resource pool corresponding according to above-mentioned each classified types and Resource Role corresponding to each resource pool set up resource model.Task system can determine, based on resource model, the Resource Role mated with task.
Step S208, reception resource request, wherein, described resource request includes customized parameter.
Step S210, at least one customized parameter following is mated with resource model, obtain the target resource role mated with customized parameter;Wherein, described customized parameter includes ID, protocol address, uploading nodes information.
Task system can perform task to resource platform application resource apparatus by resource apparatus.When task system receives the resource request about task, the parameter information of task can be got, by parameter relevant to particular division type in parameter information, the parameter information of such as task includes geographical location information, relevant to areal type, can be using described geographical location information as customized parameter;Or parameter information there is member identify, i.e. relevant to resources use right limit, this member can be identified as customized parameter.Customized parameter includes ID, protocol address, uploading nodes information.ID refers to identify the mark of user identity, such as user name.Be may determine that by user name the resources use right of the task of request resource limits, such as, when user is divided into member or non-member, i.e. be can determine that by user name user is member or non-member.Member can be with application-specific resource, and non-member can not application-specific resource.Protocol address refers to the Internet protocol address (IP, InternetProtocolAddress) of task equipment, be may determine that the regional information of task by protocol address.Uploading nodes information refers to the history that task comprises data and uploads nodal information, can determine the type of service of application resource according to uploading nodes information.All customized parameters in resource request are mated with the type of Resource Role in resource model.Obtain the target resource role mated with customized parameter.
Step S212, foundation resource model determine the target resource role that the distribution of each resource is corresponding in preset time at least twice.
Step S214, gather the occupancy of each resource corresponding to each target resource role.
Step S216, add up occupancy in corresponding each resource for each target resource role and reach the resource usage quantity of first threshold.
Step S218, for each target resource role, determine resource utilization according to described resource usage quantity and total number resource amount.
Step S220, using the resource utilization of described target resource role and the occupancy of each resource of correspondence as feedback information.
Owing to the resource service condition of Resource Role and the performance of resource apparatus are in dynamic change, in order to ensure the accuracy according to resource model Resources allocation, can be according to the practical situation timing of Resource Role and resource apparatus or variable interval correction resource model.Setting an i.e. preset time of time interval, the feedback information of multi collect resource distribution in this preset time, including feedback information and the feedback information of resource apparatus of Resource Role.The information such as resource platform can preset each resource apparatus cpu usage according to characteristic frequency reporting equipment information, such as equipment, EMS memory occupation, calculate the occupancy of each resource by these facility informations.Add up occupancy in each resource of correspondence for each target resource role and reach the resource usage quantity of first threshold.Such as set the CPU of resource apparatus to take and reach specific threshold such as 70% or time EMS memory occupation reaches 60%, determine that this resource apparatus is overload operation.The quantity of statistics over loading resource apparatus is equipment usage quantity.The ratio of the total quantity of calculating equipment usage quantity and whole resource apparatus is as the resource utilization of this Resource Role.Using the resource utilization of target resource role and the occupancy of each resource of correspondence as feedback information.
Step S222, the resource utilization comparing Resource Role and the first size adjusting threshold value, when the resource utilization of Resource Role is more than the first adjustment threshold value, perform step S224.If being less than, perform step S226.
Step S224, the weight of this Resource Role of reducing.
Step S226, the resource utilization comparing Resource Role and the second size adjusting threshold value, if the resource utilization of Resource Role is less than the second adjustment threshold value, perform step S228.If being more than, perform step S230.
Step S228, the weight of this Resource Role of increasing.
Step S230, the occupancy comparing resource and the 3rd size adjusting threshold value, if the occupancy of resource is more than the 3rd adjustment threshold value, perform step S232.If being less than, perform step S234.
Step S232, the weight of this resource of reducing.
Step S234, the occupancy comparing resource and the 4th size adjusting threshold value, if the occupancy of resource is less than the 4th adjustment threshold value, perform step S236.If being more than, process ends.
Step S236, the weight of this resource of increasing.
When the occupancy of resource is more than the 3rd adjustment threshold value, increase the weight of this resource, such as set the CPU of resource apparatus to take and reach specific threshold such as 70% or time EMS memory occupation reaches 60%, determine that this resource apparatus is overload operation, the weight of this resource apparatus can be reduced.When the occupancy of resource is less than the 4th adjustment threshold value, reduce the weight of this resource.Such as set the CPU of resource apparatus when taking less than specific threshold such as 30% or EMS memory occupation less than 20%, determine that this resource apparatus is idling-resource equipment, the weight of this resource apparatus can be improved.When the resource utilization of Resource Role is more than the first adjustment threshold value, increase the weight of this Resource Role.Such as when the resource utilization of this Resource Role is more than 60%, illustrates that this Resource Role is in a kind of saturation, the probability being dispatched to this Resource Role should be reduced, i.e. reduce the weight of this Resource Role.When the resource utilization of Resource Role is less than the second adjustment threshold value, when e.g., less than 30, illustrate that this Resource Role is in a kind of idle condition, for the reasonability of resource distribution, the probability being dispatched to this Resource Role should be strengthened, i.e. increase the weight of this Resource Role.
In sum, when the resource utilization of Resource Role is more than the first adjustment threshold value, the weight of this Resource Role is reduced;When the resource utilization of Resource Role is less than the second adjustment threshold value, increase the weight of this Resource Role.When the occupancy of resource is more than the 3rd adjustment threshold value, increase the weight of this resource;When the occupancy of resource is less than the 4th adjustment threshold value, reduce the weight of this resource.According to feedback information, the weight of Resource Role in resource model and resource is carried out accommodation, improve the efficiency that resource model adjusts.
It should be noted that, for embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, disclosure embodiment is not limited by described sequence of movement, because according to disclosure embodiment, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description belongs to preferred embodiment, necessary to involved action not necessarily disclosure embodiment.
With reference to Fig. 4, it is shown that the structured flowchart of the disclosure a kind of resource model correcting device embodiment, specifically can include such as lower module:
Model building module 402, for setting up resource model according to the Resource Role that each resource pool is corresponding with each resource pool;Wherein, described resource pool includes at least one resource.
Feedback collection module 404, for gathering the feedback information of resource distribution at least twice in preset time, wherein, the distribution of described resource performs according to resource model.
Modifying model module 406, for according to resource model described in described feedback information correction.
In sum, resource model is set up according to the Resource Role that each resource pool is corresponding with each resource pool;Wherein, described resource pool includes at least one resource;Gathering the feedback information of resource distribution at least twice in preset time, wherein, the distribution of described resource performs according to resource model;According to resource model described in described feedback information correction.According to feedback information, resource model is carried out accommodation, the accuracy of resource model can be improved.
With reference to Fig. 5, it is shown that the structured flowchart of disclosure another kind resource model correcting device embodiment.
Model building module 402, for setting up resource model according to the Resource Role that each resource pool is corresponding with each resource pool;Wherein, described resource pool includes at least one resource.
Feedback collection module 404, for gathering the feedback information of resource distribution at least twice in preset time, wherein, the distribution of described resource performs according to resource model.
In one preferred embodiment of the disclosure, described feedback collection module 404 includes following submodule:
Role determines submodule 4042, for determining, according to resource model, the target resource role that the distribution of each resource is corresponding in preset time at least twice;
Information gathering submodule 4044, for gathering occupancy and the resource utilization of each target resource role of each resource corresponding to each target resource role;For gathering the occupancy of each resource corresponding to each target resource role;Add up occupancy in each resource of correspondence for each target resource role and reach the resource usage quantity of first threshold;For each target resource role, determine resource utilization according to described resource usage quantity and total number resource amount.
Feedback determines submodule 4046, for using the resource utilization of described target resource role and the occupancy of each resource of correspondence as feedback information.
Modifying model module 406, for according to resource model described in described feedback information correction.
In one preferred embodiment of the disclosure, described Modifying model module 406 includes following submodule:
Role revises submodule 4062, for according to the weight of corresponding each Resource Role in described each resource utilization correction resource model;Described role revises submodule, for when the resource utilization of Resource Role is more than the first adjustment threshold value, reducing the weight of this Resource Role;When the resource utilization of Resource Role is less than the second adjustment threshold value, increase the weight of this Resource Role.
Resource correction submodule 4064, for the weight according to each resource corresponding in the occupancy correction resource model of described each resource.For when the occupancy of resource is more than the 3rd adjustment threshold value, increasing the weight of this resource;When the occupancy of resource is less than the 4th adjustment threshold value, reduce the weight of this resource.
Resource divides module 408, for dividing multiple resources according at least one classified types following, generates at least one resource pool corresponding with described classified types;Wherein, described classified types includes resource services type, resources use right limit or resource regional information;Being respectively created Resource Role for described each resource pool, wherein, described Resource Role is for managing at least one Taiwan investment source in corresponding resource pool.
Resource distribution module 410, is used for receiving resource request, and wherein, described resource request includes customized parameter;At least one customized parameter following is mated with resource model, obtains the target resource role mated with customized parameter;Wherein, described customized parameter includes ID, protocol address, uploading nodes information.
In sum, when the resource utilization of Resource Role is more than the first adjustment threshold value, the weight of this Resource Role is reduced;When the resource utilization of Resource Role is less than the second adjustment threshold value, increase the weight of this Resource Role.When the occupancy of resource is more than the 3rd adjustment threshold value, increase the weight of this resource;When the occupancy of resource is less than the 4th adjustment threshold value, reduce the weight of this resource.According to feedback information, the weight of Resource Role in resource model and resource is carried out accommodation, improve the efficiency that resource model adjusts.
For device embodiment, due to itself and embodiment of the method basic simlarity, so describe is fairly simple, 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 what each embodiment stressed is the difference with other embodiments, and 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, device or computer program.Therefore, the form of the embodiment in terms of disclosure embodiment can use complete hardware embodiment, complete software implementation or combine software and hardware.And, disclosure embodiment can use the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
Disclosure embodiment is with reference to describing according to method, terminal unit (system) and the flow chart of computer program and/or the block diagram of disclosure embodiment.It should be understood that can be by the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminal equipment so that the instruction performed by the processor of computer or other programmable data processing terminal equipment is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing terminal equipment work in a specific way, the instruction making to be stored in this computer-readable memory produces the manufacture including command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminal equipment, make to perform sequence of operations step on computer or other programmable terminal equipment to produce computer implemented process, thus the instruction performed on computer or other programmable terminal equipment provides the step of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame for realization.
Although having been described for the preferred embodiment of disclosure embodiment, but those skilled in the art 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 all changes and the amendment of disclosure scope of embodiments.
Finally, it can further be stated that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation or sequentially that there is any this reality between these entities or operation.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include that the process of a series of key element, method, article or terminal unit not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or terminal unit.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or terminal unit.
A kind of resource model the modification method above disclosure provided and a kind of resource model correcting device, it is described in detail, specific case principle of this disclosure used herein and embodiment are set forth, and the explanation of above example is only intended to help and understands disclosed method and core concept thereof;Simultaneously for one of ordinary skill in the art, according to the thought of the disclosure, the most all will change, in sum, this specification content should not be construed as restriction of this disclosure.

Claims (16)

1. a resource model modification method, described method includes:
The Resource Role corresponding with each resource pool according to each resource pool sets up resource model;Wherein, described resource pool includes at least one resource;
Gathering the feedback information of resource distribution at least twice in preset time, wherein, the distribution of described resource performs according to resource model;
According to resource model described in described feedback information correction.
Method the most according to claim 1, the described feedback information gathering resource distribution at least twice in preset time, including:
In preset time, the target resource role that the distribution of each resource is corresponding is determined at least twice according to resource model;
Gather occupancy and the resource utilization of each target resource role of each resource corresponding to each target resource role;
Using the resource utilization of described target resource role and the occupancy of each resource of correspondence as feedback information.
Method the most according to claim 2, the occupancy of each resource that described collection each target resource role is corresponding and the resource utilization of each target resource role, including:
Gather the occupancy of each resource corresponding to each target resource role;
Add up occupancy in each resource of correspondence for each target resource role and reach the resource usage quantity of first threshold;
For each target resource role, determine resource utilization according to described resource usage quantity and total number resource amount.
According to the method in claim 2 or 3, the most described according to resource model described in described feedback information correction, including:
According to the weight of corresponding each Resource Role in described each resource utilization correction resource model;
Weight according to each resource corresponding in the occupancy correction resource model of described each resource.
Method the most according to claim 4, according to the weight of corresponding each Resource Role in described each resource utilization correction resource model, including:
When the resource utilization of Resource Role is more than the first adjustment threshold value, reduce the weight of this Resource Role;
When the resource utilization of Resource Role is less than the second adjustment threshold value, increase the weight of this Resource Role.
Method the most according to claim 4, according to the weight of each resource corresponding in the occupancy correction resource model of described each resource, including:
When the occupancy of resource is more than the 3rd adjustment threshold value, reduce the weight of this resource;
When the occupancy of resource is less than the 4th adjustment threshold value, increase the weight of this resource.
Method the most according to claim 1, before the described Resource Role corresponding with each resource pool according to each resource pool sets up resource model, also includes:
According at least one classified types following, multiple resources are divided, generate at least one resource pool corresponding with described classified types;Wherein, described classified types includes resource services type, resources use right limit or resource regional information;
Being respectively created Resource Role for described each resource pool, wherein, described Resource Role is for managing at least one Taiwan investment source in corresponding resource pool.
Method the most according to claim 2, also includes carrying out the step of resource distribution according to resource model:
Receiving resource request, wherein, described resource request includes customized parameter;
At least one customized parameter following is mated with resource model, obtains the target resource role mated with customized parameter;Wherein, described customized parameter includes ID, protocol address, uploading nodes information.
9. a resource model correcting device, described device includes:
Model building module, for setting up resource model according to the Resource Role that each resource pool is corresponding with each resource pool;Wherein, described resource pool includes at least one resource;
Feedback collection module, for gathering the feedback information of resource distribution at least twice in preset time, wherein, the distribution of described resource performs according to resource model;
Modifying model module, for according to resource model described in described feedback information correction.
Device the most according to claim 9, described feedback collection module, including:
Role determines submodule, for determining, according to resource model, the target resource role that the distribution of each resource is corresponding in preset time at least twice;
Information gathering submodule, for gathering occupancy and the resource utilization of each target resource role of each resource corresponding to each target resource role;
Feedback determines submodule, for using the resource utilization of described target resource role and the occupancy of each resource of correspondence as feedback information.
11. devices according to claim 10,
Described information gathering submodule, for gathering the occupancy of each resource corresponding to each target resource role;Add up occupancy in each resource of correspondence for each target resource role and reach the resource usage quantity of first threshold;For each target resource role, determine resource utilization according to described resource usage quantity and total number resource amount.
12. according to the device described in claim 10 or 11, described Modifying model module, including:
Role revises submodule, for according to the weight of corresponding each Resource Role in described each resource utilization correction resource model;
Resource correction submodule, for the weight according to each resource corresponding in the occupancy correction resource model of described each resource.
13. devices according to claim 12,
Described role revises submodule, for when the resource utilization of Resource Role is more than the first adjustment threshold value, reducing the weight of this Resource Role;When the resource utilization of Resource Role is less than the second adjustment threshold value, increase the weight of this Resource Role.
14. devices according to claim 12,
Described resource correction submodule, for when the occupancy of resource is more than the 3rd adjustment threshold value, reducing the weight of this resource;When the occupancy of resource is less than the 4th adjustment threshold value, increase the weight of this resource.
15. devices according to claim 9, described device, also include:
Resource divides module, for dividing multiple resources according at least one classified types following, generates at least one resource pool corresponding with described classified types;Wherein, described classified types includes resource services type, resources use right limit or resource regional information;Being respectively created Resource Role for described each resource pool, wherein, described Resource Role is for managing at least one Taiwan investment source in corresponding resource pool.
16. devices according to claim 10, described device also includes:
Resource distribution module, is used for receiving resource request, and wherein, described resource request includes customized parameter;At least one customized parameter following is mated with resource model, obtains the target resource role mated with customized parameter;Wherein, described customized parameter includes ID, protocol address, uploading nodes information.
CN201610272147.5A 2016-04-27 2016-04-27 Method and apparatus for modifying resource model Pending CN105827455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610272147.5A CN105827455A (en) 2016-04-27 2016-04-27 Method and apparatus for modifying resource model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610272147.5A CN105827455A (en) 2016-04-27 2016-04-27 Method and apparatus for modifying resource model

Publications (1)

Publication Number Publication Date
CN105827455A true CN105827455A (en) 2016-08-03

Family

ID=56528846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610272147.5A Pending CN105827455A (en) 2016-04-27 2016-04-27 Method and apparatus for modifying resource model

Country Status (1)

Country Link
CN (1) CN105827455A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664393A (en) * 2018-04-03 2018-10-16 广东电网有限公司信息中心 A kind of multiserver resource pool compatibility test and modification method
CN111010735A (en) * 2019-11-20 2020-04-14 京信通信系统(中国)有限公司 Resource allocation method, device, base station and storage medium
CN111835541A (en) * 2019-04-18 2020-10-27 华为技术有限公司 Model aging detection method, device, equipment and system
CN115994098A (en) * 2023-03-22 2023-04-21 成都大前研软件开发有限公司 Analysis method and system for software operation abnormality based on artificial intelligence

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102958166A (en) * 2011-08-29 2013-03-06 华为技术有限公司 Resource allocation method and resource management platform
US20140325076A1 (en) * 2010-10-18 2014-10-30 International Business Machines Corporation Reallocating resource capacity among resource pools in a cloud computing environment
CN104468407A (en) * 2013-09-16 2015-03-25 中国电信股份有限公司 Method and device for performing service platform resource elastic allocation
CN104714851A (en) * 2015-03-30 2015-06-17 中国联合网络通信集团有限公司 Method and device for realizing resource distribution
CN105049443A (en) * 2015-08-12 2015-11-11 北京因特信安软件科技有限公司 Method for constructing trusted resource pool

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140325076A1 (en) * 2010-10-18 2014-10-30 International Business Machines Corporation Reallocating resource capacity among resource pools in a cloud computing environment
CN102958166A (en) * 2011-08-29 2013-03-06 华为技术有限公司 Resource allocation method and resource management platform
CN104468407A (en) * 2013-09-16 2015-03-25 中国电信股份有限公司 Method and device for performing service platform resource elastic allocation
CN104714851A (en) * 2015-03-30 2015-06-17 中国联合网络通信集团有限公司 Method and device for realizing resource distribution
CN105049443A (en) * 2015-08-12 2015-11-11 北京因特信安软件科技有限公司 Method for constructing trusted resource pool

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108664393A (en) * 2018-04-03 2018-10-16 广东电网有限公司信息中心 A kind of multiserver resource pool compatibility test and modification method
CN108664393B (en) * 2018-04-03 2021-09-14 广东电网有限公司信息中心 Multi-server resource pool compatibility testing and correcting method
CN111835541A (en) * 2019-04-18 2020-10-27 华为技术有限公司 Model aging detection method, device, equipment and system
CN111010735A (en) * 2019-11-20 2020-04-14 京信通信系统(中国)有限公司 Resource allocation method, device, base station and storage medium
CN115994098A (en) * 2023-03-22 2023-04-21 成都大前研软件开发有限公司 Analysis method and system for software operation abnormality based on artificial intelligence
CN115994098B (en) * 2023-03-22 2024-01-16 天翼安全科技有限公司 Analysis method and system for software operation abnormality based on artificial intelligence

Similar Documents

Publication Publication Date Title
US10880180B2 (en) Method and apparatus for data analytics management
US20170142177A1 (en) Method and system for network dispatching
CN105912397A (en) Resources management method and device
US9923771B2 (en) Adaptive bitrate modification of a manifest file
Liu et al. Big data orchestration as a service network
CN109547517B (en) Method and device for scheduling bandwidth resources
CN106230971B (en) Big document distribution method based on CDN
CN105827455A (en) Method and apparatus for modifying resource model
CN106027596A (en) Task distributing method and device
CN106464733B (en) The method and device of virtual resource in a kind of adjustment cloud computing
CN105827448A (en) Resource distribution method and apparatus
CN105847891A (en) Resource preemption method and device
CN110716808A (en) Service processing method, device, computer equipment and storage medium
CN110830604A (en) DNS scheduling method and device
CN112543357A (en) Streaming media data transmission method based on DASH protocol
CN116192960A (en) Dynamic construction method and system for computing power network cluster based on constraint condition
CN108900314B (en) Request number charging method and device for network acceleration service
US9591067B2 (en) Methods and apparatus for allocating cloud-based media resources
CN114785692B (en) Communication network flow balancing method and device for aggregation regulation of virtual power plants
CN103607731A (en) Method and device for processing measurement reports
CN107295103B (en) Node management method based on centralized P2P system
CN106874108B (en) Technology for minimizing number of micro clouds in mobile cloud computing
CN111770152B (en) Edge data management method, medium, edge server and system
US20180039672A1 (en) Method and apparatus for answering queries based on partial aggregations of a continuous data stream
CN106027420A (en) Resource model establishment method and device

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: 20160803