Summary of the invention
The technical problem to be solved is to provide a kind of automatization's cloud service activating method and system,Reduce manual intervention, carry out subsequent operation automatically.
The technical scheme is that the cloud service side of opening of a kind of automatizationMethod, comprises the following steps:
S1, orders module and receives cloud service ordering information, and according to the cloud service ordering information received to fortuneDimension module sends resource ordering request;
S2, O&M module performs resource delivery task according to the resource ordering request received, and resource is handed overThe task of paying is completed notice transmission to ordering module;
S3, orders module and is completed notice to accounting module transmission charging rate letter according to resource delivery taskBreath;
S4, accounting module starts charging according to charging rate information, and sends charge information to ordering mouldBlock;
S5, orders module and sends resource duration according to charge information to O&M module;
S6, the resource duration received is transmitted to control module by O&M module;
S7, control module is according to resource duration displaying cloud service resource, and cloud service has been ordered.
The invention has the beneficial effects as follows: one automatization of the present invention cloud service activating method utilizes orders mouldStream is opened in the cloud service that completes of the common effect automatization of block, O&M module, accounting module and control moduleJourney, in its opening process, manual intervention is few, open quick.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described cloud service ordering information includes cloud main frame ordering information and cloud storage ordering information.
Further, after cloud service has been ordered, also include cloud main frame carries out change operation, described cloud masterThe flow process of the change of machine is:
Control module will need the power-off of the cloud main frame of change;
Under conditions of cloud host power supply is closed, order module send the change request of cloud main frame to O&M module;
O&M module performs cloud main frame change task according to the change request of cloud main frame and the change of cloud main frame is appointedBusiness is completed notice transmission to ordering module;
Order module and be completed notice to accounting module transmission accounting request according to cloud main frame change task;
Accounting module starts charging according to accounting request, and sends charge information to ordering module;
Order module and send resource duration according to charge information to O&M module;
The resource duration received is transmitted to control module by O&M module, and control module shows the change of cloud main frameResource.
Above-mentioned further technical scheme is used to provide the benefit that: to utilize one automatization of the present invention cloud serviceAfter activating method opens cloud service, the follow-up cloud main frame that can carry out automatically changes operation, enhances thisBright practicality.
Further, after cloud service has been ordered, also include cloud main frame is added warning, delete warning,Carry disk, unloading disk, interpolation fire wall or the operation of deletion fire wall, the interpolation of described cloud main frameThe flow process of warning, deletion warning, carry disk, unloading disk, interpolation fire wall or deletion fire wall is:
In the control module specify cloud main frame carry out cloud main frame interpolation warning, delete warning, carry disk,Unloading disk, add fire wall or delete fire wall, and the interpolation of cloud main frame is alerted, delete warning,Carry disk, unloading disk, interpolation fire wall or deletion firewall information are sent to O&M module;
O&M module receives the interpolation warning of cloud main frame, deletion warning, carry disk, unloading disk, addsAdd fire wall or delete the request of fire wall and perform corresponding task, and by the result feedback of the task of executionTo control module;
Control module is shown the interpolation warning of cloud main frame, deletion warning, carry disk, unloading disk, is addedAdd fire wall or delete the result of fire wall.
Above-mentioned further technical scheme is used to provide the benefit that: to utilize one automatization of the present invention cloud serviceAfter activating method opens cloud service, follow-up can carry out automatically cloud main frame add warning, delete warning,Carry disk, unloading disk, interpolation fire wall or the operation of deletion fire wall, enhance the reality of the present inventionThe property used.
Further, after cloud service has been ordered, also include cloud main frame being booted up, shutting down or restart behaviourMake, the start of described cloud main frame, shut down or the flow process restarted is:
Control module is initiated to open, close or restart the request of cloud host power supply;
O&M module accepts the unlatching of control module initiation, closes or restart the request of cloud host power supply, and holdsThe task of cloud host power supply is opened, closed or restart to row;
The result opening, close or restarting the task of cloud host power supply is sent to controlling mould by O&M moduleBlock, and show in the control module.
Above-mentioned further technical scheme is used to provide the benefit that: to utilize one automatization of the present invention cloud serviceAfter activating method opens cloud service, follow-up can carry out cloud main frame start, shutdown or reboot operation automatically,Enhance the practicality of the present invention.
Further, after cloud service has been ordered, also include carrying out cloud main frame binding public network IP or unbindingThe operation of public network IP, described cloud host binding public network IP or unbind the flow process of public network IP and be:
Initiate in the control module to specify cloud main frame to carry out binding public network IP or unbinding the request of public network IP;
O&M module accepts Nat mapping request according to the request that control module is initiated or acceptance cancellation Nat reflectsPenetrate request, and perform Nat mapping tasks or perform to cancel Nat mapping tasks;
Control module is shown cloud host binding or unbinds public network IP result.
Above-mentioned further technical scheme is used to provide the benefit that: to utilize one automatization of the present invention cloud serviceAfter activating method opens cloud service, follow-up can carry out cloud host binding public network IP automatically or unbind public affairsNet IP operation, enhances the practicality of the present invention.
Further, after cloud service has been ordered, also include carrying out cloud main frame creating snapshot, deleting snapshotOr recovery snapshot operation, described cloud main frame creates snapshot, deletes snapshot or recover snapshot and include below scheme:
Cloud main frame is specified to carry out creating snapshot, deleting snapshot or recover snapshot in the control module, and by cloudThe establishment snapshot of main frame, deletion snapshot or recovery SNAPSHOT INFO are sent to O&M module;
O&M module receives creating snapshot, deletion snapshot or recovering the request of snapshot and perform phase of cloud main frameAnswering of task, and the result of the task of execution is fed back to control module;
Control module shows creating snapshot, deletion snapshot or recovering the result of snapshot of cloud main frame.
Above-mentioned further technical scheme is used to provide the benefit that: to utilize one automatization of the present invention cloud serviceAfter activating method opens cloud service, follow-up can carrying out automatically creates snapshot, deletes snapshot or recover fastAccording to operation, enhance the practicality of the present invention.
Further, after cloud service has been ordered, also include cloud main frame is attached operation, described cloud masterThe connection of machine includes below scheme:
Initiate to obtain noVNC service request in the control module, and noVNC service request is sent to fortuneDimension module;
O&M module accepts obtain noVNC service request and perform to obtain noVNC service role;
Control module performs to obtain noVNC service role according to O&M module and shows cloud host operating system controlPlatform processed.
Above-mentioned further technical scheme is used to provide the benefit that: to utilize one automatization of the present invention cloud serviceAfter activating method opens cloud service, follow-up can carry out cloud main frame attended operation automatically, enhance thisBright practicality.
Further, after cloud service has been ordered, also include cloud main frame is carried out deletion action, described cloud masterThe deletion of machine comprises the following steps:
Initiate cloud main frame removal request in control module, and send to O&M module;
O&M module accepts delete cloud host request and perform to delete cloud host task;
The task that accounting module performs to delete cloud main frame according to O&M module stops calculating corresponding cloud main frameExpense, and it is invalid to notify that corresponding order relations is set to by order module;
The expense that control module stops calculating corresponding cloud main frame according to accounting module shows the cloud master after deletingMachine list information.
Above-mentioned further technical scheme is used to provide the benefit that: to utilize one automatization of the present invention cloud serviceAfter activating method opens cloud service, follow-up can carry out cloud main frame deletion action automatically, enhance thisBright practicality.
Further, after cloud service has been ordered, also include carrying out cloud main frame deleting cloud main frame, deleting magneticDish, delete public network IP or cloud storage deletion action, the deletion cloud main frame of described cloud main frame, delete disk,Delete public network IP or cloud storage deleted and comprised the following steps:
Initiate to delete cloud main frame in control module, deleting disk, deletion public network IP or cloud storage deletion pleaseAsk, and send to O&M module;
O&M module accepts to delete cloud main frame, delete disk, deletion public network IP or cloud storage removal requestAnd perform to delete disk, delete public network IP or cloud storage deletion task;
Accounting module performs to delete cloud main frame, delete disk, deletion public network IP or cloud according to O&M moduleThe task that storage is deleted stops calculating the expense of corresponding cloud main frame, and notifies that ordering module will order pass accordinglyIt is invalid that system is set to;
The expense that control module stops calculating corresponding cloud main frame according to accounting module is shown deletion cloud main frame, is deletedInformation after deleting except disk, deletion public network IP or cloud storage.
Above-mentioned further technical scheme is used to provide the benefit that: to utilize one automatization of the present invention cloud serviceAfter activating method opens cloud service, follow-up can carry out automatically, delete cloud main frame, magnetic deleted by cloud main frameDish, deletion public network IP or cloud storage deletion action, enhance the practicality of the present invention.
Based on above-mentioned a kind of automatization cloud service activating method, the present invention also provides for the cloud service of a kind of automatizationOpen system.
A kind of automatization cloud service open system, utilizes the cloud service side of opening of a kind of automatization described aboveMethod realizes, including ordering module, O&M module, accounting module and control module,
Described order module, it is used for receiving cloud service ordering information, and orders according to the cloud service receivedInformation sends resource ordering request to O&M module;
Described O&M module, it is for performing resource delivery task according to the resource ordering request received, andNotice of resource delivery task being completed sends to ordering module;
Described order module is additionally operable to be completed notice to accounting module transmission charging according to resource delivery taskPricing information;
Described accounting module, it is for starting charging according to charging rate information, and is sent by charge informationTo ordering module;
Described order module is additionally operable to send resource duration according to charge information to O&M module;
Described O&M module is additionally operable to the resource duration received is transmitted to control module;
Described control module, it is for showing cloud service resource according to resource duration, and cloud service has been ordered.
The invention has the beneficial effects as follows: one automatization of the present invention cloud service open system utilizes orders mouldStream is opened in the cloud service that completes of the common effect automatization of block, O&M module, accounting module and control moduleJourney, in its opening process, manual intervention is few, open quick.
Detailed description of the invention
Being described principle and the feature of the present invention below in conjunction with accompanying drawing, example is served only for explaining thisInvention, is not intended to limit the scope of the present invention.
As depicted in figs. 1 and 2, a kind of automatization cloud service activating method, comprise the following steps:
S1, orders module and receives cloud service ordering information, and according to the cloud service ordering information received to fortuneDimension module sends resource ordering request;
S2, O&M module performs resource delivery task according to the resource ordering request received, and resource is handed overThe task of paying is completed notice transmission to ordering module;
S3, orders module and is completed notice to accounting module transmission charging rate letter according to resource delivery taskBreath;
S4, accounting module starts charging according to charging rate information, and sends charge information to ordering mouldBlock;
S5, orders module and sends resource duration according to charge information to O&M module;
S6, the resource duration received is transmitted to control module by O&M module;
S7, control module is according to resource duration displaying cloud service resource, and cloud service has been ordered.
Described cloud service ordering information includes cloud main frame ordering information and cloud storage ordering information.
In the present invention, after cloud service has been ordered, also include cloud main frame carries out change operation, describedThe flow process of the change of cloud main frame is: as it is shown on figure 3,
Control module will need the power-off of the cloud main frame of change;
Under conditions of cloud host power supply is closed, order module send the change request of cloud main frame to O&M module;
O&M module performs cloud main frame change task according to the change request of cloud main frame and the change of cloud main frame is appointedBusiness is completed notice transmission to ordering module;
Order module and be completed notice to accounting module transmission accounting request according to cloud main frame change task;
Accounting module starts charging according to accounting request, and sends charge information to ordering module;
Order module and send resource duration according to charge information to O&M module;
The resource duration received is transmitted to control module by O&M module, and control module shows the change of cloud main frameResource.
After cloud service has been ordered, also include cloud main frame being added warning, deleting warning, carry magneticDish, unloading disk, add fire wall or delete fire wall operation, described cloud main frame interpolation warning,The flow process deleting warning, carry disk, unloading disk, interpolation fire wall or deletion fire wall is: such as figureShown in 4,
In the control module specify cloud main frame carry out cloud main frame interpolation warning, delete warning, carry disk,Unloading disk, add fire wall or delete fire wall, and the interpolation of cloud main frame is alerted, delete warning,Carry disk, unloading disk, interpolation fire wall or deletion firewall information are sent to O&M module;
O&M module receives the interpolation warning of cloud main frame, deletion warning, carry disk, unloading disk, addsAdd fire wall or delete the request of fire wall and perform corresponding task, and by the result feedback of the task of executionTo control module;
Control module is shown the interpolation warning of cloud main frame, deletion warning, carry disk, unloading disk, is addedAdd fire wall or delete the result of fire wall.
After cloud service has been ordered, also include cloud main frame being booted up, shutting down or reboot operation, describedThe start of cloud main frame, shut down or the flow process restarted is: as it is shown in figure 5,
Control module is initiated to open, close or restart the request of cloud host power supply;
O&M module accepts the unlatching of control module initiation, closes or restart the request of cloud host power supply, and holdsThe task of cloud host power supply is opened, closed or restart to row;
The result opening, close or restarting the task of cloud host power supply is sent to controlling mould by O&M moduleBlock, and show in the control module.
After cloud service has been ordered, also include carrying out cloud main frame binding public network IP or unbinding public network IPOperation, described cloud host binding public network IP or unbind the flow process of public network IP and be: as shown in Figure 6,
Initiate in the control module to specify cloud main frame to carry out binding public network IP or unbinding the request of public network IP;
O&M module accepts Nat mapping request according to the request that control module is initiated or acceptance cancellation Nat reflectsPenetrate request, and perform Nat mapping tasks or perform to cancel Nat mapping tasks;
Control module is shown cloud host binding or unbinds public network IP result.
After cloud service has been ordered, also include carrying out cloud main frame creating snapshot, deleting snapshot or recover fastAccording to operation, described cloud main frame creates snapshot, deletion snapshot or recovery snapshot and includes below scheme: such as Fig. 7Shown in,
Cloud main frame is specified to carry out creating snapshot, deleting snapshot or recover snapshot in the control module, and by cloudThe establishment snapshot of main frame, deletion snapshot or recovery SNAPSHOT INFO are sent to O&M module;
O&M module receives creating snapshot, deletion snapshot or recovering the request of snapshot and perform phase of cloud main frameAnswering of task, and the result of the task of execution is fed back to control module;
Control module shows creating snapshot, deletion snapshot or recovering the result of snapshot of cloud main frame.
After cloud service has been ordered, also include cloud main frame is attached operation, the connection of described cloud main frameIncluding below scheme: as shown in Figure 8,
Initiate to obtain noVNC service request in the control module, and noVNC service request is sent to fortuneDimension module;
O&M module accepts obtain noVNC service request and perform to obtain noVNC service role;
Control module performs to obtain noVNC service role according to O&M module and shows cloud host operating system controlPlatform processed.
After cloud service has been ordered, also include carrying out cloud main frame deleting cloud main frame, deleting disk, deletionPublic network IP or cloud storage deletion action, the deletion cloud main frame of described cloud main frame, deletion disk, deletion public affairsNet IP or cloud storage are deleted and are comprised the following steps: as it is shown in figure 9,
Initiate to delete cloud main frame in control module, deleting disk, deletion public network IP or cloud storage deletion pleaseAsk, and send to O&M module;
O&M module accepts to delete cloud main frame, delete disk, deletion public network IP or cloud storage removal requestAnd perform to delete disk, delete public network IP or cloud storage deletion task;
Accounting module performs to delete cloud main frame, delete disk, deletion public network IP or cloud according to O&M moduleThe task that storage is deleted stops calculating the expense of corresponding cloud main frame, and notifies that ordering module will order pass accordinglyIt is invalid that system is set to;
The expense that control module stops calculating corresponding cloud main frame according to accounting module is shown deletion cloud main frame, is deletedInformation after deleting except disk, deletion public network IP or cloud storage.
Based on above-mentioned a kind of automatization cloud service activating method, the present invention also provides for the cloud service of a kind of automatizationOpen system.
A kind of automatization cloud service open system, utilizes the cloud service side of opening of a kind of automatization described aboveMethod realizes, including ordering module, O&M module, accounting module and control module,
Described order module, it is used for receiving cloud service ordering information, and orders according to the cloud service receivedInformation sends resource ordering request to O&M module;
Described O&M module, it is for performing resource delivery task according to the resource ordering request received, andNotice of resource delivery task being completed sends to ordering module;
Described order module is additionally operable to be completed notice to accounting module transmission charging according to resource delivery taskPricing information;
Described accounting module, it is for starting charging according to charging rate information, and is sent by charge informationTo ordering module;
Described order module is additionally operable to send resource duration according to charge information to O&M module;
Described O&M module is additionally operable to the resource duration received is transmitted to control module;
Described control module, it is for showing cloud service resource according to resource duration, and cloud service has been ordered.
One automatization of the present invention cloud service open system utilizes orders module, O&M module, accounting moduleFlow process is opened in the cloud service that completes with the common effect automatization of control module, and manually does in its opening processPre-less, open quickly.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all in the present inventionSpirit and principle within, any modification, equivalent substitution and improvement etc. made, should be included in thisWithin bright protection domain.