Based on super many business softwares License Management method of calculating cloud service
Technical field
The present invention relates to a kind ofly based on super many business softwares License Management method of calculating cloud service, in particular, relate in particular to and a kind ofly can effectively improve the super efficiency of management of cloud service and the many business softwares License Management method of service quality calculated.
Background technology
Along with developing rapidly of high-performance computer, in order better to bring into play its huge Parallel Computing Performance, thereby for society provides better calculation services, the deficiency that computational resource on the supercomputing platform remedies self software and hardware computational resource all can be rented by more and more enterprises, colleges and universities, scientific research institutions.And for high-performance computer, how when polymorphic type multi-angle computational resource is provided, effectively distribute and safe to guarantee, quick, convenient, the effective calculation services of these user resources of management, this just needs to use a kind of License Management method of science to realize the real-time management of software resource, computational resource, rationally distribute efficiently, realizes the optimal scheduling to resource.
At present, general each software has the License server of oneself, high-performance computer also all is furnished with job scheduling and management system and the full machine account management function independently of oneself, at the unsteady licensed software of the commercial network expensive, that authorized quantity is limited, along with increasing and complexity of high-performance computer user, the increasing and authorize diversity of amount of software, how effectively to manage License, automatically real-time and system job is dispatched with management function mutual, accomplishing operation effective monitoring and scheduling to validated user, is the technical barrier of being badly in need of solution.
Summary of the invention
The present invention provides a kind of and can effectively improve the super efficiency of management of cloud service and the many business softwares License Management method of service quality calculated in order to overcome the shortcoming of above-mentioned technical matters.
Of the present invention based on super many business softwares License Management method of calculating cloud service, its special feature is, may further comprise the steps: a). extract user profile, after application server receives user's activation instruction, find out this user's encrypted private subscribers authorization message, and the private subscribers authorization message is decrypted; Obtain user ID, the business software ID that subscriber authorisation can be used, License maximum parallel check figure N, user priority authority Pr and the effective beginning and ending time Start_time of user right, the End_time that the user uses software resource; B). judge user's legitimacy, judge whether user's ID is effective ID, if be effective ID, then this user has the authority of further resource request for utilization, execution in step c); If be invalid ID, forbid that then it carries out further resource request for utilization; C). whether before the deadline to judge the user, whether before the deadline application server judges this user's rights of using according to the effective beginning and ending time Start_time of user right, the End_time that decrypt, as before the deadline, execution in step d then); As not before the deadline, forbid that then it carries out further resource request for utilization; D). judge parallel check figure N, the parallel check figure N of maximum when whether the parallel check figure of judging user's submit job has surpassed the user applies registration if surpassed maximum parallel check figure N, then carries out operating mistake and points out, and the software resource service will not be provided; If do not surpass maximum parallel check figure, permit the application of user's submit job, execution in step e); E). judge whether residue License resource is enough, and application server calculates the residue License resource of this business software by the License resource sum that obtains business software, the License sum that other users are using; And judge whether remaining License resource satisfies user's user demand, and if satisfy user demand, execution in step f then); As not satisfying user demand, then remind user License that resource is not enough, please wait in line; F). calculation services is provided, and behind user's submit job, business software is carried out calculation services to the operation that the user submits to, and the result after will calculating feeds back to the user.
In the process of each user's registration, all form the private subscribers authorization message according to its information encryption of filling in.In the step a), application server decrypts for information such as ID, business software ID, maximum parallel check figure and effective beginning and ending times of authority, in order to it is further judged by the private subscribers authorization message.In the step b), whether effective by the ID that judges the user, can identify the legitimacy of user identity.Whether step c) is for judging the time of user's submit job, in the term of validity of user's rights of using; Step d) is whether the parallel check figure when judging user's submit job has surpassed maximum parallel check figure N, as has surpassed maximum parallel check figure, then will not provide service.Whether step e) is enough for judging residue License resource, and it comprises the judgement of operation number and two contents of parallel check figure; If enough License resources are arranged, then calculation services is carried out in the operation that the user is submitted to; If there are not enough License resources, then user's wait of need ranking.
Of the present invention based on super many business softwares License Management method of calculating cloud service, step e) described user wait in line to realize by following steps: e-1). user's queuing, treat that according to user priority authority Pr equity the user ranks, the user that limit priority Pr is high is positioned at the low user's of limit priority Pr front end; For the identical user of limit priority Pr, rank according to the time sequencing that participates in queuing; E-2). judge residue License resource, per elapsed time period T remains the user demand whether the License resource satisfies first user in the queuing order, if residue License resource does not satisfy the demands, then regularly judges; If meet the demands then execution in step f), and first user deleted from the queuing order.
Of the present invention based on super many business softwares License Management method of calculating cloud service, the judgement of the residue License resource described in the step e) comprises the judgement of user's submit job number and parallel check figure; Have only residue License resource to satisfy user's submit job number and parallel check figure simultaneously, think that just remaining the License resource meets consumers' demand.
Of the present invention based on super many business softwares License Management method of calculating cloud service, when the user waited in line submit job, the user with higher prior authority Pr can preferentially obtain service in the step e).
Of the present invention based on super many business softwares License Management method of calculating cloud service, many business softwares License Management method of the present invention is applicable to cluster, the supercomputer environment that big, the commercial licensed software resource of hardware resource scale is many, user type is many.
The invention has the beneficial effects as follows: the present invention utilizes the realization of resource use and management module to the dual command of platform user mandate and software License mandate, not only can carry out rational authentication to the user, and can dispatch effectively and utilize the platform software resource, improve the efficiency of management and the service quality of license management service.
Description of drawings
Fig. 1 is the functional block diagram of License Management method application program of the present invention;
Fig. 2 is the Data Update synoptic diagram of resource management module;
Fig. 3 is the functional sequence block diagram of application program;
Fig. 4 is the process flow diagram of many business softwares License Management method of the present invention.
Embodiment
The invention will be further described below in conjunction with accompanying drawing and embodiment.
As shown in Figure 1, provided the functional block diagram of License Management method application program of the present invention, the different user of business module sends the resource request for utilization to resource use and management module, resource use and management module sends the resource request for utilization to platform resource administration module and License resource management module respectively, application by after feed back to resource use and management module, resource use and management module feeds back to business module again, and business module carries out normal business operation.
Shown in Figure 2, provided the Data Update synoptic diagram of resource management module, after resource management module receives that the user registers request, extraction comprises the business software ID that user ID, effective beginning and ending time of user right, subscriber authorisation can use, the relevant informations such as License maximum parallel check figure N, user priority authority Pr that the user uses software resource, and new data records more after being encrypted.
Shown in Figure 3, be the functional sequence block diagram of application program, Core Feature is business module, resource use and management module, platform resource administration module and License resource management module.The different user of business module sends resource to resource use and management module and uses the business demand application, subsidiary user profile.Resource use and management module sends software and other resource requests for utilization of account to platform resource administration module and License resource management module respectively.The real-time software entitlement management module is used real-time information based on License service data feedback available resources and software resource License, and real time business module service authorization module is based on user data and active user information feedback resource and user profile.Resource use and management module differentiates whether authorize Licnese client initiation of services based on feedback.If application is passed through, License client terminal start-up business feeds back to business module with the result at last, and business module is normal business operation.
As shown in Figure 4, provided the process flow diagram of many business softwares License Management method of the present invention, it may further comprise the steps:
A). extract user profile, after application server receives user's activation instruction, find out this user's encrypted private subscribers authorization message, and the private subscribers authorization message is decrypted; Obtain user ID, the business software ID that subscriber authorisation can be used, License maximum parallel check figure N, user priority authority Pr and the effective beginning and ending time Start_time of user right, the End_time that the user uses software resource;
B). judge user's legitimacy, judge whether user's ID is effective ID, if be effective ID, then this user has the authority of further resource request for utilization, execution in step c); If be invalid ID, forbid that then it carries out further resource request for utilization;
C). whether before the deadline to judge the user, whether before the deadline application server judges this user's rights of using according to the effective beginning and ending time Start_time of user right, the End_time that decrypt, as before the deadline, execution in step d then); As not before the deadline, forbid that then it carries out further resource request for utilization;
D). judge parallel check figure N, the parallel check figure N of maximum when whether the parallel check figure of judging user's submit job has surpassed the user applies registration if surpassed maximum parallel check figure N, then carries out operating mistake and points out, and the software resource service will not be provided; If do not surpass maximum parallel check figure, permit the application of user's submit job, execution in step e);
E). judge whether residue License resource is enough, and application server calculates the residue License resource of this business software by the License resource sum that obtains business software, the License sum that other users are using; And judge whether remaining License resource satisfies user's user demand, and if satisfy user demand, execution in step f then); As not satisfying user demand, then remind user License that resource is not enough, please wait in line;
In this step, the judgement of residue License resource comprises the judgement of user's submit job number and parallel check figure; Have only residue License resource to satisfy user's submit job number and parallel check figure simultaneously, think that just remaining the License resource meets consumers' demand.In when the user waits in line submit job, the user with higher prior authority Pr can preferentially obtain service.
This step described user wait in line to realize by following steps: e-1). user's queuing, treat that according to user priority authority Pr equity the user ranks, and the user that limit priority Pr is high is positioned at the low user's of limit priority Pr front end; For the identical user of limit priority Pr, rank according to the time sequencing that participates in queuing;
E-2). judge residue License resource, per elapsed time period T remains the user demand whether the License resource satisfies first user in the queuing order, if residue License resource does not satisfy the demands, then regularly judges; If meet the demands then execution in step f), and first user deleted from the queuing order.
F). calculation services is provided, and behind user's submit job, business software is carried out calculation services to the operation that the user submits to, and the result after will calculating feeds back to the user.
Many business softwares License Management method of the present invention is applicable to cluster, the supercomputer environment that big, the commercial licensed software resource of hardware resource scale is many, user type is many, not only can carry out more rational management to the user, and can finish monitoring and the scheduling of computational resource more efficiently, improved the calculation services quality.