×

Cloud service custom execution environment

  • US 9,935,959 B2
  • Filed: 09/17/2014
  • Issued: 04/03/2018
  • Est. Priority Date: 02/07/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer system comprising:

  • one or more processors; and

    one or more memory devices coupled to the one or more processors, the one or more memory devices including one or more instructions that, upon execution 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, wherein each template execution environment of the plurality of template execution environments is configured to establish a child execution environment, and wherein the template execution environment of the plurality of template execution environments is configured to execute one or more custom executable instructions in the child execution environment that is established based on the template execution environment;

    receive, from a mobile device, a request to execute a custom executable instruction for a tenant registered with a cloud computer system;

    determining, based on the request to execute a custom executable instruction, a custom execution service provided by the cloud computer system to execute the custom executable instruction;

    classify, by the custom execution service, a type of custom executable instruction corresponding to the requested custom executable instruction;

    select, by the custom execution service, a first template execution environment from the plurality of template execution environments based on a type of execution environment, wherein the type of execution environment is configured to support execution of the classified type of custom executable instruction based on one or more resources permitted for access by the tenant registered with the cloud computer system, wherein the selected first template execution environment is a Java virtual machine (JVM) environment;

    execute, by the custom execution service, the first template execution environment;

    establish, by the custom execution service, a 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, wherein the first child execution environment is a child JVM environment;

    load the requested custom executable instruction for execution in the first child execution environment; and

    thenconfigure, by the custom execution service, the first child execution environment to enable execution of the requested custom executable instruction, wherein the configuring includes setting one or more settings of a callable interface to control access by the custom executable instruction to a plurality of services from the cloud computer system, wherein the configuring includes adjusting a first access permission of the first child execution environment through a security model for the selected first template execution environment, wherein the first access permission specifies one or more types of operations that are permitted or prohibited in the first child execution environment by the requested custom executable instruction executed in the first child execution environment, wherein configuring includes adjusting a second access permission of the first child execution environment for access to a resource not located in the first child execution environment, and wherein the second access permission is adjusted to prevent the resource from being accessed by the requested custom executable instruction from within the first child execution environment; and

    execute the requested custom executable instruction in the first child execution environment, wherein the requested custom executable instruction is executed after the first child execution environment is configured for the first child execution environment, and wherein execution of the requested custom executable instruction causes one or more operations to be performed on data for the tenant in the cloud computer system.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×