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

Application layer resources selection method, device and system Download PDF

Info

Publication number
CN104054308A
CN104054308A CN201280002031.XA CN201280002031A CN104054308A CN 104054308 A CN104054308 A CN 104054308A CN 201280002031 A CN201280002031 A CN 201280002031A CN 104054308 A CN104054308 A CN 104054308A
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.)
Granted
Application number
CN201280002031.XA
Other languages
Chinese (zh)
Other versions
CN104054308B (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

Application layer resources selection method, device and system
The methods, devices and systems technical field of application layer resource selection
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 calculating data resources are got up with network connection and unified management, distribution and scheduling is carried out, a huge computing resource pond is constituted to provide a user service.In theory, cloud resource can infinite expanding, can ask on demand, and high efficient and flexible.
Generally, it is service that cloud service, which is broadly divided into 3 classes, i.e. infrastructure,(Infrastructure as a Service, IaaS), the platform front-month it is good business (Platform as a Service, PaaS) and software be service(Software as a Service, SaaS ) .In IaaS, the infrastructure abilities such as calculating, storage, network transmission that CSP servers are provided are used only in user, so it must provide corresponding platform and software application, and CSP is then with virtual machine(Virtual Machine, VM) mode provide the user IaaS service.Existing IaaS CSP often can also provide some conventional operating systems (Operating System, OS) and software, and OS and software are all packaged into mirror image (Image).CSP is loaded directly into the mirror image when creating VM.
As application developer (Application Developer, AD it is) when application being deployed into the virtual machine of cloud platform using deployment request equipment by equipment, the application layer resource of which type, the resource of cloud platform such as application server or database server can be needed at the application by application deployment request explanation.CSP disposes the application layer resource that request obtains the required type whether the application layer resources that possess of the CSP there is application deployment to illustrate in asking by the clothes of cloud platform based on the application, the application layer resource found is constituted into a candidate resource set (Candidate Resource Set, CRS);A money is selected in CRS Applied as AD develops a Web, disposing the application needs application layer resource WebSphere 6. 0. 1, and CSP searching resources catalogue finds that WebSphere 6. 0. 1 there are 5 mirror images, constitutes candidate resource set CRS, as shown in table 1.
Table 1
ImageA: URI =www. 111. com/ images /webspher e? ver s ion=6. 0. 1
ImageB: URI =www. 365XXX. com/ images /webs here? vers ion =6. 0. 1
ImageC: URI =www. images tor e4. com/webs here?vers ion=6 0. 1
ImageD: URI =www. images tor e2. com/webs here?vers ion=6 0. 1
ImageE: URI =www. images tor e6. com/websphere?ver s ion=6 0. 1
The server that an ancient weapon made of bamboo is set in CSP cloud platform have selected ImageB, gets the mirror image by ImageB URI and is loaded on the VM that server is determined.But the type of application layer resource that need to be disposed according only to application of the resources that provide of CSP and determine, so that the different demands of different user can not be met, so that Consumer's Experience is relatively low.The 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 in the application layer resource for application deployment same type, ^ loads different application layer resource according to the demand of different user, improves Consumer's Experience.
In a first aspect, the embodiment of the present invention provides a kind of method of application layer resource selection, the application layer resource is selected by server of cloud platform, and for being loaded into the virtual machine for the cloud platform that the server is determined, the forwarding method includes:
Server receives the application deployment request that application deployment request equipment is sent, the application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;Application layer resource corresponding with the application layer resource type is obtained according to the type of the application layer resource; Selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into the virtual machine that the server is determined.
With reference to first aspect present invention first may, it is described to select to be not belonging to before application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type:This method further comprises:Application layer resource corresponding with the mistrustful application layer resource information is deleted from the application layer resource corresponding with the application layer resource type.
With reference to first aspect present invention first possible second may, the mistrustful application layer resource information for mistrustful application layer resource address and using asterisk wildcard the normal form of the address of mistrustful application layer resource is described at least one of;It is described application layer resource corresponding with the mistrustful application layer resource information is deleted from the application layer resource corresponding with the application layer resource type to specifically include:When the mistrustful application layer resource information is the address of mistrustful application layer resource, the application layer resource that the address of the mistrustful application layer resource is indicated is deleted from the application layer resource corresponding with the application layer resource type;With, when the mistrustful application layer resource information is that the normal form carried out using asterisk wildcard to the address of mistrustful application layer resource is described, the address that application layer resource is deleted from the application layer resource corresponding with the application layer resource type meets the application layer resource for the normal form description that the use asterisk wildcard is carried out to the address of mistrustful application layer resource.
Possible with reference to any of the above-described possible 3rd, the application deployment request also includes the application layer resource information recommended;Selection is not belonging to before application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and this method also includes,
Obtain the application layer resource of recommendation corresponding with the application layer resource information of the recommendation;
The selection from the application layer resource corresponding with the application layer resource type is not belonging to application layer resource corresponding with the mistrustful application layer resource information:Selection is not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type.
Possible with reference to the 3rd the possible 4th, the application layer resource information of the recommendation includes the application recommended The type of layer resource, after the application layer resource for obtaining recommendation corresponding with the application layer resource information of the recommendation, and selection is not belonging to before application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, this method also includes:Determine that the type of the application layer resource of the recommendation is consistent with the type that the application layer resource that request bag is included is disposed in the application.
May with reference to any of the above-described possible 5th, methods described also includes, it is sky to be not belonging in the application layer resource corresponding with the application layer resource type for determining the acquisition with the application layer resource of the mistrustful application layer resource information, notifies the application deployment request equipment can not provide application layer resource.
Possible with reference to the above-mentioned 3rd possibility or the 4th the possible 6th, the application deployment request further comprises node template NodeTemp late and corresponding with the node template node type NodeType;The application layer resource type carry it is described with node template NodeTemplate corresponding node type NodeType;The application layer resource information of the recommendation is carried in the deployment product DeploymentAr t i fact s subitems in the corresponding node type entry with node template, or the application layer resource information of the recommendation is carried in the deployment product subitem in the node template.
With reference to second may to the 6th may in any possible 7th may, application deployment request further comprises node template NodeTempla te and corresponding node type NodeType with node template item;The address for distrusting resource is carried in the deployment product DeploymentAr t ifact s fields in the distrust resource information subitem in node type;The use asterisk wildcard is to distrusting the normal form description that resource is carried out to carry in the attribute Paradi gm fields in the distrust resource information subitem in described node type NodeType.
Second aspect, the embodiments of the invention provide the method for application layer resource selection, the application layer resource is selected by server of cloud platform, and is loaded into by the server of cloud platform on the virtual machine for the cloud platform that the server is determined, methods described includes:Generation application deployment request, the application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;The application deployment request is sent to server, in order to which the server is provided according to the application layer The type in source obtains application layer resource corresponding with the application layer resource type, selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into the virtual machine that the server is determined.
First with reference to second aspect may, the application deployment request also includes the application layer resource information recommended, in order to which server obtains the application layer resource of recommendation corresponding with the application layer resource information of the recommendation, and selection is not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into virtual machine.
Second with reference to second aspect is possible, and the application deployment request further comprises node template NodeTemplate and corresponding with the node template node type NodeType;The mistrustful application layer resource information is at least one that the address of mistrustful application layer resource and use asterisk wildcard are described to the normal form of the address of mistrustful application layer resource;The address for distrusting resource is carried in the deployment product Dep loymentAr t ifact s fields in the distrust resource information subitem in node type;The use asterisk wildcard is to distrusting the normal form description that resource is carried out to carry in the attribute Paradigm fields in the distrust resource information subitem in described node type NodeType.
Possible with reference to second aspect first the possible 3rd, the application deployment request further comprises node template NodeTemplate and corresponding with the node template node type NodeType;The application layer resource type carry it is described with node template NodeTemplate corresponding node type NodeType;The application layer resource information of the recommendation is carried in the deployment product subitem in the corresponding node type entry with node template, or the application layer resource information of the recommendation is carried in the deployment product subitem in the node template
.The third aspect, the embodiments of the invention provide the server of selection application layer resource, the application layer resource is selected by server of cloud platform, and for being loaded into the virtual machine for the cloud platform that the server is determined, including:Receiving unit, acquiring unit and selection loading unit;
The receiving unit, asks the application deployment request of equipment transmission and disposes to the acquiring unit transmission application to ask, the application deployment request bag is included needed for application deployment for receiving application deployment Application layer resource type and mistrustful application layer resource information, the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;
The acquiring unit, for receiving the application deployment request that the receiving unit is sent, and application layer resource corresponding with the application layer resource type is obtained according to the type of the application layer resource, and the application layer resource corresponding with the application layer resource type is sent to the selection loading unit, and send mistrustful application layer resource information to the selection loading unit;
The selection loading unit, application layer resource corresponding with the application layer resource type and the mistrustful application layer resource information for receiving acquiring unit transmission, receive the mistrustful application layer resource information that the acquiring unit or the receiving unit are sent, and selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into the virtual machine that the server is determined.
First with reference to the third aspect is possible, and the selection loading unit is further used for:Application layer resource corresponding with the mistrustful application layer resource information is deleted from the application layer resource corresponding with the application layer resource type.
With reference to the third aspect first possible second may, the mistrustful application layer resource information for mistrustful application layer resource address and using asterisk wildcard the normal form of the address of mistrustful application layer resource is described at least one of;The selection loading unit deletes application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type:When the mistrustful application layer resource information is the address of mistrustful application layer resource, the application layer resource that the address of the mistrustful application layer resource is indicated is deleted from the application layer resource corresponding with the application layer resource type;With, when the mistrustful application layer resource information is that the normal form carried out using asterisk wildcard to the address of mistrustful application layer resource is described, the address that application layer resource is deleted from the application layer resource corresponding with the application layer resource type meets the application layer resource for the normal form description that the use asterisk wildcard is carried out to the address of mistrustful application layer resource.
Tie full third aspect present invention, first may or second the possible 3rd may, the application deployment request also includes the application layer resource information recommended;The acquiring unit is additionally operable to single in the selection loading Member selects to be not belonging to before application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, the application layer resource of recommendation corresponding with the application layer resource information of the recommendation is obtained, and the application layer resource of the recommendation is sent to the selection loading unit;It is described selection loading unit specifically for:Receive application layer resource corresponding with the application layer resource type, the application layer resource of the recommendation of mistrustful application layer resource information and the acquiring unit transmission that acquiring unit is sent, and selection is not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into virtual machine.
Tie full third aspect present invention the 3rd the possible 4th may, the application layer resource information of the recommendation includes the type for the application layer resource recommended, the selection loading unit from application layer resource corresponding with the application layer resource type selection be not belonging to application layer resource corresponding with the mistrustful application layer resource information, but before the application layer resource for belonging to recommendation corresponding with the application layer resource information of the recommendation, it is further used for receiving the type of the type of the application layer resource included described in the acquiring unit using deployment request bag and the application layer resource of the recommendation, and determine that the type of the application layer resource of the recommendation is consistent with the type that the application layer resource that request bag is included is disposed in the application.
Any possible 5th with reference to third aspect present invention may, described device also includes, described device also includes, determine notification unit, it is sky to be not belonging in application layer resource corresponding with the application layer resource type for determining the acquisition with the application layer resource of the mistrustful application layer resource information, notifies the application deployment request equipment can not provide application layer resource.
Fourth aspect, the embodiments of the invention provide one kind application deployment request equipment, the device request server of cloud platform is the application layer resource that the application selects loading, and be loaded into the application layer resource of selection on the virtual machine for the cloud platform that the server is determined, including generation unit and transmitting element;The generation unit, the transmitting element is given for generating application deployment request Concurrency, the application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates that the application deployment request equipment is mistrustful and answered Use layer resource;The transmitting element, request is disposed for receiving the application that the generation unit is sent, the application deployment request is sent to server, in order to which the server obtains application layer resource corresponding with the application layer resource type according to the type of the application layer resource, selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into virtual machine.
First with reference to fourth aspect may, the application deployment request also includes the application layer resource information recommended, in order to which server obtains the application layer resource of recommendation corresponding with the application layer resource information of the recommendation, and selection is not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into virtual machine.
5th aspect, the embodiments of the invention provide a kind of resource selection system, the system includes:The network interface is used to be communicated with external equipment, receive the application deployment request that application deployment request equipment is sent, the application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;The memory storage application program:The processor is called stored in the memory in application program, and corresponding with application layer resource type application layer resource is obtained according to the type of the application layer resource;Selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into the virtual machine that the resource selection system is determined.
First with reference to fifth aspect present invention may, the processor is further before selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, the deletion application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type.
With reference to fifth aspect present invention first possible second may, the mistrustful application layer resource information for mistrustful application layer resource address and using asterisk wildcard the normal form of the address of mistrustful application layer resource is described at least one of;The processor is from described corresponding with the application layer resource type The instruction that application layer resource corresponding with the mistrustful application layer resource information is deleted in application layer resource is specifically included:When the mistrustful application layer resource information is the address of mistrustful application layer resource, the application layer resource that the address of the mistrustful application layer resource is indicated is deleted from the application layer resource corresponding with the application layer resource type;With, when the mistrustful application layer resource information is that the normal form carried out using asterisk wildcard to the address of mistrustful application layer resource is described, the address that application layer resource is deleted from the application layer resource corresponding with the application layer resource type meets the application layer resource for the normal form description that the use asterisk wildcard is carried out to the address of mistrustful application layer resource.
Any of the above-described possible 3rd with reference to fifth aspect present invention is possible, and the application deployment request also includes the application layer resource information recommended;The processor selects to be not belonging to before application layer resource corresponding with the mistrustful application layer resource information, further to obtain the application layer resource of recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type;And the processor selects to be not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type and is specially:Selection is not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type.
The the 3rd the possible 4th with reference to fifth aspect present invention is possible, and the application layer resource information of the recommendation includes the type for the application layer resource recommended;Before the processor obtains after the application layer resource of recommendation corresponding with the application layer resource information of the recommendation and selects to be not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, further determine that the type of the application layer resource of the recommendation is consistent with the type for the application layer resource that application deployment request bag is included.
May with reference to fifth aspect present invention any of the above-described possible 5th, the processor further determines that it is sky to be not belonging in the application layer resource corresponding with the application layer resource type of the acquisition with the application layer resource of the mistrustful application layer resource information, notifies the application deployment request equipment can not provide application layer resource.
6th aspect, the embodiments of the invention provide a kind of resource selection system, the system includes:Bag Include network interface, processor;Memory;The network interface is used to be communicated with external equipment, the memory is used to store application program, the processor is used for the application program for calling memory storage, generation application deployment request, the application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;And the application deployment request is sent to server by the network interface, in order to which the server obtains application layer resource corresponding with the application layer resource type according to the type of the application layer resource, selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into the virtual machine that the server is determined.
First with reference to sixth aspect present invention may, the application deployment request also includes the application layer resource information recommended, in order to which server obtains the application layer resource of recommendation corresponding with the application layer resource information of the recommendation, and selection is not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into the virtual machine that the server is determined.
The embodiments of the invention provide a kind of resource selection method, device and system, include the type and mistrustful application layer resource information of the application layer resource needed for application deployment in application deployment request, so that server will not select the mistrustful application layer resource of equipment for user, so as to improve Consumer's Experience.Brief description of the drawings
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 the embodiment of the method for application layer resource selection of the present invention;
Fig. 2 for application layer resource selection of the present invention embodiment of the method in T0SCA configuration diagram;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 asks the schematic diagram of apparatus embodiments for present invention application deployment; Fig. 6 is the schematic diagram of application layer resource selection system embodiment of the present invention;
Fig. 7 asks the schematic diagram of apparatus embodiments for present invention application deployment.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, in this method, application layer resource is selected by server of cloud platform, and for being loaded into the virtual machine for the cloud platform that the server is determined, as illustrated, the present embodiment specifically includes following steps:
Step 101, server receives the application deployment request that application deployment request equipment is sent, the application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment
Optionally, the mistrustful application layer resource information, is server, the information that such as CSP server of cloud platform can be recognized correctly;
When AD is by application is deployed in the resource pool of cloud platform by application deployment request equipment resource such as virtual machine, device-to-server is asked using deployment, such as server of cloud platform, send application deployment request, application deployment request bag includes the associated description of the application layer resource needed for application deployment, type and mistrustful application layer resource information as included the application layer resource needed for application deployment.Application layer resource application server(Such as WebSphere) or database server(Such as Orac l e) software resource.That is application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment.Further, the application layer resource information by application deployment request equipment recommendation to the evaluation of application layer resource can also be included from basis simultaneously using deployment request.The application layer resource information of recommendation is used to indicate the application layer resource information that CSP can be used, and the application layer resource information of the recommendation is self-defined for AD.
Specifically, mistrustful application layer resource information is at least one that the address of mistrustful application layer resource and use asterisk wildcard are described to the normal form of the address of mistrustful application layer resource.Specifically, described Further comprise 1 a t of node template NodeTemp e and corresponding with the node template node type NodeType using deployment request;The address for distrusting resource carries the distrust resource information subitem in node type, such as untrustlist, in deployment product DeploymentArtifacts fields in;The use asterisk wildcard is to distrusting normal form description that resource is carried out to carry distrust resource information subitem in described node type NodeType, such as untrustlist, in attribute Paradigm fields in.For example, mistrustful application layer resource information is using not information resources subitem, as the deployment product DeploymentArtifacts field definitions in " unTrustList " distrust the address of resource, distrust resource subitem with utilizing, such as unTrustList, in attribute Paradigm field definitions using asterisk wildcard to distrusting the normal form that resource is carried out to describe.
In addition, in embodiments of the present invention, distrust the address of resource to be specific and uniquely point to mistrustful application layer resource, that is, mistrustful application layer resource accurate address.And the description carried out using asterisk wildcard to distrusting the normal form of resource progress to be described as using asterisk wildcard to the address of distrust resource, the address that normal form description can point to its multiple application layer resource meets the application layer resource that the asterisk wildcard is described.
The address for for example distrusting resource is:
Imagel: www, 365XXX, c om/ images /'we b s phe r e ? v e r s i οη= 6 , 0.1;
The normal form for distrusting resource to carry out is described as using asterisk wildcard:
Image2: www.111. com/images/*;(" * " represent tenth of the twelve Earthly Branches oneself any number of any characters) shellfish ' J, in application deployment request, distrust the address of resource and using asterisk wildcard to distrusting under type is adopted in normal form description that resource is carried out to carry:
<unTrustList>
<DeploymentArtifact name= " Imagel " type= "www. dmtf. org/ imageType/ img" > <Location> www.365XXX. com/ images/websphere?version=6.0. K/Location>
</DeploymentArtifact>
< Paradigm name=" Image2 " type=" www.example.com/paradigms/paradipil,><Format> www.111. com/images/^ /Format
〈/ Paradigm > </unTrustList >
Distrust resource subitem, unTrustList, in DeploymentAr t if act fields include two attributes and a daughter element.Two attributes are respectively name and type, and the ID and type of the DeploymentArtifact are represented respectively(Represented with a URI), as above in example, the ID of first distrust resource is Imagel, and its type is that beautiful w. dmtf. org/imageType/img (represent mirror image nature);One daughter element is Location, describes the address of the mistrustful resource, can also be represented with URI, and the address that resource Imagel is as above distrusted in example is www.365XXX. com/ images/webs her e ver s ion=6.0.1.
Distrust resource subitem, unTrustList, in Paradigm fields in include two attributes and a daughter element.Two attributes are respectively name and type, and the ID and type of the Paradigm are represented respectively, are represented with a URI, as above in example, the ID of second distrust resource is Image2, its type ^ www. example, com/paradigms/paradigml;One daughter element is Location, describe the pattern of the normal form, as above normal form Image2 pattern is the URI that above-mentioned first URI of beautiful w.111. com/ images/* is a mirror image in example, if the application layer resource that server is obtained is Image: URI= www.365XXX. com/ images /websphereVer s ion=6.0.1, shellfish1J shows that the Image is to be not trusted;If the application layer resource that server is obtained is Image: URI= www.111. com/ images /websphereVer s ion=6.0.1, shellfish1The address of the J application layer resources to the normal form of the address of not information resources using asterisk wildcard with describing Image2:Www. lll.com/images/* tenth of the twelve Earthly Branches oneself.So, with URI=www.111. com/images/websphereThe corresponding Image of version=6.0.1 are also un-trusted.
In the present embodiment, the topology and business process specification of cloud application are used(Topology and Orchestration Specification for Cloud Applications, TOSCA) describe to apply required application layer resource.TOSCA by information-intensive society senior exploitation standard(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 plants the configuration diagram of T0SCA in resource selection method embodiment for the present invention, and there is defined several important elements: Node type NodeTypel:A kind of reusable entity is defined, base attribute enabled node type attribute NodeTypeProper t ies definition, deployment component subitem can use the DeploymentArtifacts definition of deployment product;
Properties is used for some build-in attributes for describing the node type, the Vendor of such as software, version information etc.;Interfaces defines the interface for manipulating the node type;DeploymentAr tifacts describe the deployment product information of the node, such as dispose type, the URL of product.
Node template NodeTemplate2:It is used as the node type example of NodeTypel;Relationship type RelationshipType3:Define two or more NodeTemplate relation;Relationship templates RelationshipTemplate4:It is used as RelationshipType example;Plan Plans5:Comprising multiple Plan, the method or interface that each Plan is both defined in the workflow for completing some function, workflow are defined by each NodeType;
Topology template TopologyTemplate6:The topological structure that description one is applied in application layer;DeploymentArtifacts subitems can be used to describe the deployment component of the NodeType examples (i.e. NodeTemplate) in NodeType.DeploymentArtifacts subitems can include one or more DeploymentArtifact, and each DeploymentAr t if act define a deployment component.Resource subitem " unTrustList " is distrusted also to be defined under DeploymentArtifacts.As described above, addresses of the undefined DeploymentArtifact of unTrustList to describe distrust resource, and application layer resource informations of the definition DeploymentArtifact directly in DeploymentArtifacts subitems and not under unTrustList subitems to describe recommendation.
So, ask, using application layer resource needed for NodeTemplate expressions of node template, required application layer resource type to be represented using NodeTemplate corresponding node type NodeType with node template using deployment;The application layer resource information of the recommendation is carried in the deployment product subitem in the corresponding node type entry with node template, and/or the application layer resource information of the recommendation is carried in the deployment product subitem in the node template.
The definition mode of NodeType is as follows. <NodeType name=〃string〃〉
<NodeTypeProperties element=// string^/)
<DeploymentArtif acts)
<DeploymentArtif act name= " string" type= "anyURI > artifact specific content
</DeploymentArtif act)
<unTrustList>
<DeploymentAr t if act name=ustr ing" type=uanyURI"> artifact specific content
</DeploymentAr t if act>
<Paradigm name=ustr ing" type=uanyURI">
</ Paradigm >
>
</DeploymentArtifacts>For example:WebSphere 6.0.1 can be encapsulated in a mirror image, the application layer resource Image3 of recommendation address imagestore3. com/websphere/version=6.0.1, distrusts resource Imagel standing grain mouthful Image2 as described above, then complete NodeType is defined as:
<NodeType name=〃webSphere〃〉
<DeploymentArtif acts)
<DeploymentArtif act name= " Image3
type= " www. dmtf . org/ imageType/ img" >
<Location>www. imagestore3. com/web sphere/ version?=6.0. K/Location>
</DeploymentArtifact>
<unTrustList>
<DeploymentArtifact name= " Imagel " type= "www. dmtf. org/ imageType/ img
<Location> www.365XXX. com/ images/websphere?version=6.0. </DeploymentArtifact>
< Paradigm name=" Image2 " type=" www.example.com/paradigms/paradigml,>
<Format> www.111. com/ images/*</Format>
〈/ Paradigm >
</unTrustList >
</DeploymentArti facts)
</NodeType>
In above-mentioned NodeType items, attribute name describes the ID of the NodeType, such as webSphere.A DeploymentAr t if act field is directly defined under in DeploymentArtifacts subitems to the address for the application layer resource for describing to recommend, that is, the application layer resource information recommended.ID is Image3, and type is www.dmtf.org/imageType/img, and address is www. imagestore3.com/websphere/ version=6.0.1.Meanwhile, distrust application layer resource subitem, such as unTrustList describes two and distrusts resource Imagel and Image2.Wherein, in unTrustList each parameter the description retouched in art and previous examples for unTrustList, the embodiment of the present invention will not be described in detail herein.
During application layer resource required using T0SCA description applications, NodeTemplate represents an application layer resource, and the type of application layer resource corresponding with NodeTemplate is defined or described by NodeType.That is, Nodetype is used to describe being specifically defined for application layer resource, the NodeTemplate that such as one ID is AppServer, its type is WebSphere defined above, and it is WebSphere to represent the application layer resource type;Relat ionShipTemplate represent the relation between application layer resource NodeTemplate, Relat ionShipType corresponding with NodeTemplate, for describing being specifically defined for the relation between application layer resource NodeTemplate, the relation such as between application server and database server is " connection ".Therefore, the RelationShipType that an ID is " ConnectTo " is defined, and defines the RelationShipTemplate that an ID is " Edge ", its type is ConnectTo;Deployment product DeploymentAr t if act in NodeType or NodeTemplate define the candidate resource of application layer resource.
Step 102, obtain corresponding with the application layer resource type according to the type of the application layer resource Application layer resource;
Specifically, it is prior art to obtain application layer resource corresponding with the application layer resource type according to the type of the application layer resource in the step, the embodiment of the present invention will not be described in detail herein.
Optionally, as it was previously stated, application deployment request also includes the application layer resource information recommended;The selection from the application layer resource corresponding with the application layer resource type is not belonging to before application layer resource corresponding with the mistrustful application layer resource information, and server also needs to obtain the application layer resource of recommendation corresponding with the application layer resource information of the recommendation;
Step 103, selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into the virtual machine that the server is determined.
Specifically, server can delete application layer resource corresponding with the mistrustful application layer resource information before selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type from application layer resource corresponding with the application layer resource type.
The mistrustful application layer resource information is at least one that the address of mistrustful application layer resource and use asterisk wildcard are described to the normal form of the address of mistrustful application layer resource;It is described application layer resource corresponding with the mistrustful application layer resource information is deleted from the application layer resource corresponding with the application layer resource type to specifically include:
When the mistrustful application layer resource information is the address of mistrustful application layer resource, the application layer resource that the address of the mistrustful application layer resource is indicated is deleted from the application layer resource corresponding with the application layer resource type;With, when the mistrustful application layer resource information is that the normal form carried out using asterisk wildcard to the address of mistrustful application layer resource is described, the address that application layer resource is deleted from the application layer resource corresponding with the application layer resource type meets the application layer resource for the normal form description that the 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 the application layer resource corresponding with the application layer resource type selection be not belonging to it is described mistrustful Application layer resource information correspondence but the application layer resource for belonging to recommendation corresponding with the application layer resource information of the recommendation.
Application layer resource corresponding with the application layer resource type is obtained according to the type of the application layer resource, the first choice resource collection of the application layer resource corresponding with the application layer resource type comprising the acquisition is obtained;Application layer resource corresponding with the mistrustful application layer resource information is deleted from the first choice resource collection, candidate's application layer resource collection is obtained.
Further, the application layer resource information of the recommendation includes the type for the application layer resource recommended;Before step 1 03 is performed, server also needs the type for determining the application layer resource of the recommendation consistent with the type that the application layer resource that request bag is included is disposed in the application.
In an embodiment of the present invention, include the type and mistrustful application layer resource information of the application layer resource needed for application deployment in application deployment request, so that server will not select the mistrustful application layer resource of equipment for user, so as to improve Consumer's Experience.
Figure 1B is the two of the flow chart of the embodiment of the method for application layer resource selection of the present invention, and application layer resource is selected by server of cloud platform, and is loaded into by the server of cloud platform on the virtual machine for the cloud platform that the server is determined.As shown in Figure 1B, the present embodiment specifically includes following steps:
101A, generation application deployment request, the application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;
102A, send application deployment to server and ask, in order to which the server obtains application layer resource corresponding with the application layer resource type according to the type of the application layer resource, selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into the virtual machine that the server is determined.
Further, the application deployment request also includes the application layer resource information recommended, in order to which server obtains the application layer resource of corresponding with the application layer resource information of recommendation recommendation, and select from the application layer resource corresponding with the application layer resource type to be not belonging to and the mistrustful application Layer resource information correspondence but the application layer resource for belonging to recommendation corresponding with the application layer resource information of the recommendation, and the application layer resource of selection is loaded into virtual machine.
Further, the application deployment request further comprises node template NodeTemplate and corresponding with the node template node type NodeType;The mistrustful application layer resource information is at least one that the address of mistrustful application layer resource and use asterisk wildcard are described to the normal form of the address of mistrustful application layer resource;The address for distrusting resource is carried in the deployment product DeploymentAr t ifact s fields in the distrust resource information subitem in node type;The use asterisk wildcard is to distrusting the normal form description that resource is carried out to carry in the attribute Paradigm fields in the distrust resource information subitem in described node type NodeType.
Optionally, the application deployment request further comprises node template NodeTemplate and corresponding with the node template node type NodeType;The application layer resource type carry it is described with node template NodeTemp late corresponding node type NodeType;The application layer resource information of the recommendation is carried in the deployment product subitem in the corresponding node type entry with node template, or the application layer resource information of the recommendation is carried in the deployment product subitem in the node template.
In an embodiment of the present invention, include the type and mistrustful application layer resource information of the application layer resource needed for application deployment in application deployment request, so that server will not select the mistrustful application layer resource of equipment for user, so as to improve Consumer's Experience.Fig. 3 is planted for the present invention in another flow chart of resource selection method embodiment, the present embodiment, and institute's application deployment are that Web is applied, it is necessary to (the application servers of application layer resource WebSphere 6. 0. 1)With Orac le 10g (i.e. database servers).As shown in figure 3, the present embodiment specifically includes following steps:
Step 200, the application deployment request that the reception application deployment request equipment of server is sent, the application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment.
Application deployment request is described using T0SCA, and the name that node template is NodeTemplate is
MyAppServer, it is application server to show application layer resource.Node type nodeType and version For WebSphere 6.0 1.Its node type nodeType is that, for WebSphere, the type for showing application layer resource is WebSphere.The NodeType includes node type attribute NodeTypeProperties, and parameter element represents the version version of application layer resource, and value value is 6.0.1, to represent the version of the application layer resource as 6.0.1. 〈NodeTemplate name= MyAppServer , nodeType=" WebSphere" >
... other definition of 〃
<NodeType name= WebSphere >
<NodeTypePropert ies element= vers ion" value=" 6.0.1
... other definition of 〃 are in addition, the related content of the deployment request also database server comprising node template, is represented using node type nodeType and version, it is, NodeTemplate:MyDBServer expression application layer resource Oracle 10g, its nodeType is the NodeType that an id is Oracle, the NodeType includes a node type attribute Proper ty, parameter element is the version version for representing application layer resource, value value is 10g, to represent the version of the application layer resource as 10g.
<NodeTemplate name= MyDBServer , nodeType=" Oracle" >
... other definition of 〃
<NodeType name= Oracle ">
<NodeTypePropert ies element= vers ion" value=" lOg
Step 210-step 214 is first application layer resource of processing, and id is the NodeTemplate of " MyAppServer ", and its type is " WebSphere ", and vers ion are that 6.0.1 is defined in element " NodeTypeProper t ies ".
Step 210, application section corresponding with the application layer resource of first application is included in being asked using deployment Administration's 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. images tore2. com/websphere/vers ion =6. 0. 1
The normal form of the address of mistrustful application layer resource is described as using asterisk wildcard: www. 365xxx. com/ images/ *
The application layer resource information of recommendation is Imagel: www. images tore3. com/websphere I vers ion=6. 0. 1
Step 211, server is " WebSphere " according to the type of id application layer resources for needed for the NodeTemplate of " MyAppServer " type is in application deployment request, the application layer resource also described in the resources bank of search server using the NodeType, i.e., obtain application layer resource corresponding with the application layer resource type according to the type of the application layer resource;
The resource that server is obtained is as shown in table 2
Table 2
There are 5 mirror images for including WebSphere 6. 0. 1 in server, that is to say, that application layer resource corresponding with the application layer resource type is ImageA, ImageB... ImageE.
Step 212, server deletes application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type.
Specifically, being deleted from the application layer resource corresponding with the application layer resource type The application layer resource corresponding with the distrust resource address of product description is disposed in unTrus tLi s t.For example:
ImageD URL is URI=www. images tore2. com/websphereVers ion=6. 0. 1, because Image2 is defined in the distrust list of mistrustful application layer resource information, its URI is identical with ImageD's, therefore, and ImageD is deleted from acquisition application layer resource corresponding with the application layer resource type.
Further, because unTrus tLi s t further comprises the normal form of the address of mistrustful application layer resource is described using asterisk wildcard, also middle from the application layer resource corresponding with the application layer resource type of acquisition the normal form description met to distrusting resource to carry out need to be deleted, for example:
ImageB URL is URI=www. 365XXX. com/ images/webspherevers ion
=6. 0. 1, meet to distrusting the normal form to distrusting resource progress in list unTrus tL i s t to describe www. 365xxx. com/ images/*, therefore ImageB is also deleted from CRS, CRS includes ImageA, ImageC, ImageE.
Step 213, as described in step 210, using application layer resource information Imagel by application deployment request equipment recommendation corresponding with first application layer resource is also included in deployment request, then server obtains the application layer resource Image 1 of corresponding recommendation in the application layer resource information of the recommendation;
Step 214, an application layer resource is selected to be loaded into the virtual machine VM of server determination during server obtains application layer resource after step 213.
Optionally, server for example can have selected ImageE according to network minimal principle, and CSP is by the resource ImageE of selection;Optionally, the application layer resource information of the recommendation includes the type for the application layer resource recommended;Server is after step step 213 is performed, in addition it is also necessary to it is determined that determining that the type of the application layer resource of the recommendation is consistent with the type that the application layer resource that request bag is included is disposed in the application.I.e. server determines Image 1 type and type " WebSphere "-cause in Nodetype.Further, server is when performing step 214, Image 1 can be for example selected as loading with selecting to be not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type To the application layer resource of virtual machine.
Methods described also includes, it is sky to be not belonging in the application layer resource corresponding with the application layer resource type for determining the acquisition with the application layer resource of the mistrustful application layer resource information, notifies the application deployment request equipment can not provide application layer resource.
Step 220-step 222 is second application layer resource of processing, and id is the NodeTemplate of " MyDBServer ", and its type is " Oracle ", and version is that 10g is defined in element " NodeTypeProper t ies ".
Step 220, the deployment contained using deployment request bag for the application layer resource of second application is described, server is " Oracle " according to the type of id application layer resources for needed for the NodeTemplate of " MyDBServer " type is in application deployment request, the resource type possessed in the resources bank for obtaining server is the database server of " Oracle ", that is, obtains application layer resource corresponding with the application layer resource type;
The image listing for the Oracle 10g that server search is arrived is as shown in table 3.
Table 3
Name URI (addresses)
ImageF URI=www. imagestore4. com/ oracl e?version=10g
ImageG URI=www. imagestore2. com/ oracl e?version=10g
ImageH URI=www. imagestore6. com/ oracl eVersion=10g is because no in description corresponding with " MyDBServer " define mistrustful application layer resource information, therefore the application layer resource that server searches acquisition is all trusted;
Step 221, the application layer resource that server is directly selected from table 3: ImageG;
Specifically, due to all not defining DeploymentArtifact in NodeTemplate and NodeType, i.e., not defining by the application layer resource information of application deployment request equipment recommendation.That is, server is not it is determined that have the application layer resource for including recommendation in NodeTemplate and NodeType, and after the information of mistrustful application layer resource, server is directly from table 3 The application layer resource of selection: ImageG.
In this step, server selects the specific method of application layer resource to be prior art directly from table 3, such as according to the principle of network minimal, or selects application layer resource according to best principle of performance etc..The embodiment of the present invention be not described in detail herein.
Step 222, server loads ImageG and determined in virtual machine VM to server.
As it was previously stated, server determines application layer resource being loaded into which virtual machine VM to belong to prior art, the embodiment of the present invention will not be described in detail herein.
In an embodiment of the present invention, include the type and mistrustful application layer resource information of the application layer resource needed for application deployment in application deployment request, so that server will not select the mistrustful application layer resource of equipment for user, so as to improve Consumer's Experience.In addition, in the embodiment of the present invention, the application layer resource information of the equipment recommendation can also be included in application deployment request using deployment request equipment, so that the application layer resource that server priority selection is recommended, the demand of user is more conformed to, Consumer's Experience is improved.
Fig. 4 is the schematic diagram of server 100 provided in an embodiment of the present invention, as illustrated, the present embodiment is specifically included:Receiving unit 11, acquiring unit 12 and selection loading unit 13;
Receiving unit 11 receives the application deployment request of application deployment request equipment transmission for server, and sends the application deployment request to the acquiring unit 12.The application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;
Acquiring unit 12 is used for the application deployment request for receiving the transmission of receiving unit 12, and application layer resource corresponding with the application layer resource type is obtained according to the type of the application layer resource, and application layer resource corresponding with the application layer resource type described in sending sends mistrustful application layer resource information to the selection loading unit 13, and to the selection loading unit 13.
Selection loading unit 13 is used for the application layer resource corresponding with the application layer resource type and the mistrustful application layer resource information for receiving the transmission of acquiring unit 12, and selects from the application layer resource corresponding with the application layer resource type to be not belonging to and the mistrustful application layer resource information Corresponding application layer resource, and the application layer resource of selection is loaded into the virtual machine that the server is determined.Further, the selection loading unit 13 is further used for:Application layer resource corresponding with the mistrustful application layer resource information is deleted from the application layer resource corresponding with the application layer resource type
Specifically, the mistrustful application layer resource information is at least one that the address of mistrustful application layer resource and use asterisk wildcard are described to the normal form of the address of mistrustful application layer resource;
The selection loading unit 13 deletes application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type:
When the mistrustful application layer resource information is the address of mistrustful application layer resource, the application layer resource that the address of the mistrustful application layer resource is indicated is deleted from the application layer resource corresponding with the application layer resource type;With, when the mistrustful application layer resource information is that the normal form carried out using asterisk wildcard to the address of mistrustful application layer resource is described, the address that application layer resource is deleted from the application layer resource corresponding with the application layer resource type meets the application layer resource for the normal form description that the use asterisk wildcard is carried out to the address of mistrustful application layer resource.
Further, the application deployment request also includes the application layer resource information recommended;The acquiring unit 12 is additionally operable to before the selection loading unit selects to be not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, the application layer resource of recommendation corresponding with the application layer resource information of the recommendation is obtained, and the application layer resource of the recommendation is sent to the selection loading unit 13;
It is described selection loading unit 13 specifically for:Receive application layer resource corresponding with the application layer resource type, the application layer resource of the recommendation of mistrustful application layer resource information and the acquiring unit transmission that acquiring unit is sent, and selection is not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into virtual machine.
Optionally, the application layer resource information of the recommendation includes the type for the application layer resource recommended, institute State selection loading unit 13 from application layer resource corresponding with the application layer resource type selection be not belonging to application layer resource corresponding with the mistrustful application layer resource information, but before the application layer resource for belonging to recommendation corresponding with the application layer resource information of the recommendation, it is further used for receiving the type of the type for the application layer resource that the application deployment request bag that the acquiring unit 12 sends is included and the application layer resource of the recommendation, and determine that the type of the application layer resource of the recommendation is consistent with the type that the application layer resource that request bag is included is disposed in the application.
Optionally, the equipment also includes, determine notification unit 14, it is sky to be not belonging in application layer resource corresponding with the application layer resource type for determining the acquisition with the application layer resource of the mistrustful application layer resource information, notifies the application deployment request equipment can not provide application layer resource.
Optionally, the application deployment request further comprises node template NodeTemplate and corresponding with the node template node type NodeType;The application layer resource type carry it is described with node template NodeTemp late corresponding node type NodeType;The application layer resource information of the recommendation is carried in the deployment product subitem in the corresponding node type entry with node template, or the application layer resource information of the recommendation is carried in the deployment product subitem in the node template.
Optionally, the application deployment request further comprises node template NodeTemplate and corresponding with the node template node type NodeType;The address for distrusting resource is carried in the deployment product Dep loymentAr t ifact s fields in the distrust resource information subitem in node type;The use asterisk wildcard is to distrusting the normal form description that resource is carried out to carry in the attribute Paradigm fields in the distrust resource information subitem in described node type NodeType.
What deserves to be explained is, the server of Fig. 4 of embodiment of the present invention descriptions can perform Fig. 1-figure of the present invention
The arbitrary steps that the server of 3 descriptions is performed, the embodiment of the present invention will not be described in detail herein.
The schematic diagram for the application deployment request embodiment of equipment 200 that Fig. 5 provides for the present invention, the device request server of cloud platform is the application layer resource that the application selects loading, and be loaded into the application layer resource of selection on the virtual machine for the cloud platform that the server is determined, as shown in Fig. 5, specifically included using deployment request equipment 200:Generation unit 21 and transmitting element 22.
Generation unit 21 is used to generate gives the transmitting element, the application section using deployment request Concurrency Administration's request includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;
Transmitting element 22, request is disposed for receiving the application that the generation unit is sent, the application deployment request is sent to server, in order to which the server obtains application layer resource corresponding with the application layer resource type according to the type of the application layer resource, selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into virtual machine.
Optionally, the application deployment request also includes the application layer resource information recommended, in order to which server obtains the application layer resource of recommendation corresponding with the application layer resource information of the recommendation, and selection is not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into virtual machine.
Optionally, the application deployment request further comprises node template NodeTemplate and corresponding with the node template node type NodeType;The mistrustful application layer resource information is at least one that the address of mistrustful application layer resource and use asterisk wildcard are described to the normal form of the address of mistrustful application layer resource;The address for distrusting resource is carried in the deployment product DeploymentAr t ifact s fields in the distrust resource information subitem in node type;The use asterisk wildcard is to distrusting the normal form description that resource is carried out to carry in the attribute Parad igm fields in the distrust resource information subitem in described node type NodeType.
Optionally, the application deployment request further comprises node template NodeTemplate and corresponding with the node template node type NodeType;The application layer resource type carry it is described with node template NodeTemp late corresponding node type NodeType;The application layer resource information of the recommendation is carried in the deployment product subitem in the corresponding node type entry with node template, or the application layer resource information of the recommendation is carried in the deployment product subitem in the node template.
In an embodiment of the present invention, the application layer money needed for application deployment is included in application deployment request The type in source and mistrustful application layer resource information, so that server will not select the mistrustful application layer resource of equipment for user, so as to improve Consumer's Experience.In addition, in the embodiment of the present invention, the application layer resource information of the equipment recommendation can also be included in application deployment request using deployment request equipment, so that the application layer resource that server priority selection is recommended, the demand of user is more conformed to, Consumer's Experience is improved.
What deserves to be explained is, the equipment of Fig. 5 of embodiment of the present invention descriptions can perform the arbitrary steps that the application request deployment facility of Fig. 1-Fig. 3 descriptions of the present invention is performed, and 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 61, processor 62 and memory 63.System bus 64 is used to connect network interface 61, processor 62 and memory 63.
The network interface 61 is used to be communicated with external equipment, receive the application deployment request that application deployment request equipment is sent, the application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;The memory 63 stores application program:The processor 62 is called stored in the memory in application program, and corresponding with application layer resource type application layer resource is obtained according to the type of the application layer resource;Selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into the virtual machine that the resource selection system is determined.
Further, the processor 63 is further before selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, the deletion application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type.
Specifically, the mistrustful application layer resource information is at least one that the address of mistrustful application layer resource and use asterisk wildcard are described to the normal form of the address of mistrustful application layer resource;The processor 63 is deleted application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type and specifically included:When the mistrustful application layer resource is believed When ceasing for the address of mistrustful application layer resource, the application layer resource that the address of the mistrustful application layer resource is indicated is deleted from the application layer resource corresponding with the application layer resource type;With, when the mistrustful application layer resource information is that the normal form carried out using asterisk wildcard to the address of mistrustful application layer resource is described, the address that application layer resource is deleted from the application layer resource corresponding with the application layer resource type meets the application layer resource for the normal form description that the use asterisk wildcard is carried out to the address of mistrustful application layer resource.
Further, the application deployment request also includes the application layer resource information recommended;The processor 63 selects to be not belonging to before application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, it is described further delete application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type before, the application layer resource of acquisition recommendation corresponding with the application layer resource information of the recommendation;And the processor selects to be not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type and is specially:Selection is not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type.
Further, the application layer resource information of the recommendation includes the type for the application layer resource recommended, the processor 63 is obtained after the application layer resource of recommendation corresponding with the application layer resource information of the recommendation, and selection is not belonging to before application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, further determine that the type of the application layer resource of the recommendation is consistent with the type for the application layer resource that application deployment request bag is included.
Further, the processor 63 further determines that it is sky to be not belonging in the application layer resource corresponding with the application layer resource type of the acquisition with the application layer resource of the mistrustful application layer resource information, notifies the application deployment request equipment can not provide application layer resource.
What deserves to be explained is, the system of Fig. 6 of embodiment of the present invention descriptions, its processor can perform the arbitrary steps that the server of Fig. 1-Fig. 3 descriptions of the present invention is performed, and the embodiment of the present invention will not be described in detail herein. Figure is the schematic diagram of resource selection system embodiment of the present invention, as illustrated, the present embodiment includes network interface 71, processor 72 and memory 73.System bus 74 is used to connect network interface 71, processor 72 and memory 73.
Network interface 71 is used for and PERCOM peripheral communication.
The network interface 71 is used to be communicated with external equipment, the memory 73 is used to store application program, the processor 72 is used for the application program for calling memory storage, generation application deployment request, the application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;And the application deployment request is sent to server by the network interface 71, in order to which the server obtains application layer resource corresponding with the application layer resource type according to the type of the application layer resource, selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into the virtual machine that the server is determined.
Further, the application deployment request also includes the application layer resource information recommended, in order to which server obtains the application layer resource of recommendation corresponding with the application layer resource information of the recommendation, and selection is not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into the virtual machine that the server is determined.
What deserves to be explained is, the system of Fig. 7 of embodiment of the present invention descriptions, its processor can perform the arbitrary steps that the application deployment request equipment of Fig. 1-Fig. 3 descriptions of the present invention is performed, and the embodiment of the present invention will not be described in detail herein.
Professional should further appreciate that, the unit and algorithm steps of each example described with reference to the embodiments described herein, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate the interchangeability of hardware and software, the composition and step of each example are generally described according to function in the above description.These functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel can be to every Described function is realized in individual specific application using distinct methods, but this realization is it is not considered that beyond the scope of this invention.
The step of method or algorithm for being described with reference to the embodiments described herein, can be implemented with hardware, the software module of computing device, or the combination of the two.Software module can be placed in random access memory
(RAM), internal memory, read-only storage(ROM), in any other form of storage medium known in electrically programmable R0M, electrically erasable R0M, register, hard disk, moveable magnetic disc, CD-R0M or technical field.
Above-described embodiment; the purpose of the present invention, technical scheme and beneficial effect are further described; it should be understood that; it the foregoing is only the embodiment of the present invention; the protection domain being not intended to limit the present invention; within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc., should be included in the scope of the protection.

Claims (1)

  1. Claims CP12243
    1st, a kind of method of application layer resource selection, the application layer resource is selected by server of cloud platform, and for being loaded into the virtual machine for the cloud platform that the server is determined, it is characterised in that methods described includes:
    Server receives the application deployment request that application deployment request equipment is sent, the application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;
    Application layer resource corresponding with the application layer resource type is obtained according to the type of the application layer resource;
    Selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into the virtual machine that the server is determined.
    2nd, the method according to claim 1, it is characterized in that, the selection from the application layer resource corresponding with the application layer resource type is not belonging to before application layer resource corresponding with the mistrustful application layer resource information, and this method further comprises:
    Application layer resource corresponding with the mistrustful application layer resource information is deleted from the application layer resource corresponding with the application layer resource type.
    3rd, the method according to claim 2, it is characterised in that the mistrustful application layer resource information is at least one that the address of mistrustful application layer resource and use asterisk wildcard are described to the normal form of the address of mistrustful application layer resource;It is described application layer resource corresponding with the mistrustful application layer resource information is deleted from the application layer resource corresponding with the application layer resource type to specifically include:
    When the mistrustful application layer resource information is the address of mistrustful application layer resource, the application layer resource that the address of the mistrustful application layer resource is indicated is deleted from the application layer resource corresponding with the application layer resource type;With When the mistrustful application layer resource information is that the normal form carried out using asterisk wildcard to the address of mistrustful application layer resource is described, the address that application layer resource is deleted from the application layer resource corresponding with the application layer resource type meets the application layer resource for the normal form description that the use asterisk wildcard is carried out to the address of mistrustful application layer resource.
    4th, according to any described methods of claim 1-3, it is characterised in that the application deployment request also includes the application layer resource information recommended;
    The selection from the application layer resource corresponding with the application layer resource type is not belonging to before application layer resource corresponding with the mistrustful application layer resource information, and this method also includes,
    Obtain the application layer resource of recommendation corresponding with the application layer resource information of the recommendation;The selection from the application layer resource corresponding with the application layer resource type is not belonging to application layer resource corresponding with the mistrustful application layer resource information:
    Selection is not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type.
    5. method according to claim 4, it is characterized in that, the application layer resource information of the recommendation includes the type for the application layer resource recommended, after the application layer resource for obtaining recommendation corresponding with the application layer resource information of the recommendation, and selection is not belonging to before application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, this method also includes:
    Determine that the type of the application layer resource of the recommendation is consistent with the type that the application layer resource that request bag is included is disposed in the application.
    6th, according to any described method of claim 11, it is characterized in that, methods described also includes, it is sky to be not belonging in the application layer resource corresponding with the application layer resource type for determining the acquisition with the application layer resource of the mistrustful application layer resource information, notifies the application deployment request equipment can not provide application layer resource. 7th, the method according to claim 4 or 5, it is characterised in that the application deployment request further comprises 1 a t of node template NodeTemp e and corresponding with the node template node type NodeType;
    The application layer resource type carry it is described with node template NodeTemp la te corresponding node type NodeType;
    The application layer resource information of the recommendation is carried in the deployment product Dep loymentAr t i fac t s subitems in the corresponding node type entry with node template, or the application layer resource information of the recommendation is carried in the deployment product subitem in the node template.
    8th, the method according to claim 3 or 5, it is characterised in that the application deployment request further comprises node template NodeTemp la te and corresponding with the node template node type NodeType;
    The address for distrusting resource is carried in the deployment product Dep loymentAr t i fac t s fields in the distrust resource information subitem in node type;The use asterisk wildcard is to distrusting the normal form description that resource is carried out to carry in the attribute Parad i gm fields in the distrust resource information subitem in described node type NodeType.
    9th, a kind of method of application layer resource selection, the application layer resource is selected by server of cloud platform, and is loaded into by the server of cloud platform on the virtual machine for the cloud platform that the server is determined, it is characterised in that methods described includes:
    Generation application deployment request, the application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;
    The application deployment request is sent to server, in order to which the server obtains application layer resource corresponding with the application layer resource type according to the type of the application layer resource, selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded The virtual machine determined to the server.
    10th, method according to claim 9, it is characterized in that, the application deployment request also includes the application layer resource information recommended, in order to which server obtains the application layer resource of recommendation corresponding with the application layer resource information of the recommendation, and selection is not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into virtual machine.
    11st, method according to claim 9, it is characterised in that the application deployment request further comprises 1 a t of node template NodeTemp e and corresponding with the node template node type NodeType;The mistrustful application layer resource information is at least one that the address of mistrustful application layer resource and use asterisk wildcard are described to the normal form of the address of mistrustful application layer resource;
    The address for distrusting resource is carried in the deployment product Dep loymentAr t i fac t s fields in the distrust resource information subitem in node type;The use asterisk wildcard is to distrusting the normal form description that resource is carried out to carry in the attribute Parad i gm fields in the distrust resource information subitem in described node type NodeType.
    12nd, method according to claim 10, it is characterised in that
    The application deployment request further comprises 1 a t of node template NodeTemp e and corresponding with the node template node type NodeType;
    The application layer resource type carry it is described with node template NodeTemp la te corresponding node type NodeType;
    The application layer resource information of the recommendation is carried in the deployment product subitem in the corresponding node type entry with node template, or the application layer resource information of the recommendation is carried in the deployment product subitem in the node template.
    13, a kind of server of selection application layer resource, the application layer resource is by cloud platform The moon good business device selection, and for being loaded into the virtual machine for the cloud platform that the server is determined, it is characterised in that including:Receiving unit, acquiring unit and selection loading unit;
    The receiving unit, ask the application deployment request of equipment transmission and dispose to the acquiring unit transmission application to ask for receiving application deployment, the application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;
    The acquiring unit, for receiving the application deployment request that the receiving unit is sent, and application layer resource corresponding with the application layer resource type is obtained according to the type of the application layer resource, and the application layer resource corresponding with the application layer resource type is sent to the selection loading unit, and send mistrustful application layer resource information to the selection loading unit;
    The selection loading unit, application layer resource corresponding with the application layer resource type and the mistrustful application layer resource information for receiving acquiring unit transmission, and selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into the virtual machine that the server is determined.
    14th, the server according to claim 13, it is characterised in that the selection loading unit is further used for:Application layer resource corresponding with the mistrustful application layer resource information is deleted from the application layer resource corresponding with the application layer resource type.
    15th, server according to claim 14, it is characterised in that the mistrustful application layer resource information is at least one that the address of mistrustful application layer resource and use asterisk wildcard are described to the normal form of the address of mistrustful application layer resource;
    The selection loading unit deletes application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type:When the address that the mistrustful application layer resource information is mistrustful application layer resource When, the application layer resource that the address of the mistrustful application layer resource is indicated is deleted from the application layer resource corresponding with the application layer resource type;With,
    When the mistrustful application layer resource information is that the normal form carried out using asterisk wildcard to the address of mistrustful application layer resource is described, the address that application layer resource is deleted from the application layer resource corresponding with the application layer resource type meets the application layer resource for the normal form description that the use asterisk wildcard is carried out to the address of mistrustful application layer resource.
    16th, according to any described servers of claim 1 3-15, it is characterised in that the application deployment request also includes the application layer resource information recommended;
    The acquiring unit is additionally operable to before the selection loading unit selects to be not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, the application layer resource of recommendation corresponding with the application layer resource information of the recommendation is obtained, and the application layer resource of the recommendation is sent to the selection loading unit;
    It is described selection loading unit specifically for:Receive application layer resource corresponding with the application layer resource type, the application layer resource of the recommendation of mistrustful application layer resource information and the acquiring unit transmission that acquiring unit is sent, and selection is not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into virtual machine.
    17, server according to claim 16, it is characterized in that, the application layer resource information of the recommendation includes the type for the application layer resource recommended, the selection loading unit from application layer resource corresponding with the application layer resource type selection be not belonging to application layer resource corresponding with the mistrustful application layer resource information, but before the application layer resource for belonging to recommendation corresponding with the application layer resource information of the recommendation, it is further used for receiving the type of the type for the application layer resource that the application deployment request bag that the acquiring unit sends is included and the application layer resource of the recommendation, and determine the type of the application layer resource of the recommendation and the application The type for the application layer resource that deployment request includes is consistent.
    18th, according to any described server of claim 12-17, it is characterized in that, also include, determine notification unit, it is sky to be not belonging in application layer resource corresponding with the application layer resource type for determining the acquisition with the application layer resource of the mistrustful application layer resource information, notifies the application deployment request equipment can not provide application layer resource.
    19th, the server according to claim 16 or 17, it is characterised in that the application deployment request further comprises 1 a t of node template NodeTemp e and corresponding with the node template node type NodeType;
    The application layer resource type carry it is described with node template NodeTempla te corresponding node type NodeType;
    The application layer resource information of the recommendation is carried in the deployment product DeploymentAr t ifact s subitems in the corresponding node type entry with node template, and/or the application layer resource information of the recommendation is carried in the deployment product subitem in the node template.
    20th, the server according to claim 15 for resource selection, it is characterised in that the application deployment request further comprises node template NodeTemplate and corresponding with the node template node type NodeType;
    The address for distrusting resource is carried in the deployment product DeploymentAr t ifact s fields in the distrust resource information subitem in node type;The use asterisk wildcard is to distrusting the normal form description that resource is carried out to carry in the attribute Paradigm fields in the distrust resource information subitem in described node type NodeType.
    21st, a kind of application deployment request equipment, the device request server of cloud platform is the application layer resource that the application selects loading, and be loaded into the application layer resource of selection on the virtual machine for the cloud platform that the server is determined, it is characterised in that it includes generation unit and transmitting element;
    The generation unit, the transmitting element is given for generating application deployment request Concurrency, The application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;
    The transmitting element, request is disposed for receiving the application that the generation unit is sent, the application deployment request is sent to server, in order to which the server obtains application layer resource corresponding with the application layer resource type according to the type of the application layer resource, selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into virtual machine.
    22nd, the equipment according to claim 21, it is characterized in that, the application deployment request also includes the application layer resource information recommended, in order to which server obtains the application layer resource of recommendation corresponding with the application layer resource information of the recommendation, and selection is not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into virtual machine.
    23rd, equipment according to claim 21, it is characterised in that
    The application deployment request further comprises 1 a t of node template NodeTemp e and corresponding with the node template node type NodeType;The mistrustful application layer resource information is at least one that the address of mistrustful application layer resource and use asterisk wildcard are described to the normal form of the address of mistrustful application layer resource;
    The address for distrusting resource is carried in the deployment product DeploymentAr t ifact s fields in the distrust resource information subitem in node type;The use asterisk wildcard is to distrusting the normal form description that resource is carried out to carry in the attribute Paradigm fields in the distrust resource information subitem in described node type NodeType.
    24th, equipment according to claim 22, it is characterised in that
    Application deployment request further comprise 1 a t of node template NodeTemp e and with institute State node template corresponding node type NodeType;
    The application layer resource type carry it is described with node template NodeTempla te corresponding node type NodeType;
    The application layer resource information of the recommendation is carried in the deployment product DeploymentAr t ifac t s subitems in the corresponding node type entry with node template, or the application layer resource information of the recommendation is carried in the deployment product subitem in the node template.
    25th, a kind of application layer resource selection system, it is characterised in that including:Network interface, processor;Memory;
    The network interface is used to be communicated with external equipment, receive the application deployment request that application deployment request equipment is sent, the application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;
    The memory storage application program:
    The processor is called stored in the memory in application program, and corresponding with application layer resource type application layer resource is obtained according to the type of the application layer resource;Selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into the virtual machine that the resource selection system is determined.
    26th, resource selection system according to claim 25, it is characterized in that, the processor is further before selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, the deletion application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type.
    27th, resource selection system according to claim 26, it is characterised in that the mistrustful application layer resource information is the address of mistrustful application layer resource and uses asterisk wildcard To at least one of the normal form description of the address of mistrustful application layer resource;The processor is deleted application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type and specifically included:
    When the mistrustful application layer resource information is the address of mistrustful application layer resource, the application layer resource that the address of the mistrustful application layer resource is indicated is deleted from the application layer resource corresponding with the application layer resource type;With
    When the mistrustful application layer resource information is that the normal form carried out using asterisk wildcard to the address of mistrustful application layer resource is described, the address that application layer resource is deleted from the application layer resource corresponding with the application layer resource type meets the application layer resource for the normal form description that the use asterisk wildcard is carried out to the address of mistrustful application layer resource.
    28th, according to any described resource selection systems of claim 25-27, it is characterised in that the application deployment request also includes the application layer resource information recommended;
    The processor selects to be not belonging to before application layer resource corresponding with the mistrustful application layer resource information, further to obtain the application layer resource of recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type;And the processor selects to be not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type and is specially:Selection is not belonging to application layer resource that is corresponding with the mistrustful application layer resource information but belonging to recommendation corresponding with the application layer resource information of the recommendation from the application layer resource corresponding with the application layer resource type.
    29th, resource selection system according to claim 28, it is characterised in that the application layer resource information of the recommendation includes the type for the application layer resource recommended;
    The processor is obtained after the application layer resource of recommendation corresponding with the application layer resource information of the recommendation and selection is not belonging to before application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, further determines that the type of the application layer resource of the recommendation and answering that application deployment request bag is included Type with layer resource is consistent.
    30th, according to any described resource selection systems of claim 25-29, it is characterized in that, the processor further determines that it is sky to be not belonging in the application layer resource corresponding with the application layer resource type of the acquisition with the application layer resource of the mistrustful application layer resource information, notifies the application deployment request equipment can not provide application layer resource.
    31st, a kind of application deployment request equipment, it is characterised in that including network interface, processor;Memory;
    The network interface is used to be communicated with external equipment, the memory is used to store application program, the processor is used for the application program for calling memory storage, generation application deployment request, the application deployment request bag includes the type and mistrustful application layer resource information of the application layer resource needed for application deployment, and the mistrustful application layer resource information indicates the application deployment request mistrustful application layer resource of equipment;And the application deployment request is sent to server by the network interface, in order to which the server obtains application layer resource corresponding with the application layer resource type according to the type of the application layer resource, selection is not belonging to application layer resource corresponding with the mistrustful application layer resource information from the application layer resource corresponding with the application layer resource type, and the application layer resource of selection is loaded into the virtual machine that the server is determined.
    32, equipment according to claim 31, it is characterized in that, the application deployment request also includes the application layer resource information recommended, in order to which server obtains the application layer resource of recommendation corresponding with the application layer resource information of the recommendation, and from the application layer resource corresponding with the application layer resource type selection be not belonging to it is corresponding with the mistrustful application layer resource information, but belong to the application layer resource of recommendation corresponding with the application layer resource information of the recommendation, and the application layer resource of selection is loaded into the virtual machine that the server is determined.
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 true CN104054308A (en) 2014-09-17
CN104054308B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331079A (en) * 2016-08-19 2017-01-11 明算科技(北京)股份有限公司 DOA (Data Oriented Architecture) system

Families Citing this family (4)

* 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
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

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321385B (en) * 2007-12-29 2012-02-29 北京邮电大学 Cooperation resource management method and system in heterogeneous wireless network
US9842004B2 (en) * 2008-08-22 2017-12-12 Red Hat, Inc. Adjusting resource usage for cloud-based networks
CN101448026B (en) * 2008-12-16 2012-05-23 中国科学技术大学 Method for computing node selection in grid market on the basis of trust filtering
CA2829001C (en) * 2010-11-22 2018-04-17 Telefonaktiebolaget L M Ericsson (Publ) Technique for resource creation in a cloud computing system
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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331079A (en) * 2016-08-19 2017-01-11 明算科技(北京)股份有限公司 DOA (Data Oriented Architecture) system

Also Published As

Publication number Publication date
WO2014100944A1 (en) 2014-07-03
CN104054308B (en) 2017-02-08

Similar Documents

Publication Publication Date Title
EP2812808B1 (en) Federating computing resources across the web
US8549471B2 (en) Method and apparatus for providing API service and making API mash-up, and computer readable recording medium thereof
CN105051687B (en) Using dispositions method and equipment
CN105260420B (en) A kind of method and apparatus for the offer target pages in mobile application
WO2017113201A1 (en) Network service lifecycle management method and device
CN110716783A (en) Front-end page generation and deployment method and device, storage medium and equipment
Nguyen et al. Blueprint template support for engineering cloud-based services
CN104054308A (en) Application layer resources selection method, device and system
US10110456B2 (en) Scalable software monitoring infrastructure, using parallel task queuing, to operate in elastic cloud environments
Silva et al. Cloud DSL: A Language for Supporting Cloud Portability by Describing Cloud Entities.
CN106412034B (en) Method for processing business and device
CN104346345B (en) The storage method and device of data
CN106648462B (en) Date storage method and device
CN108319463A (en) A kind of application upgrade method, apparatus
TWI313819B (en) A system and method for building component applications using metadata defined mapping between message and data domains
CN111124617B (en) Method and device for creating block chain system, storage medium and electronic device
CN109104368A (en) A kind of request connection method, device, server and computer readable storage medium
CN109885535A (en) A kind of method and relevant apparatus of file storage
WO2013104181A1 (en) Resource management method and device
CN113934559B (en) Application program query method, device, equipment and storage medium
CN110225102A (en) Method, equipment and the system of pushed information
CN110532457B (en) Method and system for acquiring network segment ID
CN108370329A (en) The management method and device of management function object
CN115878860A (en) Menu generation method, device, server equipment and medium
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