WO2016070566A1 - 云终端升级方法、系统、网管服务器及代理服务器 - Google Patents

云终端升级方法、系统、网管服务器及代理服务器 Download PDF

Info

Publication number
WO2016070566A1
WO2016070566A1 PCT/CN2015/075908 CN2015075908W WO2016070566A1 WO 2016070566 A1 WO2016070566 A1 WO 2016070566A1 CN 2015075908 W CN2015075908 W CN 2015075908W WO 2016070566 A1 WO2016070566 A1 WO 2016070566A1
Authority
WO
WIPO (PCT)
Prior art keywords
group
cloud
proxy server
cloud terminal
upgraded
Prior art date
Application number
PCT/CN2015/075908
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 WO2016070566A1 publication Critical patent/WO2016070566A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • the present invention relates to the field of communications, and in particular, to a cloud terminal upgrade method, system, network management server, and proxy server.
  • Cloud terminal products can be used not only in the desktop cloud, but also in the basic office of the communications industry, government and enterprise industries, and financial industry. Cloud terminal systems are diverse, and version changes are fast. Enterprises need to centrally upgrade and maintain large numbers of cloud terminals. How to make large-scale cloud terminal systems perform remote and rapid upgrades will be a primary problem to be solved. At present, there are two main types of upgrade methods for similar products of cloud terminals:
  • the terminal uses the hypertext transfer protocol (http) to download the image upgrade or mount to the NFS server upgrade.
  • http hypertext transfer protocol
  • each terminal establishes a connection, which requires high bandwidth for the server. If too many terminals are upgraded at the same time, the redundant data traffic on the network will be greatly increased, and the upgrade speed will be reduced. In this way, thousands of cloud terminals can be upgraded for 2-3 days. Obviously, it is not advisable to perform image upgrades on large-scale terminals.
  • the second method is to adopt the multicast upgrade mode: the network management server sets the proxy server and multicast upgrade information, and the terminal downloads the image file from the proxy server to complete the upgrade.
  • the proxy server will only send one data, and its destination address is the multicast group address. All terminals in the multicast group can receive the same data copy.
  • Multicast upgrade effectively solves the problem of centralized upgrade of multiple cloud terminals, and achieves efficient data transmission from point to point in the network, which can effectively save network bandwidth and reduce the load on servers and networks.
  • the experimental data shows that under the same network bandwidth resource, the 10 cloud terminal multicast upgrade mode saves twice the time than the NFS upgrade (unicast mode). If the number of terminals is more, the time saved is more.
  • the main technical problem to be solved by the present invention is to provide a cloud terminal upgrade method, a system, a network management server, and a proxy server, and to solve the problem that the existing multicast upgrade mode needs to change the original routing configuration information when the cloud terminal is upgraded across the network segment, resulting in security. Reduced problems.
  • the present invention provides a cloud terminal upgrade method, including:
  • the network management server groups the cloud terminals on different network segments according to the network segment, and one group includes the cloud terminals in one network segment;
  • the network management server selects one cloud terminal from each group of cloud terminals as a proxy server of each group;
  • the network management server sends the files to be upgraded to each proxy server in a unicast manner, so that other cloud terminals in each group obtain the upgrade file from the proxy server in the corresponding group to complete the upgrade.
  • the network management server selects one cloud terminal from each group of cloud terminals as the proxy server of each group, including:
  • the network management server selects a cloud terminal from the cloud terminals in the group and matches it with a preset cloud terminal list with multicast function. If the cloud terminal is in the cloud terminal list, the network terminal is used as a proxy server. Otherwise, select the next cloud terminal in the group to match.
  • the network management server before the network management server determines that the currently selected cloud terminal is in the cloud terminal list and uses it as a proxy server, the network management server further includes:
  • the network management server after the network management server selects one cloud terminal as the proxy server of each group from the cloud terminals of each group, the network management server further sends a multicast upgrade configuration parameter to the proxy server.
  • the multicast upgrade configuration parameter includes at least one of a multicast address, a transmission rate, and a transmission mode.
  • the present invention further provides a method for upgrading a cloud terminal.
  • the proxy server receives a file to be upgraded sent by the network management server in a unicast manner, and the proxy server uses the network terminal server to press the cloud terminal of different network segments according to the network. a cloud terminal selected from each group after the segments are grouped;
  • the proxy server sends the received file to be upgraded to other cloud terminals in its group for upgrade.
  • the proxy server sends the to-be-upgraded file to other cloud terminals in its group for upgrade by multicasting.
  • the method further includes:
  • the proxy server After the other cloud terminals in the group complete the upgrade according to the file to be upgraded, the proxy server completes its own upgrade according to the file to be upgraded.
  • the present invention further provides a cloud terminal upgrade method, including:
  • the network management server groups the cloud terminals on different network segments according to the network segment, and one group includes the cloud terminals in one network segment;
  • the network management server selects one cloud terminal from each group of cloud terminals as a proxy server of each group;
  • the network management server sends the files to be upgraded to each proxy server in unicast mode
  • the proxy server sends the received file to be upgraded to other cloud terminals in its group for upgrade.
  • the present invention further provides a network management server, including a grouping module, a selection module, and a sending module;
  • the grouping module is configured to group cloud terminals of different network segments by network segments, and one group includes cloud terminals in one network segment;
  • the selection module is configured to select one cloud terminal from each group of cloud terminals as a proxy server of each group;
  • the sending module is configured to send the file to be upgraded to each proxy server in a unicast manner, so that other cloud terminals in each group obtain the upgrade file from the proxy server in the corresponding group to complete the upgrade.
  • the selection module includes a selection submodule and a matching submodule
  • the selection sub-module is configured to select one cloud terminal from the cloud terminals in the group; the matching sub-module is configured to match the cloud terminal selected by the selection sub-module with a preset cloud terminal list with multicast function If the cloud terminal is in the cloud terminal list, it is used as a proxy server; otherwise, the selection sub-module is notified to select the next cloud terminal in the group to perform matching.
  • the selection module further includes a startup submodule, configured to start the group of the cloud terminal before the matching submodule uses the cloud terminal in the cloud terminal list as a proxy server. Broadcast service If the startup is successful, use it as a proxy server; otherwise, notify the selection sub-module to select the next cloud terminal to match in the group.
  • a startup submodule configured to start the group of the cloud terminal before the matching submodule uses the cloud terminal in the cloud terminal list as a proxy server. Broadcast service If the startup is successful, use it as a proxy server; otherwise, notify the selection sub-module to select the next cloud terminal to match in the group.
  • the present invention further provides a proxy server, wherein the proxy server is a cloud terminal selected by each network group after the network management server groups the cloud terminals of different network segments according to the network segment;
  • the proxy server includes an information receiving module and an information sending module;
  • the information receiving module is configured to receive a file to be upgraded sent by the network management server in a unicast manner
  • the information sending module is configured to send the received file to be upgraded to other cloud terminals in the group where the proxy server is located for upgrading.
  • the information sending module is a multicast sending module, and the file to be upgraded is sent to other cloud terminals in the group to be upgraded in a multicast manner.
  • the method further includes an upgrade module, configured to complete the proxy server according to the file to be upgraded after the other cloud terminals in the group in which the proxy server is located complete the upgrade according to the file to be upgraded. Its own upgrade.
  • the present invention further provides a cloud terminal upgrade system, including a network management server and a proxy server; the proxy server is configured by the network management server to group cloud terminals of different network segments according to network segments. a cloud terminal selected separately;
  • the network management server is configured to send the file to be upgraded to each proxy server in a unicast manner
  • the proxy server is configured to send the received file to be upgraded to other cloud terminals in the group in which it is located for upgrading.
  • the cloud terminal upgrade method, the system, the network management server, and the proxy server provided by the present invention for the cloud terminal across the network segment, the network management server may first group the cloud terminals by the network segment, and one group includes the cloud in one network segment.
  • the network management server selects a cloud terminal as a proxy server of each group from the cloud terminals of each group, and then sends the file to be upgraded to each proxy server by unicast, because it is sent through unicast, and thus The original routing configuration information does not need to be changed; after receiving the proxy server, each proxy server further sends the upgrade to the other cloud terminal to be upgraded in the group. It can be seen that the cloud terminal of the network segment does not need to change the original routing configuration information when upgrading, which can improve the security in the upgrade process and improve the satisfaction of the user experience.
  • FIG. 1 is a schematic structural diagram of a cloud terminal upgrade system according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic structural diagram of networking across network segments according to Embodiment 1 of the present invention.
  • FIG. 3 is a schematic structural diagram of a network management server according to Embodiment 1 of the present invention.
  • FIG. 4 is a schematic structural diagram of another network management server according to Embodiment 1 of the present invention.
  • FIG. 5 is a schematic structural diagram of a proxy server according to Embodiment 1 of the present invention.
  • FIG. 6 is a schematic structural diagram of another proxy server according to Embodiment 1 of the present invention.
  • FIG. 7 is a schematic flowchart of a method for upgrading a cloud terminal according to Embodiment 2 of the present invention.
  • FIG. 8 is a schematic flowchart of another cloud terminal upgrade method according to Embodiment 2 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the cloud terminal upgrade system 1 in this embodiment includes a network management server 2 and a proxy server 3; wherein the proxy server 3 is a network management server 2, and the cloud terminals of different network segments are grouped according to network segments.
  • One cloud terminal selected in each group; after grouping, the cloud terminals in each group are one network segment.
  • the network management server 2 divides it into group 1, group 2, group 3, and group 4, each of which There is a proxy server 3 in the group.
  • the network management server 2 is further configured to send the file to be upgraded to each proxy server 3 in a unicast manner;
  • the proxy server 3 is configured to send the received file to be upgraded to other cloud terminals in the group in which it is located for upgrading.
  • the network management server 2 includes a grouping module 21, a selection module 22, and a sending module 23;
  • the grouping module 21 is configured to group cloud terminals of different network segments by network segments, and one group includes cloud terminals in one network segment;
  • the selection module 22 is configured to select one cloud terminal from each group of cloud terminals as the proxy server 3 of each group;
  • the sending module 23 is configured to send the file to be upgraded to each proxy server 3 in a unicast manner, for example, uploading the file to be upgraded to the proxy server 3 in an NFS manner, so that other cloud terminals in each group can obtain the proxy from the corresponding group.
  • Server 3 obtains the upgrade file to complete the upgrade.
  • the selection module 22 includes a selection submodule and a matching submodule
  • the selection submodule is configured to select a cloud terminal from the cloud terminals in the group; the matching submodule is configured to match the cloud terminal selected by the selection submodule with a preset cloud terminal list with multicast function, for example, the cloud terminal is In the cloud terminal list, it indicates that the currently selected cloud terminal has a multicast function (that is, has a multicast parameter) as the proxy server 3; otherwise, the notification selection sub-module selects the next cloud terminal in the group to perform matching until Matches to a cloud terminal that satisfies the above conditions.
  • the selection module 22 further includes a startup submodule, which is configured to start the cloud terminal before the matching submodule uses the cloud terminal in the cloud terminal list as the proxy server 3.
  • the multicast service if the startup is successful, is used as the proxy server 3; otherwise, the notification selection sub-module selects the next cloud terminal in the group to perform matching.
  • the network management server 2 in this embodiment further includes a configuration module 24, configured to send a cloud terminal from each group of cloud terminals as the proxy server 3 of each group, and then send the information to the proxy server 3.
  • the multicast upgrade configuration parameter can be sent to the proxy server 3 through the TR069 module.
  • the multicast upgrade configuration parameters include a multicast address (such as a multicast port), a transmission rate (such as a supported maximum transmission rate), and a transmission mode (for example, a single At least one of work or duplex mode). After receiving the multicast upgrade configuration parameters, the proxy server 3 performs corresponding multicast configuration.
  • the proxy server 3 in this embodiment includes an information receiving module 31 and an information sending module 32;
  • the information receiving module 31 is configured to receive the file to be upgraded sent by the network management server 2 in a unicast manner
  • the information sending module 32 is configured to send the received file to be upgraded to other cloud terminals in the group where the proxy server 3 is located for upgrading.
  • the information sending module 32 in this embodiment is a multicast sending module, and the file to be upgraded is sent to other cloud terminals in the group to be upgraded in a multicast manner to improve the upgrade efficiency and resource utilization.
  • the proxy server 3 in this embodiment further includes an upgrade module 33, which is configured to be completed according to the file to be upgraded after the other cloud terminals in the group in which the proxy server 3 is located are upgraded according to the file to be upgraded.
  • the upgrade of the proxy server 3 itself.
  • the proxy server 3 can also be upgraded first in the group.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • This embodiment provides a method for upgrading a cloud terminal.
  • the method includes:
  • Step 701 The network management server groups the cloud terminals of different network segments by network segments, and one group includes the cloud terminals in one network segment.
  • Step 702 The network management server selects one cloud terminal from each group of cloud terminals as a proxy server of each group;
  • Step 703 The network management server sends the file to be upgraded to each proxy server in a unicast manner; for example, uploading the file to be upgraded to each proxy server by using NFS;
  • Step 704 The proxy server sends the received file to be upgraded to other cloud terminals in the group to be upgraded.
  • the network management server selects one cloud terminal from each group of cloud terminals as the proxy server of each group, including:
  • the network management server selects a cloud terminal from the cloud terminals in the group and matches it with a preset cloud terminal list with multicast function. If the cloud terminal is in the cloud terminal list, indicating that it has a multicast function, Use it as a proxy server; otherwise, select the next cloud terminal in the group to match until the match is successful.
  • the method further includes:
  • the multicast service of the cloud terminal is started, and if it is successfully started, it is used as a proxy server; otherwise, the next cloud terminal is selected in the group for matching.
  • the network management server selects a cloud terminal as the proxy server of each group from the cloud terminals of each group, and further includes sending the multicast upgrade configuration parameter to the proxy server, which may be sent to the proxy server through the TR069 module.
  • the multicast upgrade configuration parameter includes at least one of a multicast address (eg, a multicast port), a transmission rate (eg, a supported maximum transmission rate), and a transmission mode (eg, simplex or duplex mode).
  • the proxy server After receiving the multicast upgrade configuration parameters, the proxy server performs corresponding multicast configuration.
  • the proxy server sends the file to be upgraded to other cloud terminals in the group to be upgraded in a multicast manner to improve the upgrade efficiency and resource utilization.
  • the number of cloud terminals in the group is small.
  • the file to be upgraded may be sent to the terminal in the group by using unicast placement.
  • multicast may be in the manner of polling multicast.
  • the proxy server After the step 704, that is, after the other cloud terminals in the group complete the upgrade according to the file to be upgraded, the proxy server further completes the upgrade step according to the file to be upgraded.
  • the cloud terminal before obtaining the file to be upgraded from the proxy server, the cloud terminal further includes obtaining, from the proxy server, the partition information of the file to be upgraded (including the size of the space required for the file to be upgraded, etc.), and the partition information (for example, itself) The size of the remaining space is matched. If the match is successful, the multicast group is added to the multicast server to send the file to be upgraded. Otherwise, the next round of matching is successful before joining the multicast group.
  • the partition information of the file to be upgraded including the size of the space required for the file to be upgraded, etc.
  • the partition information for example, itself
  • Step 801 The network management server groups the cloud terminals across the network segment by network segments, and the cloud terminals in each group are in the same network segment.
  • Step 802 The network management server selects one cloud terminal from each group as the proxy server of the group; and selects a time to perform matching selection according to the locally stored terminal list with the multicast function;
  • Step 803 The network management server starts the multicast service function of the proxy server.
  • Step 804 determining whether the startup is successful, if yes, go to step 805; otherwise, go to step 802;
  • Step 805 Configure a multicast upgrade configuration parameter for the proxy server, and upload the file to be upgraded to each proxy server by using NFS.
  • Step 806 The network management server starts each proxy server to start multicast upgrade.
  • Step 807 The other cloud terminals in each group obtain the upgraded file to be upgraded from the designated proxy server, and include: the other cloud terminal to be upgraded in the group to the designated proxy server to obtain the partition of the file to be upgraded (which may be an image file). The information is matched with its own partition information. If successful, the cloud terminal restarts into the upgraded system and joins the multicast group.
  • the proxy server sends the file to be upgraded to the cloud terminal in the multicast group. After the data is sent, the cloud terminal in the multicast group restarts and enters the normal system to complete the upgrade.
  • the proxy server program restarts, waits for the cloud terminal to be upgraded that has not been added in the previous round to join, and sends the multicast data again;
  • Step 808 After the other cloud terminals in the group are upgraded, the proxy server completes its own upgrade according to the received file to be upgraded.
  • the network management server can start multicast upgrade of each group group by group, or start multicast upgrade of multiple groups at the same time.
  • the network management server sets the cloud terminal as a proxy server in different network segments, and uploads the terminal image file (that is, the file to be upgraded) to the proxy server of the network segment through NFS.
  • the terminal image file that is, the file to be upgraded
  • the other cloud terminals on the network segment complete the multicast upgrade through the proxy server.
  • each cloud terminal is grouped by a network management server by a network management server, and then the network management server selects one cloud terminal from each group of cloud terminals as a proxy server of each group, and further
  • the file to be upgraded is sent to each proxy server in a unicast manner. Since the unicast mode is sent, the original routing configuration information does not need to be changed.
  • the embodiment of the present invention does not need to change the original routing configuration information during the upgrade. It can improve the security during the upgrade process, thereby increasing the satisfaction of the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种云终端升级方法、系统、网管服务器及代理服务器;针对跨网段的云终端,网管服务器可以先以网段为单位对各云终端进行分组,一个组包含一个网段中的云终端;然后网管服务器从各组的云终端中分别选择一个云终端作为各组的代理服务器,进而先通过单播的方式将待升级文件发送各代理服务器,由于通过单播的方式发送,因此并不需要改变原本路由配置信息;各代理服务器在接收到后进一步发给组内的其他待升级的云终端完成升级。可见,本发明针对跨网段的云终端在升级时并不需要改变原本路由配置信息,可以提升升级过程中的安全性,进而提升用户体验的满意度。

Description

云终端升级方法、系统、网管服务器及代理服务器 技术领域
本发明涉及通信领域,具体涉及一种云终端升级方法、系统、网管服务器及代理服务器。
背景技术
随着云计算及相关技术的快速发展,满足不同应用场景的云终端产品相继出现。云终端产品不仅可以配套桌面云使用,也可单独使用,可广泛应用到通讯行业、政企行业、金融行业等领域的基本办公。云终端系统多种多样,版本变更速度快,企业需要对大批量的云终端进行集中升级维护,如何使得大规模的云终端系统系进行远程快速升级,将是一个首要需要解决的问题。目前,针对云终端类似产品采用的升级方式主要有两类:
一类是采用服务器对云终端单播通信方式:终端使用超文本传输协议(http)下载镜像升级或者挂载到NFS服务器升级。升级时,每个终端都会建立一个连接,对服务器的带宽要求很高。若同时升级的终端太多,将大大增加网络上的冗余数据流量,降低升级的速度。使用这样的方式对上千规模的云终端进行升级,时间大概要2-3天。很明显的,对大规模终端进行镜像升级,这种方法不可取。
第二类方法就是采用组播升级的方式:网管设置代理服务器与组播升级信息,终端到代理服务器下载镜像文件完成升级。代理服务器只会发一份数据,其目的地址为组播组地址,组播组中的所有终端都可收到同样的数据拷贝。组播升级有效地解决了多个云终端集中升级的问题,实现了网络中点到多点的高效数据传送,能够有效地节约网络带宽、减轻服务器及网络的负载。实验数据显示,在相同网络带宽资源下,10台云终端组播升级方式比NFS升级(单播方式)节约2倍的时间,若终端数目越多,节约的时间便更多。
组播升级的效果是毋庸置疑的,但在大规模云终端分布在不同网段的应用场景中,有个缺点:当代理服务器与被升级终端不在同一网段时,需要在路由器上设置组播包路由信息,组播包才能到达目标终端。在一个大型企业中,可能有成千上万台终端分布在很多不同的网段,为了升级管理这些终端,改变企业原本路由的配置信息(有些路由甚至是企业的核心路由)是个很糟糕的做法。因为路由配置改变会给企业带来很多安全性的问题和不必要的麻烦。
发明内容
本发明要解决的主要技术问题是,提供一种云终端升级方法、系统、网管服务器及代理服务器,解决现有组播升级方式针对跨网段云终端升级时需改变原本路由配置信息导致安全性降低的问题。
为解决上述技术问题,本发明提供一种云终端升级方法,包括:
网管服务器将不同网段的云终端按网段进行分组,一个组包含一个网段中的云终端;
网管服务器从各组的云终端中分别选择一个云终端作为各组的代理服务器;
网管服务器将待升级文件以单播方式发给各代理服务器,以供各组内的其他云终端从其对应组内的代理服务器获取该升级文件完成升级。
在本发明的一种实施例中,网管服务器从各组的云终端中分别选择一个云终端作为各组的代理服务器包括:
网管服务器从组内的云终端中选择一个云终端,并将其与预设的具有组播功能的云终端列表进行匹配,如该云终端在所述云终端列表中,则将其作为代理服务器;否则,在该组内选择下一个云终端进行匹配。
在本发明的一种实施例中,在网管服务器判定当前选择的云终端在所述云终端列表中,将其作为代理服务器之前,还包括:
启动该云终端的组播服务,如启动成功,将其作为代理服务器;否则,在该组内选择下一个云终端进行匹配。
在本发明的一种实施例中,所述网管服务器从各组的云终端中分别选择一个云终端作为各组的代理服务器后,还包括向所述代理服务器下发组播升级配置参数,所述组播升级配置参数包括组播地址、传输速率以及传输方式中的至少一种。
为了解决上述问题,本发明还提供了一种云终端升级方法,代理服务器接收网管服务器以单播方式发送的待升级文件,所述代理服务器为所述网管服务器将不同网段的云终端按网段进行分组后从各组中分别选择的一个云终端;
所述代理服务器将接收到的待升级文件发给其所在组内的其他云终端进行升级。
在本发明的一种实施例中,所述代理服务器通过组播的方式将所述待升级文件发给其所在组内的其他云终端进行升级。
在本发明的一种实施例中,还包括:
所述代理服务器在其组内的其他云终端根据所述待升级文件完成升级后,根据所述待升级文件完成自身的升级。
为了解决上述问题,本发明还提供了一种云终端升级方法,包括:
网管服务器将不同网段的云终端按网段进行分组,一个组包含一个网段中的云终端;
网管服务器从各组的云终端中分别选择一个云终端作为各组的代理服务器;
网管服务器将待升级文件以单播方式发给各代理服务器;
代理服务器将接收到的待升级文件发给其所在组内的其他云终端进行升级。
为了解决上述问题,本发明还提供了一种网管服务器,包括分组模块、选择模块和发送模块;
所述分组模块设置为将不同网段的云终端按网段进行分组,一个组包含一个网段中的云终端;
所述选择模块设置为从各组的云终端中分别选择一个云终端作为各组的代理服务器;
所述发送模块设置为将待升级文件以单播方式发给各代理服务器,以供各组内的其他云终端从其对应组内的代理服务器获取该升级文件完成升级。
在本发明的一种实施例中,所述选择模块包括选择子模块和匹配子模块;
所述选择子模块设置为从组内的云终端中选择一个云终端;所述匹配子模块设置为将所述选择子模块选择的云终端与预设的具有组播功能的云终端列表进行匹配,如该云终端在所述云终端列表中,则将其作为代理服务器;否则,通知所述选择子模块在该组内选择下一个云终端进行匹配。
在本发明的一种实施例中,所述选择模块还包括启动子模块,设置为在所述匹配子模块将在所述云终端列表中的云终端作为代理服务器之前,启动该云终端的组播服 务,如启动成功,将其作为代理服务器;否则,通知所述选择子模块在该组内选择下一个云终端进行匹配。
为了解决上述问题,本发明还提供了一种代理服务器,所述代理服务器为所述网管服务器将不同网段的云终端按网段进行分组后从各组中分别选择的一个云终端;所述代理服务器包括接信息收模块和信息发送模块;
所述信息接收模块设置为接收所述网管服务器以单播方式发送的待升级文件;
所述信息发送模块设置为将接收到的待升级文件发给所述代理服务器所在组内的其他云终端进行升级。
在本发明的一种实施例中,所述信息发送模块为组播发送模块,通过组播的方式将所述待升级文件发给其所在组内的其他云终端进行升级。
在本发明的一种实施例中,还包括升级模块,设置为在所述代理服务器所在组内的其他云终端根据所述待升级文件完成升级后,根据所述待升级文件完成所述代理服务器自身的升级。
为了解决上述问题,本发明还提供了一种云终端升级系统,包括网管服务器和代理服务器;所述代理服务器为所述网管服务器将不同网段的云终端按网段进行分组后从各组中分别选择的一个云终端;
所述网管服务器设置为将待升级文件以单播方式发给各代理服务器;
所述代理服务器设置为将接收到的待升级文件发给其所在组内的其他云终端进行升级。
本发明的有益效果是:
本发明提供的云终端升级方法、系统、网管服务器及代理服务器;针对跨网段的云终端,网管服务器可以先以网段为单位对各云终端进行分组,一个组包含一个网段中的云终端;然后网管服务器从各组的云终端中分别选择一个云终端作为各组的代理服务器,进而先通过单播的方式将待升级文件发送各代理服务器,由于通过单播的方式发送,因此并不需要改变原本路由配置信息;各代理服务器在接收到后进一步发给组内的其他待升级的云终端完成升级。可见,本发明针对跨网段的云终端在升级时并不需要改变原本路由配置信息,可以提升升级过程中的安全性,进而提升用户体验的满意度。
附图说明
图1为本发明实施例一提供的云终端升级系统结构示意图;
图2为本发明实施例一提供的跨网段组网结构示意图;
图3为本发明实施例一提供的网管服务器结构示意图;
图4为本发明实施例一提供的另一网管服务器结构示意图;
图5为本发明实施例一提供的代理服务器结构示意图;
图6为本发明实施例一提供的另一代理服务器结构示意图;
图7为本发明实施例二提供的云终端升级方法流程示意图;
图8为本发明实施例二提供的另一云终端升级方法流程示意图。
具体实施方式
下面通过具体实施方式结合附图对本发明作进一步详细说明。
实施例一:
请参见图1所示,本实施例中的云终端升级系统1包括网管服务器2和代理服务器3;其中代理服务器3为网管服务器2将不同网段的云终端按网段进行分组后从各组中分别选择的一个云终端;分组后,每组中的云终端都为一个网段的。例如,请参见图2所示的跨网段组网示意图,其包括多台跨网段分布的云终端,网管服务器2将其划分为组1、组2、组3、组4,其中每个组中存在一个代理服务器3。
其中,网管服务器2还设置为将待升级文件以单播方式发给各代理服务器3;
代理服务器3设置为将接收到的待升级文件发给其所在组内的其他云终端进行升级。
请参见图3所示,网管服务器2包括分组模块21、选择模块22和发送模块23;
分组模块21设置为将不同网段的云终端按网段进行分组,一个组包含一个网段中的云终端;
选择模块22设置为从各组的云终端中分别选择一个云终端作为各组的代理服务器3;
发送模块23设置为将待升级文件以单播方式发给各代理服务器3,例如以NFS方式将待升级文件上传至代理服务器3,以供各组内的其他云终端从其对应组内的代理服务器3获取该升级文件完成升级。
其中,选择模块22包括选择子模块和匹配子模块;
选择子模块设置为从组内的云终端中选择一个云终端;匹配子模块设置为将选择子模块选择的云终端与预设的具有组播功能的云终端列表进行匹配,如该云终端在云终端列表中,则表明当前选择的云终端具备组播功能(也即具备组播参数)将其作为代理服务器3;否则,通知选择子模块在该组内选择下一个云终端进行匹配,直到匹配到满足上述条件的云终端。
本实施例中,为了进一步所选择的代理服务器3可可用性,选择模块22还包括启动子模块,设置为在匹配子模块将在云终端列表中的云终端作为代理服务器3之前,启动该云终端的组播服务,如启动成功,将其作为代理服务器3;否则,通知选择子模块在该组内选择下一个云终端进行匹配。
请参见图4所示,本实施例中的网管服务器2还包括配置模块24,设置为从各组的云终端中分别选择一个云终端作为各组的代理服务器3后,向代理服务器3下发组播升级配置参数,具体可通过TR069模块发送给代理服务器3;该组播升级配置参数包括组播地址(例如组播端口)、传输速率(例如支持的最大传输速率)以及传输方式(例如单工还是双工方式)中的至少一种。代理服务器3接收到该组播升级配置参数后,进行相应的组播配置。
请参见图5所示,本实施例中的代理服务器3包括接信息收模块31和信息发送模块32;
信息接收模块31设置为接收网管服务器2以单播方式发送的待升级文件;
信息发送模块32设置为将接收到的待升级文件发给代理服务器3所在组内的其他云终端进行升级。本实施例中的信息发送模块32为组播发送模块,通过组播的方式将所待升级文件发给其所在组内的其他云终端进行升级,以提升升级效率和资源利用率。
请参见图6所示,本实施例中的代理服务器3还包括升级模块33,设置为在代理服务器3所在组内的其他云终端根据待升级文件完成升级后,根据该待升级文件完成 代理服务器3自身的升级。当然,在一些具体应用场景中,代理服务器3也可在该组内第一个完成升级。
实施例二:
本实施例提供了云终端升级方法,请参见图7所示,包括:
步骤701:网管服务器将不同网段的云终端按网段进行分组,一个组包含一个网段中的云终端;
步骤702:网管服务器从各组的云终端中分别选择一个云终端作为各组的代理服务器;
步骤703:网管服务器将待升级文件以单播方式发给各代理服务器;例如通过NFS方式将待升级文件上传至各代理服务器;
步骤704:代理服务器将接收到的待升级文件发给其所在组内的其他云终端进行升级。
上述步骤702中,网管服务器从各组的云终端中分别选择一个云终端作为各组的代理服务器包括:
网管服务器从组内的云终端中选择一个云终端,并将其与预设的具有组播功能的云终端列表进行匹配,如该云终端在云终端列表中,表明其具备组播功能,则将其作为代理服务器;否则,在该组内选择下一个云终端进行匹配,直到匹配成功。
本实施例中,为了保证选择的代理服务器的可靠性,在网管服务器判定当前选择的云终端在所述云终端列表中,将其作为代理服务器之前,还包括:
启动该云终端的组播服务,如启动成功,才将其作为代理服务器;否则,在该组内选择下一个云终端进行匹配。
在上述步骤702之后,网管服务器从各组的云终端中分别选择一个云终端作为各组的代理服务器后,还包括向代理服务器下发组播升级配置参数,具体可通过TR069模块发送给代理服务器;该组播升级配置参数包括组播地址(例如组播端口)、传输速率(例如支持的最大传输速率)以及传输方式(例如单工还是双工方式)中的至少一种。代理服务器接收到该组播升级配置参数后,进行相应的组播配置。
上述步骤704中,代理服务器通过组播的方式将待升级文件发给其所在组内的其他云终端进行升级;以提升升级效率和资源利用率;当然,在组内云终端个数较少的情况下,可以采用单播的放置将待升级文件发给组内自他终端。本实施例中组播可以采用轮询组播的方式。
在上述步骤704之后,也即代理服务器在其组内的其他云终端根据待升级文件完成升级后,还包括根据待升级文件完成自身的升级步骤。
本实施例中,云终端从代理服务器获取待升级文件之前,还包括从代理服务器获取待升级文件的分区信息(包括待升级文件所需的空间大小等),并与自身的分区信息(例如自身剩余空间的大小等)进行匹配,如匹配成功,才加入组播组接收代理服务器通过组播方式发送的待升级文件,否则,等待下一轮匹配成功后再加入组播组。上述过程具体请参见图8所示,包括:
步骤801:网管服务器将跨网段的各云终端按网段分组,每个组内的云终端都在同一网段内;
步骤802:网管服务器从每个组内选择一个云终端作为该组的代理服务器;选择时刻根据其本地存储的具备组播功能的终端列表进行匹配选择;
步骤803:网管服务器启动该代理服务器的组播服务功能;
步骤804:判断启动是否成功,如是,转至步骤805;否则,转至步骤802;
步骤805:为该代理服务器配置组播升级配置参数,使用NFS方式将待升级文件上传至各代理服务器;
步骤806:网管服务器启动各代理服务器开始组播升级;
步骤807:各组内的其他云终端从指定代理服务器获取到待升级文件完成升级;具体包括:组内待升级的其他云终端到指定的代理服务器获取待升级文件(可以是镜像文件)的分区信息,并与自身的分区信息进行匹配,如成功,云终端重启进入升级的系统,加入到组播组;
代理服务器将待升级文件发送给组播组内的云终端,数据发送完毕后组播组内的云终端重启进入正常的系统完成升级;
代理服务器程序重启,等待上一轮未加入的待升级的云终端加入,再次发送组播数据;
该组内的所有云终端完成升级;
步骤808:代理服务器在其所在组内的其他云终端升级完毕后,根据接收到的待升级文件完成自身的升级。
本实施例中,网管服务器可以逐个组的启动各组的组播升级,也可以同时启动多个组的组播升级。
应当理解的是,本发明提供的方案并不局限于跨网段云终端的升级,对于只有一个网段的组网中的云终端也适用。
可见,本发明提供的云终端升级的方法,网管服务器在不同网段内设置云终端作为代理服务器,通过NFS方式上传终端镜像文件(也即待升级文件)至该网段的代理服务器,通过TR069协议设置终端组播升级配置参数。该网段的其他云终端通过代理服务器完成组播升级。这种方法有效的规避了跨网段组播升级中路由设置带来的安全问题,提高了升级云终端效率,节省了网络带宽。
以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。
工业实用性
基于本发明的实施例提供的上述技术方案,通过网管服务器以网段为单位对各云终端进行分组,然后网管服务器从各组的云终端中分别选择一个云终端作为各组的代理服务器,进而先通过单播的方式将待升级文件发送各代理服务器,由于通过单播的方式发送,因此并不需要改变原本路由配置信息,本发明的实施例在升级时并不需要改变原本路由配置信息,可以提升升级过程中的安全性,进而提升用户体验的满意度。

Claims (15)

  1. 一种云终端升级方法,包括:
    网管服务器将不同网段的云终端按网段进行分组,一个组包含一个网段中的云终端;
    网管服务器从各组的云终端中分别选择一个云终端作为各组的代理服务器;
    网管服务器将待升级文件以单播方式发给各代理服务器,以供各组内的其他云终端从其对应组内的代理服务器获取该升级文件完成升级。
  2. 如权利要求1所述的云终端升级方法,其中,网管服务器从各组的云终端中分别选择一个云终端作为各组的代理服务器包括:
    网管服务器从组内的云终端中选择一个云终端,并将其与预设的具有组播功能的云终端列表进行匹配,如该云终端在所述云终端列表中,则将其作为代理服务器;否则,在该组内选择下一个云终端进行匹配。
  3. 如权利要求2所述的云终端升级方法,其中,在网管服务器判定当前选择的云终端在所述云终端列表中,将其作为代理服务器之前,还包括:
    启动该云终端的组播服务,如启动成功,将其作为代理服务器;否则,在该组内选择下一个云终端进行匹配。
  4. 如权利要求1-3任一项所述的云终端升级方法,其中,所述网管服务器从各组的云终端中分别选择一个云终端作为各组的代理服务器后,还包括向所述代理服务器下发组播升级配置参数,所述组播升级配置参数包括组播地址、传输速率以及传输方式中的至少一种。
  5. 一种云终端升级方法,包括:
    代理服务器接收网管服务器以单播方式发送的待升级文件,所述代理服务器为所述网管服务器将不同网段的云终端按网段进行分组后从各组中分别选择的一个云终端;
    所述代理服务器将接收到的待升级文件发给其所在组内的其他云终端进行升级。
  6. 如权利要求5所述的云终端升级方法,其中,所述代理服务器通过组播的方式将所述待升级文件发给其所在组内的其他云终端进行升级。
  7. 如权利要求5或6所述的云终端升级方法,其中,还包括:
    所述代理服务器在其组内的其他云终端根据所述待升级文件完成升级后,根据所述待升级文件完成自身的升级。
  8. 一种云终端升级方法,包括:
    网管服务器将不同网段的云终端按网段进行分组,一个组包含一个网段中的云终端;
    网管服务器从各组的云终端中分别选择一个云终端作为各组的代理服务器;
    网管服务器将待升级文件以单播方式发给各代理服务器;
    代理服务器将接收到的待升级文件发给其所在组内的其他云终端进行升级。
  9. 一种网管服务器,包括分组模块、选择模块和发送模块;
    所述分组模块设置为将不同网段的云终端按网段进行分组,一个组包含一个网段中的云终端;
    所述选择模块设置为从各组的云终端中分别选择一个云终端作为各组的代理服务器;
    所述发送模块设置为将待升级文件以单播方式发给各代理服务器,以供各组内的其他云终端从其对应组内的代理服务器获取该升级文件完成升级。
  10. 如权利要求9所述的网管服务器,其中,所述选择模块包括选择子模块和匹配子模块;
    所述选择子模块设置为从组内的云终端中选择一个云终端;所述匹配子模块设置为将所述选择子模块选择的云终端与预设的具有组播功能的云终端列表进行匹配,如该云终端在所述云终端列表中,则将其作为代理服务器;否则,通知所述选择子模块在该组内选择下一个云终端进行匹配。
  11. 如权利要求10所述的网管服务器,其中,所述选择模块还包括启动子模块,设置为在所述匹配子模块将在所述云终端列表中的云终端作为代理服务器之前, 启动该云终端的组播服务,如启动成功,将其作为代理服务器;否则,通知所述选择子模块在该组内选择下一个云终端进行匹配。
  12. 一种代理服务器,所述代理服务器为网管服务器将不同网段的云终端按网段进行分组后从各组中分别选择的一个云终端;所述代理服务器包括接信息收模块和信息发送模块;
    所述信息接收模块设置为接收所述网管服务器以单播方式发送的待升级文件;
    所述信息发送模块设置为将接收到的待升级文件发给所述代理服务器所在组内的其他云终端进行升级。
  13. 如权利要求12所述的代理服务器,其中,所述信息发送模块为组播发送模块,通过组播的方式将所述待升级文件发给其所在组内的其他云终端进行升级。
  14. 如权利要求12或13所述的代理服务器,其中,还包括升级模块,设置为在所述代理服务器所在组内的其他云终端根据所述待升级文件完成升级后,根据所述待升级文件完成所述代理服务器自身的升级。
  15. 一种云终端升级系统,包括网管服务器和代理服务器;所述代理服务器为所述网管服务器将不同网段的云终端按网段进行分组后从各组中分别选择的一个云终端;
    所述网管服务器设置为将待升级文件以单播方式发给各代理服务器;
    所述代理服务器设置为将接收到的待升级文件发给其所在组内的其他云终端进行升级。
PCT/CN2015/075908 2014-11-06 2015-04-03 云终端升级方法、系统、网管服务器及代理服务器 WO2016070566A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410621541.6 2014-11-06
CN201410621541.6A CN105635222A (zh) 2014-11-06 2014-11-06 云终端升级方法、系统、网管服务器及代理服务器

Publications (1)

Publication Number Publication Date
WO2016070566A1 true WO2016070566A1 (zh) 2016-05-12

Family

ID=55908478

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/075908 WO2016070566A1 (zh) 2014-11-06 2015-04-03 云终端升级方法、系统、网管服务器及代理服务器

Country Status (2)

Country Link
CN (1) CN105635222A (zh)
WO (1) WO2016070566A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107306275A (zh) * 2016-04-18 2017-10-31 中兴通讯股份有限公司 一种组播升级终端系统的方法及网管服务器
CN107682384A (zh) * 2016-08-01 2018-02-09 中兴通讯股份有限公司 虚拟桌面组播控制方法、终端、代理终端及云桌面服务器
CN106789876A (zh) * 2016-11-15 2017-05-31 上海远景数字信息技术有限公司 一种云终端服务器的认证方法及其装置
CN109842642B (zh) * 2017-11-24 2022-11-01 中兴通讯股份有限公司 一种容器化集群系统的部署方法及装置、容器化集群系统
CN115150271B (zh) * 2022-06-29 2023-11-21 中国第一汽车股份有限公司 网关的升级和数据路由方法、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120166394A1 (en) * 2010-12-24 2012-06-28 Kim Mi-Jeom Distributed storage system and method for storing objects based on locations
CN102945175A (zh) * 2012-11-09 2013-02-27 杭州易和网络有限公司 一种基于云计算环境的终端软件在线升级系统及其方法
CN103457968A (zh) * 2012-05-31 2013-12-18 中国银联股份有限公司 一种部署云服务的方法和系统
WO2014180245A1 (zh) * 2013-11-22 2014-11-13 中兴通讯股份有限公司 云终端升级处理方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120166394A1 (en) * 2010-12-24 2012-06-28 Kim Mi-Jeom Distributed storage system and method for storing objects based on locations
CN103457968A (zh) * 2012-05-31 2013-12-18 中国银联股份有限公司 一种部署云服务的方法和系统
CN102945175A (zh) * 2012-11-09 2013-02-27 杭州易和网络有限公司 一种基于云计算环境的终端软件在线升级系统及其方法
WO2014180245A1 (zh) * 2013-11-22 2014-11-13 中兴通讯股份有限公司 云终端升级处理方法及装置

Also Published As

Publication number Publication date
CN105635222A (zh) 2016-06-01

Similar Documents

Publication Publication Date Title
US9912538B2 (en) Synchronization of configuration file of virtual application distribution chassis
US10681127B2 (en) File upload method and system
WO2016070566A1 (zh) 云终端升级方法、系统、网管服务器及代理服务器
US8266235B2 (en) Virtual application delivery chassis system
US9231826B2 (en) Zero configuration of a virtual distributed device
US7764683B2 (en) Reliable multicast operating system (OS) provisioning
WO2012151994A1 (zh) 资源下载方法、装置及系统
CN103685496A (zh) 一种文件数据的传输方法和设备
WO2018068588A1 (zh) 提供组播业务的方法和软件定义网络控制器
CN111901162A (zh) 物联网设备及其配网方法、物联网系统
WO2014180245A1 (zh) 云终端升级处理方法及装置
US20150055662A1 (en) Internet group management protocol (igmp) leave message processing synchronization
WO2016155249A1 (zh) 一种实现网络电子教学的方法和装置
TWI740210B (zh) 終端設備管理方法及伺服器
US9736027B2 (en) Centralized enterprise image upgrades for distributed campus networks
CN107465582B (zh) 数据发送方法、装置、系统、物理家庭网关及接入节点
US11973824B2 (en) Method for data transmission of audio and video in end-to-end system
US9936055B2 (en) Using multicasting to concurrently image multiple client devices
CN105210347B (zh) 监控服务器、解析服务器、请求设备及节点选择方法
WO2018108168A1 (zh) 分组传送网的组播业务实现方法及其装置、通信系统
CN103516601A (zh) 路由传输方法和装置及系统
WO2017133491A1 (en) Update file download method, device, and system
CN102420875A (zh) 一种文件上传方法及相关设备、系统
US20230403320A1 (en) Lwm2m server device, lwm2m client device, and methods thereof
WO2016082469A1 (zh) 一种传送文件的方法及装置和下载文件的方法及装置

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: 15856344

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: 15856344

Country of ref document: EP

Kind code of ref document: A1