Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for starting a function

A function and cold start technology, applied in the field of cloud computing, can solve problems such as waste of system resources, and achieve the effect of reducing waste and delay

Active Publication Date: 2020-05-08
BEIJING UNIV OF POSTS & TELECOMM
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen from the above that the cloud server needs to regularly start the containers corresponding to all functions, which will cause a waste of system resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for starting a function
  • Method and device for starting a function
  • Method and device for starting a function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0061] In the prior art, the cloud server needs to regularly start the containers corresponding to all the functions, which will lead to waste of system resources.

[0062] In order to solve the above problems, the embodiment of the present invention provides a method for starting a function. For each function, the cloud server can determine the next starting time of the function according to the historical starting time of the function, and at the determined n...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the present invention provide a method and device for starting a function, which relate to the field of cloud computing. The method includes: for each function, the next starting time of the function can be determined according to the historical starting time of the function, and at the determined At the target time before the next startup time of the function, start the container corresponding to the function. When it is necessary to start the target function, judge whether the container corresponding to the target function is currently started. If the container corresponding to the target function is currently started, set the target function Load it into the corresponding container and run it. Based on the above processing, the startup time of the function can be predicted, and according to the predicted next startup time of the function, the container corresponding to the function can be started in advance, which can reduce the delay of function startup. Compared with the prior art, all functions are started at regular intervals The corresponding container can reduce the waste of system resources.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a method and device for starting a function. Background technique [0002] With the development and popularization of cloud services, serverless computing has been widely used. Major domestic and foreign companies have launched their own serverless computing products, such as Amazon Cloud Services and Google Cloud Platform. In serverless computing, each function corresponds to a container, and the function runs in the corresponding container. When the cloud server needs to start a function, the cloud server needs to start the container corresponding to the function, and load the function into the corresponding container to run. After the function finishes running, the container corresponding to the function can be in a dormant state. When the duration of the function reaches the preset duration, the cloud server can delete the container. Then, when the cloud server start...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445G06N3/04G06N3/08
CPCG06F9/44505G06N3/08G06N3/044G06N3/045
Inventor 张海涛徐政钧马华东
Owner BEIJING UNIV OF POSTS & TELECOMM