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

Application data migration method and device, electronic equipment and storage medium

A technology for applying data and storage media, which is applied in the field of data processing and can solve problems such as the inability to meet the needs of saving state data

Pending Publication Date: 2021-03-26
BEIJING GRIDSUM TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above problems, an embodiment of the present invention provides an application data migration method, device, electronic device, and storage medium to solve the problem that the application that needs to save state data cannot meet its requirements for saving state data

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
  • Application data migration method and device, electronic equipment and storage medium
  • Application data migration method and device, electronic equipment and storage medium
  • Application data migration method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] refer to figure 1 , shows a flow chart of steps of a method for migrating application data according to Embodiment 1 of the present invention.

[0040] The application data migration method in the embodiment of the present invention includes the following steps:

[0041] Step 101, when the application is started in the container, start the data import process in the container.

[0042] Step 102: When the data importing process finds that there is status data to be imported corresponding to the application from the preset storage medium, import the status data to be imported into the container, so that the application loads The state data to be imported.

[0043] Step 103, when the application is running in the container, start a data export process in the container.

[0044] Step 104: Obtain the state data to be exported corresponding to the application through the data export process, and export the state data to be exported to the storage medium as newly added stat...

Embodiment 2

[0052] refer to figure 2 , shows a flowchart of steps of a method for migrating application data according to Embodiment 2 of the present invention.

[0053] The application data migration method in the embodiment of the present invention includes the following steps:

[0054] Step 201, when the application is started in the container, start the data import process in the container.

[0055] In the embodiment of the present invention, during the process of starting the application in the container, the data import process in the container can be started at any applicable time point. For example, when the application starts to start, or when the application starts to a set percentage, etc., this embodiment of the present invention does not limit this.

[0056] Step 202: When the data importing process finds that there is state data to be imported corresponding to the application from the preset storage medium, import the state data to be imported into the container, so that ...

Embodiment 3

[0091] refer to image 3 , shows a structural block diagram of an application data migration device according to Embodiment 3 of the present invention.

[0092] The application data migration device of the embodiment of the present invention includes:

[0093] The first starting module 301 is configured to start a data import process in the container when the application is started in the container. The application is an application that needs to save state data.

[0094] The import module 302 is configured to import the state data to be imported into the container when finding the state data to be imported corresponding to the application from the preset storage medium through the data import process, so that all The application loads the state data to be imported;

[0095] The second starting module 303 is configured to start a data export process in the container when the application is running in the container.

[0096] The export module 304 is configured to obtain the...

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

The invention provides an application data migration method and device, electronic equipment and a storage medium. The method comprises the steps that when an application is started in a container, adata import process located in the container is started, and the application needs to store state data; when to-be-imported state data corresponding to the application is found from a preset storage medium through the data importing process, importing the to-be-imported state data into the container, so that the application loads the to-be-imported state data; when the application runs in the container, starting a data export process located in the container; and obtaining to-be-exported state data corresponding to the application through the data export process, and exporting the to-be-exported state data to the storage medium to serve as newly added to-be-imported state data corresponding to the application. According to the method, migration of the state data needing to be stored in theapplication is achieved, and normal use of the application is guaranteed.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to an application data migration method, device, electronic equipment and storage medium. Background technique [0002] Container is a kind of sandbox technology. Sandbox is a technology that can install applications like containers, so that applications will not interfere with each other because there is a boundary, and applications loaded into containers can also be Easy to move around. Containerization technology actually guarantees the isolation between containers. Each container will have separate process management, network, file system, etc. Because of this, multiple different containers can be placed on the same host. run without interfering with each other. When the container finishes running, the resources in the entire container will be released. [0003] During the running of the container, two parts of data are mainly involved. One part is metadata, ...

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
IPC IPC(8): G06F9/455G06F9/50
CPCG06F9/45558G06F9/5022G06F2009/4557G06F2009/45583
Inventor 潘峰张秋生
Owner BEIJING GRIDSUM TECH CO LTD