CN103581264B - A kind of control method and device of operation life cycle - Google Patents

A kind of control method and device of operation life cycle Download PDF

Info

Publication number
CN103581264B
CN103581264B CN201210277273.1A CN201210277273A CN103581264B CN 103581264 B CN103581264 B CN 103581264B CN 201210277273 A CN201210277273 A CN 201210277273A CN 103581264 B CN103581264 B CN 103581264B
Authority
CN
China
Prior art keywords
user
cloud service
service platform
retention time
job
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.)
Expired - Fee Related
Application number
CN201210277273.1A
Other languages
Chinese (zh)
Other versions
CN103581264A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210277273.1A priority Critical patent/CN103581264B/en
Publication of CN103581264A publication Critical patent/CN103581264A/en
Application granted granted Critical
Publication of CN103581264B publication Critical patent/CN103581264B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of control method of operation life cycle and devices, and operation requests from the user can be received by cloud service platform, and carrying operation is completed to delete instruction and operation retention time in the request;Cloud service platform completes deletion instruction and operation retention time according to the operation and carries out life management to user job after user job execution.The control technology of operation life cycle of the invention guarantees that user can control the lifetime of operation, improves the flexibility of the life management of operation.

Description

A kind of control method and device of operation life cycle
Technical field
The present invention relates to the communications fields, and in particular to a kind of control method and device of operation life cycle.
Background technique
Virtualization technology is the basis of data center virtualization and cloud service platform (hereinafter referred to as cloud service platform) building. Virtualization technology refers on physical server, and physical resource is divided into multiple logical partitions by virtual management software, Each subregion is mutually isolated, becomes independent virtual machine.For operating system and application program, virtual machine and physical server It is not different, they can share the resource of same physical server.
Cloud service platform supports to be that cloud service user (referred to as user) provides custom system Rental Service, the user system System refers to comprising one group of virtual machine, memory and network and is connected with each other to each other or associated resource collection.For the ease of with By traditional application hosting in custom system, cloud service platform also provides custom system management interface for user at family, including Portal management, system administration, Virtual Machine Manager, volume management, network management, and to custom system and it includes resource work The monitoring function of industry, event log and measurement etc..
Job control facility can be realized on cloud service platform.When resource request of the cloud service platform to user can not be same Step executes completions, and when the deadline does not know, first one operation of creation is to be cached, then according to the processing energy of system Power and the priority of operation carry out asynchronous schedule.User can aperiodically inquire operation, to determine what user submitted Resource request performance.The operation that cloud service platform completes successful execution, or the failed operation for executing completion will all be set Timer is set to save a period of time to operation, so that user inquires current operation relevant information, including successful execution at any time The assigned resource information of the operation of completion, the failed exception information etc. for executing the operation completed.
It is the job management model schematic in cloud service platform referring to Fig. 1, Fig. 1.In Fig. 1,101 conduct of cloud service user The tenant of cloud service platform 102, cloud service platform 102 apply for specified stock number according to the request of cloud service user 101 for it Custom system, cloud service user 101 have the operating right to the custom system distributed;Cloud service platform 102 is foundation frame Structure is the management platform serviced;Resource manager 103 is responsible for the resource in management cloud service platform 102, including provides cloud service The modules such as portal, resource management scheduling, job manager and job information storehouse;Custom system 104 is 102 success of cloud service platform Fulfil assignment the custom system distributed after dispatching by user, wherein including virtual machine, storage resource, Internet resources and other phases Close resource;The job information that 110 recording needle of job information storehouse creates the resource request of user, the state including operation are made The information such as industry implementing result.Job manager 111, which is responsible for creation, management and scheduling, requests created work for user resources Industry is responsible for user to functions such as the inquiries of assignment;Cloud service portal 112 is that cloud service user accesses cloud service platform 102 Entrance, by cloud service portal, the information on services that the available cloud service platform 102 of user can be provided, including cloud service Platform 102 is to the support situation of operation, work capacity etc.;Virtual machine 120 is the calculating money for the virtualization for encapsulating CPU and memory Source;Storage resource 121 may be connected to the block or file system of virtual machine;Internet resources 122 are virtual machine and storage resource Relevant to network connection resource, including the network port, forwarding group, address etc. are provided;Other resources 123 include and custom system The monitoring resources such as 104 relevant operations, strategy and event log.
Referring to fig. 2, process shown in Fig. 2 the following steps are included:
Step 201~204 are the processes of request creation operation of the cloud service platform for user.
Step 201, user accesses cloud service platform by cloud service entrance, and cloud service entrance returns to cloud service to user and puts down The resource service information of platform.
Step 202, user sends operation requests to cloud service platform, such as creates custom system, creation virtual machine, starts and use Family system, starting virtual machine etc..
Step 203, cloud service platform can not determine the operation requests deadline of user, then create an operation.
Step 204, job manager is to user's backtracking information, including job state, the information such as operation URI.
Step 205~207 are the processes that cloud service platform is scheduled operation.
Step 205, job manager carries out scheduling of resource to resource system according to operation.
Step 206, resource system is to job manager backtracking performance, including job success completes or operation It executes abnormal etc..Job manager retains timer according to the operation retention time initiating task that system is arranged at this time.
Step 207, job manager records job execution result information.
Step 208~210 are the processes that user inquires operation.
Step 208, user is according to the performance of operation in operation URL inquiry job manager.
Step 209, job manager obtains the performance of operation to job information storehouse.
Step 210, performance of the job manager to user's backtracking.
Step 211~213 are the processes that user requests cloud service platform to delete operation.
Step 211, user initiates operation removal request to job manager.
Step 209, job manager deletes job information.
Step 210, job manager is completed to respond to the deletion of user's backtracking.
Referring to Fig. 3, process shown in Fig. 3 the following steps are included:
Step 301~304 are the processes of request creation operation of the cloud service platform for user, with step 201~204.
Step 305~307 are scheduling process of the cloud service platform to operation, with step 205~207.
Step 308~310 are query process of the user to operation, with step 308~310.
Step 311, cloud service platform implicitly deletes operation after operation retains timer expiry, i.e. deletion job information storehouse The job information of middle reservation.
Currently, when being managed the lifetime for the operation for requesting user creation being asked according to the operation of user deletion Explicitly progress operation deletion is asked, or implicit operation deletion is carried out according to the operation retention time of system setting.But if with Wish immediately to delete some operations for being not concerned with job execution result after the completion of operation in family, it is desirable alternatively to for It executes abnormal operation and retains the duration more shorter than system retention time, cloud service platform cannot achieve at present.
Summary of the invention
In view of this, the main purpose of the present invention is to provide a kind of control method of operation life cycle and devices, so that User terminal can control the lifetime of operation, improve the flexibility of the life management of operation.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
A kind of control method of operation life cycle, this method comprises:
Cloud service platform receives operation requests from the user, and carrying operation is completed to delete instruction in the request and operation is protected Stay the time;
Cloud service platform user job execution after, according to the operation complete delete instruction and operation retention time to Family operation carries out life management.
The operation, which is completed to delete, to be indicated to be set as no or be not provided with, after the completion of job execution, to the operation It is explicitly deleted or is implicitly deleted according to the operation retention time that system is arranged.
When the operation retention time is not provided with, using default operation retention time.
When job execution exception, timer is retained according to operation retention time initiating task, it is super to retain timer in operation When after implicitly delete operation.
The operation is completed to delete instruction are as follows: in the case where job success completes, is automatically deleted the operation immediately;
The operation retention time are as follows: by the lasting time for retaining operation in the case where job execution exception.
This method further include:
Cloud service platform is to user's backtracking information;
User completes to delete instruction and operation retention time is modified according to the job information of return to operation.
A kind of control device of operation life cycle is located at cloud service platform, and the device is for receiving operation from the user It requests, carrying operation is completed to delete instruction and operation retention time in the request;And after the completion of user job executes, root Complete to delete instruction and operation retention time to user job progress life management according to the operation.
The operation, which is completed to delete, to be indicated to be set as no or be not provided with, and after the completion of job execution, described device is used In: the operation is explicitly deleted or is implicitly deleted according to the operation retention time that system is arranged.
When the operation retention time is not provided with, described device is used to use default operation retention time.
When job execution exception, described device is used for: retaining timer according to operation retention time initiating task, in operation Operation is implicitly deleted after retaining timer expiry.
The operation is completed to delete instruction are as follows: in the case where job success completes, is automatically deleted the operation immediately;
The operation retention time are as follows: by the lasting time for retaining operation in the case where job execution exception.
The device is also used to:
To user's backtracking information;User is triggered according to the job information of return, operation is completed to delete instruction and be made Industry retention time is modified.
The control technology of operation life cycle of the invention guarantees that user can control the lifetime of operation, improves operation The flexibility of life management.
Detailed description of the invention
Fig. 1 is the schematic diagram of job management model in cloud service platform;
Fig. 2 is the flow chart that user explicitly deletes operation in the prior art;
Fig. 3 is the flow chart that cloud service platform implicitly deletes operation in the prior art;
Fig. 4 is cloud service platform in the embodiment of the present invention to the management flow chart of the lifetime of user job;
Fig. 5 is the process that user sends request and carrying operation lifetime information to cloud service platform in the embodiment of the present invention Figure;
Fig. 6 is the process that user modifies operation lifetime information after cloud service platform creates operation in the embodiment of the present invention Figure;
Cloud service platform is believed using the operation life cycle of user configuration when Fig. 7 is job execution exception in the embodiment of the present invention The flow chart of breath.
Specific embodiment
When by user's control operation life cycle, user can send operation requests to cloud service platform, make wherein carrying Industry is completed to delete instruction and operation retention time.Cloud service platform saves operation and completes to delete instruction and operation retention time.Cloud After services platform user job execution, complete to delete instruction and operation retention time to the user job progress lifetime according to operation Management.
The operation is completed to delete instruction are as follows: cloud service platform is automatically deleted immediately in the case where job success completes The operation.
The operation, which is completed to delete instruction, to be set as no or is not provided with, and when operation normally completes, and user can be with The operation is explicitly deleted or is implicitly deleted according to the operation retention time that system is arranged.
The operation retention time are as follows: by the lasting time for retaining operation in the case where job execution exception.
If the operation retention time is not provided with, cloud service platform uses default operation retention time.
The operation completes to delete instruction and operation retention time can be in operation requests of the user to cloud service platform It carries;It can also be configured after receiving the job identification of cloud service platform by modifying operation.
The implementation of technical solution is described in further detail with reference to the accompanying drawing.
Referring to fig. 4, process shown in Fig. 4 the following steps are included:
Step 401, cloud service platform receives Client-initiated operation requests, wherein can carrying operation complete delete instruction and Operation retention time;
Step 402, cloud service platform saves operation and completes to delete instruction and operation retention time information.If user's asks Asking can not synchronously complete, then cloud service platform is that the request of the user creates an operation;
Step 403, cloud service platform is to user's backtracking information.User, can be to work according to the job information of return Industry completes to delete instruction and operation retention time is modified.
Referring to Fig. 5, process shown in Fig. 5 the following steps are included:
Step 501~504 are the processes of request creation operation of the cloud service platform for user.
Step 501, user accesses cloud service platform by cloud service entrance.
Step 502, user sends operation requests to cloud service platform, and wherein carrying operation is completed to delete instruction and operation is protected Stay temporal information.
Step 503, cloud service platform needs to create operation for user, and job manager saves to be carried in user's operation request Operation complete delete instruction and operation retention time information.
Step 504, cloud service platform is to user's backtracking information, wherein including the information such as job state and operation URI.
Step 505~507 are scheduling process of the cloud service platform to operation.
Step 505, job manager carries out scheduling of resource to resource system according to operation.
Step 506, resource system successfully completes information to job manager backtracking.
Step 507, job manager is completed to delete the operation of instruction deletion successful execution according to operation.
Referring to Fig. 6, process shown in Fig. 6 the following steps are included:
Step 601~604 are the processes of request creation operation of the cloud service platform for user, with step 501~504. In step 602, if carrying operation is completed to delete instruction and operation retention time information, is optional to user.
Step 605~607 are the processes that user updates job parameter information.
Step 605, user sends operation update request to cloud service platform, and wherein carrying operation is completed to delete instruction and work Industry retention time information.
Step 606, job manager saves the operation completion deletion instruction carried in operation update request and retains with operation Temporal information.
Step 607, cloud service platform is completed to user's backtracking information update.
Step 608~610 are scheduling process of the cloud service platform to operation, with step 505~507.
Referring to Fig. 7, process shown in Fig. 7 the following steps are included:
Step 701~704 are the processes of request creation operation of the cloud service platform for user, with step 501~504.
Step 705~707 are scheduling process of the cloud service platform to operation.
Step 705, job manager carries out scheduling of resource to resource system according to operation.
Step 706, resource system executes exception to job manager backtracking.Job manager is set according to user at this time The operation retention time initiating task set retains timer.
Step 707, job manager records job execution result information.
Step 708~710 are query process of the user to operation.
Step 708, user is according to the performance of operation in operation URL inquiry job manager.
Step 709, job manager obtains the executive condition of operation to job information storehouse.
Step 710, executive condition of the job manager to user's backtracking.
Step 711, cloud service platform implicitly deletes operation after operation retains timer expiry, i.e. deletion job information storehouse The job information of middle reservation.
In summary as it can be seen that either devices such as cloud service platform involved in method or this method, work of the invention The control technology of industry lifetime guarantees that user can control the lifetime of operation, improves the flexible of the life management of operation Property.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (7)

1. a kind of control method of operation life cycle, which is characterized in that this method comprises:
Cloud service platform receives operation requests from the user, when carrying operation completion deletion instruction and operation retain in the request Between;Cloud service platform is that user creates operation;
Cloud service platform carries out scheduling of resource to resource system according to operation, receives the operation that resource system returns and completes information;
Cloud service platform is completed deletion instruction and operation retention time according to the operation and is made to user after user job execution Industry carries out life management.
2. the method according to claim 1, wherein
The operation, which is completed to delete, to be indicated to be set as no or be not provided with, and after the completion of job execution, is carried out to the operation It is explicit to delete or implicitly deleted according to the operation retention time that system is arranged.
3. the method according to claim 1, wherein
When the operation retention time is not provided with, using default operation retention time.
4. the method according to claim 1, wherein
When job execution exception, timer is retained according to operation retention time initiating task, after operation retains timer expiry It is implicit to delete operation.
5. method according to any one of claims 1 to 4, which is characterized in that
The operation is completed to delete instruction are as follows: in the case where job success completes, is automatically deleted the operation immediately;
The operation retention time are as follows: by the lasting time for retaining operation in the case where job execution exception.
6. method according to any one of claims 1 to 4, which is characterized in that this method further include:
Cloud service platform is to user's backtracking information;
User completes to delete instruction and operation retention time is modified according to the job information of return to operation.
7. a kind of control device of operation life cycle is located at cloud service platform, which is characterized in that the device is for receiving to use by oneself The operation requests at family, carrying operation is completed to delete instruction and operation retention time in the request;Operation is created for user;According to work Industry carries out scheduling of resource to resource system, receives the operation that resource system returns and completes information;And it is executed in user job Cheng Hou completes to delete instruction and operation retention time to user job progress life management according to the operation.
CN201210277273.1A 2012-08-06 2012-08-06 A kind of control method and device of operation life cycle Expired - Fee Related CN103581264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210277273.1A CN103581264B (en) 2012-08-06 2012-08-06 A kind of control method and device of operation life cycle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210277273.1A CN103581264B (en) 2012-08-06 2012-08-06 A kind of control method and device of operation life cycle

Publications (2)

Publication Number Publication Date
CN103581264A CN103581264A (en) 2014-02-12
CN103581264B true CN103581264B (en) 2019-01-18

Family

ID=50052180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210277273.1A Expired - Fee Related CN103581264B (en) 2012-08-06 2012-08-06 A kind of control method and device of operation life cycle

Country Status (1)

Country Link
CN (1) CN103581264B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1290887A (en) * 1999-10-05 2001-04-11 国际商业机器公司 External operation dispatching in distributive processing system with local operation control system
CN102298511A (en) * 2010-06-28 2011-12-28 株式会社东芝 Server apparatus, image forming system, and management method of image forming data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8020046B2 (en) * 2007-10-15 2011-09-13 International Business Machines Corporation Transaction log management
JP5328389B2 (en) * 2009-01-21 2013-10-30 キヤノン株式会社 Image forming apparatus, image forming system, and image forming method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1290887A (en) * 1999-10-05 2001-04-11 国际商业机器公司 External operation dispatching in distributive processing system with local operation control system
CN102298511A (en) * 2010-06-28 2011-12-28 株式会社东芝 Server apparatus, image forming system, and management method of image forming data

Also Published As

Publication number Publication date
CN103581264A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN107995215B (en) Control method and device of intelligent household equipment and cloud platform server
WO2020024405A1 (en) Test method, device, server and storage medium based on distributed coordination
CN106897299B (en) Database access method and device
CN103645909A (en) Handling method and device for timed task
CN110138876B (en) Task deployment method, device, equipment and platform
CN108011931B (en) Web data acquisition method and Web data acquisition system
CN108769931B (en) Method and device for group management in machine communication
CN106407021A (en) Queue-based business request processing method
CN110245020B (en) Mobile phone content forensics method and system based on multiple forensics devices
CN111930525B (en) GPU resource use method, electronic device and computer readable medium
CN109902028A (en) Automated testing method, device, equipment and the storage medium of ACL characteristic
CN103685535A (en) Interface design of cloud database system for large-scale distributed heterogeneous data treatment
CN110677462A (en) Access processing method, system, device and storage medium for multi-block chain network
CN102916992A (en) Method and system for scheduling cloud computing remote resources unifiedly
CN104410511B (en) A kind of server management method and system
CN108958933B (en) Configuration parameter updating method, device and equipment of task executor
CN107203333B (en) The method that block storage automatically accesses in OpenStack cloud computing platform
CN106612193A (en) Network deployment configuration method and device in virtualization technology
CN103581264B (en) A kind of control method and device of operation life cycle
US20210256600A1 (en) Connector leasing for long-running software operations
CN106327038B (en) Electronic work order processing method and device
CN114124763A (en) Method and system for measuring broadband access rate
CN111209118A (en) Method and device for determining resource allowance, storage medium and electronic equipment
CN108811180B (en) Intelligent equipment binding method, device and system
CN109429240B (en) Network management method, wireless access device, terminal, system and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190118

Termination date: 20200806

CF01 Termination of patent right due to non-payment of annual fee