WO2021164368A1 - 一种容器应用启动方法、系统、装置及电子设备 - Google Patents

一种容器应用启动方法、系统、装置及电子设备 Download PDF

Info

Publication number
WO2021164368A1
WO2021164368A1 PCT/CN2020/132688 CN2020132688W WO2021164368A1 WO 2021164368 A1 WO2021164368 A1 WO 2021164368A1 CN 2020132688 W CN2020132688 W CN 2020132688W WO 2021164368 A1 WO2021164368 A1 WO 2021164368A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
container
application data
container application
data
Prior art date
Application number
PCT/CN2020/132688
Other languages
English (en)
French (fr)
Inventor
彭涛
刘峥
邓刚
刘博�
关尔昱
任镇
赖江山
Original Assignee
支付宝(杭州)信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 支付宝(杭州)信息技术有限公司 filed Critical 支付宝(杭州)信息技术有限公司
Publication of WO2021164368A1 publication Critical patent/WO2021164368A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45575Starting, stopping, suspending or resuming virtual machine instances

Definitions

  • the embodiments of this specification relate to the field of computer technology, and in particular to a method, system, device and electronic device for starting a container application.
  • Container technology is a virtualization technology. It manages applications by virtualizing the operating system. It is an application packaging, distribution and deployment method.
  • the container contains a complete application operating environment. In addition to the application itself, it also includes All dependencies, class libraries, other binary files, configuration files, etc. required for application operation are packaged into the container image package. When the container application deployed in the container runs, the container needs to be started.
  • the container can be started without waiting to download all the complete application data.
  • the container application can be started and run after the application data required for the operation of the container application is loaded from the corresponding server.
  • the embodiments of this specification provide a container application startup method, system, device, and electronic equipment, which are used to solve the problem that the container application cannot be quickly started and run in the prior art.
  • the embodiments of this specification adopt the following technical solutions: the embodiments of this specification provide a container application startup method applied to a server, including: determining application data corresponding to the application identifier of the container application; downloading the container application corresponding to the application identifier Send the application data so that the container application loads the application data in advance, and runs the application data when the container application starts.
  • the embodiment of this specification also provides a method for starting a container application, applied to a server, including: collecting access information of the container application to application data when the container application is running; updating the stored application data according to the application data corresponding to the access information Application data corresponding to the container application, so as to deliver updated application data to the container application, so that the container application pre-loads the updated application data, so as to run the container application when the container application starts. Updated application data.
  • the embodiment of this specification also provides a method for starting a container application, applied to a container application, including: receiving application data sent by a server corresponding to the container application; preloading the application data so as to run when the container application is started The application data.
  • the embodiment of this specification also provides a container application startup system, including: a server, which determines application data corresponding to the application identifier of the container application, and delivers the application data to the container application; and the container application receives the information sent by the server The application data is preloaded with the application data, and the application data is run when the container application is started.
  • the embodiment of this specification also provides a container application startup device, which is applied to a server, and includes: a determination module, which determines application data corresponding to the application identifier of the container application; The application data enables the container application to preload the application data, and run the application data when the container application is started.
  • the embodiment of this specification also provides a container application startup device, which is applied to a server, and includes: a collection module, which collects access information of the container application to application data when the container application is running; an update module, according to the corresponding access information Update the stored application data corresponding to the container application, so as to deliver updated application data to the container application, so that the container application pre-loads the updated application data so that the container application At startup, run the updated application data.
  • the embodiment of this specification also provides a container application startup device, which is applied to a container application, and includes: a receiving module, which receives application data sent by a server corresponding to the container application; and a preloading module, which preloads the application data so as to When the container application is started, the application data is run.
  • the embodiment of this specification also provides an electronic device, including at least one processor and a memory, the memory stores a program, and is configured such that the at least one processor executes the following steps: determining application data corresponding to the application identifier of the container application; The container application corresponding to the application identifier issues the application data, so that the container application pre-loads the application data, and runs the application data when the container application starts.
  • the embodiment of this specification also provides an electronic device, which includes at least one processor and a memory, the memory stores a program, and is configured to perform the following steps by the at least one processor: when the container application is running, collect the application data of the container application The access information; according to the application data corresponding to the access information to update the stored application data corresponding to the container application, so as to deliver the updated application data to the container application, so that the container application pre-loads the The updated application data is used to run the updated application data when the container application is started.
  • the embodiment of the present specification also provides an electronic device, including at least one processor and a memory, the memory stores a program, and is configured such that at least one processor executes the following steps: receiving application data sent by a server corresponding to the container application; The application data is loaded so as to run the application data when the container application is started.
  • the server corresponding to the container application determines the application data corresponding to the application identifier of the container application, and delivers the determined application data to the corresponding container application, so that the container The application can pre-load the received application data.
  • the container application can run the pre-loaded application data during the startup process, which reduces the process of downloading and loading application data during the startup process of the container application, and realizes the rapid startup of the container application. Run to improve user experience.
  • FIG. 1 is a schematic structural diagram of a container application startup system provided by an embodiment of this specification
  • FIG. 2 is a schematic flowchart of a method for starting a container application according to an embodiment of the specification
  • FIG. 3 is a schematic flowchart of a method for starting a container application according to an embodiment of the specification
  • FIG. 4 is a schematic flowchart of a method for starting a container application according to an embodiment of the specification
  • FIG. 5 is a schematic flowchart of a method for starting a container application according to an embodiment of the specification
  • FIG. 6 is a schematic structural diagram of a container application activation device provided by an embodiment of this specification.
  • FIG. 7 is a schematic structural diagram of a container application activation device provided by an embodiment of this specification.
  • FIG. 8 is a schematic structural diagram of a container application activation device provided by an embodiment of this specification.
  • the embodiments of this specification provide a container application startup method, system, device, and electronic equipment.
  • the server corresponding to the container application determines the application data corresponding to the application identifier of the container application, and then delivers the determined application data to the corresponding container.
  • Application so that the container application can pre-load the received application data, so that the container application can run the pre-loaded application data during the startup process, reducing the process of downloading and loading application data during the startup process of the container application, and realizing the container application
  • the fast startup and operation of the system improves the user experience.
  • FIG. 1 is a schematic structural diagram of a container application startup system provided by an embodiment of this specification.
  • the server 1A determines the application data corresponding to the application identifier of the container application, and delivers the application data to the container application.
  • the container application 1B receives the application data sent by the server, loads the application data in advance, and runs the application data when the container application starts.
  • the server 1A may refer to a server that stores application data required for the startup and operation of the container application and executes operation instructions related to the container application.
  • the server may include a mirroring center and a mirroring update service module.
  • the mirroring center is used to store application data corresponding to each container application
  • the mirroring update service module is used to update the application data stored in the mirroring center.
  • a container can refer to a virtualization architecture that manages applications by virtualizing an operating system.
  • the container application 1B can be an application running in a container.
  • the container application 1B needs to obtain corresponding application data from the server 1A when it is started. Or obtain the pre-loaded application data locally to implement the startup and operation of the container application 1B.
  • the server 1A can correspondingly update the application data according to the update of the container application in the background of the server, so that the container application 1B can run the updated application in time; the server 1A can also according to the container application 1B in the historical running process
  • the access information to the application data is used to determine the update of the existing application data, so that the updated application data can meet the latest application data access requirements of the container application 1B at runtime, and avoid the container application 1B from waiting for the application data to be loaded when the container application 1B is started. In order to improve the startup and operation efficiency of the container application 1B.
  • FIG. 2 is a schematic flowchart of a method for starting a container application provided by an embodiment of this specification, and the method for starting a container application provided by an embodiment of this specification is applied to a server.
  • S201 Determine application data corresponding to the application identifier of the container application.
  • the application identifier can be understood as the label information corresponding to the container application, and the application identifier can be used to map to the corresponding container application, and the server can determine the corresponding application data according to the application identifier.
  • Application data can be understood as data information that the container application needs to access when it starts running, and specifically can be configuration files, binary files, or other data information required when the container application starts running, which is not specifically limited here.
  • determining the application data corresponding to the application identifier of the container application may include: determining whether the application data corresponding to the application identifier of the container application has an updated version; if so, obtaining the application data of the updated version .
  • the server in order to ensure that the container application can be quickly started and run, can select a suitable time before the container application starts to deliver the corresponding application data to the container application, so that the container application can preload the received application data to Support container applications to run without loading application data at startup.
  • the server before the server sends application data to the container application, it can pre-detect and determine whether the application data corresponding to the application identifier has an updated version, and if so, obtain the updated version of the application data to make the application delivered to the container application
  • the data is the latest version of the application data, so that the container application can run the latest version of the application data at startup.
  • the updated version of the application data may be determined according to the application upgrade data of the container application in the background of the server, which is not specifically limited here.
  • determining the application data corresponding to the identity of the container application may include: obtaining access information of the application data by using the application identity of the container application; obtaining access information of the application data The application data corresponding to the application identifier of the container application.
  • the access information may refer to the access information of the container application to the application data during the historical operation.
  • the access information can determine the latest access requirement of the container application to the application data, and the server can use this as the basis To obtain the application data required by the container application at runtime.
  • the server can obtain the corresponding access information according to the application identifier of the container application, and then can obtain the application data required by the container application at runtime reflected in the access information according to the obtained access information, so as to prepare the container application to meet its requirements.
  • obtaining access information of application data by using the application identifier of the container application may include: obtaining access information in at least two nodes where the container application is located according to the application identifier of the container application.
  • container applications can be deployed and run on different nodes, and container applications on each node can download application data from the same server.
  • the server may collect access information of at least two nodes according to the running status of the container application on each node, where the collected access information carries the corresponding application identifier of the container application of each node.
  • the container application corresponding to the access information collected by the server may end the running program, or it may be periodically collected by the server from the container application on each node according to a preset period, which is not specifically limited here.
  • obtaining the application data corresponding to the application identifier of the container application according to the access information of the application data may include: obtaining the application data corresponding to each of the nodes according to the access information in at least two of the nodes; Determine the amount of access to each of the application data; select the application data to be delivered to the container application from the application data corresponding to each of the nodes according to the amount of access.
  • the container application on each node runs independently and can generate different access information.
  • the server can obtain the application data corresponding to each node by collecting the access information in each node, and then By determining the amount of access to each application data, the application data to be delivered to the container application is selected from the application data corresponding to each node.
  • the server can select the application data whose access volume reaches the threshold as the application data to be sent to the container application, that is, select the application data with higher access volume of each node, so that the application data sent to the container application can better satisfy its runtime. Data access needs.
  • obtaining the application data corresponding to the application identifier of the container application according to the access information of the application data may include: selecting application data that meets a preset time sequence condition according to the time sequence of the access information.
  • the time sequence may refer to the time sequence of the generation time of the access information, specifically, the access information may be sorted in chronological order; the preset time sequence condition may refer to the selection of application data that can meet the running requirements of the container application.
  • the selection criteria can be specifically that the time sequence of the access information is the last, that is, the generation time of the access information is the most recent.
  • the server can select the access information that is closest to the current time by time sequence, and then can select the corresponding application data through the access information.
  • the selected application data can satisfy the application when the container application is running again. Data access requirements.
  • the access information may include at least one of the following: application data access type; application data access time.
  • the application data access type may refer to the classification information of the application data accessed by the container application, and the server can determine the container application to access more types of application data during startup and operation through the application data access type.
  • Application data access time can refer to the time for the container application to access each application data at runtime.
  • the server can determine the access sequence information of the container application to each application data through the application data access time, and the server can give priority to the container application through the access sequence information Configure the application data with the first access sequence, so that the application data can be configured according to the data access requirements of the container application.
  • the server can process the collected access information to obtain the access characteristics of the container application to the application data when it is running.
  • the latest access characteristics of the application data through the container application can update the existing application data to satisfy the container application. The latest data access needs.
  • the access feature can be understood as the access feature of the container application to the application data during the historical startup and operation process, which can specifically be access to more application data, the application data with the highest access sequence, etc., which are not specifically limited here.
  • S203 Distribute the application data to the container application corresponding to the application identifier, so that the container application pre-loads the application data, and runs the application data when the container application starts.
  • the server after the server determines the application data that is updated corresponding to the application identifier, it can automatically deliver the application data to the container application. It can also periodically deliver the application data to the container application according to the pre-appointed sending time. After receiving the trigger condition sent by the container application, the application data is delivered to the container application, which is not specifically limited here.
  • delivering the application data to the container application may include: when receiving a data preload request from the container application, delivering the application data to the container application.
  • the data preload request may refer to the application data acquisition request sent by the container application to the server before starting.
  • the server sends the corresponding application data to the container application according to the received data preload request as a trigger condition, so that the container application can be preloaded
  • the application data is received and the pre-loaded application data is run when the container application is started. In this way, the container application does not need to wait for the loading process of the application data when starting, and realizes rapid startup and operation.
  • the embodiment of this specification provides a method for starting a container application.
  • the server corresponding to the container application determines the application data corresponding to the application identifier of the container application and delivers the determined application data to the corresponding container application, so that the container application can be pre-loaded
  • the received application data in this way, the container application can run the pre-loaded application data during the startup process, reducing the process of downloading and loading application data during the startup process of the container application, realizing the fast startup and running of the container application, and improving users Experience.
  • FIG. 3 is a schematic flowchart of a method for starting a container application according to an embodiment of this specification, and the method for starting a container application according to an embodiment of this specification is applied to a server.
  • the server can obtain the access information of the container application to the application data when the container application is running, and then can obtain the corresponding application data through the access information, that is, obtain the application data that can meet the running requirements of the container application .
  • S303 Update the stored application data corresponding to the container application according to the application data corresponding to the access information, so as to deliver the updated application data to the container application, so that the container application preloads the updated application data.
  • the application data is used to run the updated application data when the container application is started.
  • the server can update the stored application data by accessing the information, so that it can deliver updated application data that can meet its running requirements to the container application. In this way, when the container application is restarted, the updated application data can be run. Application data.
  • the embodiment of this specification provides a method for starting a container application.
  • the server corresponding to the container application determines the application data corresponding to the application identifier of the container application and delivers the determined application data to the corresponding container application, so that the container application can be pre-loaded
  • the received application data in this way, the container application can run the pre-loaded application data during the startup process, reducing the process of downloading and loading application data during the startup process of the container application, realizing the fast startup and running of the container application, and improving users Experience.
  • FIG. 4 is a schematic flowchart of a method for starting a container application according to an embodiment of this specification. The method for starting a container application according to an embodiment of this specification is applied to the container application side.
  • S401 Receive application data sent by a server corresponding to the container application.
  • the container application receives the application data sent by the server, which may be sent by the server to the container application after the container application sends a data preload request to the server; or the server actively sends to the container application after determining the application data Yes, there is no specific limitation here.
  • the method before receiving the application data sent by the server corresponding to the container application, the method may further include: sending the container application's access information to the application data to the server, so that the server can use the application data according to the access The information obtains application data corresponding to the application identifier of the container application.
  • the container application can actively send access information to the server before starting to run to trigger the server to update existing application data, so that the container application can preload application data that meets its own operational requirements.
  • sending the access information of the container application to the application data to the server may include: at least two nodes where the container application is located send the access information to the server.
  • each node can send its own access information to the server, and the server can analyze and process the access information sent by the container application of each node according to the application identifier, so as to apply the corresponding application to the container application of each node.
  • the data is updated separately.
  • the server can also comprehensively analyze and process the collected access information of each node, and then update the application data corresponding to each container application according to the analysis and processing results, so that the updated application data can be combined
  • the access characteristics of the container application of each node to the application data increase the amount of data and determine the application data with more accurate results.
  • S403 Load the application data in advance, so as to run the application data when the container application is started.
  • the application data can be preloaded and stored locally on the container application side.
  • the container application of each node after receiving the application data issued by the server, the container application of each node can actively load the received application data locally.
  • the time for each node to receive the corresponding application data may be the same, or the server may respectively issue the corresponding application data at different times according to the running status of each container application, which is not specifically limited here.
  • the container application can directly run the local application data of the container application when it is started, so as to realize fast startup and operation, and display the content of the application data to the user.
  • the embodiment of this specification provides a method for starting a container application.
  • the server corresponding to the container application determines the application data corresponding to the application identifier of the container application and delivers the determined application data to the corresponding container application, so that the container application can be pre-loaded
  • the received application data in this way, the container application can run the pre-loaded application data during the startup process, reducing the process of downloading and loading application data during the startup process of the container application, realizing the fast startup and running of the container application, and improving users Experience.
  • FIG. 5 is a schematic flowchart of a method for starting a container application provided by an embodiment of the specification.
  • the server may include a mirroring center 5A and a mirroring update service module 5B.
  • the mirroring center is used to store application data of each container application 5C, and the mirroring update service is used to update the preload list.
  • the specific execution process for the container to be started by the mirror center 5A, the container application 5C, and the mirror service update module 5B includes S501 to S505.
  • the mirror image center 5A respectively issues a corresponding data preload list and corresponding application data in the data preload list to each container application 5C.
  • each container application 5C After each container application 5C receives the corresponding data preloading list and the corresponding application data in the data preloading list, it can actively preload the received application data locally. In this way, in each container application When 5C starts, you can directly run the application data pre-loaded locally to realize the fast startup and operation of the container application 5C.
  • each container application 5C can receive the data preload list issued by the mirror center 5A and the corresponding application data in the data preload list through its respective mirror data access component.
  • each container application 5C sends respective corresponding access information to the mirroring service update module 5B, where the access information carries the application identifier corresponding to each container application 5C.
  • the access information is the access information to the application data collected during the running of each container application 5C.
  • each container application 5C can send respective corresponding access information to the mirroring service update module 5B through its respective mirroring data access component.
  • the mirroring service update module 5B sends to the mirroring center 5A the corresponding updated data preload list of each container application 5C, where the data preloading list is the mirroring service update module 5B corresponding to the collected access information of each container application 5C. updated.
  • the data preloading list corresponding to each container application 5C is stored in the mirroring service update module 5B.
  • the mirroring center 5A receives the updated data preload list sent by the mirroring service update module 4B, it can update the corresponding application data according to the updated preload list. In this way, when returning to step S401, it can report to each container
  • the application 4C respectively issues the updated data preload list and the corresponding updated application data in the data preload list.
  • the mirroring service update module 4B can also update the corresponding data preload list according to the application upgrade of the container application 4C in the server background. In this way, the mirroring center 4A can prepare the corresponding updated application data according to the updated data preload list. In this way, the container application 4C can run the updated and upgraded application program in the background of the display server in a timely manner.
  • the mirroring center 4A, the container application 4C, and the mirroring service update module 4B are linked to form a feedback control mechanism for the issuance and update of application data, thereby realizing the dynamics of the application data preloading mechanism corresponding to the container application 4C Self-renewal and optimization.
  • the embodiment of this specification provides a method for starting a container application.
  • the mirroring center 4A determines the application data corresponding to the application identifier of the container application 4C, and then sends the determined application data to the corresponding container application 4C, so that the container application 4C can be used in advance. Load the received application data, so that the container application 4C can run the pre-loaded application data when it is started, without waiting for the application data to be loaded before starting the operation, so that the container application 4C can be quickly started and run.
  • the mirroring service update module 4B updates the corresponding data preload list by collecting access information corresponding to each container application 4C, and sends the updated data preload list to the mirroring center 4A, so that the mirroring center 4A can follow
  • the updated data pre-loading list is used to prepare the corresponding updated application data, so that the application data can meet the latest access requirements of the container application 4C at runtime, and avoid the container application 4C from loading the required application data at startup, which affects the container application 4C's fast startup and operation reduces user experience.
  • FIG. 6 is a schematic structural diagram of a container application activation device provided by an embodiment of this specification, and the container application activation device provided by an embodiment of this specification is applied to a server.
  • the determining module 601 determines the application data corresponding to the application identifier of the container application.
  • the sending module 602 is configured to deliver the application data to the container application corresponding to the application identifier, so that the container application pre-loads the application data, and runs the application data when the container application starts.
  • determining the application data corresponding to the identifier of the container application includes: obtaining access information of the application data by using the application identifier of the container application; The application data corresponding to the application identifier of.
  • determining the application data corresponding to the application identifier of the container application includes: determining whether the application data corresponding to the application identifier of the container application has an updated version; if so, obtaining the application data of the updated version.
  • the server corresponding to the container application determines the application data corresponding to the application identifier of the container application, and delivers the determined application data to the corresponding container application, so that the container application can be pre-loaded
  • the received application data in this way, the container application can run the pre-loaded application data during the startup process, reducing the process of downloading and loading application data during the startup process of the container application, realizing the fast startup and running of the container application, and improving users Experience.
  • Fig. 7 is a schematic structural diagram of a container application activation device provided by an embodiment of this specification, and the container application activation device provided by an embodiment of this specification is applied to a server.
  • the collection module 701 collects the access information of the container application to application data when the container application is running.
  • the update module 702 updates the stored application data corresponding to the container application according to the application data corresponding to the access information, so as to deliver the updated application data to the container application, so that the container application pre-loads the
  • the updated application data is used to run the updated application data when the container application is started.
  • the server corresponding to the container application determines the application data corresponding to the application identifier of the container application, and delivers the determined application data to the corresponding container application, so that the container application can be pre-loaded
  • the received application data in this way, the container application can run the pre-loaded application data during the startup process, reducing the process of downloading and loading application data during the startup process of the container application, realizing the fast startup and running of the container application, and improving users Experience.
  • FIG. 8 is a schematic structural diagram of a container application launching device provided in an embodiment of this specification.
  • the container application launching device provided in this embodiment of this specification is applied to a container application.
  • the receiving module 801 receives application data sent by the server corresponding to the container application.
  • the preloading module 802 preloads the application data so as to run the application data when the container application starts.
  • the server corresponding to the container application determines the application data corresponding to the application identifier of the container application, and delivers the determined application data to the corresponding container application, so that the container application can be pre-loaded
  • the received application data in this way, the container application can run the pre-loaded application data during the startup process, reducing the process of downloading and loading application data during the startup process of the container application, realizing the fast startup and running of the container application, and improving users Experience.
  • the embodiments of this specification also provide an electronic device, including at least one processor and a memory, the memory stores a program, and is configured to execute the following steps by the at least one processor: determining that it corresponds to the application identifier of the container application The application data; the application data is issued to the container application corresponding to the application identifier, so that the container application pre-loads the application data, and runs the application data when the container application starts.
  • the embodiments of this specification also provide a computer-readable storage medium, including a program used in combination with an electronic device.
  • the program can be executed by a processor to complete the following steps: determine the application data corresponding to the application identifier of the container application ; Deliver the application data to the container application corresponding to the application identifier, so that the container application pre-loads the application data, and runs the application data when the container application starts.
  • the embodiments of this specification also provide an electronic device, including at least one processor and a memory, the memory stores a program, and is configured to execute the following steps by the at least one processor: when the container application is running, collecting all The access information of the container application to the application data; the stored application data corresponding to the container application is updated according to the application data corresponding to the access information, so as to deliver the updated application data to the container application, so that the The container application preloads the updated application data, so as to run the updated application data when the container application is started.
  • the embodiments of this specification also provide a computer-readable storage medium, including a program used in combination with an electronic device.
  • the program can be executed by a processor to complete the following steps: when the container application is running, collect the container application Access information to application data; update the stored application data corresponding to the container application according to the application data corresponding to the access information, so as to deliver the updated application data to the container application, so that the container application advances Loading the updated application data to run the updated application data when the container application is started.
  • the embodiments of this specification also provide an electronic device, including at least one processor and a memory, the memory stores a program, and is configured to execute the following steps by the at least one processor: receiving the server corresponding to the container application The sent application data; the application data is pre-loaded so that when the container application starts, the application data is run.
  • the embodiments of this specification also provide a computer-readable storage medium, including a program used in combination with an electronic device.
  • the program can be executed by a processor to complete the following steps: receiving an application sent by a server corresponding to the container application Data, the application data is determined by the server; the application data is preloaded so that the application data can be run when the container application is started.
  • the improvement of a technology can be clearly distinguished between hardware improvements (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) or software improvements (for example, improvements in method flow) .
  • hardware improvements for example, improvements in circuit structures such as diodes, transistors, switches, etc.
  • software improvements for example, improvements in method flow
  • the improvement of many methods and procedures of today can be regarded as a direct improvement of the hardware circuit structure.
  • Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by the hardware entity module.
  • a programmable logic device for example, a Field Programmable Gate Array (Field Programmable Gate Array, FPGA)
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • ABEL Advanced Boolean Expression Language
  • AHDL Altera Hardware Description Language
  • HDCal JHDL
  • Lava Lava
  • Lola MyHDL
  • PALASM RHDL
  • VHDL Very-High-Speed Integrated Circuit Hardware Description Language
  • Verilog Verilog
  • the controller can be implemented in any suitable manner.
  • the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) executable by the (micro)processor. , Logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers. Examples of controllers include but are not limited to the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as part of the memory control logic.
  • controllers in addition to implementing the controller in a purely computer-readable program code manner, it is completely possible to program the method steps to make the controller use logic gates, switches, application specific integrated circuits, programmable logic controllers and embedded logic.
  • the same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure within the hardware component. Or even, the device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component.
  • a typical implementation device is a computer.
  • the computer may be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
  • each module and/or each unit can be implemented in the same one or more software and/or hardware.
  • the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment can be used to generate It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable data processing equipment to produce computer-implemented processing, so that the computer or other programmable data processing
  • the instructions executed on the device provide steps for implementing functions specified in one or more processes in the flowchart and/or one block or more in the block diagram.
  • the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
  • This application may be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types.
  • This application can also be practiced in distributed computing environments. In these distributed computing environments, tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

一种容器应用启动方法、系统、装置及电子设备,确定与容器应用的应用标识对应的应用数据(S201);向所述应用标识对应的容器应用下发所述应用数据,使得所述容器应用预先加载所述应用数据,在所述容器应用启动时,运行所述应用数据(S203)。

Description

一种容器应用启动方法、系统、装置及电子设备 技术领域
本说明书实施例涉及计算机技术领域,尤其涉及一种容器应用启动方法、系统、装置及电子设备。
背景技术
容器技术是一种虚拟化技术,通过虚拟化操作系统的方式来管理应用,是一种应用封装、分发和部署方式,容器中包含了完整的应用运行环境,除了应用程序本身之外,还包括应用运行所需的全部依赖、类库、其他二进制文件、配置文件等,都统一被打包入容器镜像包中,部署在容器中的容器应用运行时,需要先启动容器。
容器可以不用等待下载所有完整的应用数据即可启动,对于部署在容器中运行的容器应用,在容器应用运行所需要的应用数据从对应的服务器加载完成后,该容器应用便可以启动运行。
发明内容
有鉴于此,本说明书实施例提供了一种容器应用启动方法、系统、装置及电子设备,用于解决现有技术中容器应用无法快速启动和运行的问题。
本说明书实施例采用下述技术方案:本说明书实施例提供一种容器应用启动方法,应用于服务器,包括:确定与容器应用的应用标识对应的应用数据;向所述应用标识对应的容器应用下发所述应用数据,使得所述容器应用预先加载所述应用数据,在所述容器应用启动时,运行所述应用数据。
本说明书实施例还提供一种容器应用启动方法,应用于服务器,包括:在容器应用运行时,采集所述容器应用对应用数据的访问信息;根据所述访问信息所对应的应用数据更新已存的与所述容器应用对应的应用数据,以便向所述容器应用下发更新的应用数据,使得所述容器应用预先加载所述更新的应用数据,以在所述容器应用启动时,运行所述更新的应用数据。
本说明书实施例还提供一种容器应用启动方法,应用于容器应用,包括:接收所述容器应用对应的服务器发送的应用数据;预先加载所述应用数据,以便在所述容器应用启动时,运行所述应用数据。
本说明书实施例还提供一种容器应用启动系统,包括:服务器,确定与容器应用 的应用标识对应的应用数据,向所述容器应用下发所述应用数据;容器应用,接收所述服务器发送的所述应用数据,预先加载所述应用数据,在所述容器应用启动时,运行所述应用数据。
本说明书实施例还提供一种容器应用启动装置,应用于服务器,包括:确定模块,确定与容器应用的应用标识对应的应用数据;下发模块,向所述应用标识对应的容器应用下发所述应用数据,使得所述容器应用预先加载所述应用数据,在所述容器应用启动时,运行所述应用数据。
本说明书实施例还提供一种容器应用启动装置,应用于服务器,包括:采集模块,在容器应用运行时,采集所述容器应用对应用数据的访问信息;更新模块,根据所述访问信息所对应的应用数据更新已存的与所述容器应用对应的应用数据,以便向所述容器应用下发更新的应用数据,使得所述容器应用预先加载所述更新的应用数据,以在所述容器应用启动时,运行所述更新的应用数据。
本说明书实施例还提供一种容器应用启动装置,应用于容器应用,包括:接收模块,接收所述容器应用对应的服务器发送的应用数据;预加载模块,预先加载所述应用数据,以便在所述容器应用启动时,运行所述应用数据。
本说明书实施例还提供一种电子设备,包括至少一个处理器及存储器,存储器存储有程序,并且被配置成至少一个处理器执行以下步骤:确定与容器应用的应用标识对应的应用数据;向所述应用标识对应的容器应用下发所述应用数据,使得所述容器应用预先加载所述应用数据,在所述容器应用启动时,运行所述应用数据。
本说明书实施例还提供一种电子设备,包括至少一个处理器及存储器,存储器存储有程序,并且被配置成至少一个处理器执行以下步骤:在容器应用运行时,采集所述容器应用对应用数据的访问信息;根据所述访问信息所对应的应用数据更新已存的与所述容器应用对应的应用数据,以便向所述容器应用下发更新的应用数据,使得所述容器应用预先加载所述更新的应用数据,以在所述容器应用启动时,运行所述更新的应用数据。
本说明书实施例还提供一种电子设备,包括至少一个处理器及存储器,存储器存储有程序,并且被配置成至少一个处理器执行以下步骤:接收所述容器应用对应的服务器发送的应用数据;预先加载所述应用数据,以便在所述容器应用启动时,运行所述应用数据。
本说明书实施例采用的上述至少一个技术方案能够达到以下有益效果:容器应用对应的服务器通过确定与容器应用的应用标识对应的应用数据,将确定的应用数据下发给对应的容器应用,使得容器应用可以预先加载接收到的应用数据,这样,容器应用在启动过程中,可以运行预先加载的应用数据,减少了容器应用在启动过程中下载和装载应用数据的进程,实现容器应用的快速启动和运行,提升用户体验。
附图说明
此处所说明的附图用来提供对本说明书实施例的进一步理解,构成本说明书实施例的一部分,本说明书的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1为本说明书实施例提供的一种容器应用启动系统的结构示意图;
图2为本说明书实施例提供的一种容器应用启动方法的流程示意图;
图3为本说明书实施例提供的一种容器应用启动方法的流程示意图;
图4为本说明书实施例提供的一种容器应用启动方法的流程示意图;
图5为本说明书实施例提供的一种容器应用启动方法的流程示意图;
图6为本说明书实施例提供的一种容器应用启动装置的结构示意图;
图7为本说明书实施例提供的一种容器应用启动装置的结构示意图;
图8为本说明书实施例提供的一种容器应用启动装置的结构示意图。
具体实施方式
容器应用在启动时,需要等待该容器应用在启动运行时所需要访问的应用数据从对应的服务器加载完成后,才能正式启动运行,造成了容器应用对应用数据的访问延迟,难以实现容器应用的快速启动和运行,降低了用户体验。
因此,本说明书实施例提供一种容器应用启动方法、系统、装置及电子设备,容器应用对应的服务器通过确定与容器应用的应用标识对应的应用数据,将确定的应用数据下发给对应的容器应用,使得容器应用可以预先加载接收到的应用数据,这样,容器应用在启动过程中,可以运行预先加载的应用数据,减少了容器应用在启动过程中下载和装载应用数据的进程,实现容器应用的快速启动和运行,提升用户体验。
为使本申请的目的、技术方案和优点更加清楚,下面将结合本说明书具体实施例 及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
以下结合附图,详细说明本说明书各实施例提供的技术方案。
图1为本说明书实施例提供的一种容器应用启动系统的结构示意图。
服务器1A,确定与容器应用的应用标识对应的应用数据,向所述容器应用下发所述应用数据。
容器应用1B,接收所述服务器发送的所述应用数据,预先加载所述应用数据,在所述容器应用启动时,运行所述应用数据。
在本说明书实施例中,服务器1A可以是指存储有容器应用在启动运行需要的应用数据、及执行与容器应用相关的操作指令的服务器。在具体应用场景中,服务器可以包括镜像中心和镜像更新服务模块,镜像中心用于存储各容器应用对应的应用数据,镜像更新服务模块用于对镜像中心中保存的应用数据进行更新。
容器可以是指一种通过虚拟化操作系统的方式来管理应用的虚拟化架构,容器应用1B可以是搭载在容器内运行的应用,容器应用1B在启动时需要从服务器1A获取对应的应用数据,或者从本地获取预加载的应用数据,以实现容器应用1B的启动运行。
在本说明书实施例中,服务器1A可以根据服务器后台对容器应用的更新来对应更新应用数据,使得容器应用1B可以及时运行展示更新的应用程序;服务器1A还可以根据容器应用1B在历史运行过程中对应用数据的访问信息来确定更新已有的应用数据,使得更新的应用数据能够满足容器应用1B在运行时最新的应用数据访问需求,避免容器应用1B在启动运行时需要等待应用数据的加载,以提高容器应用1B的启动运行效率。
图2为本说明书实施例提供的一种容器应用启动方法的流程示意图,本说明书实施例提供的容器应用启动方法应用于服务器。
S201:确定与容器应用的应用标识对应的应用数据。
在本说明书实施例中,应用标识可以理解为容器应用对应的标签信息,利用应用标识可以映射到对应的容器应用,服务器可以根据应用标识来确定对应的应用数据。
应用数据可以理解为容器应用在启动运行时所需要访问的数据信息,具体可以是容器应用启动运行时所需要的配置文件、二进制文件或者其他数据信息,在此不做具体限定。
作为一种应用实施例,确定与所述容器应用的应用标识对应的应用数据,可以包括:判断所述容器应用的应用标识对应的应用数据是否具有更新版本;若是,则获取更新版本的应用数据。
在本说明书实施例中,为保障容器应用能够快速启动运行,服务器可以在容器应用启动前选择合适的时机向容器应用下发对应的应用数据,使得容器应用可以预先加载接收到的应用数据,以支持容器应用在启动时不需要加载应用数据即可运行。
在具体应用场景中,服务器在向容器应用发送应用数据之前,可以预先检测判断应用标识对应的应用数据是否是具有更新版本,若是,则获取更新版本的应用数据,使得向容器应用下发的应用数据为最新版本的应用数据,以便容器应用可以在启动时运行最新版本的应用数据。
具体地,更新版本的应用数据可以是根据服务器后台对容器应用的应用升级数据确定的,在此不做具体限定。
作为另外一种应用实施例,确定与所述容器应用的标识对应的应用数据,可以包括:利用所述容器应用的应用标识获取所述应用数据的访问信息;根据所述应用数据的访问信息获取与所述容器应用的应用标识对应的所述应用数据。
在本说明书实施例中,访问信息可以是指容器应用在历史运行过程中对应用数据的访问信息,通过访问信息可以确定出容器应用对应用数据的最新的访问需求,进而服务器可以以此为依据来获取容器应用在运行时所需要的应用数据。
服务器可以根据容器应用的应用标识获取到对应的访问信息,进而可以根据获取到的访问信息来获取访问信息中所反映出来的容器应用在运行时需要的应用数据,从而能够为容器应用准备满足其运行需求的应用数据。
对应的,利用所述容器应用的应用标识获取应用数据的访问信息,可以包括:根据所述容器应用的应用标识,获取所述容器应用所在的至少两个节点中的访问信息。
在本说明书实施例中,容器应用可以部署在不同的节点上运行,各个节点上的容器应用可以从同一个服务器下载应用数据。
在这种应用场景中,服务器可以根据各个节点上的容器应用的运行状态,采集至少两个节点的访问信息,其中,采集的访问信息携带有各个节点的容器应用各自对应的应用标识。具体的,服务器所采集的访问信息对应的容器应用可以是结束运行程序的,还可以是服务器根据预设的周期从各个节点上的容器应用定期采集的,在此不做具体限定。
进一步地,根据所述应用数据的访问信息获取与所述容器应用的应用标识对应的应用数据,可以包括:根据至少两个所述节点中的访问信息获取与各所述节点对应的应用数据;确定各个所述应用数据的访问量;根据所述访问量从各所述节点对应的应用数据中选择向所述容器应用下发的应用数据。
在本说明书实施例中,各个节点上的容器应用单独运行,可以产生不同的访问信息,在这种情况下,服务器可以通过采集各个节点中的访问信息来获取各个节点对应的应用数据,进而可以通过确定各个应用数据的访问量,来从各个节点对应的应用数据中选择向容器应用下发的应用数据。
具体的,服务器可以选择访问量达到阈值的应用数据作为下发到容器应用的应用数据,即选择各个节点访问量较高的应用数据,使得下发到容器应用的应用数据更能满足其运行时的数据访问需求。
作为另外一种应用实施例,根据所述应用数据的访问信息获取与所述容器应用的应用标识对应的应用数据,可以包括:按照所述访问信息的时序选择满足预设时序条件的应用数据。
在本说明书实施例中,时序可以是指访问信息产生时间的时间顺序,具体可以是按照时间先后顺序对访问信息进行排序;预设时序条件可以是指选择能够满足容器应用运行需求的应用数据的选择标准,具体可以是访问信息的时序为最后的,即访问信息的产生时间是最近的。
具体的,服务器可以通过时序来选择产生时间距离目前最近的访问信息,进而可以通过该访问信息来选择对应的应用数据,在这种情况下,选择的应用数据能够满足容器应用再次运行时的应用数据访问需求。
在具体应用场景中,所述访问信息可以包括如下至少一种:应用数据访问类型;应用数据访问时间。
在本说明书实施例中,应用数据访问类型可以是指被容器应用访问的应用数据的 分类信息,服务器可以通过应用数据访问类型确定容器应用在启动运行时访问较多的类型的应用数据。
应用数据访问时间可以是指容器应用在运行时访问各应用数据的时间,服务器通过应用数据访问时间可以确定出容器应用对各应用数据的访问顺序信息,服务器可以通过访问顺序信息来为容器应用优先配置访问顺序在前的应用数据,从而可以按照容器应用的数据访问需求配置应用数据。
服务器可以通过对采集的访问信息进行处理,得到容器应用在启动运行时对应用数据的访问特征,通过容器应用对应用数据最新的访问特征,可以对已有的应用数据进行更新,以满足容器应用最新的数据访问需求。
访问特征可以理解为容器应用在历史启动运行过程中对应用数据的访问特征,具体可以是访问较多的应用数据、访问顺序靠前的应用数据等,在此不做具体限定。
S203:向所述应用标识对应的容器应用下发所述应用数据,使得所述容器应用预先加载所述应用数据,在所述容器应用启动时,运行所述应用数据。
在本说明书实施例中,服务器在确定与应用标识对应更新的应用数据后,可以自动向容器应用下发应用数据,还可以按照预先约定的发送时间定期向容器应用下发应用数据,还可以在接收到容器应用发送的触发条件后向该容器应用下发应用数据,在此不做具体限定。
作为一种应用实施例,向所述容器应用下发所述应用数据,可以包括:在接收到来自所述容器应用的数据预加载请求时,向所述容器应用下发所述应用数据。
数据预加载请求可以是指容器应用在启动前向服务器发送的应用数据获取请求,服务器根据接收到的数据预加载请求作为触发条件,向容器应用下发对应的应用数据,使得容器应用可以预先加载接收到的应用数据,并在容器应用启动时,运行预先加载的应用数据,这样,容器应用可以不需要在启动时等待应用数据的加载过程,实现快速启动和运行。
本说明书实施例提供的一种容器应用启动方法,容器应用对应的服务器通过确定与容器应用的应用标识对应的应用数据,将确定的应用数据下发给对应的容器应用,使得容器应用可以预先加载接收到的应用数据,这样,容器应用在启动过程中,可以运行预先加载的应用数据,减少了容器应用在启动过程中下载和装载应用数据的进程,实现容器应用的快速启动和运行,提升用户体验。
图3为本说明书实施例提供的一种容器应用启动方法的流程示意图,本说明书实施例提供的容器应用启动方法应用于服务器。
S301:在容器应用运行时,采集所述容器应用对应用数据的访问信息。
在本说明书实施例中,服务器可以在容器应用运行时,获取容器应用对应用数据的访问信息,进而可以通过该访问信息来获取到对应的应用数据,即获取能够满足容器应用运行需求的应用数据。
S303:根据所述访问信息所对应的应用数据更新已存的与所述容器应用对应的应用数据,以便向所述容器应用下发更新的应用数据,使得所述容器应用预先加载所述更新的应用数据,以在所述容器应用启动时,运行所述更新的应用数据。
在本说明书实施例中,服务器可以通过访问信息更新已存的应用数据,从而可以向容器应用下发能够满足其运行需求的更新的应用数据,这样,在容器应用再次启动时,可以运行更新的应用数据。
本说明书实施例提供的一种容器应用启动方法,容器应用对应的服务器通过确定与容器应用的应用标识对应的应用数据,将确定的应用数据下发给对应的容器应用,使得容器应用可以预先加载接收到的应用数据,这样,容器应用在启动过程中,可以运行预先加载的应用数据,减少了容器应用在启动过程中下载和装载应用数据的进程,实现容器应用的快速启动和运行,提升用户体验。
图4为本说明书实施例提供的一种容器应用启动方法的流程示意图,本说明书实施例提供的容器应用启动方法应用于容器应用端。
S401:接收所述容器应用对应的服务器发送的应用数据。
在本说明书实施例中,容器应用接收服务器发送的应用数据,可以是容器应用向服务器发送数据预加载请求后,服务器向容器应用发送的;还可以是服务器在确定应用数据后主动向容器应用发送的,在此不做具体限定。
作为一种应用实施例,在接收所述容器应用对应的服务器发送的应用数据之前,还可以包括:向所述服务器发送所述容器应用对应用数据的访问信息,使得所述服务器根据所述访问信息获取与所述容器应用的应用标识对应的应用数据。
在本说明书实施例中,容器应用可以在启动运行前,主动向服务器发送对访问信息,以触发服务器对已有的应用数据进行更新,使得容器应用能够预先加载满足自身运 行需求的应用数据。
进一步地,向所述服务器发送所述容器应用对应用数据的访问信息,可以包括:所述容器应用所在的至少两个节点向所述服务器发送所述访问信息。
在本说明书实施例中,各个节点均可以向服务器分别发送各自的访问信息,服务器可以根据应用标识分别对各个节点的容器应用发送的访问信息进行分析处理,以对各个节点的容器应用对应的应用数据分别进行更新。
作为另外一种应用实施例,服务器还可以对采集到的各个节点的访问信息进行综合分析处理,然后根据分析处理结果分别对各个容器应用对应的应用数据进行更新,使得更新后的应用数据能够结合各个节点的容器应用对应用数据的访问特征,提高数据量,确定出结果更为准确的应用数据。
S403:预先加载所述应用数据,以便在所述容器应用启动时,运行所述应用数据。
容器应用在接收到服务器下发的应用数据后即可对该应用数据进行预先加载,保存在容器应用端本地。
结合上述应用实施例,在集群中,各个节点的容器应用在接收到服务器下发的应用数据后,可以主动将接收到的应用数据加载到本地。对应的,各个节点接收到各自对应的应用数据的时间可以是一致的,还可以是服务器根据各个容器应用的运行状况在不同的时间分别下发对应的应用数据,在此不做具体限定。
由于预先加载了应用数据,容器应用在启动时,可以直接运行容器应用端本地的应用数据,以实现快速启动和运行,将应用数据的内容展示给用户。
本说明书实施例提供的一种容器应用启动方法,容器应用对应的服务器通过确定与容器应用的应用标识对应的应用数据,将确定的应用数据下发给对应的容器应用,使得容器应用可以预先加载接收到的应用数据,这样,容器应用在启动过程中,可以运行预先加载的应用数据,减少了容器应用在启动过程中下载和装载应用数据的进程,实现容器应用的快速启动和运行,提升用户体验。
图5为本说明书实施例提供的一种容器应用启动方法的流程示意图。
在本说明书实施例中,服务器可以包括镜像中心5A和镜像更新服务模块5B,镜像中心用于保存各个容器应用5C的应用数据,镜像更新服务用于更新预加载列表。镜像中心5A、容器应用5C和镜像服务更新模块5B三者对于容器应启动的具体执行流程 包括S501~S505。
S501:镜像中心5A向各个容器应用5C分别下发对应的数据预加载列表,及所述数据预加载列表中对应的应用数据。
进一步地,各个容器应用5C在接收到对应的数据预加载列表,及所述数据预加载列表中对应的应用数据后,可以主动将接收到的应用数据预先加载到本地,这样,在各容器应用5C启动时,可以直接运行预先加载到本地的应用数据,实现容器应用5C的快速启动和运行。
在本说明书实施例中,各个容器应用5C可以通过各自的镜像数据访问组件来接收镜像中心5A下发的数据预加载列表,及所述数据预加载列表中对应的应用数据。
S503:在运行完成后,各个容器应用5C分别向镜像服务更新模块5B发送各自对应的访问信息,其中,所述访问信息携带有各个容器应用5C各自对应的应用标识。
在本说明书实施例中,访问信息是各个容器应用5C在运行过程中分别采集的对应用数据的访问信息。
其中,各个容器应用5C可以通过各自的镜像数据访问组件来向镜像服务更新模块5B发送各自对应的访问信息。
S505:镜像服务更新模块5B向镜像中心5A发送各个容器应用5C各自对应更新的数据预加载列表,其中,数据预加载列表是镜像服务更新模块5B根据采集到的各个容器应用5C的访问信息分别对应更新的。
其中,在镜像服务更新模块5B中保存有各个容器应用5C各自对应的数据预加载列表。
进一步地,镜像中心5A在接收到镜像服务更新模块4B发送的更新的数据预加载列表后,可以根据更新的预加载列表更新对应的应用数据,这样,在返回到步骤S401时,可以向各个容器应用4C分别下发对应更新的数据预加载列表,及所述数据预加载列表中对应更新的应用数据。
进一步地,镜像服务更新模块4B还可以根据服务器后台对容器应用4C的应用升级来更新对应的数据预加载列表,这样,镜像中心4A可以根据更新的数据预加载列表来准备对应更新的应用数据,从而容器应用4C便可以及时运行展示服务器后台更新升级的应用程序。
在本说明书实施例中,镜像中心4A、容器应用4C和镜像服务更新模块4B三者联动,形成应用数据的下发更新的反馈控制机制,从而实现容器应用4C对应的应用数据预加载机制的动态自我更新和优化。
本说明书实施例提供的一种容器应用启动方法,镜像中心4A通过确定与容器应用4C的应用标识对应的应用数据,将确定的应用数据下发给对应的容器应用4C,使得容器应用4C可以预先加载接收到的应用数据,这样容器应用4C在启动时,可以运行预先加载的应用数据,而不需要等待应用数据加载完成后再启动运行,实现容器应用4C的快速启动和运行。
进一步地,镜像服务更新模块4B通过采集各个容器应用4C各自对应的访问信息,来更新对应的数据预加载列表,并将更新的数据预加载列表发送给镜像中心4A,这样,镜像中心4A可以根据更新的数据预加载列表来准备对应更新的应用数据,使得应用数据能够满足容器应用4C在运行时对应用数据最新的访问需求,避免容器应用4C在启动时去加载需要的应用数据,影响容器应用4C的快速启动和运行,降低用户体验。
图6为本说明书实施例提供的一种容器应用启动装置的结构示意图,本说明书实施例提供的容器应用启动装置应用于服务器。
确定模块601,确定与容器应用的应用标识对应的应用数据。
发送模块602,向所述应用标识对应的容器应用下发所述应用数据,使得所述容器应用预先加载所述应用数据,在所述容器应用启动时,运行所述应用数据。
可选地,确定与所述容器应用的标识对应的应用数据,包括:利用所述容器应用的应用标识获取所述应用数据的访问信息;根据所述应用数据的访问信息获取与所述容器应用的应用标识对应的所述应用数据。
可选地,确定与所述容器应用的应用标识对应的应用数据,包括:判断所述容器应用的应用标识对应的应用数据是否具有更新版本;若是,则获取更新版本的应用数据。
本说明书实施例提供的一种容器应用启动装置,容器应用对应的服务器通过确定与容器应用的应用标识对应的应用数据,将确定的应用数据下发给对应的容器应用,使得容器应用可以预先加载接收到的应用数据,这样,容器应用在启动过程中,可以运行预先加载的应用数据,减少了容器应用在启动过程中下载和装载应用数据的进程,实现容器应用的快速启动和运行,提升用户体验。
图7为本说明书实施例提供的一种容器应用启动装置的结构示意图,本说明书实 施例提供的容器应用启动装置应用于服务器。
采集模块701,在容器应用运行时,采集所述容器应用对应用数据的访问信息。
更新模块702,根据所述访问信息所对应的应用数据更新已存的与所述容器应用对应的应用数据,以便向所述容器应用下发更新的应用数据,使得所述容器应用预先加载所述更新的应用数据,以在所述容器应用启动时,运行所述更新的应用数据。
本说明书实施例提供的一种容器应用启动装置,容器应用对应的服务器通过确定与容器应用的应用标识对应的应用数据,将确定的应用数据下发给对应的容器应用,使得容器应用可以预先加载接收到的应用数据,这样,容器应用在启动过程中,可以运行预先加载的应用数据,减少了容器应用在启动过程中下载和装载应用数据的进程,实现容器应用的快速启动和运行,提升用户体验。
图8为本说明书实施例提供的一种容器应用启动装置的结构示意图,本说明书实施例提供的容器应用启动装置应用于容器应用。
接收模块801,接收所述容器应用对应的服务器发送的应用数据。
预加载模块802,预先加载所述应用数据,以便在所述容器应用启动时,运行所述应用数据。
本说明书实施例提供的一种容器应用启动装置,容器应用对应的服务器通过确定与容器应用的应用标识对应的应用数据,将确定的应用数据下发给对应的容器应用,使得容器应用可以预先加载接收到的应用数据,这样,容器应用在启动过程中,可以运行预先加载的应用数据,减少了容器应用在启动过程中下载和装载应用数据的进程,实现容器应用的快速启动和运行,提升用户体验。
基于同一发明构思,本说明书实施例还提供一种电子设备,包括至少一个处理器及存储器,存储器存储有程序,并且被配置成由至少一个处理器执行以下步骤:确定与容器应用的应用标识对应的应用数据;向所述应用标识对应的容器应用下发所述应用数据,使得所述容器应用预先加载所述应用数据,在所述容器应用启动时,运行所述应用数据。
其中,处理器的其他功能还可以参见上述实施例中记载的内容,这里不再一一赘述。
基于同一发明构思,本说明书实施例还提供一种计算机可读存储介质,包括与电 子设备结合使用的程序,程序可被处理器执行以完成以下步骤:确定与容器应用的应用标识对应的应用数据;向所述应用标识对应的容器应用下发所述应用数据,使得所述容器应用预先加载所述应用数据,在所述容器应用启动时,运行所述应用数据。
其中,处理器的其他功能还可以参见上述实施例中记载的内容,这里不再一一赘述。
基于同一发明构思,本说明书实施例还提供一种电子设备,包括至少一个处理器及存储器,存储器存储有程序,并且被配置成由至少一个处理器执行以下步骤:在容器应用运行时,采集所述容器应用对应用数据的访问信息;根据所述访问信息所对应的应用数据更新已存的与所述容器应用对应的应用数据,以便向所述容器应用下发更新的应用数据,使得所述容器应用预先加载所述更新的应用数据,以在所述容器应用启动时,运行所述更新的应用数据。
其中,处理器的其他功能还可以参见上述实施例中记载的内容,这里不再一一赘述。
基于同一发明构思,本说明书实施例还提供一种计算机可读存储介质,包括与电子设备结合使用的程序,程序可被处理器执行以完成以下步骤:在容器应用运行时,采集所述容器应用对应用数据的访问信息;根据所述访问信息所对应的应用数据更新已存的与所述容器应用对应的应用数据,以便向所述容器应用下发更新的应用数据,使得所述容器应用预先加载所述更新的应用数据,以在所述容器应用启动时,运行所述更新的应用数据。
其中,处理器的其他功能还可以参见上述实施例中记载的内容,这里不再一一赘述。
基于同一发明构思,本说明书实施例还提供一种电子设备,包括至少一个处理器及存储器,存储器存储有程序,并且被配置成由至少一个处理器执行以下步骤:接收所述容器应用对应的服务器发送的应用数据;预先加载所述应用数据,以便在所述容器应用启动时,运行所述应用数据。
其中,处理器的其他功能还可以参见上述实施例中记载的内容,这里不再一一赘述。
基于同一发明构思,本说明书实施例还提供一种计算机可读存储介质,包括与电子设备结合使用的程序,程序可被处理器执行以完成以下步骤:接收所述容器应用对应 的服务器发送的应用数据,所述应用数据是所述服务器确定的;预先加载所述应用数据,以便在所述容器应用启动时,运行所述应用数据。
其中,处理器的其他功能还可以参见上述实施例中记载的内容,这里不再一一赘述。
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(例如,对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程应用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除 了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
为了描述的方便,描述以上装置时以功能分为各种模块和/或各种单元分别描述。当然,在实施本申请时可以把各模块和/或各单元的功能在同一个或多个软件和/或硬件中实现。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明说明书实施例中的方法、系统、装置、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程数据处理设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程数据处理设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部 分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求保护范围之内。

Claims (19)

  1. 一种容器应用启动方法,应用于服务器,包括:
    确定与容器应用的应用标识对应的应用数据;
    向所述应用标识对应的容器应用下发所述应用数据,使得所述容器应用预先加载所述应用数据,在所述容器应用启动时,运行所述应用数据。
  2. 如权利要求1所述的方法,确定与所述容器应用的标识对应的应用数据,包括:
    利用所述容器应用的应用标识获取所述应用数据的访问信息;
    根据所述应用数据的访问信息获取与所述容器应用的应用标识对应的所述应用数据。
  3. 如权利要求2所述的方法,根据所述应用数据的访问信息获取与所述容器应用的应用标识对应的所述应用数据,包括:
    按照所述访问信息的时序选择满足预设时序条件的应用数据。
  4. 如权利要求2所述的方法,利用所述容器应用的应用标识获取所述应用数据的访问信息,包括:
    根据所述容器应用的应用标识,获取所述容器应用所在的至少两个节点中的访问信息。
  5. 如权利要求4所述的方法,根据所述应用数据的访问信息获取与所述容器应用的应用标识对应的所述应用数据,包括:
    根据至少两个所述节点中的访问信息获取与各所述节点对应的应用数据;
    确定各个所述应用数据的访问量;
    根据所述访问量从各所述节点对应的应用数据中选择向所述容器应用下发的应用数据。
  6. 如权利要求1所述的方法,确定与所述容器应用的应用标识对应的应用数据,包括:
    判断所述容器应用的应用标识对应的应用数据是否具有更新版本;
    若是,则获取更新版本的应用数据。
  7. 一种容器应用启动方法,应用于服务器,包括:
    在容器应用运行时,采集所述容器应用对应用数据的访问信息;
    根据所述访问信息所对应的应用数据更新已存的与所述容器应用对应的应用数据,以便向所述容器应用下发更新的应用数据,使得所述容器应用预先加载所述更新的应用数据,以在所述容器应用启动时,运行所述更新的应用数据。
  8. 一种容器应用启动方法,应用于容器应用,包括:
    接收所述容器应用对应的服务器发送的应用数据;
    预先加载所述应用数据,以便在所述容器应用启动时,运行所述应用数据。
  9. 如权利要求8所述的方法,在接收所述容器应用对应的服务器发送的应用数据之前,还包括:
    向所述服务器发送所述容器应用对应用数据的访问信息,使得所述服务器根据所述访问信息获取与所述容器应用的应用标识对应的应用数据。
  10. 如权利要求9所述的方法,向所述服务器发送所述容器应用对应用数据的访问信息,包括:
    所述容器应用所在的至少两个节点向所述服务器发送所述访问信息。
  11. 一种容器应用启动系统,包括:
    服务器,确定与容器应用的应用标识对应的应用数据,向所述容器应用下发所述应用数据;
    容器应用,接收所述服务器发送的所述应用数据,预先加载所述应用数据,以便在所述容器应用启动时,运行所述应用数据。
  12. 一种容器应用启动装置,应用于服务器,包括:
    确定模块,确定与容器应用的应用标识对应的应用数据;
    发送模块,向所述应用标识对应的容器应用下发所述应用数据,使得所述容器应用预先加载所述应用数据,在所述容器应用启动时,运行所述应用数据。
  13. 如权利要求12所述的装置,确定与所述容器应用的标识对应的应用数据,包括:
    利用所述容器应用的应用标识获取所述应用数据的访问信息;
    根据所述应用数据的访问信息获取与所述容器应用的应用标识对应的所述应用数据。
  14. 如权利要求12所述的装置,确定与所述容器应用的应用标识对应的应用数据,包括:
    判断所述容器应用的应用标识对应的应用数据是否具有更新版本;
    若是,则获取更新版本的应用数据。
  15. 一种容器应用启动装置,应用于服务器,包括:
    获取模块,在容器应用运行时,采集所述容器应用对应用数据的访问信息;
    更新模块,根据所述访问信息所对应的应用数据更新已存的与所述容器应用对应的 应用数据,以便向所述容器应用下发更新的应用数据,使得所述容器应用预先加载所述更新的应用数据,以在所述容器应用启动时,运行所述更新的应用数据。
  16. 一种容器应用启动装置,应用于容器应用,包括:
    接收模块,接收所述容器应用对应的服务器发送的应用数据;
    预加载模块,预先加载所述应用数据,以便在所述容器应用启动时,运行所述应用数据。
  17. 一种电子设备,包括至少一个处理器及存储器,存储器存储有程序,并且被配置成至少一个处理器执行以下步骤:
    确定与容器应用的应用标识对应的应用数据;
    向所述应用标识对应的容器应用下发所述应用数据,使得所述容器应用预先加载所述应用数据,在所述容器应用启动时,运行所述应用数据。
  18. 一种电子设备,包括至少一个处理器及存储器,存储器存储有程序,并且被配置成至少一个处理器执行以下步骤:
    在容器应用运行时,采集所述容器应用对应用数据的访问信息;
    根据所述访问信息所对应的应用数据更新已存的与所述容器应用对应的应用数据,以便向所述容器应用下发更新的应用数据,使得所述容器应用预先加载所述更新的应用数据,以在所述容器应用启动时,运行所述更新的应用数据。
  19. 一种电子设备,包括至少一个处理器及存储器,存储器存储有程序,并且被配置成至少一个处理器执行以下步骤:
    接收所述容器应用对应的服务器发送的应用数据;
    预先加载所述应用数据,以便在所述容器应用启动时,运行所述应用数据。
PCT/CN2020/132688 2020-02-17 2020-11-30 一种容器应用启动方法、系统、装置及电子设备 WO2021164368A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010097685.1A CN111273965B (zh) 2020-02-17 2020-02-17 一种容器应用启动方法、系统、装置及电子设备
CN202010097685.1 2020-02-17

Publications (1)

Publication Number Publication Date
WO2021164368A1 true WO2021164368A1 (zh) 2021-08-26

Family

ID=71000239

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/132688 WO2021164368A1 (zh) 2020-02-17 2020-11-30 一种容器应用启动方法、系统、装置及电子设备

Country Status (2)

Country Link
CN (1) CN111273965B (zh)
WO (1) WO2021164368A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114039974A (zh) * 2021-10-20 2022-02-11 支付宝(杭州)信息技术有限公司 一种云容器生成方法、装置、存储介质及电子设备
CN114039974B (zh) * 2021-10-20 2024-05-31 支付宝(杭州)信息技术有限公司 向用户提供设备服务的方法、装置、存储介质及电子设备

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111273965B (zh) * 2020-02-17 2021-10-29 支付宝(杭州)信息技术有限公司 一种容器应用启动方法、系统、装置及电子设备
CN116560804B (zh) * 2023-07-10 2023-09-05 中国人民解放军国防科技大学 一种使用多个容器镜像共同运行容器的方法和装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015149017A1 (en) * 2014-03-28 2015-10-01 Amazon Technologies, Inc. Implementation of a service that coordinates the placement and execution of containers
US20160232252A1 (en) * 2013-09-27 2016-08-11 Beijing Qihoo Technology Company Limited Method for loading webpage, device and browser thereof
CN108021614A (zh) * 2017-08-18 2018-05-11 口碑(上海)信息技术有限公司 一种用于页面动态加载的方法及系统
CN108595246A (zh) * 2018-03-15 2018-09-28 阿里巴巴集团控股有限公司 一种运行应用的方法、装置及设备
CN109684034A (zh) * 2018-12-12 2019-04-26 杭州数梦工场科技有限公司 启动容器应用的方法及装置
CN109814941A (zh) * 2018-11-27 2019-05-28 努比亚技术有限公司 一种应用启动方法、终端及计算机可读存储介质
CN111273965A (zh) * 2020-02-17 2020-06-12 支付宝(杭州)信息技术有限公司 一种容器应用启动方法、系统、装置及电子设备

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2723781T3 (es) * 2011-08-03 2019-09-02 Amadeus Sas Método y sistema para mantener consistencia fuerte de contenidos replicados distribuidos en un sistema de cliente/servidor
CN103533063A (zh) * 2013-10-18 2014-01-22 北京华胜天成科技股份有限公司 一种可实现web应用资源动态扩展的方法及装置
US9891893B2 (en) * 2014-05-21 2018-02-13 N.Io Innovation, Llc System and method for a development environment for building services for a platform instance
CN104036202B (zh) * 2014-06-27 2017-12-19 中科创达软件股份有限公司 一种隔离企业应用的方法和设备
CN105335174B (zh) * 2014-07-15 2018-11-20 阿里巴巴集团控股有限公司 一种非OSGi的Java应用程序调用OSGi服务的方法及装置
CN106547582A (zh) * 2015-09-22 2017-03-29 阿里巴巴集团控股有限公司 一种预处理方法及装置
US10032032B2 (en) * 2015-12-18 2018-07-24 Amazon Technologies, Inc. Software container registry inspection
CN105847045B (zh) * 2016-01-04 2019-06-18 中国电子科技网络信息安全有限公司 一种基于Docker容器的应用封装系统及管理方法
CN106020843A (zh) * 2016-05-31 2016-10-12 乐视控股(北京)有限公司 一种系统功能的更新方法、系统、终端设备及服务器
CN106100908B (zh) * 2016-08-16 2024-02-20 南京航空航天大学 一种稳定的通用型数据状态采集兼远程监控多功能系统
CN106919313A (zh) * 2017-04-21 2017-07-04 维沃移动通信有限公司 一种应用程序的启动方法及移动终端
CN108536481A (zh) * 2018-02-28 2018-09-14 努比亚技术有限公司 一种应用程序启动方法、移动终端及计算机存储介质
CN108710513B (zh) * 2018-05-15 2020-07-21 Oppo广东移动通信有限公司 应用程序启动方法、装置、存储介质及终端
CN108958927B (zh) * 2018-05-31 2023-04-18 康键信息技术(深圳)有限公司 容器应用的部署方法、装置、计算机设备和存储介质
CN110187937A (zh) * 2019-06-06 2019-08-30 北京金山安全软件有限公司 一种配置信息处理方法、装置、电子设备及可读存储介质
CN110519401B (zh) * 2019-07-05 2022-06-10 中国平安财产保险股份有限公司 提高网络访问成功率的方法、装置、设备及存储介质
CN110381346B (zh) * 2019-08-08 2022-09-27 上海尚往网络科技有限公司 一种广告展示方法及设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160232252A1 (en) * 2013-09-27 2016-08-11 Beijing Qihoo Technology Company Limited Method for loading webpage, device and browser thereof
WO2015149017A1 (en) * 2014-03-28 2015-10-01 Amazon Technologies, Inc. Implementation of a service that coordinates the placement and execution of containers
CN108021614A (zh) * 2017-08-18 2018-05-11 口碑(上海)信息技术有限公司 一种用于页面动态加载的方法及系统
CN108595246A (zh) * 2018-03-15 2018-09-28 阿里巴巴集团控股有限公司 一种运行应用的方法、装置及设备
CN109814941A (zh) * 2018-11-27 2019-05-28 努比亚技术有限公司 一种应用启动方法、终端及计算机可读存储介质
CN109684034A (zh) * 2018-12-12 2019-04-26 杭州数梦工场科技有限公司 启动容器应用的方法及装置
CN111273965A (zh) * 2020-02-17 2020-06-12 支付宝(杭州)信息技术有限公司 一种容器应用启动方法、系统、装置及电子设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114039974A (zh) * 2021-10-20 2022-02-11 支付宝(杭州)信息技术有限公司 一种云容器生成方法、装置、存储介质及电子设备
CN114039974B (zh) * 2021-10-20 2024-05-31 支付宝(杭州)信息技术有限公司 向用户提供设备服务的方法、装置、存储介质及电子设备

Also Published As

Publication number Publication date
CN111273965B (zh) 2021-10-29
CN111273965A (zh) 2020-06-12

Similar Documents

Publication Publication Date Title
CN110008262B (zh) 一种数据导出方法及装置
US20190155667A1 (en) Managing delivery of code and dependent data using application containers
US9380093B2 (en) Mobile device application streaming
US20200174922A1 (en) Resource reclamation method and apparatus
JP2020509445A (ja) ブロックチェーンコンセンサス形成の方法およびデバイス
WO2021223658A1 (zh) 小程序的更新
WO2021164368A1 (zh) 一种容器应用启动方法、系统、装置及电子设备
TWI767106B (zh) 配置支付流程、執行支付流程的方法、裝置及設備
CN108628688B (zh) 一种消息处理方法、装置及设备
WO2021000570A1 (zh) 模型加载方法及系统、控制节点及执行节点
TW201935343A (zh) 檔案處理方法、裝置及設備
CN108549562A (zh) 一种图像加载的方法及装置
WO2021143371A1 (zh) 一种小程序页面的生成方法、装置及设备
CN110851285B (zh) 一种基于gpu虚拟化的资源复用方法、装置及设备
CN110955720A (zh) 一种数据加载方法、装置及系统
US11593003B2 (en) Method and systems for recommending storage management actions based on capacities of storage systems
US11176161B2 (en) Data processing method, apparatus, and device
US11246086B2 (en) Method for initiating and terminating a scan of a wireless device, and wireless device
US10929191B2 (en) Loading models on nodes having multiple model service frameworks
CN115981751B (zh) 一种近存计算系统以及近存计算方法、装置、介质及设备
CN117348999B (zh) 一种业务执行系统及业务执行方法
US11474837B2 (en) Method and apparatus for efficient programming of electronic payment processing
CN116167437B (zh) 一种芯片管理系统、方法、设备及存储介质
CN117667309A (zh) 一种快照镜像的加载方法、装置、存储介质及电子设备
CN116107586A (zh) 一种基于Protobuf的接口管理方法、设备及介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20920671

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20920671

Country of ref document: EP

Kind code of ref document: A1