Embodiments of the present disclosure provide a method and apparatus for providing data storage service. The method comprises: receiving a storage service template from an user, the storage service template specifying a storage service policy for the user and a service instance to launch; and providing a storage service according to the storage service template; wherein the storage service policy defines a storage function to be performed for data of the user. With the method and apparatus according to embodiments of the present disclosure, a unified solution for overall orchestration of storage functions can be provided to enable the user to customize the required storage function flexibly.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method for a storage service, comprising: receiving a storage service template from a user, the storage service template specifying a plurality of storage service policies for the user and a corresponding chained set of storage service functions for execution in a template-specified predetermined order, the storage service functions having respective data inputs and data outputs and being chained together such that the data output of a given storage service function is equal to mandatory data input requirements of a corresponding next successive storage service function; and providing the chained set of storage service functions according to the storage service template, the chained set of storage service functions being performed on data of the user to obtain processed user data accordingly, including intermediate data generated by corresponding storage service functions and provided as input to corresponding next successive storage service functions.
2. The method according to claim 1 , wherein the storage service template specifies the storage service policies for the user by indicating the storage service policies from a predefined set of storage service policies.
3. The method according to claim 1 , wherein the storage service policies are defined with a work flow engine, and wherein a task in the work flow engine corresponds to a storage function node or a type of storage service.
4. The method according to claim 1 , wherein the storage service template further specifies a network for providing the storage service.
5. The method according to claim 1 , wherein each storage service policy further defines at least one of an execution module for the corresponding storage service function and a parameter for performing the storage service function.
6. The method according to claim 5 , wherein the execution module for the storage service function includes a virtual machine or a container image.
7. The method according to claim 5 , wherein the parameter for performing the storage service function includes a triggering condition for the storage service function.
8. The method according to claim 1 , wherein the predetermined order of storage service functions include: a stream read function to obtain the data of the user from a socket, followed by an intermediate function to process the data of the user to a form for backup, followed by a backup function to receive the backup-form user data and store it as backup data.
9. The method according to claim 1 , wherein the storage service template specifies the storage service functions by indicating respective storage service policies from a predefined set of storage service policies, each storage service policy including a respective storage service policy identifier and an identifier of a respective executable image for the respective storage service function, and wherein the storage service template includes a policies section having a set of sub-sections for respective ones of the storage service functions, the sub-sections including (1) respective ones of the storage service policy identifiers to identify the corresponding storage service policies, and (2) information linking the sub-sections to define the predetermined-order chaining of the function nodes.
10. A system, comprising: a data storage system including one or more processors and memory; and computer-executable program logic encoded in memory of one or more computers enabled to provide storage services, wherein the computer-executable program logic is configured for the execution of: receiving a storage service template from a user, the storage service template specifying a plurality of storage service policies for the user and a corresponding chained set of storage service functions for execution in a template-specified predetermined order, the storage service functions having respective data inputs and data outputs and being chained together such that the data output of a given storage service function is equal to mandatory data input requirements of a corresponding next successive storage service function; and providing the chained set of storage service functions according to the storage service template, the chained set of storage service functions being performed on data of the user to obtain processed user data accordingly, including intermediate data generated by corresponding storage service functions and provided as input to corresponding next successive storage service functions.
11. The system of claim 10 , wherein the storage service template specifies the storage service policies for the user by indicating the storage service policies from a predefined set of storage service policies.
12. The system of claim 10 , wherein the storage service policies are defined with a work flow engine, and wherein a task in the work flow engine corresponds to a storage function node or a type of storage service.
13. The system of claim 10 , wherein the storage service template further specifies a network for providing the storage service.
14. The system of claim 10 , wherein each storage service policy further defines at least one of an execution module for the corresponding storage service function and a parameter for performing the storage service function.
15. The system of claim 14 , wherein the execution module for the storage service function includes a virtual machine or a container image.
16. The system of claim 14 , wherein the parameter for performing the storage service function includes a triggering condition for the storage function.
17. A computer program product for providing a storage service, the computer program product comprising: a non-transitory computer readable storage medium encoded with computer-executable code, the code configured to enable the execution of: receiving a storage service template from a user, the storage service template specifying a plurality of storage service policies for the user and a corresponding chained set of storage service functions for execution in a template-specified predetermined order, the storage service functions having respective data inputs and data outputs and being chained together such that the data output of a given storage service function is equal to mandatory data input requirements of a corresponding next successive storage service function; and providing the chained set of storage service functions according to the storage service template, the chained set of storage service functions being performed on data of the user to obtain processed user data accordingly, including intermediate data generated by corresponding storage service functions and provided as input to corresponding next successive storage service functions.
18. The computer program product of claim 17 , wherein the storage service template specifies the storage service policies for the user by indicating the storage service policies from a predefined set of storage service policies.
19. The computer program product of claim 17 , wherein the storage service policies are defined with a work flow engine, and wherein a task in the work flow engine corresponds to a storage function node or a type of storage service.
20. The computer program product of claim 17 , wherein the storage service template further specifies a network for providing the storage service.
21. The computer program product of claim 20 , wherein each storage service policy further defines at least one of an execution module for the corresponding storage service function and a parameter for performing the storage service function.
22. The computer program product of claim 20 , wherein the execution module for the storage service function includes a virtual machine or a container image.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
March 13, 2017
July 7, 2020
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.