Mobile development platform in a cloud based architecture
First Claim
1. A computer-implemented method, comprising:
- receiving from a client device a first cloud code module at a cloud platform device;
associating the first cloud code module with at least one function call and one or more timeout values, wherein the function call is directed to one or more services provided by the cloud platform device;
monitoring an execution of the first cloud code module associated with the function call in a sandbox and cancelling the execution of the first cloud code module when upon expiration of at least one of the timeout values;
receiving a second cloud code module for validation;
estimating that a probability of the second cloud code module will time out before completion is greater than a threshold probability, the probability determined based on a similarity between the first cloud code module and the second cloud code module without executing the second cloud code module in the sandbox; and
repairing or rejecting the second cloud code module by the cloud platform device when the probability that the second cloud code module will time out is greater than the threshold probability.
6 Assignments
0 Petitions
Accused Products
Abstract
Embodiments are directed towards mobile application development in a cloud-based architecture. Mobile applications may be designed to communicate with a cloud platform over a network. Mobile application developers may be enabled to submit cloud code to cloud platforms for use by mobile applications. If cloud code is provided to a cloud platform, the cloud platform may perform one or more actions to authenticate the cloud code, such as, ensuring that that the user providing the cloud code is authorized to provide the cloud code. If the cloud code is authenticated the cloud platform may perform one or more actions to validate the cloud code. If validated, the cloud code may be activated for use by mobile applications and/or mobile application developers. Activation of the cloud code may include associating the cloud code with one or more function calls and/or with one or more trigger points.
3 Citations
17 Claims
-
1. A computer-implemented method, comprising:
-
receiving from a client device a first cloud code module at a cloud platform device; associating the first cloud code module with at least one function call and one or more timeout values, wherein the function call is directed to one or more services provided by the cloud platform device; monitoring an execution of the first cloud code module associated with the function call in a sandbox and cancelling the execution of the first cloud code module when upon expiration of at least one of the timeout values; receiving a second cloud code module for validation; estimating that a probability of the second cloud code module will time out before completion is greater than a threshold probability, the probability determined based on a similarity between the first cloud code module and the second cloud code module without executing the second cloud code module in the sandbox; and repairing or rejecting the second cloud code module by the cloud platform device when the probability that the second cloud code module will time out is greater than the threshold probability. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A non-transitory computer-readable medium storing instructions, the instructions comprising:
-
instructions configured to cause a computing device to receive from a client device a first cloud code module at a cloud platform device; instructions configured to cause the computing device to associate the first cloud code module with at least one function call and one or more timeout values, wherein the function call is directed to one or more services provided by the cloud platform device; instructions configured to cause the computing device to monitor an execution of the first cloud code module associated with the function call in a sandbox and to cancel the execution of the cloud code module when a time taken to execute the first cloud code module upon expiration of at least one of the timeout values; instructions configured to cause the computing device to receive a second cloud code module for validation; instructions configured to cause the computing device to estimate that a probability of the second cloud code module will time out before completion is greater than a threshold probability, the probability determined based on a similarity between the first cloud code module and the second cloud code module without executing the second cloud code module in the sandbox; and instructions configured to cause the computing device to repair or reject the second cloud code module by the cloud platform device when the probability that the second cloud code module will time out is greater than the threshold probability. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. An apparatus comprising:
-
a network interface configured to receive from a client device a first cloud code module at a cloud platform device; a processor circuit for the cloud platform device; association logic executable on the processor circuit and configured to associate the first cloud code module with at least one function call and one or more timeout values, wherein the function call is directed to one or more services provided by the cloud platform device; monitoring logic executable on the processor circuit and configured to monitor an execution of the first cloud code module associated with the function call in a sandbox; execution logic executable on the processor circuit and configured to cancel the execution of the first cloud code module upon expiration of at least one of the timeout values;
whereinthe network interface is further configured to receive a second cloud code module for validation; and the processor circuit is further configured to estimate that a probability of the second cloud code module will time out before completion is greater than a threshold probability, the probability determined based on a similarity between the first cloud code module and the second cloud code module without executing the second cloud code module in the sandbox, and to repair or reject the second cloud code module by the cloud platform device when the probability that the second cloud code module will time out is greater than the threshold probability. - View Dependent Claims (14, 15, 16, 17)
-
Specification