Micro-service upgrading file sending method and receiving method, equipment and storage medium
A technology for upgrading files and sending methods, which is applied in the field of communication, can solve problems such as low upgrading efficiency, large total version files, and large disk space occupied by upgrading files, and achieve the effect of improving upgrading efficiency and reducing storage space
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1A
[0039] refer to figure 2 , the microservice upgrade file sending method in this example, including steps:
[0040] S1110, acquiring shared files used for each microservice upgrade;
[0041] S1120. Obtain a plurality of private files corresponding to each of the microservice upgrades;
[0042] S1130. Pack the shared file and multiple private files to form a microservice upgrade file and output it.
[0043] In some embodiments, the method of Example 1A is used to distribute upgrade files to a background device. Wherein, the background device may be a background server or a background terminal device. The background server can be a remote cloud server or a local server. The background terminal equipment may be a mobile terminal equipment or a non-mobile terminal equipment. Mobile terminal devices can be mobile phones, tablet computers, notebook computers, handheld computers, vehicle-mounted terminal devices, wearable devices, super mobile personal computers, netbooks or per...
example 2A
[0053] refer to Figure 4 , the microservice upgrade file receiving method of this example, including steps:
[0054] S2110. Obtain a microservice upgrade file, where the microservice upgrade file includes a shared file and multiple private files;
[0055] S2120, extracting the shared files in the microservice upgrade file and storing them in the public container of the microservice;
[0056] S2130, extracting multiple private files in the microservice upgrade file and correspondingly storing them in each business container of the microservice.
[0057] In some embodiments, corresponding to the microservice upgrade file sending method described in Example 1A, this example receives the microservice upgrade file released from the background device side from the microservice side through step S2110, and the microservice upgrade file can be a background device The side upgrades the file through the microservice released after executing steps S1110 to S1130 in Example 1A.
example 2B
[0059] Step S2130 In some embodiments, the private file is a private image corresponding to each business container of the microservice, that is, a unique file contained in some image layers of each business container image. The private file can be a private image corresponding to each business container of the microservice, that is, an image that excludes shared files from the original business container image.
[0060] Using the microservice upgrade file receiving method in this example, only one shared file is saved in the entire microservice upgrade file, and there are no duplicate files, which can effectively reduce the storage space occupied by the microservice upgrade file. Obviously, you can also choose to save a small number of shared files (less than the number of business containers), which can also achieve the effect of reducing the size of the microservice upgrade file.
[0061] Example 2B
[0062] refer to Figure 5 , compared to the method for receiving micros...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


