Cross-machine-room cloud mobile phone efficient upgrading method based on nginx

By introducing nginx and proxy programs in the cloud mobile phone system, the transmission of system image files is converted from public network to intranet transmission, and multi-threading and sharding download technology is used to solve the slow public network transmission speed and bandwidth usage in the cloud mobile phone system upgrade. Serious problems have achieved a rapid, stable and secure upgrade process, significantly improving overall performance and business stability.

CN119011395APending Publication Date: 2024-11-22SHENZHEN VIRTUAL CLUSTERS INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410961105.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

When the cloud mobile phone system is upgraded, the public network transmission speed is slow and unstable, resulting in serious bandwidth usage, which may cause paralysis of the central computer room and affect business continuity and user experience.

Method used

The nginx and proxy programs are used to convert the transmission of system image files from the public network to the intranet transmission, and multi-threading and sharding download technology is used, combined with the nginx server's caching and encryption technology to ensure the fast, stable and secure transmission.

Benefits of technology

It realizes the fast, efficient and stable upgrade of cloud mobile phone system mirroring, reduces the use of public network bandwidth, reduces the pressure on the central computer room, improves overall performance and business stability, and avoids slow transmission speed and poor transmission speed in traditional solutions. Stability issue.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011395A_ABST
    Figure CN119011395A_ABST
Patent Text Reader

Abstract

The invention provides a cross-machine-room cloud mobile phone efficient upgrading method based on nginx. The method comprises the following steps of transmitting a system mirror image to each edge machine room through a public network; the edge machine room stores the received system mirror image in a specified directory of the nginx server through an agent program, and records a mirror image file address; and the cloud mobile phone in the edge machine room downloads the system mirror image from the intranet nginx server for upgrading according to the recorded system mirror image address. Through the method, the system mirror image file is converted from public network transmission to intranet transmission, the system upgrading speed and stability are greatly improved, occupation of public network bandwidth resources is reduced, and the pressure of a central machine room is reduced. Meanwhile, intranet transmission is combined with a multi-thread and fragment downloading technology, downloading efficiency and stability are further improved, and bandwidth use is optimized in cooperation with a cache mechanism of the nginx server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud computing, and in particular to an efficient upgrade method for cross-computer room cloud phones based on nginx. Background Art

[0002] With the rapid development of cloud computing technology, cloud phones have gradually become an important part of efficient enterprise operations. However, with the increase in business volume, a single central computer room can no longer meet the growing demand, and the construction of multi-edge computer rooms has become an inevitable choice. Although the deployment of multi-edge computer rooms effectively solves the problem of business expansion, it also brings new challenges, especially in the upgrade of cloud phone systems.

[0003] like Figure 1 As shown, currently, the cloud phone system upgrade mainly relies on the method of transmitting the system image file from the central computer room through the public network. However, this method has the following main problems:

[0004] Slow and unstable transmission speed:

[0005] Since the central computer room and edge computer room are deployed in different cities or even different provinces, the transmission distance is long, resulting in slow and unstable public network transmission speed. This problem is particularly prominent when transmitting large files (for example, system image files are usually between 3GB and 5GB);

[0006] The large-scale transmission of system image files occupies the public network bandwidth resources between the central computer room and the edge computer room. As the number of edge computer rooms and cloud phones increases, the bandwidth occupancy problem becomes more serious, which may affect the normal operation of other services.

[0007] When cloud phones in multiple edge computer rooms download system images from the central computer room at the same time, the bandwidth and server pressure in the central computer room increase suddenly, which may lead to paralysis, resulting in business interruption and irreparable losses to the enterprise.

[0008] Due to slow and unstable transmission speed, cloud phone system upgrades take a long time, resulting in poor user experience, which affects user satisfaction with cloud services. Summary of the invention

[0009] In order to solve the above problems, the present invention provides an efficient upgrade method for cloud phones across computer rooms based on nginx. By introducing nginx and a proxy program, the transmission of system image files is converted from the public network to intranet transmission, thereby achieving fast, efficient, stable and secure upgrades of cloud phone system images across computer rooms.

[0010] The present invention is implemented by the following technical scheme: an efficient upgrade method of a cloud phone across computer rooms based on nginx, comprising the following steps:

[0011] Step 1: Transmit the system image to each edge computer room through the public network;

[0012] Step 2: In the edge computer room, the received system image is stored in the specified directory of the nginx server through the proxy program, and the image file address is recorded;

[0013] Step 3: The cloud phone in the edge computer room downloads the system image from the intranet nginx server according to the recorded system image address for upgrade.

[0014] As a preferred technical solution, after receiving the system image, the agent program of the edge computer room moves the image file to the directory of the nginx server and automatically updates the file address record.

[0015] As a preferred technical solution, when the cloud phone downloads the system image from the intranet nginx server, multi-thread download technology is used to speed up the download speed.

[0016] As a preferred technical solution, the system image file is downloaded using a fragment downloading technology to improve the stability and efficiency of the download.

[0017] As a preferred technical solution, the nginx server is configured with a cache mechanism for caching commonly used system image files to reduce resource waste caused by repeated downloading.

[0018] As a preferred technical solution, the system image file adopts encryption technology during transmission to ensure data security during transmission.

[0019] As a preferred technical solution, the nginx server in the edge computer room is regularly synchronized with the central computer room to ensure that the versions of the system images are consistent.

[0020] As a preferred technical solution, the agent program of the edge computer room includes a monitoring module for monitoring the completion of the public network transmission and triggering the movement and record update operations of the mirror file after the transmission is completed.

[0021] The beneficial effects of the present invention are as follows: the present invention provides an efficient upgrade method for cloud phones across computer rooms based on nginx, which realizes fast, efficient, stable and secure upgrade of system images by converting the transmission of system image files from the public network to the intranet, and significantly improves the overall performance of cloud phone system upgrades. The method introduces nginx and proxy programs to enable system image files to be efficiently transmitted through the intranet in the edge computer room, avoiding the problems of slow and unstable public network transmission, and greatly improving transmission efficiency and stability.

[0022] In addition, this method greatly reduces the occupation of public network bandwidth resources through intranet transmission, reduces the transmission pressure of the central computer room, prevents the central computer room from being paralyzed due to bandwidth resource shortage, and effectively ensures the continuity and stability of the enterprise's business;

[0023] At the same time, cloud phones use multi-threading and segmented downloading technology to further improve download speed and stability. Combined with the caching mechanism of the nginx server, it significantly reduces the waste of resources caused by repeated downloads and optimizes bandwidth utilization efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0025] Figure 1 Upgrade the flow chart for traditional solutions;

[0026] Figure 2 It is a schematic diagram of the cross-computer room distribution system image of the present invention. DETAILED DESCRIPTION

[0027] All features disclosed in this specification, or steps in all methods or processes disclosed, except mutually exclusive features and / or steps, can be combined in any manner.

[0028] Any feature disclosed in this specification (including any additional claims, abstract and drawings), unless otherwise stated, may be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.

[0029] like Figure 2 As shown, an efficient upgrade method of a cloud phone across computer rooms based on nginx of the present invention comprises the following steps:

[0030] 1. Transmit the system image to each edge computer room through the public network;

[0031] 2. In the edge computer room, the received system image is stored in the specified directory of the nginx server through the proxy program, and the image file address is recorded;

[0032] 3. The cloud phone in the edge computer room downloads the system image from the intranet nginx server according to the recorded system image address for upgrade.

[0033] The specific steps are as follows:

[0034] (1) The central computer room generates the latest system image file and transmits it to each edge computer room through the public network;

[0035] (2) The agent program in the edge computer room monitors the transmission status. After the transmission is completed, the image file is stored in the specified directory of the nginx server and the file address is recorded;

[0036] (3) The cloud phone in the edge computer room obtains the recorded image file address, downloads the system image from the nginx server through the intranet, and performs system upgrades;

[0037] (4) During the download process, the cloud phone uses multi-threading and fragmented downloading technology to ensure the efficiency and stability of the download;

[0038] (5) Configure the caching mechanism on the nginx server to cache commonly used system image files and reduce repeated downloads;

[0039] (6) The nginx server in the edge computer room regularly synchronizes the system image file with the central computer room to ensure version consistency;

[0040] (7) Encryption technology is used throughout the entire process to ensure the security of transmitted data.

[0041] The specific working principle is as follows:

[0042] Preparation and transmission of system image:

[0043] The central computer room generates and stores the latest version of the system image file.

[0044] The system image file is transmitted to each edge computer room via the public network. The purpose of public network transmission is to distribute the latest system image to multiple edge computer rooms to reduce the transmission pressure of the central computer room.

[0045] Agent Processing:

[0046] After the edge computer room receives the system image file, the agent program stores the image file in the specified directory of the nginx server in the edge computer room. The agent program also records the storage address of the system image file for subsequent download and use by the cloud phone.

[0047] The proxy program monitors the transmission of the image file in real time and automatically moves the image file to the directory of the nginx server after the transmission is completed.

[0048] Cloud phone system upgrade:

[0049] The cloud phone in the edge computer room obtains the system image file address recorded by the proxy program. The cloud phone downloads the system image file from the nginx server in the edge computer room through the intranet to upgrade the system. Because it is transmitted through the intranet, the download speed is fast and stable, avoiding the uncertainty and bandwidth limitation of public network transmission.

[0050] When the cloud phone downloads system image files on the intranet, it uses multi-threaded download and fragmented download technology to further improve download speed and stability.

[0051] Cache mechanism of nginx server:

[0052] In order to optimize resource utilization, the nginx server is configured with a cache mechanism to cache commonly used system image files. In this way, when the same version of the system image file is requested multiple times, it can be directly obtained from the cache, reducing the waste of resources caused by repeated downloads.

[0053] The nginx server in the edge computer room is synchronized with the central computer room regularly to ensure the consistency of the system image version and prevent upgrade failures or problems caused by version inconsistency.

[0054] Security of the transmission process:

[0055] To ensure data security during transmission, encryption technology is used in both public and intranet transmission of system image files. Encryption technology protects the integrity and confidentiality of data and prevents data from being stolen or tampered with during transmission.

[0056] The present invention simply introduces nginx + computer room proxy program to cleverly convert system image files from public network transmission to intranet transmission. It realizes cross-computer room cloud phone system image upgrade: fast, stable, low bandwidth occupation, no pressure on the central computer room, and realizes the fast, efficient and stable operation of the company's business. It solves the traditional solution of pulling system images from the central computer room for upgrading, resulting in slow upgrade speed, instability, large bandwidth occupation, and even paralysis of the central computer room in serious cases.

[0057] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that are not conceived through creative work should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope defined in the claims.

Claims

1. An efficient upgrade method for cloud phones across computer rooms based on nginx, characterized in that: The following steps are involved: Step 1: Transmit the system image to each edge computer room through the public network; Step 2: In the edge computer room, the received system image is stored in the specified directory of the nginx server through the proxy program, and the image file address is recorded; Step 3: The cloud phone in the edge computer room downloads the system image from the intranet nginx server according to the recorded system image address for upgrade.

2. According to claim 1, the efficient upgrade method of cross-computer room cloud phone based on nginx is characterized in that: After receiving the system image, the agent program of the edge computer room moves the image file to the directory of the nginx server and automatically updates the file address record.

3. According to claim 1 or 2, the efficient upgrade method of cross-computer room cloud phone based on nginx is characterized in that: When the cloud phone downloads the system image from the intranet nginx server, a multi-thread download technology is used to speed up the download speed.

4. According to claim 1, the efficient upgrade method of cross-computer room cloud phone based on nginx is characterized in that: The system image file is downloaded using a piecewise downloading technique to improve the stability and efficiency of the download.

5. According to claim 1, the efficient upgrade method of cross-computer room cloud phone based on nginx is characterized in that: The nginx server is configured with a cache mechanism for caching commonly used system image files to reduce resource waste caused by repeated downloading.

6. According to claim 1, the efficient upgrade method of cross-computer room cloud phone based on nginx is characterized in that: The system image file adopts encryption technology during the transmission process to ensure the data security during the transmission process.

7. According to claim 1, the efficient upgrade method of cross-computer room cloud phone based on nginx is characterized in that: The nginx server in the edge computer room is synchronized with the central computer room regularly to ensure the consistency of the system image version.

8. According to claim 1, the efficient upgrade method of cross-computer room cloud phone based on nginx is characterized in that: The agent program of the edge computer room includes a monitoring module for monitoring the completion of the public network transmission and triggering the movement and record update operations of the mirror file after the transmission is completed.