EP3103239B1

Cloud service custom execution environment

Abstract

This record has no abstract on file.

EP3103239B1, drawing sheet 1
Sheet 1 of 9

Term

8 yearsleft in the term

Expires 17 September 2034.

  1. Priority and filed
  2. Granted
  3. Today
  4. Expires

15 claims: 3 independent, 12 dependent

  1. 1
    A method (500) comprising:executing (505), by a cloud computer system (110), a plurality of template execution environments, wherein each of the plurality of template execution environments is configured to establish child execution environments, and wherein each of the plurality of template execution environments is configured to execute a different type of custom executable instruction;receiving (510), by the cloud computer system, from a mobile device (102, 104), a request to execute a custom executable instruction for a service provided by the cloud computer system to a tenant registered with the cloud computer system;determining, by the cloud computer system, one or more resources to support execution of the custom executable instruction for the service to be provided to the tenant;selecting, by the cloud computer system, a template execution environment from the plurality of template execution environments based on a type of service identified for the service and based on determining that the template execution environment is configured to provide the tenant with access to the one or more resources determined to support execution of the custom executable instruction for the service;loading (520), by the cloud computer system, the requested custom executable instruction for execution in a first child execution environment;configuring (525), by the cloud computer system, an access permission for the first child execution environment, wherein the access permission specifies one or more types of operations that are permitted or prohibited in the first child execution environment, and wherein the configuring comprises setting one or more settings of a callable interface so as to control accessing of services from the cloud computer system by the custom executable instruction, wherein the configured access permission prevents additional child environments being spawned by the custom executable instruction;after configuring (525) the access permission for the first child execution environment, establishing (515), by the cloud computer system, the first child execution environment to execute the requested custom executable instruction, wherein the first child execution environment is established based on the template execution environment;and executing (530), by the cloud computer system, the requested custom executable instruction in the first child execution environment, wherein the requested custom executable instruction is executed after the access permission is configured.
  2. 4
    The method of any of claims 1 to 3, wherein the first child execution environment inherits a configuration of the template execution environment.
  3. 5
    The method of any of claims 1 to 4, wherein configuring the access permission includes adjusting permission for access to a resource not located in the first child execution environment, and wherein the access permission is adjusted to prevent the resource from being accessed from within the first child execution environment.
  4. 6
    The method of any of claims 1 to 5, wherein the access permission is configured through a security model for the template execution environment.
  5. 7
    The method of any of claims 1 to 6, wherein the template execution environment is configured to prevent the executing of the requested custom executable instruction from interfering with one or more tenant operations performed for the tenant external to the child execution environments established based on the template execution environment in the cloud computer system.
  6. 8
    The method of any of claims 1 to 7, wherein the template execution environment is selected from the plurality of template execution environments further based on a type of security for execution of the requested custom executable instruction.
  7. 10
    The method of any of claims 1 to 9, further comprising:loading, by the cloud computer system, a resource for execution of the template execution environment;wherein the request to execute the requested custom executable instruction is received after loading the resource for execution of the template execution environment.
  8. 11
    The method of any of claims 1 to 10, further comprising:configuring, by the cloud computer system, the template execution environment before executing the template execution environment, and wherein configuring the template execution environment preferably includes initializing a setting for the template execution environment and initializing a state for the template execution environment.
  9. 12
    The method of any of claims 1 to 11, further comprising:establishing, by the cloud computer system, an additional child execution environment to execute an additional custom executable instruction, wherein the additional child execution environment is established based on the template execution environment;loading, by the cloud computer system, the additional custom executable instruction for execution in the additional child execution environment;setting, by the cloud computer system, access permission for the additional child execution environment;and executing, by the cloud computer system, the additional custom executable instruction in the additional child execution environment.
  10. 13
    A cloud computer system (800) comprising:one or more processors (804);and one or more memory devices (810) coupled to the one or more processors, the one or more memory devices containing instructions that, when executed on the one or more processors, cause the one or more processors to: receive a criterion for configuring a template execution environment of a plurality of template execution environments in a cloud computer system (110), wherein each template execution environment of the plurality of template execution environments establishes a child execution environment, and wherein each template execution environment of the plurality of template execution environments is configured to execute a different type of custom executable instruction;receive (510), from a mobile computing device (102, 104) using a first communication protocol, a request to execute a custom executable instruction for a service provided by the cloud computer system to a tenant registered with the cloud computer system;determine one or more resources to support execution of the custom executable instruction for the service to be provided to the tenant;classify a type of custom executable instruction corresponding to the requested custom executable instruction;select a first template execution environment from the plurality of template execution environments based on a type of service identified for the service, based on determining that the template execution environment is configured to provide the tenant with access to the one or more resources determined to support execution of the custom executable instruction for the service, and based on the classified type of custom executable instruction;execute (505) the first template execution environment;load (520) the requested custom executable instruction for execution in a first child execution environment;and then configure (525) an access permission for the first child execution environment, wherein the access permission specifies one or more types of operations that are permitted or prohibited in the first child execution environment, wherein the configuring comprises setting one or more settings of a callable interface so as to control accessing of services from the cloud computer system by the custom executable instruction, wherein the configured access permission prevents additional child environments being spawned by the custom executable instruction;after configuring (525) the access permission for the first child execution environment, establish (515) the first child execution environment to execute the requested custom executable instruction, wherein the first child execution environment is established based on the first template execution environment;and execute (530) the requested custom executable instruction in the first child execution environment, wherein the requested custom executable instruction is executed after the access permission is configured for the first child execution environment.
  11. 15
    A computer-readable memory storing a set of instructions that, when executed by one or more processors of a cloud computer system (110), causes the one or more processors to:execute (505) a plurality of template execution environments, wherein each of the plurality of template execution environments is configured to establish child execution environments, and wherein each of the plurality of template execution environments is configured to execute a different type of custom executable instruction;receive (510) a request from a mobile device (102, 104) to execute a custom executable instruction for a service provided by the cloud computer system to a tenant registered with the cloud computer system;determine one or more resources to support execution of the custom executable instruction for the service to be provided to the tenant;select a template execution environment from the plurality of template execution environments based on a type of service identified for the service and based on determining that the template execution environment is configured to provide the tenant with access to the one or more resources determined to support execution of the custom executable instruction for the service;load (520) the requested custom executable instruction for execution in a first child execution environment;configure (525) an access permission for the first child execution environment, wherein the access permission specifies one or more types of operations that are permitted or prohibited in the first child execution environment, wherein the configuring comprises setting one or more settings of a callable interface so as to control accessing of services from the cloud computer system by the custom executable instruction, wherein the configured access permission prevents additional child environments being spawned by the custom executable instruction;after configuring (525) the access permission for the first child execution environment, establish (515) the first child execution environment to execute the requested custom executable instruction, wherein the first child execution environment is established based on the template execution environment;and execute (530) the requested custom executable instruction in the first child execution environment, wherein the requested custom executable instruction is executed after the access permission is configured.