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

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

Pending Publication Date: 2021-04-23
ZTE CORP
View PDF1 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because the number of microservices is large, the number of version files is also relatively large, which will lead to a relatively large total version file and a long time-consuming transfer of the total version file, resulting in the upgrade file taking up a lot of disk space and low upgrade efficiency

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
  • Micro-service upgrading file sending method and receiving method, equipment and storage medium
  • Micro-service upgrading file sending method and receiving method, equipment and storage medium
  • Micro-service upgrading file sending method and receiving method, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

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 relates to a micro-service upgrading file sending method and receiving method, equipment and a storage medium. The embodiment of the invention comprises the following steps: extracting a common file used for upgrading each micro-service and a plurality of private files correspondingly used for upgrading each micro-service, and packaging the common file and the plurality of private files to form a micro-service upgrading file to be output. According to the scheme provided by the embodiment of the invention, only one or a few of common files in the micro-service upgrading file are stored, so that the storage space occupied by the micro-service upgrading file can be effectively reduced, and the upgrading efficiency of the micro-service is improved.

Description

technical field [0001] The embodiments of the present application relate to but are not limited to the field of communication technologies, and in particular relate to a microservice upgrade file sending method, receiving method, device, and storage medium. Background technique [0002] Microservice architecture is now widely used in various systems. Microservices decouple the solution by decomposing functions into discrete services, usually splitting a large single application or service into several or even dozens of microservices. [0003] At present, if it is necessary to upgrade the version of the microservice system, each microservice upgrade file is usually stored separately as a version file, and then all the version files are packaged together into a total version file and released for upgrade. Because the number of microservices is large, the number of version files is relatively large, which will result in a relatively large total version file and a long time-con...

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 Applications(China)
IPC IPC(8): H04L29/08G06F8/65G06F8/71
CPCH04L67/06G06F8/65G06F8/71G06F8/61G06F8/63H04L67/1095
Inventor 张泽建荣芳吴永航
Owner ZTE CORP