CN104054308B - Application layer resources selection method, device and system - Google Patents

Application layer resources selection method, device and system Download PDF

Info

Publication number
CN104054308B
CN104054308B CN201280002031.XA CN201280002031A CN104054308B CN 104054308 B CN104054308 B CN 104054308B CN 201280002031 A CN201280002031 A CN 201280002031A CN 104054308 B CN104054308 B CN 104054308B
Authority
CN
China
Prior art keywords
application layer
layer resource
application
type
mistrustful
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.)
Active
Application number
CN201280002031.XA
Other languages
Chinese (zh)
Other versions
CN104054308A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN104054308A publication Critical patent/CN104054308A/en
Application granted granted Critical
Publication of CN104054308B publication Critical patent/CN104054308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a resource selection method and device. The method comprises: a server receives an application deployment request sent by an application deployment request device, wherein the application deployment request comprises the type of an application layer resource required for deploying an application and distrusted application layer resource information; an application layer resource corresponding to the type of the application layer resource is obtained according to the type of the application layer resource; and an application layer resource not corresponding to the distrusted application layer resource information is selected from the application layer resource corresponding to the type of the application layer resource, and the selected application layer resource is loaded to a virtual machine determined by the server. By means of including distrusted application layer resource information in an application deployment request, the present invention enables a candidate application layer resource set to not include an application layer resource corresponding to the distrusted application layer resource information, thereby enabling the selected application layer resource to be trusted by an AD, and improving user experience.

Description

The methods, devices and systems of application layer resource selection
Technical field
The present invention relates to data processing field, more particularly, to a kind of resource selection method, device and system.
Background technology
Cloud computing is a kind of delivery mode of data, services.Cloud service supplier(Cloud Service Provider, CSP)A large amount of data resources that calculate are got up with network connection and carry out unified management, distribution and scheduling, composition one is huge Computing resource pond thus providing a user with service.In theory, cloud resource can infinite expanding, can ask on demand, and high Effect is flexibly.
Generally, cloud service is broadly divided into 3 classes, and that is, infrastructure services(Infrastructure as a Service, IaaS), platform services(Platform as a Service, PaaS)Service with software(Software as A Service, SaaS).In IaaS, user is only set using bases such as the calculating of CSP server offer, storage, network transmissions Apply ability, so it must provide for corresponding platform and software application, and CSP is then with virtual machine(Virtual Machine, VM) Mode provide the user IaaS service.Existing IaaS CSP is often also provided that some conventional operating systems (Operating System, OS)And software, OS and software are all packaged into mirror image(Image).CSP directly adds when creating VM Carry this mirror image.
Work as application developer(Application Developer, AD)By equipment i.e. apply deployment request equipment should Be deployed to cloud platform virtual machine when, can by application deployment request illustrate this application need the application layer of which type to provide The resource of the cloud platforms such as source, such as application server or database server.CSP is based on this application deployment request and passes through cloud platform Clothes obtain the application layer money whether the application layer resource that this CSP has has the desirable type of explanation in application deployment request Source, the application layer finding resource is formed a candidate resource set(Candidate Resource Set, CRS);From CRS Select a resource.The virtual machine that application layer resource selected by CSP loading is determined to cloud platform by server(I.e. VM).
As AD develops a Web application, disposing this application needs application layer resource WebSphere6.0.1, and CSP searches for Resource TOC finds that WebSphere6.0.1 has 5 mirror images, forms candidate resource set CRS, as shown in table 1.
Table 1
ImageA:URI=www.111.com/images/websphere?version=6.0.1
ImageB:URI=www.365XXX.com/images/websphere?version=6.0.1
ImageC:URI=www.imagestore4.com/websphere?version=6.0.1
ImageD:URI=www.imagestore2.com/websphere?version=6.0.1
ImageE:URI=www.imagestore6.com/websphere?version=6.0.1
Assume that the server in the cloud platform of CSP have selected ImageB, this mirror image is got by the URI of ImageB and incites somebody to action It is loaded onto on the VM of server determination.But the type of the application layer resource that the resource that CSP provides need to be disposed according only to application And determine, thus the different demands of different user can not be met, so that Consumer's Experience is relatively low.
Content of the invention
The embodiment of the present invention provides a kind of methods, devices and systems of application layer resource selection so that disposing for application During the application layer resource of same type, the demand according to different user loads different application layer resource, improves Consumer's Experience.
In a first aspect, the embodiment of the present invention provides a kind of method of application layer resource selection, described application layer resource is by cloud The server of platform selects, and for being loaded into the virtual machine of the cloud platform that described server determines, described forwarding method includes:
Server receives the application deployment request that application deployment request equipment sends, and described application deployment request bag includes deployment The required type of application layer resource of application and mistrustful application layer resource information, described mistrustful application layer resource letter Request equipment mistrustful application layer resource is disposed in the described application of breath instruction;Type according to described application layer resource obtains and institute State application layer resource type corresponding application layer resource;From the corresponding application layer resource of described and described application layer resource type Selection is not belonging to application layer resource corresponding with described mistrustful application layer resource information, and the application layer resource of selection is added It is downloaded to the virtual machine that described server determines.
In conjunction with first aspect present invention first may, described from the corresponding application of described and described application layer resource type Before selecting in layer resource to be not belonging to application layer resource corresponding with described mistrustful application layer resource information:The method enters one Step includes:Delete from the corresponding application layer resource of described and described application layer resource type and described mistrustful application layer money Source information corresponding application layer resource.
In conjunction with the second possible possibility of first aspect present invention first, described mistrustful application layer resource information is not believe The address of application layer resource appointed and at least one of the normal form description using the address to mistrustful application layer resource for the asterisk wildcard ?;Delete the described corresponding application layer resource from described and described application layer resource type and described mistrustful application layer money Source information corresponding application layer resource specifically includes:When described mistrustful application layer resource information is mistrustful application layer money During the address in source, from the corresponding application layer resource of described and described application layer resource type, delete described mistrustful application layer The application layer resource of the address instruction of resource;With when described mistrustful application layer resource information is to not believing using asterisk wildcard When the normal form that the address of the application layer resource appointed is carried out describes, from described and described application layer resource type corresponding application layer money The address deleting application layer resource in source meets the model that described use asterisk wildcard is carried out to the address of mistrustful application layer resource The application layer resource of formula description.
In conjunction with any of the above-described possible 3rd may, described application deployment request also includes the application layer resource letter recommended Breath;Select to be not belonging to and described mistrustful application layer from the corresponding application layer resource of described and described application layer resource type Before resource information corresponding application layer resource, the method also includes,
Obtain the application layer resource with the corresponding recommendation of application layer resource information of described recommendation;
Select the described corresponding application layer resource from described and described application layer resource type to be not belonging to not believe with described The application layer resource information corresponding application layer resource appointed is specially:From the corresponding application of described and described application layer resource type Select in layer resource to be not belonging to corresponding with described mistrustful application layer resource information but belong to the application layer money with described recommendation The application layer resource of the corresponding recommendation of source information.
Possible in conjunction with the 3rd the possible the 4th, the application layer resource information of described recommendation includes the application layer resource recommended Type, described acquisition with after the application layer resource of the corresponding recommendation of application layer resource information of described recommendation, and from described Select in application layer resource corresponding with described application layer resource type to be not belonging to and described mistrustful application layer resource information Before corresponding application layer resource, the method also includes:Determine the type of application layer resource of described recommendation and described application section The type of the application layer resource that administration's request includes is consistent.
In conjunction with any of the above-described possible 5th may, methods described also includes, determining described acquisition with described application layer Being not belonging in resource type corresponding application layer resource with the application layer resource of described mistrustful application layer resource information is sky, Notify described application deployment request equipment cannot provide application layer resource.
Possible in conjunction with the above-mentioned 3rd possibility or the 4th the possible the 6th, described application deployment request further includes node mould Plate NodeTemplate item and node type NodeType item corresponding with described node template item;Described application layer is resources-type Type carries in described node type NodeType item corresponding with node template NodeTemplate item;The application of described recommendation Layer resource information carry described with node template item corresponding node type entry in deployment product DeploymentArtifacts In subitem, or the application layer resource information of described recommendation carries in the deployment product subitem in described node template.
May further include to the 6th arbitrary the 7th possible possibility in possible, described application deployment request in conjunction with second Node template NodeTemplate item and node type NodeType item corresponding with described node template item;Described distrust The address of resource carries the deployment product in the distrust resource information subitem in node type item In DeploymentArtifacts field;Described use asterisk wildcard carries described to the normal form description that distrust resource is carried out In the attribute Paradigm field in distrust resource information subitem in node type NodeType item.
Second aspect, the method embodiments providing application layer resource selection, described application layer resource is put down by cloud The server of platform selects, and is loaded on the virtual machine of the cloud platform that described server determines by described server of cloud platform, Methods described includes:Generate application deployment request, described application deployment request bag includes the application layer resource needed for application deployment Type and mistrustful application layer resource information, described mistrustful application layer resource information indicates described application deployment request Equipment mistrustful application layer resource;Send described application deployment request to server, in order to described server according to described The type of application layer resource obtains application layer resource corresponding with described application layer resource type, from described and described application layer money Select in Source Type corresponding application layer resource to be not belonging to application layer money corresponding with described mistrustful application layer resource information Source, and the application layer resource of selection is loaded into the virtual machine that described server determines.
Possible in conjunction with the first of second aspect, described application deployment request also includes the application layer resource information recommended, with It is easy to the application layer resource of server acquisition and the corresponding recommendation of application layer resource information of described recommendation, and from described and described In application layer resource type corresponding application layer resource select be not belonging to corresponding with described mistrustful application layer resource information but Belong to the application layer resource with the corresponding recommendation of application layer resource information of described recommendation, and the application layer resource selecting is loaded To virtual machine.
Possible in conjunction with the second of second aspect, described application deployment request further includes node template NodeTemplate Item and node type NodeType item corresponding with described node template item;Described mistrustful application layer resource information is not The address of application layer resource trusted and the normal form using the address to mistrustful application layer resource for the asterisk wildcard describe at least One;The described address distrusting resource carries the deployment product in the distrust resource information subitem in node type item In DeploymentArtifacts field;Described use asterisk wildcard carries described to the normal form description that distrust resource is carried out In the attribute Paradigm field in distrust resource information subitem in node type NodeType item.
In conjunction with the 3rd possible possibility of second aspect first, described application deployment request further includes node template NodeTemplate item and node type NodeType item corresponding with described node template item;Described application layer resource type Carry in described node type NodeType item corresponding with node template NodeTemplate item;The application layer of described recommendation Resource information carry described with node template item corresponding node type entry in deployment product subitem in, or described recommendation should Carried in the deployment product subitem in described node template with layer resource information
.The third aspect, embodiments provides the server selecting application layer resource, described application layer resource is by cloud The server of platform selects, and for being loaded into the virtual machine of the cloud platform that described server determines, including:Receiving unit, Acquiring unit and selection loading unit;
Described receiving unit, disposes request and to described acquisition for receiving the application that application deployment request equipment sends Unit sends described application deployment request, described application dispose request bag include the type of the application layer resource needed for application deployment with And mistrustful application layer resource information, the described application deployment request equipment of described mistrustful application layer resource information instruction is not The application layer resource trusted;
Described acquiring unit, for receiving the application deployment request that described receiving unit sends, and according to described application The type of layer resource obtains application layer resource corresponding with described application layer resource type, and sends described and described application layer money Source Type corresponding application layer resource gives described selection loading unit, and sends mistrustful answering to described selection loading unit Use layer resource information;
Described selection loading unit, for receiving the application corresponding with described application layer resource type of acquiring unit transmission It is described that layer resource and described mistrustful application layer resource information, the described acquiring unit of reception or described receiving unit send Mistrustful application layer resource information, and select not from the corresponding application layer resource of described and described application layer resource type Belong to application layer resource corresponding with described mistrustful application layer resource information, and the application layer resource of selection is loaded into institute State the virtual machine of server determination.
Possible in conjunction with the first of the third aspect, described selection loading unit is further used for:From described and described application layer Application layer resource corresponding with described mistrustful application layer resource information is deleted in resource type corresponding application layer resource.
Possible in conjunction with the first possible second of the third aspect, described mistrustful application layer resource information is mistrustful The address of application layer resource and using the address to mistrustful application layer resource for the asterisk wildcard normal form description at least one;Institute State selection loading unit delete from the corresponding application layer resource of described and described application layer resource type mistrustful with described Application layer resource information corresponding application layer resource is specially:When described mistrustful application layer resource information is mistrustful answering During with the address of layer resource, delete described mistrustful from the corresponding application layer resource of described and described application layer resource type The application layer resource of the address instruction of application layer resource;With when described mistrustful application layer resource information is to use asterisk wildcard When the normal form that the address of mistrustful application layer resource is carried out describes, from described and described application layer resource type corresponding should Meet described use asterisk wildcard with the address deleting application layer resource in layer resource the address of mistrustful application layer resource is entered The application layer resource of the normal form description of row.
Tie full third aspect present invention, the first possibility or the second the 3rd possible possibility, described application deployment request is also wrapped Include the application layer resource information of recommendation;Described acquiring unit is additionally operable in described selection loading unit from described and described application layer Select in resource type corresponding application layer resource to be not belonging to application layer corresponding with described mistrustful application layer resource information Before resource, obtain and the application layer resource of the corresponding recommendation of application layer resource information of described recommendation, and by described recommendation Application layer resource be sent to described selection loading unit;Described selection loading unit specifically for:Receive acquiring unit to send Application layer resource corresponding with described application layer resource type, described mistrustful application layer resource information and acquiring unit The application layer resource of the described recommendation sending, and select from the corresponding application layer resource of described and described application layer resource type Select and be not belonging to corresponding with described mistrustful application layer resource information but belong to corresponding with the application layer resource information of described recommendation Recommendation application layer resource, and the application layer resource of selection is loaded into virtual machine.
Tie full third aspect present invention the 3rd the possible the 4th is possible, and the application layer resource information of described recommendation includes pushing away The type of the application layer resource recommended, described selection loading unit is from application layer resource corresponding with described application layer resource type Middle selection is not belonging to application layer resource corresponding with described mistrustful application layer resource information, but belong to described recommendation should Before application layer resource with the corresponding recommendation of layer resource information, it is further used for receiving application deployment described in described acquiring unit The type of application layer resource and the type of the application layer resource of described recommendation that request includes, and determine answering of described recommendation Type with layer resource is consistent with the type that the application layer resource that request bag includes is disposed in described application.
Possible in conjunction with arbitrary possible the 5th of third aspect present invention, described device also includes, and described device also includes, Determine notification unit, for determine be not belonging in the application layer resource corresponding with described application layer resource type of described acquisition with The application layer resource of described mistrustful application layer resource information is sky, and notifying described application deployment request equipment cannot provide should Use layer resource.
Fourth aspect, embodiments provides a kind of application deployment request equipment, described device request cloud platform Server is the described application layer resource that described application selects to load, and the application layer resource of selection is loaded into described server On the virtual machine of cloud platform determining, including signal generating unit and transmitting element;
Described signal generating unit, gives described transmitting element for generating application deployment request Concurrency, described application deployment please Ask the type including the application layer resource needed for application deployment and mistrustful application layer resource information, described mistrustful should Dispose request equipment mistrustful application layer resource with the described application of layer resource information instruction;Described transmitting element, for receiving The described application deployment request that described signal generating unit sends, sends described application deployment request to server, in order to described clothes Business device obtains application layer resource corresponding with described application layer resource type according to the type of described application layer resource, from described and Select to be not belonging to and described mistrustful application layer resource information pair in the corresponding application layer resource of described application layer resource type The application layer resource answered, and the application layer resource of selection is loaded into virtual machine.
Possible in conjunction with the first of fourth aspect, described application deployment request also includes the application layer resource information recommended, with It is easy to the application layer resource of server acquisition and the corresponding recommendation of application layer resource information of described recommendation, and from described and described In application layer resource type corresponding application layer resource select be not belonging to corresponding with described mistrustful application layer resource information but Belong to the application layer resource with the corresponding recommendation of application layer resource information of described recommendation, and the application layer resource selecting is loaded To virtual machine.
5th aspect, embodiments provides a kind of resource selection system, and described system includes:
Described network interface is used for being communicated with external equipment, receives the application deployment that application deployment request equipment sends Request, described application deployment request bag includes the type of application layer resource and mistrustful application layer resource needed for application deployment Information, described mistrustful application layer resource information indicates that request equipment mistrustful application layer resource is disposed in described application;Institute State memory storage application program:Described processor calls application program in storage in described memory, and according to described application The type of layer resource obtains application layer resource corresponding with described application layer resource type;Resources-type from described and described application layer Select in type corresponding application layer resource to be not belonging to application layer resource corresponding with described mistrustful application layer resource information, and The application layer resource of selection is loaded into the virtual machine that described resource selection system determines.
Possible in conjunction with the first of fifth aspect present invention, described processor is further from described and described application layer resource Select in type corresponding application layer resource to be not belonging to application layer resource corresponding with described mistrustful application layer resource information Before, delete and described mistrustful application layer resource from the corresponding application layer resource of described and described application layer resource type Information corresponding application layer resource.
Possible in conjunction with the first possible second of fifth aspect present invention, described mistrustful application layer resource information is not The address of application layer resource trusted and the normal form using the address to mistrustful application layer resource for the asterisk wildcard describe at least One;Described processor is deleted mistrustful with described from the corresponding application layer resource of described and described application layer resource type The instruction of application layer resource information corresponding application layer resource specifically includes:When described mistrustful application layer resource information is not During the address of application layer resource trusted, delete described from the corresponding application layer resource of described and described application layer resource type The application layer resource of the address instruction of mistrustful application layer resource;With, when described mistrustful application layer resource information be make When being described with the normal form that asterisk wildcard is carried out to the address of mistrustful application layer resource, from described and described application layer resource type The address deleting application layer resource in corresponding application layer resource meets described use asterisk wildcard to mistrustful application layer resource Address carry out normal form description application layer resource.
Possible in conjunction with any of the above-described possible the 3rd of fifth aspect present invention, described application deployment request also includes recommending Application layer resource information;Described processor selects not from the corresponding application layer resource of described and described application layer resource type Before belonging to application layer resource corresponding with described mistrustful application layer resource information, obtain further with described recommendation should Application layer resource with the corresponding recommendation of layer resource information;And described processor from described with described application layer resource type pair Select in the application layer resource answered to be not belonging to application layer resource corresponding with described mistrustful application layer resource information to be specially: Select to be not belonging to provide with described mistrustful application layer from the corresponding application layer resource of described and described application layer resource type Source information is corresponding but belongs to the application layer resource with the corresponding recommendation of application layer resource information of described recommendation.
Possible in conjunction with the 3rd the possible the 4th of fifth aspect present invention, the application layer resource information of described recommendation includes pushing away The type of the application layer resource recommended;Described processor obtains the application with the corresponding recommendation of application layer resource information of described recommendation Layer resource after and from described and described application layer resource type corresponding application layer resource selection be not belonging to described not Before the application layer resource information corresponding application layer resource trusted, further determine that the type of the application layer resource of described recommendation Consistent with the type that the application layer resource that request bag includes is disposed in described application.
In conjunction with any of the above-described the 5th possible possibility of fifth aspect present invention, described processor further determines that described acquisition Application layer resource corresponding with described application layer resource type in be not belonging to and described mistrustful application layer resource information Application layer resource is sky, notifies described application deployment request equipment cannot provide application layer resource.
6th aspect, embodiments provides a kind of resource selection system, and described system includes:Connect including network Mouth, processor;Memory;Described network interface is used for being communicated with external equipment, and described memory is used for storage application journey Sequence, described processor is used for calling the application program of memory storage, generates application deployment request, and request bag is disposed in described application Include the type of application layer resource needed for application deployment and mistrustful application layer resource information, described mistrustful application layer Request equipment mistrustful application layer resource is disposed in the described application of resource information instruction;And by described network interface to server Send described application deployment request, obtained and described application layer according to the type of described application layer resource in order to described server Resource type corresponding application layer resource, selects not belong to from the corresponding application layer resource of described and described application layer resource type In application layer resource corresponding with described mistrustful application layer resource information, and the application layer resource of selection is loaded into described The virtual machine that server determines.
Possible in conjunction with the first of sixth aspect present invention, described application deployment request also includes the application layer resource letter recommended Breath, obtains the application layer resource with the corresponding recommendation of application layer resource information of described recommendation in order to server, and from described Select in application layer resource corresponding with described application layer resource type to be not belonging to and described mistrustful application layer resource information Correspond to but belong to the application layer resource with the corresponding recommendation of application layer resource information of described recommendation, and the application layer that will select Resource is loaded into the virtual machine that described server determines.
Embodiments provide a kind of resource selection method, device and system, include portion in application deployment request The required type of application layer resource of administration's application and mistrustful application layer resource information, so that server will not select for user Equipment of selecting mistrustful application layer resource, thus improve Consumer's Experience.
Brief description
Figure 1A is one of flow chart of embodiment of the method for application layer resource selection of the present invention;
Figure 1B is the two of the flow chart of embodiment of the method for application layer resource selection of the present invention;
Fig. 2 is the configuration diagram of TOSCA in the embodiment of the method for application layer resource selection of the present invention;
Fig. 3 is another flow chart of the embodiment of the method for application layer resource selection of the present invention;
Fig. 4 is the schematic diagram of server example of the present invention;
Fig. 5 is the schematic diagram of present invention application deployment request apparatus embodiments;
Fig. 6 is the schematic diagram of application layer resource selection system embodiment of the present invention;
Fig. 7 is the schematic diagram of present invention application deployment request apparatus embodiments.
Specific embodiment
Below by drawings and Examples, technical scheme is described in further detail.
Figure 1A is one of flow chart of embodiment of the method for application layer resource selection of the present invention, and in the method, application layer provides Source is selected by server of cloud platform, and for being loaded into the virtual machine of the cloud platform that described server determines, as illustrated, The present embodiment specifically includes following steps:
Step 101, server receives the application deployment request that application deployment request equipment sends, described application deployment request Type including the application layer resource needed for application deployment and mistrustful application layer resource information, described mistrustful application Request equipment mistrustful application layer resource is disposed in the described application of layer resource information instruction
Optionally, described mistrustful application layer resource information, is server, and the server of cloud platform of such as CSP can The information of correct identification;
When AD will will apply the resource such as virtual machine in the resource pool being deployed to cloud platform by application deployment request equipment When upper, application deployment request device-to-server, such as server of cloud platform, send application deployment request, this application deployment please Seek the associated description including the application layer resource needed for application deployment, as included the type of the application layer resource needed for application deployment And mistrustful application layer resource information.Application layer resource application server(As WebSphere)Or database server(As Oracle)Deng software resource.That is this application dispose request bag include the type of the application layer resource needed for application deployment with And mistrustful application layer resource information.Further, application deployment request can also be included from according to application layer money simultaneously The evaluation in source and by application deployment request equipment recommendation application layer resource information.The application layer resource information recommended is used for indicating The application layer resource information that CSP can use, the application layer resource information of this recommendation is that AD is self-defined.
Specifically, mistrustful application layer resource information is the address of mistrustful application layer resource and uses asterisk wildcard pair At least one of the normal form description of the address of mistrustful application layer resource.Specifically, described application deployment request is wrapped further Include node template NodeTemplate item and node type NodeType item corresponding with described node template item;Described do not believe The address appointing resource carries the distrust resource information subitem in node type item, such as untrustlist, in deployment product In DeploymentArtifacts field;Described use asterisk wildcard carries described to the normal form description that distrust resource is carried out Distrust resource information subitem in node type NodeType item, such as untrustlist, in attribute Paradigm field In.For example, mistrustful application layer resource information is using not information resources subitem, such as the deployment product in " unTrustList " DeploymentArtifacts field definition distrusts the address of resource, and using distrusting resource subitem, such as UnTrustList, in attribute Paradigm field definition using asterisk wildcard to distrust resource carry out normal form description.
Additionally, in embodiments of the present invention, distrust that the address of resource is concrete and the mistrustful application layer of unique sensing Resource, that is, the accurate address of mistrustful application layer resource.And using asterisk wildcard, the normal form distrusting resource to carry out is retouched State the description being using asterisk wildcard, the address distrusting resource to be carried out, the description of this normal form can point to its application layer resource multiple Address meet this asterisk wildcard description application layer resource.
The address of such as distrust resource is:
Image1:www.365XXX.com/images/websphere?version=6.0.1
Using asterisk wildcard, the normal form distrusting resource to carry out is described as:
Image2:www.111.com/images/*;(" * " represents any number of any characters of coupling)
Then, in application deployment request, distrust the address of resource and using asterisk wildcard to distrusting resource to carry out Normal form description is adopted under type and is carried:
Distrust resource subitem, unTrustList, in DeploymentArtifact field comprise two attributes and one Individual daughter element.Two attributes are respectively name and type, represent ID and the type of this DeploymentArtifact respectively(With one Individual URI represents), as above in example, the ID of first distrust resource is Image1, and its type is www.dmtf.org/ imageType/img(Represent mirror image nature);One daughter element is Location, describes the ground of this mistrustful resource Location, it is also possible to be represented with URI, as above distrusts in example that the address of resource Image1 is www.365XXX.com/images/ websphere?version=6.0.1.
Distrust resource subitem, unTrustList, in Paradigm field in comprise two attributes and one son unit Element.Two attributes are respectively name and type, represent ID and the type of this Paradigm respectively, are represented with a URI, as above example In, the ID of second distrust resource is Image2, and its type is www.example.com/paradigms/paradigm1; One daughter element is Location, describes the pattern of this normal form, as above in example, the pattern of normal form Image2 is www.111.com/images/*.
Above-mentioned first URI is the URI of a mirror image, if the application layer resource that server obtains is Image:URI= www.365XXX.com/images/websphere?Version=6.0.1, then show that this Image is to be not trusted;If clothes The application layer resource that business device obtains is Image:URI=www.111.com/images/websphere?Version=6.0.1, then The address of this application layer resource is with using asterisk wildcard, the normal form of the address to not information resources describes Image2:www.111.com/ Images/* mates.So, with URI=www.111.com/images/websphere?The corresponding Image of version=6.0.1 It is also un-trusted.
In the present embodiment, using the topological sum business process specification of cloud application(Topology and Orchestration Specification for Cloud Applications, TOSCA)The required application layer resource of description application.TOSCA is by believing The senior exploitation standard of breath society(Advancing open standards for the information society, OASIS)Definition, the specification descriptor format of the topology of one cloud application deployed environment, layout and required application layer resource.Fig. 2 Plant the configuration diagram of TOSCA in resource selection method embodiment for the present invention, there is defined several important elements:
Node type NodeType1 item:Define a kind of reusable entity, base attribute enabled node type attribute NodeTypeProperties defines, and deployment assembly subitem can use deployment product DeploymentArtifacts definition;
Properties is used for describing some build-in attributes of this node type, the such as Vendor of software, version information etc.; Interfaces defines the interface manipulating this node type;DeploymentArtifacts describes the deployment system of this node Product information, the such as type of deployment product, URL etc..
Node template NodeTemplate2 item:Example as node type NodeType1 item;
Relationship type RelationshipType3 item:Define the relation of two or more NodeTemplate;
Relationship templates RelationshipTemplate4 item:Example as RelationshipType;
Plan Plans5 item:Comprise multiple Plan, each Plan both defines the workflow completing certain function, workflow In method or interface defined by each NodeType;
Topological template TopologyTemplate6 item:One topological structure applied in application layer of description;
Using DeploymentArtifacts subitem, this NodeType example can be described in NodeType item(I.e. NodeTemplate)Deployment assembly.DeploymentArtifacts subitem can comprise one or more DeploymentArtifact, each DeploymentArtifact define a deployment assembly.Distrust resource subitem " unTrustList " is also defined under DeploymentArtifacts.As described above, unTrustList is undefined DeploymentArtifact distrusts the address of resource in order to describe, and directly in DeploymentArtifacts subitem and The definition DeploymentArtifact under unTrustList subitem is not in order to describe the application layer resource information of recommendation.
So, application deployment request represents required application layer resource using node template NodeTemplate item, using with Node template NodeTemplate item corresponding node type NodeType item represents required application layer resource type;Described recommendation Application layer resource information carry described with node template item corresponding node type entry in deployment product subitem in, and/or The application layer resource information of described recommendation carries in the deployment product subitem in described node template.
The definition mode of NodeType item is as follows.
For example:WebSphere6.0.1 can be encapsulated in a mirror image it is recommended that application layer resource Image3 address It is www.imagestore3.com/websphere/version?=6.0.1, distrusts resource Image1 and Image2 as above institute State, then complete NodeType is defined as:
In above-mentioned NodeType item, attribute name describes the ID of this NodeType, such as webSphere. A DeploymentArtifact field is directly defined in order to describe recommendation under in DeploymentArtifacts subitem The address of application layer resource, that is, the application layer resource information recommended.ID is Image3, and type is www.dmtf.org/ ImageType/img, address is www.imagestore3.com/websphere/version?=6.0.1.Meanwhile, distrust Application layer resource subitem, such as unTrustList, describe two and distrust resource Image1 and Image2.Wherein, In unTrustList each parameter retouch the description for unTrustList in art and previous examples, embodiment of the present invention here is not Describe in detail again.
Using needed for TOSCA description application, during application layer resource, NodeTemplate represents an application layer resource, with The type of NodeTemplate corresponding application layer resource is defined or described by NodeType.That is, Nodetype is used for Being specifically defined of application layer resource is described, such as one ID is the NodeTemplate of AppServer, and its type is defined above WebSphere, represents that this application layer resource type is webSphere;RelationShipTemplate represents application layer resource Relation between NodeTemplate, RelationShipType corresponding with NodeTemplate, for describing application layer money Relation between being specifically defined of relation between the NodeTemplate of source, such as application server database server is " even Connect ".Therefore, define the RelationShipType that an ID is " ConnectTo ", and define an ID for " Edge " RelationShipTemplate, its type is ConnectTo;Deployment product in NodeType or NodeTemplate DeploymentArtifact defines the candidate resource of application layer resource.
Step 102, the type according to described application layer resource obtains application layer corresponding with described application layer resource type Resource;
Specifically, in this step, the type acquisition according to described application layer resource is corresponding with described application layer resource type Application layer resource is prior art, and the embodiment of the present invention will not be described in detail herein.
Optionally, as it was previously stated, described application deployment request also includes the application layer resource information recommended;
Select the described corresponding application layer resource from described and described application layer resource type to be not belonging to not believe with described Before the application layer resource information corresponding application layer resource appointed, server also needs to obtain the application layer resource with described recommendation The application layer resource of the corresponding recommendation of information;
Step 103, from the corresponding application layer resource of described and described application layer resource type select be not belonging to described The corresponding application layer resource of mistrustful application layer resource information, and it is true that the application layer resource of selection is loaded into described server Fixed virtual machine.
Specifically, server is selecting to be not belonging to from the corresponding application layer resource of described and described application layer resource type Before application layer resource corresponding with described mistrustful application layer resource information, can from described application layer resource type pair Application layer resource corresponding with described mistrustful application layer resource information is deleted in the application layer resource answered.
Described mistrustful application layer resource information is the address of mistrustful application layer resource and uses asterisk wildcard to not At least one of the normal form description of the address of application layer resource trusted;Described corresponding from described and described application layer resource type Application layer resource in delete application layer resource corresponding with described mistrustful application layer resource information and specifically include:
When the address that described mistrustful application layer resource information is mistrustful application layer resource, from described and described The application layer of the address instruction of described mistrustful application layer resource is deleted in application layer resource type corresponding application layer resource Resource;With when described mistrustful application layer resource information is using asterisk wildcard, the address of mistrustful application layer resource to be entered From the corresponding application layer resource of described and described application layer resource type, when the normal form of row describes, delete the ground of application layer resource Location meets the application layer resource of the normal form description that described use asterisk wildcard is carried out to the address of mistrustful application layer resource.
When application deployment request includes the application layer resource information recommended, step 103 is specially:From described and described In application layer resource type corresponding application layer resource select be not belonging to corresponding with described mistrustful application layer resource information but Belong to the application layer resource with the corresponding recommendation of application layer resource information of described recommendation.
Type according to described application layer resource obtains application layer resource corresponding with described application layer resource type, obtains Comprise the first choice resource collection of the application layer resource corresponding with described application layer resource type of described acquisition;From described One selects to delete application layer resource corresponding with described mistrustful application layer resource information in resource collection, obtains described candidate Application layer resource collection.
Further, the application layer resource information of described recommendation includes the type of the application layer resource of recommendation;Executing step Before rapid 103, server also needs to determine the type of application layer resource of described recommendation and described application disposes that request bag includes should Type with layer resource is consistent.
In an embodiment of the present invention, the type of the application layer resource needed for application deployment is included in application deployment request And mistrustful application layer resource information, so that server will not be user selects equipment mistrustful application layer resource, from And improve Consumer's Experience.
Figure 1B is the two of the flow chart of embodiment of the method for application layer resource selection of the present invention, and application layer resource is by cloud platform Server select, and be loaded on the virtual machine of the cloud platform that described server determines by described server of cloud platform.As Shown in Figure 1B, the present embodiment specifically includes following steps:
101A, generation application deployment request, described application deployment request bag includes the application layer resource needed for application deployment Type and mistrustful application layer resource information, described mistrustful application layer resource information indicates described application deployment request Equipment mistrustful application layer resource;
102A, send described application deployment request to server, in order to described server according to described application layer resource Type obtain application layer resource corresponding with described application layer resource type, corresponding from described and described application layer resource type Application layer resource in select to be not belonging to application layer resource corresponding with described mistrustful application layer resource information, and will select Application layer resource be loaded into the virtual machine that described server determines.
Further, described application deployment request also includes the application layer resource information recommended, and obtains in order to server With the application layer resource of the corresponding recommendation of application layer resource information of described recommendation, and from described with described application layer resource type Select in corresponding application layer resource to be not belonging to corresponding with described mistrustful application layer resource information but belong to and described recommendation The corresponding recommendation of application layer resource information application layer resource, and the application layer resource of selection is loaded into virtual machine.
Further, described application deployment request further include node template NodeTemplate item and with described section Point template item corresponding node type NodeType item;Described mistrustful application layer resource information is mistrustful application layer money The address in source and using the address to mistrustful application layer resource for the asterisk wildcard normal form description at least one;Described distrust The address of resource carries the deployment product in the distrust resource information subitem in node type item In DeploymentArtifacts field;Described use asterisk wildcard carries described to the normal form description that distrust resource is carried out In the attribute Paradigm field in distrust resource information subitem in node type NodeType item.
Optionally, described application deployment request further include node template NodeTemplate item and with described node Template item corresponding node type NodeType item;Described application layer resource type carries in described and node template In NodeTemplate item corresponding node type NodeType item;The application layer resource information of described recommendation carry described with In deployment product subitem in node template item corresponding node type entry, or the application layer resource information of described recommendation carries in institute State in the deployment product subitem in node template.
In an embodiment of the present invention, the type of the application layer resource needed for application deployment is included in application deployment request And mistrustful application layer resource information, so that server will not be user selects equipment mistrustful application layer resource, from And improve Consumer's Experience.
Fig. 3 plants another flow chart of resource selection method embodiment for the present invention, and in the present embodiment, institute's application deployment are Web applies, and needs application layer resource WebSphere6.0.1(Application server)And Oracle10g(I.e. database server). As shown in figure 3, the present embodiment specifically includes following steps:
Step 200, the application deployment request receiving application deployment request equipment transmission of server, described application deployment please Ask the type including the application layer resource needed for application deployment and mistrustful application layer resource information.
This application deployment request is described using TOSCA, and the name of node template NodeTemplate item is MyAppServer, shows that application layer resource is application server.Node type nodeType and version are WebSphere6.0.1.Its node type nodeType is for WebSphere, shows that the type of application layer resource is WebSphere.This NodeType comprises node type attribute NodeTypeProperties, and parameter element represents application layer The version version of resource, value value be 6.0.1, with represent this application layer resource version as 6.0.1.< NodeTemplate name="MyAppServer",
In addition, this deployment request also comprises the related content of the database server of node template, using node type NodeType and version represent, it is, NodeTemplate:Expression application layer resource Oracle10g of MyDBServer, Its nodeType is the NodeType that an id is Oracle, and this NodeType comprises a node type attribute Property, Parameter element is to represent the version version of application layer resource, and value value is 10g, to represent this application layer resource Version is 10g.
Step 210- step 214 is to process first application layer resource, and id is " MyAppServer " NodeTemplate, its type is " WebSphere ", and version is defined on element " NodeTypeProperties " for 6.0.1 In.
Step 210, comprises the application layer resource corresponding application deployment request with first application in application deployment request Equipment mistrustful application layer resource information and recommendation application layer resource information.
Mistrustful application layer resource information includes:
Distrust resource address is Image2:www.imagestore2.com/websphere/version?=6.0.1
Normal form using the address to mistrustful application layer resource for the asterisk wildcard is described as:www.365xxx.com/ images/*
The application layer resource information recommended is Image1:www.imagestore3.com/websphere/version?= 6.0.1
Step 211, the type of the NodeTemplate that server is " MyAppServer " according to id in application deployment request I.e. the type of required application layer resource is " WebSphere ", is also described using this NodeType in the resources bank of search server Application layer resource, application layer corresponding with described application layer resource type is obtained according to the type of described application layer resource and provides Source;
The resource that server obtains is as shown in table 2
Table 2
Name URI(Address)
ImageA URI=www.111.com/images/websphere?version=6.0.1
ImageB URI=www.365XXX.com/images/websphere?version=6.0.1
ImageC URI=www.imagestore4.com/websphere?version=6.0.1
ImageD URI=www.imagestore2.com/websphere?version=6.0.1
ImageE URI=www.imagestore6.com/websphere?version=6.0.1
Have 5 mirror images comprising WebSphere6.0.1 in server that is to say, that with described application layer resource type pair The application layer resource answered is ImageA, ImageB ... ImageE.
Step 212, server delete from the corresponding application layer resource of described and described application layer resource type with described The corresponding application layer resource of mistrustful application layer resource information.
Specifically, delete in unTrustList from the corresponding application layer resource of described and described application layer resource type What deployment product described distrusts resource address corresponding application layer resource with described.For example:
The URL of ImageD is URI=www.imagestore2.com/websphere?Version=6.0.1, because Image2 is defined in the distrust list of mistrustful application layer resource information, and its URI is identical with ImageD's, therefore, ImageD deletes from the application layer resource corresponding with described application layer resource type obtaining.
Further, because unTrustList further comprises the address to mistrustful application layer resource using asterisk wildcard Normal form description, also need to from obtain application layer resource corresponding with described application layer resource type middle deletion meet to not The normal form description that trusted resource is carried out, for example:
The URL of ImageB is URI=www.365XXX.com/images/websphere?Version=6.0.1, it is right to meet Distrust that the normal form that distrust resource is carried out in list unTrustList describes www.365xxx.com/images/*, because This ImageB also deletes from CRS, and CRS includes ImageA, ImageC, ImageE.
Step 213, as described in step 210, also includes corresponding with first application layer resource in application deployment request By application layer resource information Image1 of application deployment request equipment recommendation, then the application layer resource of the described recommendation of server acquisition Application layer resource Image1 of corresponding recommendation in information;
Step 214, server obtains after step 213 application layer resource and selects an application layer resource to be loaded into clothes In the virtual machine VM that business device determines.
Optionally, server for example can have selected ImageE according to network minimal principle, the resource that CSP will select ImageE;Optionally, the application layer resource information of described recommendation includes the type of the application layer resource of recommendation;Server is in execution In addition it is also necessary to determine that request bag is disposed in the type of application layer resource of described recommendation and described application after step step 213 The type of the application layer resource including is consistent.I.e. server determines the type in the type and Nodetype item of Image1 " WebSphere " is consistent.Further, server is in execution step 214, can be with resources-type from described and described application layer Select in type corresponding application layer resource to be not belonging to corresponding with described mistrustful application layer resource information but belong to and push away with described The application layer resource of the corresponding recommendation of application layer resource information recommended, for example, select Image1 as the application being loaded into virtual machine Layer resource.
Methods described also includes, and determines in the application layer resource corresponding with described application layer resource type of described acquisition not Belonging to the application layer resource of described mistrustful application layer resource information is sky, notifies the described application deployment request equipment cannot Application layer resource is provided.
Step 220 step 222 is to process second application layer resource, and id is " MyDBServer " NodeTemplate, its type is " Oracle ", and version is defined in element " NodeTypeProperties " for 10g.
Step 220, application deployment request bag contains the deployment description of the application layer resource for second application, server root The type of the NodeTemplate being " MyDBServer " according to id in application deployment request is that the type of required application layer resource is " Oracle ", obtaining the resource type that has in the resources bank of server is the database server of " Oracle ", that is, obtain with The corresponding application layer resource of described application layer resource type;
The image listing of the Oracle10g that server search arrives is as shown in table 3.
Table 3
Name URI(Address)
ImageF URI=www.imagestore4.com/oracle?version=10g
ImageG URI=www.imagestore2.com/oracle?version=10g
ImageH URI=www.imagestore6.com/oracle?version=10g
Because do not define mistrustful application layer resource information in description corresponding with " MyDBServer ", therefore server The application layer resource searching acquisition is all trusted;
Step 221, the application layer resource that server directly selects from table 3:ImageG;
Specifically, all do not define DeploymentArtifact due in NodeTemplate item and NodeType item, Do not define by the application layer resource information of application deployment request equipment recommendation.That is, server is determining The application layer resource recommended is not comprised in NodeTemplate item and NodeType item, and mistrustful application layer resource After information, the application layer resource that server directly selects from table 3:ImageG.
In this step, it can be prior art that server directly selects the concrete grammar of application layer resource from table 3, such as root According to the principle of network minimal, or application layer resource is selected according to best principle of performance etc..Embodiment of the present invention here is not detailed State.
Step 222, server loads ImageG and determines in virtual machine VM to server.
As it was previously stated, server determines which virtual machine VM is application layer resource is loaded in belongs to prior art, this Inventive embodiments will not be described in detail herein.
In an embodiment of the present invention, the type of the application layer resource needed for application deployment is included in application deployment request And mistrustful application layer resource information, so that server will not be user selects equipment mistrustful application layer resource, from And improve Consumer's Experience.Additionally, in the embodiment of the present invention, application deployment request equipment can also include in application deployment request The application layer resource information of this equipment recommendation, so that server priority selects the application layer resource recommended, more conforms to use The demand at family, improves Consumer's Experience.
Fig. 4 is the schematic diagram of server 100 provided in an embodiment of the present invention, as illustrated, the present embodiment specifically includes:Connect Receive unit 11, acquiring unit 12 and select loading unit 13;
Receiving unit 11 is used for server and receives the application deployment request that application deployment request equipment sends, and to described Acquiring unit 12 sends described application deployment request.Described application deployment request bag includes the application layer resource needed for application deployment Type and mistrustful application layer resource information, described mistrustful application layer resource information indicates described application deployment request Equipment mistrustful application layer resource;
Acquiring unit 12 is used for receiving the application deployment request of receiving unit 12 transmission, and according to described application layer resource Type obtain application layer resource corresponding with described application layer resource type, and send described and described application layer resource type Corresponding application layer resource gives described selection loading unit 13, and sends mistrustful application to described selection loading unit 13 Layer resource information.
Loading unit 13 is selected to be used for receiving the application corresponding with described application layer resource type of acquiring unit 12 transmission Layer resource and described mistrustful application layer resource information, and from the corresponding application of described and described application layer resource type Select to be not belonging to application layer resource corresponding with described mistrustful application layer resource information in layer resource, and the application that will select Layer resource is loaded into the virtual machine that described server determines.
Further, described selection loading unit 13 is further used for:Corresponding from described and described application layer resource type Application layer resource in delete application layer resource corresponding with described mistrustful application layer resource information
Specifically, described mistrustful application layer resource information is the address of mistrustful application layer resource and uses wildcard At least one of the normal form description of the address to mistrustful application layer resource for the symbol;
Described selection loading unit 13 delete from the corresponding application layer resource of described and described application layer resource type and The corresponding application layer resource of described mistrustful application layer resource information is specially:
When the address that described mistrustful application layer resource information is mistrustful application layer resource, from described and described The application layer of the address instruction of described mistrustful application layer resource is deleted in application layer resource type corresponding application layer resource Resource;With when described mistrustful application layer resource information is using asterisk wildcard, the address of mistrustful application layer resource to be entered From the corresponding application layer resource of described and described application layer resource type, when the normal form of row describes, delete the ground of application layer resource Location meets the application layer resource of the normal form description that described use asterisk wildcard is carried out to the address of mistrustful application layer resource.
Further, described application deployment request also includes the application layer resource information recommended;Described acquiring unit 12 is also For selecting to be not belonging to from the corresponding application layer resource of described and described application layer resource type in described selection loading unit Before application layer resource corresponding with described mistrustful application layer resource information, obtain the application layer resource letter with described recommendation Cease the application layer resource of corresponding recommendation, and the application layer resource of described recommendation is sent to described selection loading unit 13;
Described selection loading unit 13 specifically for:Receive the corresponding with described application layer resource type of acquiring unit transmission Application layer resource, the application layer money of described recommendation that sends of described mistrustful application layer resource information and acquiring unit Source, and from the corresponding application layer resource of described and described application layer resource type select be not belonging to described mistrustful should Corresponded to layer resource information but belong to the application layer resource with the corresponding recommendation of application layer resource information of described recommendation, and will The application layer resource selecting is loaded into virtual machine.
Optionally, the application layer resource information of described recommendation includes the type of the application layer resource of recommendation, and described selection adds Carrier unit 13 from application layer resource corresponding with described application layer resource type select be not belonging to described mistrustful should With layer resource information corresponding application layer resource, but belong to the application with the corresponding recommendation of application layer resource information of described recommendation Before layer resource, the application layer resource that request bag includes is disposed in the described application being further used for receiving described acquiring unit 12 transmission Type and described recommendation application layer resource type, and determine described recommendation the type of application layer resource with described The type of the application layer resource that application deployment request bag includes is consistent.
Optionally, described equipment also includes, and determines notification unit 14, for determining providing with described application layer of described acquisition Being not belonging in Source Type corresponding application layer resource with the application layer resource of described mistrustful application layer resource information is sky, leads to Know that described application deployment request equipment cannot provide application layer resource.
Optionally, described application deployment request further include node template NodeTemplate item and with described node Template item corresponding node type NodeType item;Described application layer resource type carries in described and node template In NodeTemplate item corresponding node type NodeType item;The application layer resource information of described recommendation carry described with In deployment product subitem in node template item corresponding node type entry, or the application layer resource information of described recommendation carries in institute State in the deployment product subitem in node template.
Optionally, described application deployment request further include node template NodeTemplate item and with described node Template item corresponding node type NodeType item;The described address distrusting resource carries the distrust in node type item In deployment product DeploymentArtifacts field in resource information subitem;Described use asterisk wildcard is to distrust resource The attribute that the normal form description carrying out carries in the distrust resource information subitem in described node type NodeType item In Paradigm field.
What deserves to be explained is, the server of embodiment of the present invention Fig. 4 description can execute the clothes of Fig. 1-Fig. 3 description of the present invention The arbitrary steps of business device execution, the embodiment of the present invention will not be described in detail herein.
Fig. 5 disposes the schematic diagram of request equipment 200 embodiment, described device request cloud platform for the application that the present invention provides Server be the described application layer resource that described application selects to load, and the application layer resource of selection is loaded into described service On the virtual machine of cloud platform that device determines, as shown in figure 5, application deployment request equipment 200 specifically includes:Signal generating unit 21 and sending out Send unit 22.
Signal generating unit 21 is used for generating applies deployment request Concurrency to give described transmitting element, and request bag is disposed in described application Include the type of application layer resource needed for application deployment and mistrustful application layer resource information, described mistrustful application layer Request equipment mistrustful application layer resource is disposed in the described application of resource information instruction;
Transmitting element 22, for receiving the described application deployment request that described signal generating unit sends, sends institute to server State application deployment request, obtained according to the type of described application layer resource in order to described server resources-type with described application layer Type corresponding application layer resource, selects to be not belonging to and institute from the corresponding application layer resource of described and described application layer resource type State the corresponding application layer resource of mistrustful application layer resource information, and the application layer resource of selection is loaded into virtual machine.
Optionally, described application deployment request also includes the application layer resource information recommended, in order to server obtain with The application layer resource of the corresponding recommendation of application layer resource information of described recommendation, and from described and described application layer resource type pair Select in the application layer resource answered to be not belonging to corresponding with described mistrustful application layer resource information but belong to and described recommendation The application layer resource of the corresponding recommendation of application layer resource information, and the application layer resource of selection is loaded into virtual machine.
Optionally, described application deployment request further include node template NodeTemplate item and with described node Template item corresponding node type NodeType item;Described mistrustful application layer resource information is mistrustful application layer resource Address and using the address to mistrustful application layer resource for the asterisk wildcard normal form description at least one;Described distrust money The address in source carries the deployment product DeploymentArtifacts in the distrust resource information subitem in node type item In field;Described use asterisk wildcard carries in described node type NodeType item to the normal form description that distrust resource is carried out Distrust resource information subitem in attribute Paradigm field in.
Optionally, described application deployment request further include node template NodeTemplate item and with described node Template item corresponding node type NodeType item;Described application layer resource type carries in described and node template In NodeTemplate item corresponding node type NodeType item;The application layer resource information of described recommendation carry described with In deployment product subitem in node template item corresponding node type entry, or the application layer resource information of described recommendation carries in institute State in the deployment product subitem in node template.
In an embodiment of the present invention, the type of the application layer resource needed for application deployment is included in application deployment request And mistrustful application layer resource information, so that server will not be user selects equipment mistrustful application layer resource, from And improve Consumer's Experience.Additionally, in the embodiment of the present invention, application deployment request equipment can also include in application deployment request The application layer resource information of this equipment recommendation, so that server priority selects the application layer resource recommended, more conforms to use The demand at family, improves Consumer's Experience.
What deserves to be explained is, the equipment of embodiment of the present invention Fig. 5 description can execute the application of Fig. 1-Fig. 3 description of the present invention The arbitrary steps of request deployment facility execution, the embodiment of the present invention will not be described in detail herein.
Fig. 6 is the schematic diagram of resource selection system embodiment of the present invention, as illustrated, the present embodiment includes network interface 61st, processor 62 and memory 63.System bus 64 is used for connecting network interface 61, processor 62 and memory 63.
Described network interface 61 is used for being communicated with external equipment, receives the application section that application deployment request equipment sends Administration's request, described application is disposed request bag and is included the type of application layer resource and mistrustful application layer money needed for application deployment Source information, described mistrustful application layer resource information indicates that request equipment mistrustful application layer resource is disposed in described application; Described memory 63 stores application program:Described processor 62 calls application program in storage in described memory, and according to institute The type stating application layer resource obtains application layer resource corresponding with described application layer resource type;From described and described application layer Select in resource type corresponding application layer resource to be not belonging to application layer corresponding with described mistrustful application layer resource information Resource, and the application layer resource of selection is loaded into the virtual machine that described resource selection system determines.
Further, described processor 63 is further from described and described application layer resource type corresponding application layer money Before selecting in source to be not belonging to application layer resource corresponding with described mistrustful application layer resource information, from described and described should Provided with deleting application layer corresponding with described mistrustful application layer resource information in layer resource type corresponding application layer resource Source.
Specifically, described mistrustful application layer resource information is the address of mistrustful application layer resource and uses wildcard At least one of the normal form description of the address to mistrustful application layer resource for the symbol;Described processor 63 is from described and described application Application layer resource corresponding with described mistrustful application layer resource information is deleted in layer resource type corresponding application layer resource Specifically include:When the address that described mistrustful application layer resource information is mistrustful application layer resource, from described and institute State the application of the address instruction deleting described mistrustful application layer resource in application layer resource type corresponding application layer resource Layer resource;With when described mistrustful application layer resource information is the address to mistrustful application layer resource using asterisk wildcard When the normal form carrying out describes, delete application layer resource from the corresponding application layer resource of described and described application layer resource type Address meets the application layer resource of the normal form description that described use asterisk wildcard is carried out to the address of mistrustful application layer resource.
Further, described application deployment request also includes the application layer resource information recommended;Described processor 63 is from institute State and select in application layer resource corresponding with described application layer resource type to be not belonging to believe with described mistrustful application layer resource Before ceasing corresponding application layer resource, the corresponding application layer resource from described and described application layer resource type described further Before deleting application layer resource corresponding with described mistrustful application layer resource information, obtain and provide with the application layer of described recommendation The application layer resource of the corresponding recommendation of source information;And described processor from described and described application layer resource type is corresponding should It is specially with selecting in layer resource to be not belonging to application layer resource corresponding with described mistrustful application layer resource information:From described Select in application layer resource corresponding with described application layer resource type to be not belonging to and described mistrustful application layer resource information Correspond to but belong to the application layer resource with the corresponding recommendation of application layer resource information of described recommendation.
Further, the application layer resource information of described recommendation includes the type of the application layer resource of recommendation, described process Device 63 obtain with after the application layer resource of the corresponding recommendation of application layer resource information of described recommendation, and from described and described In application layer resource type corresponding application layer resource select be not belonging to corresponding with described mistrustful application layer resource information Before application layer resource, further determine that the type of application layer resource of described recommendation and described application disposes that request bag includes should Type with layer resource is consistent.
Further, described processor 63 further determines that the corresponding with described application layer resource type of described acquisition should It is empty with being not belonging in layer resource with the application layer resource of described mistrustful application layer resource information, notify described application deployment Request equipment cannot provide application layer resource.
What deserves to be explained is, the system of embodiment of the present invention Fig. 6 description, its processor can execute Fig. 1-Fig. 3 of the present invention The arbitrary steps of the server execution of description, the embodiment of the present invention will not be described in detail herein.
Fig. 7 is the schematic diagram of resource selection system embodiment of the present invention, as illustrated, the present embodiment includes network interface 71st, processor 72 and memory 73.System bus 74 is used for connecting network interface 71, processor 72 and memory 73.
Network interface 71 is used for and PERCOM peripheral communication.
Described network interface 71 is used for being communicated with external equipment, and described memory 73 is used for storing application program, institute State processor 72 for calling the application program of memory storage, generate application deployment request, described application deployment request bag includes The type of application layer resource needed for application deployment and mistrustful application layer resource information, described mistrustful application layer money Request equipment mistrustful application layer resource is disposed in the described application of source information instruction;And by described network interface 71 to server Send described application deployment request, obtained and described application layer according to the type of described application layer resource in order to described server Resource type corresponding application layer resource, selects not belong to from the corresponding application layer resource of described and described application layer resource type In application layer resource corresponding with described mistrustful application layer resource information, and the application layer resource of selection is loaded into described The virtual machine that server determines.
Further, described application deployment request also includes the application layer resource information recommended, and obtains in order to server With the application layer resource of the corresponding recommendation of application layer resource information of described recommendation, and from described with described application layer resource type Select in corresponding application layer resource to be not belonging to corresponding with described mistrustful application layer resource information but belong to and described recommendation The corresponding recommendation of application layer resource information application layer resource, and it is true that the application layer resource of selection is loaded into described server Fixed virtual machine.
What deserves to be explained is, the system of embodiment of the present invention Fig. 7 description, its processor can execute Fig. 1-Fig. 3 of the present invention The arbitrary steps of request equipment execution are disposed in the application of description, and the embodiment of the present invention will not be described in detail herein.
Professional should further appreciate that, each example describing in conjunction with the embodiments described herein Unit and algorithm steps, can be hard in order to clearly demonstrate with electronic hardware, computer software or the two be implemented in combination in Part and the interchangeability of software, generally describe composition and the step of each example in the above description according to function. These functions to be executed with hardware or software mode actually, the application-specific depending on technical scheme and design constraint. Professional and technical personnel can use different methods to each specific application realize described function, but this realization It is not considered that it is beyond the scope of this invention.
The step of the method in conjunction with the embodiments described herein description or algorithm can be with hardware, computing device Software module, or the combination of the two is implementing.Software module can be placed in random access memory(RAM), internal memory, read-only storage (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In interior known any other form of storage medium.
Above-described specific embodiment, has been carried out to the purpose of the present invention, technical scheme and beneficial effect further Describe in detail, be should be understood that the specific embodiment that the foregoing is only the present invention, be not intended to limit the present invention Protection domain, all any modification, equivalent substitution and improvement within the spirit and principles in the present invention, done etc., all should comprise Within protection scope of the present invention.

Claims (22)

1. a kind of method of application layer resource selection, described application layer resource is selected by server of cloud platform, and is used for loading It is characterised in that methods described includes on the virtual machine of the cloud platform determining to described server:
Server receives the application deployment request that application deployment request equipment sends, and described application deployment request bag includes application deployment The required type of application layer resource and mistrustful application layer resource information, described mistrustful application layer resource information refers to Show described application deployment request equipment mistrustful application layer resource;
Type according to described application layer resource obtains application layer resource corresponding with described application layer resource type;
Select to be not belonging to and described mistrustful application from the corresponding application layer resource of described and described application layer resource type Layer resource information corresponding application layer resource, and the application layer resource of selection is loaded into the virtual machine that described server determines;
Described application deployment request also includes the application layer resource information recommended;
The described corresponding application layer resource from described and described application layer resource type select be not belonging to mistrustful with described Before application layer resource information corresponding application layer resource, the method also includes,
Obtain the application layer resource with the corresponding recommendation of application layer resource information of described recommendation;
The described corresponding application layer resource from described and described application layer resource type select be not belonging to mistrustful with described Application layer resource information corresponding application layer resource is specially:
Select to be not belonging to and described mistrustful application from the corresponding application layer resource of described and described application layer resource type Layer resource information is corresponding but belongs to the application layer resource with the corresponding recommendation of application layer resource information of described recommendation;
Described application deployment request further includes node template NodeTemplate item and corresponding with described node template item Node type NodeType item;
Described application layer resource type carries in described node type corresponding with node template NodeTemplate item In NodeType item;
The application layer resource information of described recommendation carry described with node template item corresponding node type entry in deployment product In DeploymentArtifacts subitem, or the application layer resource information of described recommendation carries the portion in described node template In administration's product subitem.
2. method according to claim 1 is it is characterised in that described corresponding from described and described application layer resource type Before selecting in application layer resource to be not belonging to application layer resource corresponding with described mistrustful application layer resource information, the method Further include:
Delete and described mistrustful application layer resource from the corresponding application layer resource of described and described application layer resource type Information corresponding application layer resource.
3. method according to claim 2 is it is characterised in that described mistrustful application layer resource information is mistrustful The address of application layer resource and using the address to mistrustful application layer resource for the asterisk wildcard normal form description at least one;Institute State and delete from the corresponding application layer resource of described and described application layer resource type and described mistrustful application layer resource letter Cease corresponding application layer resource to specifically include:
When the address that described mistrustful application layer resource information is mistrustful application layer resource, from described and described application The application layer resource of the address instruction of described mistrustful application layer resource is deleted in layer resource type corresponding application layer resource; With
When described mistrustful application layer resource information is using asterisk wildcard, the address of mistrustful application layer resource to be carried out From the corresponding application layer resource of described and described application layer resource type, when normal form describes, delete the address character of application layer resource Close the application layer resource of the normal form description that described use asterisk wildcard is carried out to the address of mistrustful application layer resource.
4. method according to claim 1 is it is characterised in that the application layer resource information of described recommendation includes answering of recommendation With the type of layer resource, described acquisition with after the application layer resource of the corresponding recommendation of application layer resource information of described recommendation, And select to be not belonging to and described mistrustful application from the corresponding application layer resource of described and described application layer resource type Before layer resource information corresponding application layer resource, the method also includes:
Determine that the type one of the application layer resource that request bag includes is disposed in the type of application layer resource of described recommendation and described application Cause.
5., according to the arbitrary described method of claim 14 it is characterised in that methods described also includes, determine described acquisition It is not belonging to corresponding with described mistrustful application layer resource information in application layer resource corresponding with described application layer resource type Application layer resource, notify described application deployment request equipment cannot provide application layer resource.
6. method according to claim 3 is it is characterised in that described application deployment request further includes node template NodeTemplate item and node type NodeType item corresponding with described node template item;
The described address distrusting resource carries the deployment product in the distrust resource information subitem in node type item In DeploymentArtifacts field;Described use asterisk wildcard carries described to the normal form description that distrust resource is carried out In the attribute Paradigm field in distrust resource information subitem in node type NodeType item.
7. a kind of method of application layer resource selection, described application layer resource is selected by server of cloud platform, and by described cloud The server of platform is loaded on the virtual machine of cloud platform that described server determines it is characterised in that methods described includes:
Generate application deployment request, described application is disposed request bag and included the type of application layer resource needed for application deployment and not The application layer resource information trusted, described mistrustful application layer resource information instruction described application deployment request equipment distrust Application layer resource;
Send described application deployment request to server, obtained according to the type of described application layer resource in order to described server Application layer resource corresponding with described application layer resource type, from described and described application layer resource type corresponding application layer money Select to be not belonging to application layer resource corresponding with described mistrustful application layer resource information in source, and by the application layer selecting money Source is loaded into the virtual machine that described server determines;
Described application deployment request also includes the application layer resource information recommended, in order to server obtain with described recommendation should With the application layer resource of the corresponding recommendation of layer resource information, and from described and described application layer resource type corresponding application layer money Select in source to be not belonging to corresponding with described mistrustful application layer resource information but belong to the application layer resource letter with described recommendation Cease the application layer resource of corresponding recommendation, and the application layer resource of selection is loaded into virtual machine;
Described application deployment request further includes node template NodeTemplate item and corresponding with described node template item Node type NodeType item;Described mistrustful application layer resource information is the address of mistrustful application layer resource and makes At least one being described with the normal form of the address to mistrustful application layer resource for the asterisk wildcard;
The described address distrusting resource carries the deployment product in the distrust resource information subitem in node type item In DeploymentArtifacts field;Described use asterisk wildcard carries described to the normal form description that distrust resource is carried out In the attribute Paradigm field in distrust resource information subitem in node type NodeType item.
8. method according to claim 7 it is characterised in that
Described application deployment request further includes node template NodeTemplate item and corresponding with described node template item Node type NodeType item;
Described application layer resource type carries in described node type corresponding with node template NodeTemplate item In NodeType item;
The application layer resource information of described recommendation carry described with node template item corresponding node type entry in deployment product In subitem, or the application layer resource information of described recommendation carries in the deployment product subitem in described node template.
9. a kind of server selecting application layer resource, described application layer resource is selected by server of cloud platform, and for adding It is downloaded on the virtual machine of cloud platform that described server determines it is characterised in that including:Receiving unit, acquiring unit and selection Loading unit;
Described receiving unit, disposes request and to described acquiring unit for receiving the application that application deployment request equipment sends Send described application deployment request, described application is disposed request bag and included the type of application layer resource needed for application deployment and not The application layer resource information trusted, described mistrustful application layer resource information instruction described application deployment request equipment distrust Application layer resource;
Described acquiring unit, for receiving the application deployment request that described receiving unit sends, and provides according to described application layer The type in source obtains application layer resource corresponding with described application layer resource type, and sends described resources-type with described application layer Type corresponding application layer resource gives described selection loading unit, and sends mistrustful application layer to described selection loading unit Resource information;
Described selection loading unit, for receiving the application layer money corresponding with described application layer resource type of acquiring unit transmission Source and described mistrustful application layer resource information, and from described and described application layer resource type corresponding application layer money Select to be not belonging to application layer resource corresponding with described mistrustful application layer resource information in source, and by the application layer selecting money Source is loaded into the virtual machine that described server determines;
Described application deployment request also includes the application layer resource information recommended;
Described acquiring unit is additionally operable in described selection loading unit from the corresponding application of described and described application layer resource type Before selecting in layer resource to be not belonging to application layer resource corresponding with described mistrustful application layer resource information, obtain with described The application layer resource of the corresponding recommendation of application layer resource information recommended, and the application layer resource of described recommendation is sent to institute State selection loading unit;
Described selection loading unit specifically for:Receive the application corresponding with described application layer resource type that acquiring unit sends The application layer resource of the described recommendation that layer resource, described mistrustful application layer resource information and acquiring unit send, and Select to be not belonging to provide with described mistrustful application layer from the corresponding application layer resource of described and described application layer resource type Source information is corresponding but belongs to the application layer resource with the corresponding recommendation of application layer resource information of described recommendation, and will select Application layer resource is loaded into virtual machine;
Described application deployment request further includes node template NodeTemplate item and corresponding with described node template item Node type NodeType item;
Described application layer resource type carries in described node type corresponding with node template NodeTemplate item In NodeType item;
The application layer resource information of described recommendation carry described with node template item corresponding node type entry in deployment product In DeploymentArtifacts subitem, and/or the application layer resource information of described recommendation carries in described node template In deployment product subitem.
10. server according to claim 9 is it is characterised in that described selection loading unit is further used for:From described Delete corresponding with described mistrustful application layer resource information in application layer resource corresponding with described application layer resource type Application layer resource.
11. servers according to claim 10 are it is characterised in that described mistrustful application layer resource information is not believe The address of application layer resource appointed and at least one of the normal form description using the address to mistrustful application layer resource for the asterisk wildcard ?;
Described selection loading unit delete from the corresponding application layer resource of described and described application layer resource type and described not The application layer resource information corresponding application layer resource trusted is specially:
When the address that described mistrustful application layer resource information is mistrustful application layer resource, from described and described application The application layer resource of the address instruction of described mistrustful application layer resource is deleted in layer resource type corresponding application layer resource; With,
When described mistrustful application layer resource information is using asterisk wildcard, the address of mistrustful application layer resource to be carried out From the corresponding application layer resource of described and described application layer resource type, when normal form describes, delete the address character of application layer resource Close the application layer resource of the normal form description that described use asterisk wildcard is carried out to the address of mistrustful application layer resource.
12. servers according to claim 9 are it is characterised in that the application layer resource information of described recommendation includes recommending Application layer resource type, described selection loading unit is from application layer resource corresponding with described application layer resource type Selection is not belonging to application layer resource corresponding with described mistrustful application layer resource information, but belongs to the application with described recommendation Before the application layer resource of the layer corresponding recommendation of resource information, it is further used for receiving the described application that described acquiring unit sends The type of application layer resource and the type of the application layer resource of described recommendation that deployment request includes, and determine described recommendation The type of application layer resource and described application dispose the application layer resource that request bag includes type consistent.
13. according to the arbitrary described server of claim 9 12 it is characterised in that also including, determine notification unit, be used for It is not belonging to and described mistrustful application in the application layer resource corresponding with described application layer resource type determining described acquisition Layer resource information corresponding application layer resource, notifies described application deployment request equipment cannot provide application layer resource.
14. servers for resource selection according to claim 11 it is characterised in that described application deployment ask into One step includes node template NodeTemplate item and node type NodeType item corresponding with described node template item;
The described address distrusting resource carries the deployment product in the distrust resource information subitem in node type item In DeploymentArtifacts field;Described use asterisk wildcard carries described to the normal form description that distrust resource is carried out In the attribute Paradigm field in distrust resource information subitem in node type NodeType item.
A kind of 15. application deployment request equipment, described device request server of cloud platform is the institute that described application selects to load State application layer resource, and the application layer resource of selection is loaded on the virtual machine of the cloud platform that described server determines, it is special Levy and be, including signal generating unit and transmitting element;
Described signal generating unit, gives described transmitting element for generating application deployment request Concurrency, request bag is disposed in described application Include the type of application layer resource needed for application deployment and mistrustful application layer resource information, described mistrustful application layer Request equipment mistrustful application layer resource is disposed in the described application of resource information instruction;
Described transmitting element, for receiving the described application deployment request that described signal generating unit sends, sends described to server Application deployment request, obtains and described application layer resource type according to the type of described application layer resource in order to described server Corresponding application layer resource, from the corresponding application layer resource of described and described application layer resource type select be not belonging to described The corresponding application layer resource of mistrustful application layer resource information, and the application layer resource of selection is loaded into virtual machine;
Described application deployment request also includes the application layer resource information recommended, in order to server obtain with described recommendation should With the application layer resource of the corresponding recommendation of layer resource information, and from described and described application layer resource type corresponding application layer money Select in source to be not belonging to corresponding with described mistrustful application layer resource information but belong to the application layer resource letter with described recommendation Cease the application layer resource of corresponding recommendation, and the application layer resource of selection is loaded into virtual machine;
Described application deployment request further includes node template NodeTemplate item and corresponding with described node template item Node type NodeType item;Described mistrustful application layer resource information is the address of mistrustful application layer resource and makes At least one being described with the normal form of the address to mistrustful application layer resource for the asterisk wildcard;
The described address distrusting resource carries the deployment product in the distrust resource information subitem in node type item In DeploymentArtifacts field;Described use asterisk wildcard carries described to the normal form description that distrust resource is carried out In the attribute Paradigm field in distrust resource information subitem in node type NodeType item.
16. equipment according to claim 15 it is characterised in that
Described application deployment request further includes node template NodeTemplate item and corresponding with described node template item Node type NodeType item;
Described application layer resource type carries in described node type corresponding with node template NodeTemplate item In NodeType item;
The application layer resource information of described recommendation carry described with node template item corresponding node type entry in deployment product In DeploymentArtifacts subitem, or the application layer resource information of described recommendation carries the portion in described node template In administration's product subitem.
A kind of 17. application layer resource selection systems are it is characterised in that include:Network interface, processor;Memory;
Described network interface is used for being communicated with external equipment, and the application deployment receiving application deployment request equipment transmission please Ask, described application is disposed request bag and included the type of application layer resource and mistrustful application layer resource letter needed for application deployment Breath, described mistrustful application layer resource information indicates that request equipment mistrustful application layer resource is disposed in described application;
Described memory storage application program:
Described processor calls in described memory application program in storage, and according to the type of described application layer resource obtain with The corresponding application layer resource of described application layer resource type;From the corresponding application layer resource of described and described application layer resource type Middle selection is not belonging to application layer resource corresponding with described mistrustful application layer resource information, and the application layer resource that will select It is loaded into the virtual machine that described resource selection system determines;
Described application deployment request also includes the application layer resource information recommended;
Described processor select to be not belonging to from the corresponding application layer resource of described and described application layer resource type with described not Before the application layer resource information corresponding application layer resource trusted, obtain the application layer resource information with described recommendation further The application layer resource of corresponding recommendation;
And described processor selects to be not belonging to and institute from the corresponding application layer resource of described and described application layer resource type State the corresponding application layer resource of mistrustful application layer resource information to be specially:Corresponding from described and described application layer resource type Application layer resource in select be not belonging to corresponding with described mistrustful application layer resource information but belong to described recommendation answer Application layer resource with the corresponding recommendation of layer resource information;
Described application deployment request further includes node template NodeTemplate item and corresponding with described node template item Node type NodeType item;
Described application layer resource type carries in described node type corresponding with node template NodeTemplate item In NodeType item;
The application layer resource information of described recommendation carry described with node template item corresponding node type entry in deployment product In DeploymentArtifacts subitem, and/or the application layer resource information of described recommendation carries in described node template In deployment product subitem.
18. resource selection systems according to claim 17 it is characterised in that described processor further from described with Select to be not belonging to and described mistrustful application layer resource information pair in the corresponding application layer resource of described application layer resource type Before the application layer resource answered, delete from the corresponding application layer resource of described and described application layer resource type and do not believe with described The application layer resource information corresponding application layer resource appointed.
19. resource selection systems according to claim 18 are it is characterised in that described mistrustful application layer resource information Address for mistrustful application layer resource and described using the normal form of the address to mistrustful application layer resource for the asterisk wildcard At least one;Described processor is deleted from the corresponding application layer resource of described and described application layer resource type and is not believed with described The application layer resource information corresponding application layer resource appointed specifically includes:
When the address that described mistrustful application layer resource information is mistrustful application layer resource, from described and described application The application layer resource of the address instruction of described mistrustful application layer resource is deleted in layer resource type corresponding application layer resource; With
When described mistrustful application layer resource information is using asterisk wildcard, the address of mistrustful application layer resource to be carried out From the corresponding application layer resource of described and described application layer resource type, when normal form describes, delete the address character of application layer resource Close the application layer resource of the normal form description that described use asterisk wildcard is carried out to the address of mistrustful application layer resource.
20. resource selection systems according to claim 17 are it is characterised in that the application layer resource information bag of described recommendation Include the type of the application layer resource of recommendation;
Described processor obtain with after the application layer resource of the corresponding recommendation of application layer resource information of described recommendation and from Select to be not belonging to and described mistrustful application layer resource in the corresponding application layer resource of described and described application layer resource type Before information corresponding application layer resource, further determine that the type of application layer resource of described recommendation please with described application deployment Ask including application layer resource type consistent.
21. according to the arbitrary described resource selection system of claim 17-20 it is characterised in that described processor is true further It is not belonging to and described mistrustful application layer in the application layer resource corresponding with described application layer resource type of fixed described acquisition Resource information corresponding application layer resource, notifies described application deployment request equipment cannot provide application layer resource.
A kind of 22. application deployment request equipment are it is characterised in that include network interface, processor;Memory;
Described network interface is used for being communicated with external equipment, and described memory is used for storing application program, described processor For calling the application program of memory storage, generate application deployment request, described application deployment request bag includes application deployment institute The type of application layer resource needing and mistrustful application layer resource information, described mistrustful application layer resource information instruction Request equipment mistrustful application layer resource is disposed in described application;And described application is sent to server by described network interface Deployment request, obtains corresponding with described application layer resource type in order to described server according to the type of described application layer resource Application layer resource, from the corresponding application layer resource of described and described application layer resource type select be not belonging to not believe with described The application layer resource information corresponding application layer resource appointed, and the application layer resource of selection is loaded into what described server determined Virtual machine;
Described application deployment request also includes the application layer resource information recommended, in order to server obtain with described recommendation should With the application layer resource of the corresponding recommendation of layer resource information, and from described and described application layer resource type corresponding application layer money Select in source to be not belonging to corresponding with described mistrustful application layer resource information but belong to the application layer resource letter with described recommendation Cease the application layer resource of corresponding recommendation, and the application layer resource of selection is loaded into the virtual machine that described server determines;
Described application deployment request further includes node template NodeTemplate item and corresponding with described node template item Node type NodeType item;
Described application layer resource type carries in described node type corresponding with node template NodeTemplate item In NodeType item;
The application layer resource information of described recommendation carry described with node template item corresponding node type entry in deployment product In DeploymentArtifacts subitem, and/or the application layer resource information of described recommendation carries in described node template In deployment product subitem.
CN201280002031.XA 2012-12-24 2012-12-24 Application layer resources selection method, device and system Active CN104054308B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/087312 WO2014100944A1 (en) 2012-12-24 2012-12-24 Application layer resource selection method, device and system

Publications (2)

Publication Number Publication Date
CN104054308A CN104054308A (en) 2014-09-17
CN104054308B true CN104054308B (en) 2017-02-08

Family

ID=51019633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201280002031.XA Active CN104054308B (en) 2012-12-24 2012-12-24 Application layer resources selection method, device and system

Country Status (2)

Country Link
CN (1) CN104054308B (en)
WO (1) WO2014100944A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9781163B2 (en) * 2015-06-23 2017-10-03 EMC IP Holding Company LLC Trust overlays for disaggregated infrastructures
CN106331079A (en) * 2016-08-19 2017-01-11 明算科技(北京)股份有限公司 DOA (Data Oriented Architecture) system
CN107908414A (en) * 2017-11-22 2018-04-13 中国银行股份有限公司 A kind of method, apparatus and system of the deployment of application server version
CN110134406B (en) * 2019-04-03 2023-12-22 平安科技(深圳)有限公司 Deployment method and system of intelligent cloud network product
EP4057144A1 (en) * 2021-03-12 2022-09-14 Atos Spain S.A. Control interface for the deployment of an application, system and method using such a control interface

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321385A (en) * 2007-12-29 2008-12-10 北京邮电大学 Cooperation resource management method and system in heterogeneous wireless network
CN101448026A (en) * 2008-12-16 2009-06-03 中国科学技术大学 Method for computing node selection in grid market on the basis of trust filtering
WO2012069064A1 (en) * 2010-11-22 2012-05-31 Telefonaktiebolaget L M Ericsson (Publ) Technique for resource creation in a cloud computing system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9842004B2 (en) * 2008-08-22 2017-12-12 Red Hat, Inc. Adjusting resource usage for cloud-based networks
EP2678981A1 (en) * 2011-02-22 2014-01-01 Nokia Solutions and Networks GmbH & Co. KG Associating computing resources and communication resources with a service in a resource management architecture
CN102185928B (en) * 2011-06-01 2013-07-17 广州杰赛科技股份有限公司 Method for creating virtual machine in cloud computing system and cloud computing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321385A (en) * 2007-12-29 2008-12-10 北京邮电大学 Cooperation resource management method and system in heterogeneous wireless network
CN101448026A (en) * 2008-12-16 2009-06-03 中国科学技术大学 Method for computing node selection in grid market on the basis of trust filtering
WO2012069064A1 (en) * 2010-11-22 2012-05-31 Telefonaktiebolaget L M Ericsson (Publ) Technique for resource creation in a cloud computing system

Also Published As

Publication number Publication date
CN104054308A (en) 2014-09-17
WO2014100944A1 (en) 2014-07-03

Similar Documents

Publication Publication Date Title
CN101946248B (en) Method and apparatus for providing API service and making API mash-up, and computer readable recording medium thereof
CN104054308B (en) Application layer resources selection method, device and system
US20140282370A1 (en) Methods for managing applications using semantic modeling and tagging and devices thereof
US8782597B2 (en) Ontology updating apparatus, method and system
CN105740048A (en) Image management method, device and system
CN106990960B (en) Code deployment method and device
CN109816321A (en) A kind of service management, device, equipment and computer readable storage medium
CN112036577B (en) Method and device for applying machine learning based on data form and electronic equipment
CN104423982B (en) The processing method and processing equipment of request
CN109298900A (en) A kind of application fractionation and on-demand loading method, apparatus
Silva et al. Cloud DSL: A Language for Supporting Cloud Portability by Describing Cloud Entities.
CN109446648B (en) Simulation service establishing method and device
CN114116065B (en) Method and device for acquiring topological graph data object and electronic equipment
US20130091416A1 (en) Method for establishing a relationship between semantic data and the running of a widget
CN109814863A (en) A kind of processing method, device, computer equipment and computer storage medium for requesting returned data
KR101596257B1 (en) System and method for developing of service based on software product line
CN106559453A (en) The external resource management method of cloud intercommunication, apparatus and system
CN115270202A (en) Privacy calculation method and device based on multi-party cooperation
CN104156211B (en) Universal data interface used for sensor and data calling method
CN110532457B (en) Method and system for acquiring network segment ID
CN105592130A (en) Service deployment method and device, and service management method
CN114675982A (en) General method and system for acquiring data of service integration system
CN115878860A (en) Menu generation method, device, server equipment and medium
CN112491943A (en) Data request method, device, storage medium and electronic equipment
CN107977277A (en) The method, apparatus and computer equipment of third party system are integrated in ERP system

Legal Events

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