CN109656717A - A kind of containerization cloud resource distribution method - Google Patents
A kind of containerization cloud resource distribution method Download PDFInfo
- Publication number
- CN109656717A CN109656717A CN201811550003.7A CN201811550003A CN109656717A CN 109656717 A CN109656717 A CN 109656717A CN 201811550003 A CN201811550003 A CN 201811550003A CN 109656717 A CN109656717 A CN 109656717A
- Authority
- CN
- China
- Prior art keywords
- resource
- module
- cloud
- container
- containerization
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000011084 recovery Methods 0.000 claims abstract description 33
- 238000012163 sequencing technique Methods 0.000 claims abstract description 7
- 238000004458 analytical method Methods 0.000 claims description 11
- 239000011159 matrix material Substances 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 6
- 238000005553 drilling Methods 0.000 claims description 6
- 230000006399 behavior Effects 0.000 claims description 3
- 230000008901 benefit Effects 0.000 claims description 3
- 238000012423 maintenance Methods 0.000 claims description 3
- 238000001228 spectrum Methods 0.000 claims description 3
- 235000013399 edible fruits Nutrition 0.000 claims 2
- 239000011800 void material Substances 0.000 claims 1
- 101150060512 SPATA6 gene Proteins 0.000 description 22
- 238000005516 engineering process Methods 0.000 description 12
- 238000007726 management method Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5077—Logical partitioning of resources; Management or configuration of virtualized resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention belongs to containerization cloud resource distribution technique fields, disclose a kind of containerization cloud resource distribution method, utilize task distributor by source obtaining module, obtain the remaining allowable resource of all virtual machines;One is established to deployment container queue according to the sequencing that container service to be allocated reaches using deployment program by resource deployment module;Main control module calculates the matching angle value of container service to be allocated Yu all virtual machines for being subjected to the container service by resource matched module using matcher;Scheduler program scheduling container cloud resource is utilized by scheduling of resource module;Data recovery is carried out to the disaster in cloud computing infrastructure using data recovery procedures by recovery module;Cloud data are stored using memory by data memory module;And it is shown by display module using display.The present invention can guarantee the reasonable distribution and planning that each resource type uses in resource pool by scheduling of resource module.
Description
Technical field
The invention belongs to containerization cloud resource distribution technique field more particularly to a kind of containerization cloud resource distribution methods.
Background technique
Container technique virtualization technology, which has become a kind of container technique server resource being widely recognized as by everybody, to be shared
Mode, container technique can provide greatly in the process of building container technique operation system example on demand for system manager
Flexibility.The problem of in terms of still having some performances and resource utilization due to hypervisor virtualization technology, because
There is the New Virtual technology of a kind of referred to as container technique (Container) to help to solve these problems in this.Cloud
It is one kind of distributed computing technology, cloud (Cloudtechnology) is the network based on the application of cloud computing business model
The general name of technology, information technology, integration technology, management platform technology, application technology etc., can form resource pool, used on demand,
It is flexibly convenient.The most basic concept of cloud, be through network by huge calculation processing program be split into automatically it is numerous compared with
Small subprogram, then transfer to bulky systems composed by multi-section server to be searched, calculate analysis after processing result is returned
To user.Through this technology, Internet Service Provider can reach what processing number in terms of necessarily even hundred million was counted within the several seconds
Information reaches the network service with " supercomputer " same powerful efficiency.Cloud computing technology architecture is divided into 4 layers: physics
Resource layer, resource pool layer, management middleware layer and SOA structure layer, physical resource layer include computer, memory, the network facilities,
Database and software etc.;Resource pool layer is such as counted by the resource composition isomorphism of a large amount of same types or close to the resource pool of isomorphism
Calculate resource pool, data resource pond etc..Building resource pool is more the integrated and management work of physical resource.However, existing cloud meter
Calculating resource pool resource management does not have quantizating index to go to understand the property that various types resource and various resource templates are capable of providing
It can reference index;User often tends to the stronger resource of application ability, rather than with the matched resource of application demand, cause resource
Waste;Cloud computing resource pool can not go reasonable distribution and projected resources according to resources left situation;Meanwhile if system service is sent out
Raw failure, then cloud system function will receive influence, and cloud system may be available.
In conclusion problem of the existing technology is:
Existing cloud computing resource pool resource management does not have quantizating index to go to understand various types resource and various resource moulds
The performance reference index that plate is capable of providing;User often tends to the stronger resource of application ability, rather than with application demand
The resource matched, results in waste of resources;
Cloud computing resource pool can not go reasonable distribution and projected resources according to resources left situation;Meanwhile if system takes
Business is broken down, then cloud system function will receive influence, and cloud system may be available.
Summary of the invention
In view of the problems of the existing technology, the present invention provides a kind of containerization cloud resource distribution methods.
The invention is realized in this way a kind of containerization cloud resource distribution method, the containerization cloud resource distribution method
The following steps are included:
Step 1 utilizes task distributor by source obtaining module, obtains the remaining allowable resource of all virtual machines;
Step 2 is built using deployment program according to the sequencing that container service to be allocated reaches by resource deployment module
Vertical one to deployment container queue;
Step 3, main control module by resource matched module using matcher calculate container service to be allocated and it is all can
Receive the matching angle value of the virtual machine of the container service;
Step 4 utilizes scheduler program scheduling container cloud resource by scheduling of resource module;It is utilized by recovery module
Data recovery procedures carry out data recovery to the disaster in cloud computing infrastructure;
Step 5 stores cloud data using memory by data memory module;And display is utilized by display module
Show containerization cloud resource distribution system operation interface.
Further, the scheduling of resource module schedules method is as follows:
(1) according to one application resource requirement, to each resource type in cloud computing resource pool dispose respectively described in answer
With being assessed, assessment result is obtained;
(2) it according to the assessment result, determines the resource type for disposing the application, makes the corresponding meter of the application
Determined resource type is run on operator node;
(3) wherein the resource type includes physical server, virtual machine and container.
Further, each resource type in cloud computing resource pool is disposed the application respectively and is assessed, and obtains
Assessment result the step of include:
The application is disposed to each resource type in cloud computing resource pool respectively and carries out fraction assessment, first is obtained and comments
Estimate result;
The application is disposed to each resource type in cloud computing resource pool respectively and carries out cost-efficiency analysis, obtains second
Assessment result;
The application is disposed to each resource type in cloud computing resource pool respectively and carries out resource analysis, third is obtained and comments
Estimate result;
Each resource type in cloud computing resource pool disposes the application respectively and carries out fraction assessment, obtains the
The step of one assessment result includes:
According to multiple characteristic attributes of the resource requirement of the application, each feature category is met respectively to each resource type
Property the case where carry out fraction assessment, obtain each resource type correspond to each characteristic attribute son scoring;
The multiple sub- scorings for counting each resource type, obtain the overall score of each resource type;
The overall score of multiple resource types is ranked up from high to low, obtains the first assessment result;
Each resource type in cloud computing resource pool disposes the application respectively and carries out cost-efficiency analysis, obtains
The step of second assessment result includes:
It analyzes each resource type and disposes required node number when the application respectively;
Required node number when disposing the application respectively according to each resource type, calculates each resource type point
The totle drilling cost of the application is not disposed;
The totle drilling cost that multiple resource types dispose the application respectively is compared, the second assessment result is obtained.
Further, the recovery module restoration methods include:
1) by resource provider, establishing resource, the resource respectively have metadata record on distributed computing network;
2) resource is marked using specific information by the resource provider, the specific information is used for unique terrestrial reference
Know the resource and for identifying the tenant for possessing the resource;
3) determine when the distributed computing network is in disaster recovery model;And
4) resource metadata is re-created using the information of label by the resource provider to record;
The restoration methods further include:
By the list of resource provider maintenance consumer subscription and the resource by consumer's creation;
The list that there is the consumer of the access to the resource provider to subscribe to is disclosed by the resource provider;
The list that the resource possessed is subscribed to by each consumer is provided by the resource provider.
Further, resource matched module calculates container service to be allocated using matcher and all containers that are subjected to take
The matching angle value of the virtual machine of business;It specifically includes:
The resource matched module of S1 generates random number sequence matrix R, R={ Rmn }, (1≤m≤N), (1≤n≤N);Resource
Hash Hash matrix H is calculated according to R with module and H is sent to database D B;Resource matched module is by R with behavior unit by m
× n random number is randomly assigned to M containers to be allocated, and the random number sequence set that container SUj to be allocated is obtained remembers Rj (1≤j
≤ M), go to step S2;
S2:SUj passes through the virtual machine BSj for being subjected to the container service in the region Cj where control channel to its, hair
The channel request information EBSj (Rj1, t) of encryption is sent, t is the time, goes to step S3;
S3:BSj collects all EBSj that t moment receives and decrypts the sequence string received, obtains a series of secondary user
Information R times;BSj is each R times tagged rear re-encrypted, and each R times label and corresponding random number information are formed
Encryption information;Each R times encryption information is sent to DB by BSj, goes to step S4;
After the random number in encryption information is decrypted in S4:DB, the hash value that random number is calculated in Hash is carried out, with
After the hash value of machine number is matched with the hash value of H, the user of corresponding label passes through verifying;DB will be by the label and Cj of verifying
Usable spectrum information encrypt and to form available channel information after, be sent to BSj, DB deletes the hash value matched in H, goes to step
Rapid S5;
S5:BSj goes to step S6 according to the container allocation channel to be allocated that available channel information is by verifying;
S6:BSj registration channel use information in DB;It obtains container service to be allocated and is subjected to the container service with all
Virtual machine matching angle value.
Another object of the present invention is to provide a kind of containerization cloud resources to distribute computer program, the containerization cloud money
Source distributes computer program and realizes the containerization cloud resource distribution method.
Another object of the present invention is to provide a kind of terminal, the terminal, which is at least carried, realizes the containerization cloud resource
The cloud resource server of distribution method.
Another object of the present invention is to provide a kind of computer readable storage mediums, including instruction, when it is in computer
When upper operation, so that computer executes the containerization cloud resource distribution method.
Another object of the present invention is to provide a kind of containerization cloud resource distribution system, the containerization cloud resource distribution
System includes:
Source obtaining module is connect with resource deployment module, for obtaining the surplus of all virtual machines by task distributor
Remaining allowable resource;
Resource deployment module is connect with source obtaining module, main control module, for passing through deployment program according to appearance to be allocated
The sequencing that device service reaches establishes one to deployment container queue;
Main control module, with source obtaining module, resource deployment module, resource matched module, scheduling of resource module, recovery mould
Block, data memory module, display module connection, work normally for controlling modules by single-chip microcontroller;
Resource matched module, connect with main control module, for calculating container service to be allocated by matcher and owning
It is subjected to the matching angle value of the virtual machine of the container service;
Scheduling of resource module, connect with main control module, for passing through scheduler program scheduling container cloud resource;
Recovery module is connect with main control module, for passing through data recovery procedures to the disaster in cloud computing infrastructure
Carry out data recovery;
Data memory module is connect with main control module, for storing cloud data by memory;
Display module is connect with main control module, for showing that containerization cloud resource distribution system operates boundary by display
Face.
Another object of the present invention is to provide a kind of system for cloud computing for carrying the containerization cloud resource distribution system
Platform.
Advantages of the present invention and good effect are as follows:
The present invention manages platform using cloud resource by scheduling of resource module and is taken according to the resource requirement of application and physics
Current resources situation when business device, virtual machine, container application deployment determines resource type, can guarantee that each resource type makes in resource pool
Reasonable distribution and planning;Meanwhile by recovery module by resource provider the establishing resource on distributed computing network, money
Source respectively has metadata record;Specific information markup resources are used by resource provider, specific information is for uniquely identifying
Resource and for identifying the tenant for possessing the resource;Determine when distributed computing network is in disaster recovery model;And
Resource metadata is re-created using the information of label by resource provider to record;It ensures that cloud resource is restored in time, improves safety
Property.
The present invention is verified using random number Hash, and DB and BS can be made to distribute channel to legal container to be allocated.It realizes
The intelligence of containerization cloud resource distribution.
Detailed description of the invention
Fig. 1 is containerization cloud resource distribution method flow chart provided in an embodiment of the present invention.
Fig. 2 is containerization cloud resource distribution system configuration block diagram provided in an embodiment of the present invention.
In Fig. 2: 1, source obtaining module;2, resource deployment module;3, main control module;4, resource matched module;5, resource
Scheduler module;6, recovery module;7, data memory module;8, display module.
Specific embodiment
In order to further understand the content, features and effects of the present invention, the following examples are hereby given, and cooperate attached drawing
Detailed description are as follows.
Structure of the invention is explained in detail with reference to the accompanying drawing.
As shown in Figure 1, containerization cloud resource distribution method provided by the invention the following steps are included:
Step S101 utilizes task distributor by source obtaining module, and the residue for obtaining all virtual machines can distribute money
Source;
Step S102, the sequencing for utilizing deployment program to be reached according to container service to be allocated by resource deployment module
One is established to deployment container queue;
Step S103, main control module calculate container service to be allocated using matcher by resource matched module and own
It is subjected to the matching angle value of the virtual machine of the container service;
Step S104 utilizes scheduler program scheduling container cloud resource by scheduling of resource module;Pass through recovery module benefit
Data recovery is carried out to the disaster in cloud computing infrastructure with data recovery procedures;
Step S105 stores cloud data using memory by data memory module;And display is utilized by display module
Device shows containerization cloud resource distribution system operation interface.
As shown in Fig. 2, containerization cloud resource distribution system provided by the invention includes: source obtaining module 1, resource deployment
Module 2, main control module 3, resource matched module 4, scheduling of resource module 5, recovery module 6, data memory module 7, display module
8。
Source obtaining module 1 is connect with resource deployment module 2, for obtaining all virtual machines by task distributor
Remaining allowable resource;
Resource deployment module 2 is connect with source obtaining module 1, main control module 3, is used for through deployment program according to wait divide
The sequencing that dispensing container service reaches establishes one to deployment container queue;
Main control module 3, with source obtaining module 1, resource deployment module 2, resource matched module 4, scheduling of resource module 5,
Recovery module 6, data memory module 7, display module 8 connect, and work normally for controlling modules by single-chip microcontroller;
Resource matched module 4, connect with main control module 3, for calculating container service to be allocated and institute by matcher
There is the matching angle value for the virtual machine for being subjected to the container service;
Scheduling of resource module 5 is connect with main control module 3, for passing through scheduler program scheduling container cloud resource;
Recovery module 6 is connect with main control module 3, for passing through data recovery procedures to the calamity in cloud computing infrastructure
Hardly possible carries out data recovery;
Data memory module 7 is connect with main control module 3, for storing cloud data by memory;
Display module 8 is connect with main control module 3, for showing the operation of containerization cloud resource distribution system by display
Interface.
5 dispatching method of scheduling of resource module provided by the invention is as follows:
(1) according to one application resource requirement, to each resource type in cloud computing resource pool dispose respectively described in answer
With being assessed, assessment result is obtained;
(2) it according to the assessment result, determines the resource type for disposing the application, makes the corresponding meter of the application
Determined resource type is run on operator node;
(3) wherein the resource type includes physical server, virtual machine and container.
Each resource type provided by the invention in cloud computing resource pool is disposed the application respectively and is assessed, and obtains
Assessment result the step of include:
The application is disposed to each resource type in cloud computing resource pool respectively and carries out fraction assessment, first is obtained and comments
Estimate result;
The application is disposed to each resource type in cloud computing resource pool respectively and carries out cost-efficiency analysis, obtains second
Assessment result;
The application is disposed to each resource type in cloud computing resource pool respectively and carries out resource analysis, third is obtained and comments
Estimate result.
Each resource type provided by the invention in cloud computing resource pool is disposed the application progress score respectively and is commented
Estimate, obtain the first assessment result the step of include:
According to multiple characteristic attributes of the resource requirement of the application, each feature category is met respectively to each resource type
Property the case where carry out fraction assessment, obtain each resource type correspond to each characteristic attribute son scoring;
The multiple sub- scorings for counting each resource type, obtain the overall score of each resource type;
The overall score of multiple resource types is ranked up from high to low, obtains the first assessment result.
Each resource type provided by the invention in cloud computing resource pool disposes the application respectively and carries out cost performance
Analysis, obtain the second assessment result the step of include:
It analyzes each resource type and disposes required node number when the application respectively;
Required node number when disposing the application respectively according to each resource type, calculates each resource type point
The totle drilling cost of the application is not disposed;
The totle drilling cost that multiple resource types dispose the application respectively is compared, the second assessment result is obtained.
6 restoration methods of recovery module provided by the invention are as follows:
1) by resource provider, establishing resource, the resource respectively have metadata record on distributed computing network;
2) resource is marked using specific information by the resource provider, the specific information is used for unique terrestrial reference
Know the resource and for identifying the tenant for possessing the resource;
3) determine when the distributed computing network is in disaster recovery model;And
4) resource metadata is re-created using the information of label by the resource provider to record.
Restoration methods provided by the invention further include:
By the list of resource provider maintenance consumer subscription and the resource by consumer's creation;
The list that there is the consumer of the access to the resource provider to subscribe to is disclosed by the resource provider;
The list that the resource possessed is subscribed to by each consumer is provided by the resource provider.
Application of the invention is further described below with reference to concrete analysis.
Resource matched module provided in an embodiment of the present invention using matcher calculate container service to be allocated and it is all can
Receive the matching angle value of the virtual machine of the container service;It specifically includes:
The resource matched module of S1 generates random number sequence matrix R, R={ Rmn }, (1≤m≤N), (1≤n≤N);Resource
Hash Hash matrix H is calculated according to R with module and H is sent to database D B;Resource matched module is by R with behavior unit by m
× n random number is randomly assigned to M containers to be allocated, and the random number sequence set that container SUj to be allocated is obtained remembers Rj (1≤j
≤ M), go to step S2;
S2:SUj passes through the virtual machine BSj for being subjected to the container service in the region Cj where control channel to its, hair
The channel request information EBSj (Rj1, t) of encryption is sent, t is the time, goes to step S3;
S3:BSj collects all EBSj that t moment receives and decrypts the sequence string received, obtains a series of secondary user
Information R times;BSj is each R times tagged rear re-encrypted, and each R times label and corresponding random number information are formed
Encryption information;Each R times encryption information is sent to DB by BSj, goes to step S4;
After the random number in encryption information is decrypted in S4:DB, the hash value that random number is calculated in Hash is carried out, with
After the hash value of machine number is matched with the hash value of H, the user of corresponding label passes through verifying;DB will be by the label and Cj of verifying
Usable spectrum information encrypt and to form available channel information after, be sent to BSj, DB deletes the hash value matched in H, goes to step
Rapid S5;
S5:BSj goes to step S6 according to the container allocation channel to be allocated that available channel information is by verifying;
S6:BSj registration channel use information in DB;It obtains container service to be allocated and is subjected to the container service with all
Virtual machine matching angle value.
Resource matched module calculates the formula of Hash matrix H in step S1 are as follows:
BSj in step S3 is re-encrypted after tagged each R time, each R times label and it is corresponding at random
Number information forms encryption information, specifically includes the following steps: BSj selection label tagj1 is tagged to random number, encryption information
For
After the hash value of random number in step S4 is matched with the hash value of H, the user of corresponding label is by verifying, specifically
The following steps are included: judge random number hash value and H hash value whether successful match, if so, DB to BSj send can with letter
The encryption information of road setWherein Sj is set of available channels within the scope of Cj;Otherwise DB is sent to BSj
Step S5 specifically includes the following steps: BSj decrypt available channel information, verifying tagj1 whether successful match, if
It is to select a most suitable channel chj in the Sj within the scope of Cj, the encrypted encryption information of chj is sent to SUj, is added
Confidential information isOtherwise regardless of allocating channel information;
Channel use information in step S6 is EDB(BSj,ch,t);
It is further comprising the steps of after step S6:
S7: when there are container Hash sequence uses to be allocated to finish, or the increase of new user, it needs to resource matched module
When applying for Hash sequence string again, resource matched module updates Hash matrix and is sent to DB;
The present invention is verified using random number Hash, and DB and BS can be made to distribute channel to legal container to be allocated.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When using entirely or partly realizing in the form of a computer program product, the computer program product include one or
Multiple computer instructions.When loading on computers or executing the computer program instructions, entirely or partly generate according to
Process described in the embodiment of the present invention or function.The computer can be general purpose computer, special purpose computer, computer network
Network or other programmable devices.The computer instruction may be stored in a computer readable storage medium, or from one
Computer readable storage medium is transmitted to another computer readable storage medium, for example, the computer instruction can be from one
A web-site, computer, server or data center pass through wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)
Or wireless (such as infrared, wireless, microwave etc.) mode is carried out to another web-site, computer, server or data center
Transmission).The computer-readable storage medium can be any usable medium or include one that computer can access
The data storage devices such as a or multiple usable mediums integrated server, data center.The usable medium can be magnetic Jie
Matter, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid
State Disk (SSD)) etc..
The above is only the preferred embodiments of the present invention, and is not intended to limit the present invention in any form,
Any simple modification made to the above embodiment according to the technical essence of the invention, equivalent variations and modification, belong to
In the range of technical solution of the present invention.
Claims (10)
1. a kind of containerization cloud resource distribution method, which is characterized in that the containerization cloud resource distribution method includes following step
It is rapid:
Step 1 utilizes task distributor by source obtaining module, obtains the remaining allowable resource of all virtual machines;
Step 2 establishes one according to the sequencing that container service to be allocated reaches using deployment program by resource deployment module
It is a to deployment container queue;
Step 3, main control module calculate container service to be allocated using matcher by resource matched module and are subjected to all
The matching angle value of the virtual machine of the container service;
Step 4 utilizes scheduler program scheduling container cloud resource by scheduling of resource module;Data are utilized by recovery module
Recovery routine carries out data recovery to the disaster in cloud computing infrastructure;
Step 5 stores cloud data using memory by data memory module;And it is shown by display module using display
Containerization cloud resource distribution system operation interface.
2. containerization cloud resource distribution method as described in claim 1, which is characterized in that the scheduling of resource module schedules method
It is as follows:
(1) according to one application resource requirement, to each resource type in cloud computing resource pool dispose respectively it is described apply into
Row assessment, obtains assessment result;
(2) it according to the assessment result, determines the resource type for disposing the application, makes the corresponding calculating section of the application
Determined resource type is run on point;
(3) wherein the resource type includes physical server, virtual machine and container.
3. containerization cloud resource distribution method as claimed in claim 2, which is characterized in that described to every in cloud computing resource pool
One resource type is disposed the application respectively and is assessed, obtain assessment result the step of include:
The application is disposed to each resource type in cloud computing resource pool respectively and carries out fraction assessment, obtains the first assessment knot
Fruit;
The application is disposed to each resource type in cloud computing resource pool respectively and carries out cost-efficiency analysis, obtains the second assessment
As a result;
The application is disposed to each resource type in cloud computing resource pool respectively and carries out resource analysis, obtains third assessment knot
Fruit;
Each resource type in cloud computing resource pool disposes the application respectively and carries out fraction assessment, obtains first and comments
The step of estimating result include:
According to multiple characteristic attributes of the resource requirement of the application, each characteristic attribute is met respectively to each resource type
Situation carries out fraction assessment, obtains the son scoring that each resource type corresponds to each characteristic attribute;
The multiple sub- scorings for counting each resource type, obtain the overall score of each resource type;
The overall score of multiple resource types is ranked up from high to low, obtains the first assessment result;
Each resource type in cloud computing resource pool disposes the application respectively and carries out cost-efficiency analysis, obtains second
The step of assessment result includes:
It analyzes each resource type and disposes required node number when the application respectively;
Required node number, calculates each resource type difference portion when disposing the application respectively according to each resource type
Affix one's name to the totle drilling cost of the application;
The totle drilling cost that multiple resource types dispose the application respectively is compared, the second assessment result is obtained.
4. containerization cloud resource distribution method as described in claim 1, which is characterized in that the recovery module restoration methods packet
It includes:
1) by resource provider, establishing resource, the resource respectively have metadata record on distributed computing network;
2) resource is marked using specific information by the resource provider, the specific information is for uniquely identifying institute
State resource and for identifying the tenant for possessing the resource;
3) determine when the distributed computing network is in disaster recovery model;And
4) resource metadata is re-created using the information of label by the resource provider to record;
The restoration methods further include:
By the list of resource provider maintenance consumer subscription and the resource by consumer's creation;
The list that there is the consumer of the access to the resource provider to subscribe to is disclosed by the resource provider;
The list that the resource possessed is subscribed to by each consumer is provided by the resource provider.
5. containerization cloud resource distribution method as described in claim 1, which is characterized in that resource matched module utilizes matching journey
Sequence calculates the matching angle value of container service to be allocated Yu all virtual machines for being subjected to the container service;It specifically includes:
The resource matched module of S1 generates random number sequence matrix R, R={ Rmn }, (1≤m≤N), (1≤n≤N);Resource matched mould
Root tuber calculates hash Hash matrix H according to R and H is sent to database D B;Resource matched module is by R with behavior unit by m × n
A random number is randomly assigned to M containers to be allocated, random number sequence set note Rj that container SUj to be allocated is obtained (1≤j≤
M), step S2 is gone to;
S2:SUj is sent and is added by the virtual machine BSj for being subjected to the container service in the region Cj where control channel to its
Close channel request information EBSj (Rj1, t), t is the time, goes to step S3;
S3:BSj collects all EBSj that t moment receives and decrypts the sequence string received, obtains a series of secondary user information
R times;BSj is each R times tagged rear re-encrypted, and each R times label and corresponding random number information form encryption
Information;Each R times encryption information is sent to DB by BSj, goes to step S4;
After the random number in encryption information is decrypted in S4:DB, the hash value that random number is calculated in Hash, random number are carried out
Hash value matched with the hash value of H after, the user of corresponding label passes through verifying;DB by by verifying label and Cj in can
It is encrypted with spectrum information after forming available channel information, is sent to BSj, DB deletes the hash value matched in H, goes to step
S5;
S5:BSj goes to step S6 according to the container allocation channel to be allocated that available channel information is by verifying;
S6:BSj registration channel use information in DB;Obtain container service to be allocated and all void for being subjected to the container service
The matching angle value of quasi- machine.
6. a kind of containerization cloud resource distributes computer program, which is characterized in that the containerization cloud resource distributes computer journey
Sequence realizes containerization cloud resource distribution method described in Claims 1 to 5 any one.
7. a kind of terminal, which is characterized in that the terminal, which is at least carried, realizes containerization described in Claims 1 to 5 any one
The cloud resource server of cloud resource distribution method.
8. a kind of computer readable storage medium, including instruction, when run on a computer, so that computer is executed as weighed
Benefit requires containerization cloud resource distribution method described in 1-5 any one.
9. a kind of containerization cloud resource distribution system, which is characterized in that the containerization cloud resource distribution system includes:
Source obtaining module is connect with resource deployment module, for by task distributor, the residue for obtaining all virtual machines can
Distribute resource;
Resource deployment module is connect with source obtaining module, main control module, for being taken by deployment program according to container to be allocated
The sequencing that business reaches establishes one to deployment container queue;
Main control module, with source obtaining module, resource deployment module, resource matched module, scheduling of resource module, recovery module,
Data memory module, display module connection, work normally for controlling modules by single-chip microcontroller;
Resource matched module, connect with main control module, connects for calculating container service to be allocated by matcher with all
By the matching angle value of the virtual machine of the container service;
Scheduling of resource module, connect with main control module, for passing through scheduler program scheduling container cloud resource;
Recovery module is connect with main control module, for being carried out by data recovery procedures to the disaster in cloud computing infrastructure
Data are restored;
Data memory module is connect with main control module, for storing cloud data by memory;
Display module is connect with main control module, for showing containerization cloud resource distribution system operation interface by display.
10. a kind of system for cloud computing platform for carrying containerization cloud resource distribution system described in claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811550003.7A CN109656717A (en) | 2018-12-18 | 2018-12-18 | A kind of containerization cloud resource distribution method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811550003.7A CN109656717A (en) | 2018-12-18 | 2018-12-18 | A kind of containerization cloud resource distribution method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109656717A true CN109656717A (en) | 2019-04-19 |
Family
ID=66114567
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811550003.7A Pending CN109656717A (en) | 2018-12-18 | 2018-12-18 | A kind of containerization cloud resource distribution method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109656717A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112054862A (en) * | 2020-07-30 | 2020-12-08 | 深圳市中盛瑞达科技有限公司 | Network management method and system based on container cloud platform |
CN112256430A (en) * | 2020-10-23 | 2021-01-22 | 北京三快在线科技有限公司 | Container deployment method, device, equipment and storage medium |
CN114219554A (en) * | 2021-11-19 | 2022-03-22 | 建信金融科技有限责任公司 | Product distribution method and device based on blind box culture and electronic equipment |
US20230129934A1 (en) * | 2021-10-26 | 2023-04-27 | Druva Inc. | System and method for reference-aware application recreation in container deployment environments |
CN114219554B (en) * | 2021-11-19 | 2024-05-28 | 建信金融科技有限责任公司 | Product distribution method and device based on blind box culture and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104540130A (en) * | 2015-01-06 | 2015-04-22 | 西安电子科技大学 | Self coexistence channel selection method based on Hash matching in cognitive radio network |
CN104639594A (en) * | 2013-11-15 | 2015-05-20 | 中国电信股份有限公司 | System and method for allocating physical resources and virtual resources |
CN107908457A (en) * | 2017-11-08 | 2018-04-13 | 河海大学 | A kind of containerization cloud resource distribution method based on stable matching |
CN108369548A (en) * | 2015-12-13 | 2018-08-03 | 微软技术许可有限责任公司 | The disaster recovery of cloud resource |
CN108616553A (en) * | 2016-12-13 | 2018-10-02 | 中国移动通信有限公司研究院 | Cloud computing resource pool carries out the method and device of scheduling of resource |
-
2018
- 2018-12-18 CN CN201811550003.7A patent/CN109656717A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104639594A (en) * | 2013-11-15 | 2015-05-20 | 中国电信股份有限公司 | System and method for allocating physical resources and virtual resources |
CN104540130A (en) * | 2015-01-06 | 2015-04-22 | 西安电子科技大学 | Self coexistence channel selection method based on Hash matching in cognitive radio network |
CN108369548A (en) * | 2015-12-13 | 2018-08-03 | 微软技术许可有限责任公司 | The disaster recovery of cloud resource |
CN108616553A (en) * | 2016-12-13 | 2018-10-02 | 中国移动通信有限公司研究院 | Cloud computing resource pool carries out the method and device of scheduling of resource |
CN107908457A (en) * | 2017-11-08 | 2018-04-13 | 河海大学 | A kind of containerization cloud resource distribution method based on stable matching |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112054862A (en) * | 2020-07-30 | 2020-12-08 | 深圳市中盛瑞达科技有限公司 | Network management method and system based on container cloud platform |
CN112054862B (en) * | 2020-07-30 | 2021-05-07 | 深圳市中盛瑞达科技有限公司 | Network management method and system based on container cloud platform |
CN112256430A (en) * | 2020-10-23 | 2021-01-22 | 北京三快在线科技有限公司 | Container deployment method, device, equipment and storage medium |
US20230129934A1 (en) * | 2021-10-26 | 2023-04-27 | Druva Inc. | System and method for reference-aware application recreation in container deployment environments |
CN114219554A (en) * | 2021-11-19 | 2022-03-22 | 建信金融科技有限责任公司 | Product distribution method and device based on blind box culture and electronic equipment |
CN114219554B (en) * | 2021-11-19 | 2024-05-28 | 建信金融科技有限责任公司 | Product distribution method and device based on blind box culture and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110113388B (en) | Improved clustering algorithm-based block chain system consensus method and device | |
WO2020258920A1 (en) | Network slice resource management method and apparatus | |
US20180025057A1 (en) | M x n dispatching in large scale distributed system | |
US11508021B2 (en) | Processes and systems that determine sustainability of a virtual infrastructure of a distributed computing system | |
US8260931B2 (en) | Secure provisioning of resources in cloud infrastructure | |
Friedman et al. | Strategyproof allocation of discrete jobs on multiple machines | |
CN106063191B (en) | Flow event data collection | |
CN104239123A (en) | Campus-cloud-platform-oriented virtual machine management dispatching method and system | |
CN109656717A (en) | A kind of containerization cloud resource distribution method | |
CN108370328A (en) | A kind of management method and device of NFV MANO policy depictions symbol | |
CN107645410A (en) | A kind of virtual machine management system and method based on OpenStack cloud platforms | |
CN109286579A (en) | A kind of distribution method of user resources, device and computer readable storage medium | |
CN112668880A (en) | Work order scheduling method and device for distribution network grid, computer equipment and storage medium | |
Cao et al. | Towards tenant demand-aware bandwidth allocation strategy in cloud datacenter | |
CN113608869A (en) | Task scheduling method and device, electronic equipment and computer storage medium | |
CN115129423A (en) | Resource management method, device, equipment and storage medium | |
Potluri et al. | Improved quality of service-based cloud service ranking and recommendation model | |
WO2022011946A1 (en) | Data prediction method, apparatus, computer device, and storage medium | |
CN104166581B (en) | A kind of virtual method towards increment manufacturing equipment | |
CN115563117B (en) | Multi-tenant management application based on SaaS technology and implementation method thereof | |
CN109981726A (en) | A kind of distribution method of memory node, server and system | |
Wang et al. | Virtual network embedding with pre‐transformation and incentive convergence mechanism | |
CN106301960A (en) | A kind of cloud resource coordinating management method | |
CN106357676A (en) | Method for optimizing overhead of cloud service resource | |
Peterson | Decentralized scheduling for many-task applications in the hybrid cloud |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190419 |