CN104660639B - Cloud terminal upgrade processing method and device - Google Patents

Cloud terminal upgrade processing method and device Download PDF

Info

Publication number
CN104660639B
CN104660639B CN201310596783.XA CN201310596783A CN104660639B CN 104660639 B CN104660639 B CN 104660639B CN 201310596783 A CN201310596783 A CN 201310596783A CN 104660639 B CN104660639 B CN 104660639B
Authority
CN
China
Prior art keywords
multicast
upgrading
information
cloud
mirror image
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201310596783.XA
Other languages
Chinese (zh)
Other versions
CN104660639A (en
Inventor
朱国龙
胡泊
严承
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201310596783.XA priority Critical patent/CN104660639B/en
Priority to PCT/CN2014/075848 priority patent/WO2014180245A1/en
Publication of CN104660639A publication Critical patent/CN104660639A/en
Application granted granted Critical
Publication of CN104660639B publication Critical patent/CN104660639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/20Support for services
    • H04L49/201Multicast operation; Broadcast operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1895Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for short real-time information, e.g. alarms, notifications, alerts, updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0895Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Abstract

The invention provides a cloud terminal upgrading processing method and device, wherein the method comprises the following steps: the method comprises the steps that a multicast server receives multicast upgrading parameters and upgrading mirror image file information which are sent by a network management server and used for upgrading at least two cloud terminals; the multicast server determines port information and mirror image partition information for performing multicast updating on at least two cloud terminals according to the multicast updating parameters and the updating mirror image file information; according to the invention, the problems of low upgrading speed and low upgrading efficiency in the related technology are solved, and the effects of improving the upgrading speed and upgrading efficiency are further achieved.

Description

Cloud terminal upgrade processing method and device
Technical Field
The invention relates to the field of communication, in particular to a cloud terminal upgrading method and device.
Background
With the rapid development of cloud computing and related technologies, cloud terminal products meeting different application scenarios appear in succession. The cloud terminal product can be used in cooperation with a desktop cloud, can also be used independently, can be widely applied to basic office work in the fields of communication industry, government and enterprise industry, financial industry and the like, and meets the requirements of learning, leisure and the like of professionals and family users. In the wide use of the cloud terminal, the demands of people are constantly changing, the functional requirements of the cloud terminal are higher, how to better maintain the cloud terminal and remotely and quickly upgrade the mirror image of the cloud terminal system is a problem to be solved in the first place.
In the related art, the upgrading mode adopted for similar products of the cloud terminal is mainly a mode of hypertext transfer protocol (http) or a mode of mounting the cloud terminal to an nfs server. And upgrading by adopting an http mode, namely setting an address of an upgrading server to a terminal by a network management server, judging whether the upgrading is needed after the terminal is started, and downloading an upgrading image file from the server by adopting the http mode if the upgrading is needed. And upgrading by adopting a method of mounting to an nfs server, namely, a cloud terminal network management server issues an upgraded mirror image name, an address of the nfs server and a mirror image file directory to a terminal, and the terminal mounts to the nfs server to copy the file of the upgraded mirror image, thereby realizing upgrading.
However, both the http upgrade and the mounted nfs server upgrade have bandwidth and server performance problems. When a plurality of cloud terminals need to be upgraded at the same time, the terminals initiate http connection or are simultaneously mounted to an nfs server, and each terminal establishes a connection, so that the requirement on the bandwidth of the server is high. If too many terminals are upgraded at the same time, the server is likely to be abnormal, and the upgrading speed is reduced.
Therefore, in the related art, the upgrading speed is slow, and the upgrading efficiency is low.
Disclosure of Invention
The invention provides a cloud terminal upgrading processing method and device, and aims to at least solve the problems of low upgrading speed and low upgrading efficiency in related technologies.
According to one aspect of the invention, a cloud terminal upgrade processing method is provided, which includes: the method comprises the steps that a multicast server receives multicast upgrading parameters and upgrading mirror image file information which are sent by a network management server and used for upgrading at least two cloud terminals; the multicast server determines port information and mirror image partition information for performing multicast updating on the at least two cloud terminals according to the multicast updating parameters and the updating mirror image file information; and the multicast server performs multicast upgrading on the at least two cloud terminals according to the determined port information and the mirror image partition information.
Preferably, the multicast server performing multicast upgrade on the at least two cloud terminals according to the determined port information and the mirror image partition information includes: the multicast server judges whether all cloud terminals in the at least two cloud terminals join a multicast group for performing the multicast upgrading according to the determined port information and the mirror image partition information; and if the judgment result is negative, the multicast server adds the cloud terminal which is not added with the multicast upgrade in the at least two cloud terminals into the multicast group of the next multicast upgrade.
Preferably, after the multicast server performs multicast upgrade on the at least two cloud terminals according to the determined port information and the mirror image partition information, the method further includes: the multicast server receives detection information which is issued by the network management server and used for detecting the multicast state of the at least two cloud terminals for multicast upgrading; the multicast server judges whether the multicast state is normal or not according to the detection information; and the multicast server sends the multicast address for performing multicast upgrading on the at least two cloud terminals to the network management server under the condition that the judgment result is yes.
According to another aspect of the present invention, there is provided a cloud terminal upgrade processing method, including: the network management server sends multicast upgrading parameters and upgrading image file information for upgrading at least two cloud terminals to the multicast server; the network management server acquires port information and mirror image partition information of the multicast server for determining multicast updating of the at least two cloud terminals according to the multicast updating parameters and the updating mirror image file information; and the network management server sends the determined port information and the mirror image partition information to the at least two cloud terminals, wherein the at least two cloud terminals carry out multicast upgrading according to the port information and the mirror image partition information.
Preferably, after the network management server sends the determined port information and the mirror partition information to the at least two cloud terminals, the method further includes: and the network management server sends multicast upgrading stop information for stopping the multicast upgrading of the at least two cloud terminals to the multicast server, wherein the multicast server stops the multicast upgrading of the at least two cloud terminals according to the multicast upgrading stop information.
According to another aspect of the present invention, there is provided a cloud terminal upgrade processing method, including: the method comprises the steps that a cloud terminal obtains port information and mirror image partition information for carrying out multicast upgrading on at least two cloud terminals, wherein the port information and the mirror image partition information are determined by a multicast server according to multicast upgrading parameters and upgrading mirror image file information sent by a network management server; and the cloud terminal carries out multicast upgrading according to the port information and the mirror image partition information.
Preferably, the performing, by the cloud terminal, multicast upgrade according to the port information and the mirror partition information includes: the cloud terminal judges whether the mirror image partition information meets the partition upgrading requirement of the cloud terminal; and if so, adding an upgrading multicast by the cloud terminal according to the port information to carry out multicast upgrading.
According to another aspect of the present invention, there is provided a cloud terminal upgrade processing apparatus, which is applied to a multicast server, and includes: the first receiving module is used for receiving multicast upgrading parameters and upgrading image file information which are sent by a network management server and used for upgrading at least two cloud terminals; the determining module is used for determining port information and mirror image partition information for performing multicast upgrading on the at least two cloud terminals according to the multicast upgrading parameters and the upgrading mirror image file information; and the first upgrading module is used for carrying out multicast upgrading on the at least two cloud terminals according to the determined port information and the mirror image partition information.
Preferably, the determining module comprises: a first judging unit, configured to judge, according to the determined port information and the mirror image partition information, whether all cloud terminals in the at least two cloud terminals join a multicast group for performing multicast upgrade of the group; and the adding unit is used for adding the cloud terminal which is not added with the multicast upgrade of the next multicast group into the at least two cloud terminals under the condition that the judgment result of the judging unit is negative.
Preferably, the apparatus further comprises: the second receiving module is used for receiving detection information which is sent by the network management server and used for detecting the multicast state of the at least two cloud terminals for multicast upgrading; the judging module is used for judging whether the multicast state is normal or not according to the detection information; and the first sending module is used for sending the multicast address for performing multicast upgrading on the at least two cloud terminals to the network management server under the condition that the judgment result is yes.
According to another aspect of the present invention, there is provided a cloud terminal upgrade processing apparatus, applied to a network management server, including: the second sending module is used for sending multicast upgrading parameters and upgrading image file information for upgrading at least two cloud terminals to the multicast server; the acquisition module is used for acquiring port information and mirror image partition information for determining multicast upgrading of the at least two cloud terminals by the multicast server according to the multicast upgrading parameters and the upgrading mirror image file information; and the third sending module is used for sending the determined port information and the determined mirror image partition information to the at least two cloud terminals, wherein the at least two cloud terminals perform multicast upgrading according to the port information and the mirror image partition information.
Preferably, the apparatus further comprises: and the fourth sending module is configured to send multicast upgrade stop information for stopping the multicast upgrade on the at least two cloud terminals to the multicast server, where the multicast server stops the multicast upgrade on the at least two cloud terminals according to the multicast upgrade stop information.
According to another aspect of the present invention, there is provided a cloud terminal upgrade processing apparatus, applied to a cloud terminal, including: the third receiving module is used for acquiring port information and mirror image partition information for performing multicast upgrading on at least two cloud terminals, wherein the port information and the mirror image partition information are determined by a multicast server according to multicast upgrading parameters and upgrading mirror image file information sent by a network management server; and the second upgrading module is used for carrying out multicast upgrading according to the port information and the mirror image partition information.
Preferably, the second upgrade module includes: the second judging unit is used for judging whether the mirror image partition information meets the partition upgrading requirement of the cloud terminal; and the upgrading unit is used for adding upgrading multicast to the cloud terminal according to the port information to carry out multicast upgrading under the condition that the judgment result is yes.
According to the method, the multicast server is adopted to receive the multicast upgrading parameters and the upgrading image file information which are sent by the network management server and used for upgrading at least two cloud terminals; the multicast server determines port information and mirror image partition information for performing multicast updating on the at least two cloud terminals according to the multicast updating parameters and the updating mirror image file information; the multicast server performs multicast upgrading on the at least two cloud terminals according to the determined port information and the determined mirror image partition information, so that the problems of low upgrading speed and low upgrading efficiency in the related technology are solved, and the effects of improving the upgrading speed and the upgrading efficiency are achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a first cloud terminal upgrade processing method according to an embodiment of the present invention;
fig. 2 is a flowchart of a second cloud terminal upgrade processing method according to an embodiment of the present invention;
fig. 3 is a flowchart of a third cloud terminal upgrade processing method according to an embodiment of the present invention;
fig. 4 is a block diagram of a first cloud terminal upgrade processing apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of a preferred structure of the determination module 44 in the first cloud terminal upgrade processing apparatus according to the embodiment of the present invention;
fig. 6 is a block diagram of a preferred structure of a first cloud terminal upgrade processing apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram of a second cloud terminal upgrade processing apparatus according to an embodiment of the present invention;
fig. 8 is a block diagram of a preferred structure of a second cloud terminal upgrade processing apparatus according to an embodiment of the present invention;
fig. 9 is a block diagram of a third configuration of the cloud terminal upgrade processing apparatus according to the embodiment of the present invention;
fig. 9a is a block diagram of a preferred structure of a second upgrade module 94 in a third cloud terminal upgrade processing apparatus according to an embodiment of the present invention;
FIG. 10 is a flow diagram of an nfs upgrade according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a network management server, a multicast server, and a terminal according to an embodiment of the present invention;
FIG. 12 is a flow diagram of multicast according to an embodiment of the present invention;
FIG. 13 is a flow diagram of detecting and stopping a multicast service according to an embodiment of the present invention;
fig. 14 is a timing diagram of a multicast upgrade according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In this embodiment, a cloud terminal upgrade processing method is provided, and fig. 1 is a flowchart of a first cloud terminal upgrade processing method according to an embodiment of the present invention, as shown in fig. 1, the flowchart includes the following steps:
step S102, a multicast server receives multicast upgrading parameters and upgrading image file information which are sent by a network management server and used for upgrading at least two cloud terminals;
step S104, the multicast server determines port information and mirror image partition information for performing multicast upgrading on at least two cloud terminals according to the multicast upgrading parameters and the upgrading mirror image file information;
and step S106, the multicast server carries out multicast upgrading on at least two cloud terminals according to the determined port information and the mirror image partition information.
Through the steps, the multicast server is used for carrying out multicast upgrading on at least two cloud terminals, and compared with the problem that in the related technology, when the cloud terminals are upgraded, one cloud terminal is adopted for upgrading, the requirement on the bandwidth of the server is high, and meanwhile, the number of upgraded terminals is too many, which possibly causes server abnormity, the cloud terminals are upgraded in batches by adopting the mode, so that the bandwidth is saved, the cloud terminals are better served, and the upgrading speed is effectively improved.
When the multicast server performs multicast upgrade on at least two cloud terminals according to the determined port information and the mirror image partition information, multiple processing methods may be adopted, for example, the following processing methods may be adopted: the multicast server judges whether all cloud terminals in at least two cloud terminals join a multicast group for performing the multicast upgrading of the wheel according to the determined port information and the mirror image partition information; and under the condition that the judgment result is negative, the multicast server adds the cloud terminal which is not added with the multicast upgrading of the wheel multicast into the multicast group which is updated by the next wheel multicast from at least two cloud terminals.
Preferably, after the multicast server performs multicast upgrade on at least two cloud terminals according to the determined port information and the mirror partition information, the method further includes: the multicast server receives detection information which is issued by a network management server and used for detecting the multicast state of at least two cloud terminals for multicast upgrading; the multicast server judges whether the multicast state is normal or not according to the detection information; and the multicast server sends the multicast address for performing multicast upgrading on at least two cloud terminals to the network management server under the condition that the judgment result is yes.
In this embodiment, a cloud terminal upgrade processing method is further provided, and fig. 2 is a flowchart of a second cloud terminal upgrade processing method according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, multicast upgrading parameters and upgrading image file information for upgrading at least two cloud terminals are sent to a multicast server;
step S204, the network management server obtains port information and mirror image partition information of the multicast server for determining multicast updating to at least two cloud terminals according to the multicast updating parameters and the updating mirror image file information;
step S206, the network management server sends the determined port information and the mirror image partition information to at least two cloud terminals, wherein the at least two cloud terminals perform multicast upgrading according to the port information and the mirror image partition information.
Preferably, after the network management server sends the determined port information and the mirror partition information to the at least two cloud terminals, the method further includes: and the network management server sends multicast upgrading stop information for stopping multicast upgrading of the at least two cloud terminals to the multicast server, wherein the multicast server stops multicast upgrading of the at least two cloud terminals according to the multicast upgrading stop information.
In this embodiment, a cloud terminal upgrade processing method is further provided, and fig. 3 is a flowchart of a third cloud terminal upgrade processing method according to an embodiment of the present invention, as shown in fig. 3, the flowchart includes the following steps:
step S302, the cloud terminal acquires port information and mirror image partition information for performing multicast upgrading on at least two cloud terminals, wherein the port information and the mirror image partition information are determined by a multicast server according to multicast upgrading parameters and upgrading mirror image file information sent by a network management server;
and step S304, the cloud terminal carries out multicast upgrading according to the port information and the mirror image partition information.
Preferably, the performing, by the cloud terminal, multicast upgrade according to the port information and the mirror partition information includes: the cloud terminal judges whether the mirror image partition information meets the partition upgrading requirement of the cloud terminal; and if so, adding an upgrading multicast by the cloud terminal according to the port information to carry out multicast upgrading.
The embodiment also provides a cloud terminal upgrade processing device, which is used for implementing the foregoing embodiments and preferred embodiments, and the description of the device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a first cloud terminal upgrade processing apparatus according to an embodiment of the present invention, and as shown in fig. 4, the apparatus is applied to a multicast server and includes a first receiving module 42, a determining module 44, and a first upgrade module 46, and the apparatus is described below.
The first receiving module 42 is configured to receive multicast upgrade parameters and upgrade image file information, which are sent by a network management server and used for upgrading at least two cloud terminals; a determining module 44, connected to the first receiving module 42, configured to determine port information and mirror partition information for performing multicast upgrade on at least two cloud terminals according to the multicast upgrade parameter and the upgrade mirror file information; and the first upgrading module 46 is connected to the determining module 44, and is configured to perform multicast upgrading on at least two cloud terminals according to the determined port information and the mirror image partition information.
Fig. 5 is a block diagram of a preferred structure of the determination module 44 in the first cloud terminal upgrade processing apparatus according to the embodiment of the present invention, and as shown in fig. 5, the determination module 44 includes: a judging unit 52 and an adding unit 54, which are explained below for the determination module 44.
A determining unit 52, configured to determine, according to the determined port information and the mirror image partition information, whether all cloud terminals in the at least two cloud terminals join a multicast group for performing the multicast upgrade of the group; and an adding unit 54, connected to the determining unit 52, configured to add, to the multicast group of the next multicast upgrade, a cloud terminal that does not add the multicast upgrade of the at least two cloud terminals when a determination result of the determining unit is negative.
Fig. 6 is a block diagram of a preferred structure of a first cloud terminal upgrade processing apparatus according to an embodiment of the present invention, and as shown in fig. 6, the preferred structure includes, in addition to all modules shown in fig. 4, a second receiving module 62, a determining module 64, and a first sending module 66, and the preferred structure is explained below.
A second receiving module 62, connected to the first upgrading module 46, configured to receive detection information, which is sent by the network management server and used for detecting a multicast state of at least two cloud terminals for performing multicast upgrading; a determining module 64, connected to the second receiving module 62, for determining whether the multicast state is normal according to the detection information; and a first sending module 66, connected to the judging module 64, configured to send, to the network management server, the multicast address for performing multicast upgrade on at least two cloud terminals if the judgment result is yes.
Fig. 7 is a block diagram of a second cloud terminal upgrade processing apparatus according to an embodiment of the present invention, and as shown in fig. 7, the apparatus is applied to a network management server, and the apparatus includes a second sending module 72, an obtaining module 74, and a third sending module 76, which will be described below.
A second sending module 72, configured to send multicast upgrade parameters and upgrade image file information for upgrading at least two cloud terminals to the multicast server; an obtaining module 74, connected to the second sending module 72, configured to obtain port information and mirror partition information for the multicast server to determine, according to the multicast upgrade parameter and the upgrade mirror file information, that the multicast server performs multicast upgrade on at least two cloud terminals; a third sending module 76, connected to the obtaining module 74, configured to send the determined port information and the mirror image partition information to at least two cloud terminals, where the at least two cloud terminals perform multicast upgrade according to the port information and the mirror image partition information.
Fig. 8 is a block diagram of a preferred structure of a second cloud terminal upgrade processing apparatus according to an embodiment of the present invention, and as shown in fig. 8, the apparatus includes a fourth sending module 82 in addition to all modules shown in fig. 7, and the following description is provided with the apparatus.
A fourth sending module 82, connected to the third sending module 76, configured to send multicast upgrade stop information for stopping multicast upgrade on at least two cloud terminals to the multicast server, where the multicast server stops multicast upgrade on at least two cloud terminals according to the multicast upgrade stop information.
Fig. 9 is a block diagram of a third configuration of the cloud terminal upgrade processing apparatus according to an embodiment of the present invention, and as shown in fig. 9, the apparatus is applied to a cloud terminal, and the configuration includes a third receiving module 92 and a second upgrade module 94, which are described below.
A third receiving module 92, configured to obtain port information and image partition information for performing multicast upgrade on at least two cloud terminals, where the port information and the image partition information are determined by the multicast server according to multicast upgrade parameters and upgrade image file information sent by the network management server; and a second upgrading module 94, connected to the third receiving module 92, for performing multicast upgrading according to the port information and the image partition information.
Fig. 9a is a block diagram of a preferred structure of a second upgrade module 94 of the third cloud terminal upgrade processing apparatus according to the embodiment of the present invention, and as shown in fig. 9a, the second upgrade module 94 includes a second determination unit 9a2 and an upgrade unit 9a4, which are explained below.
The second judging module 9a2 is configured to judge whether the mirror image partition information meets the partition upgrading requirement of the cloud terminal; an upgrade unit 9a4 connected to the second determination module 9a2, configured to, if the determination result is yes, add an upgrade multicast to perform multicast upgrade by the cloud terminal according to the port information
In order to better maintain the cloud terminal, save network bandwidth, and improve the upgrade speed, in this embodiment, a method for implementing remote and fast upgrade of a cloud terminal system image by cloud terminal centralized management software by using a multicast technology is provided. By the method, the technical problem that the conventional upgrading mode has high requirements on bandwidth and server performance is solved.
The method generally comprises the steps of: the network management server extracts the latest system mirror image version, newly establishes an operating system upgrade task at the network management server to carry out terminal batch upgrade, can select nfs or multicast upgrade during the task establishment, and selects the mirror image version needing to be upgraded. Fig. 10 is a flowchart of nfs upgrade according to an embodiment of the present invention, as shown in fig. 10, when upgrading in the nfs mode, first, an nfs server and upgrade image file information are sent to a terminal, the terminal is mounted to the nfs server, image partition information is copied first, whether partition information meets upgrade requirements is detected, and if yes, an image upgrade file is copied, and upgrade is completed. For example, the steps for upgrading with nfs may be as follows:
s1002, setting the path of the nfs server ip and the mirror image file stored in the nfs server and the mirror image file name to a cloud terminal;
s1004, the cloud terminal judges whether nfs can be connected, and if not, the message is reported to a network manager, and upgrading is finished;
s1006, when nfs is judged to be connectable, the cloud terminal reports an upgrade message to the network management server and restarts the system entering the upgrade;
s1008, the cloud terminal is started normally to enter an upgrading system;
s1010, after the cloud terminal is normally started and enters an upgrading system, the cloud terminal is mounted on an nfs server for upgrading;
s1012, successfully upgrading the cloud terminal;
and S1014, reporting a message to the network manager after the cloud terminal is upgraded successfully, and finishing the upgrade.
If the multicast mode is selected for upgrading, the parameters of the multicast upgrading are required to be configured, the network management server sends the multicast parameters and the upgrading image file information required to be upgraded to the multicast server, the multicast server starts a multicast program according to the multicast parameters, if the multicast program is started, the multicast server sends a message to the network management server, and the network management server sends the multicast parameter information and the image file information to the terminal for the multicast upgrading.
In the multicast upgrade, after the network management server issues the multicast parameters and the upgraded image file information to the terminal, the terminal downloads the image file partition information to the multicast server first, and if the system upgrade requirement is not met, the terminal reports the information to serve as the network management server, and the network management server records the reason that the terminal cannot be upgraded. If the upgrading requirement is met, the terminal restarts to enter the upgraded system and joins in the multicast group, if the strategy of multicast starting to send data is met, the multicast sending of data is started, and after the data is sent, the terminal restarts to enter the normal system to complete upgrading.
If the multicast strategy for the second time is met and the multicast upgrade is started, if the terminal needing upgrade starts the upgrade system and enters the upgrade interface but does not join in the multicast, waiting for the multicast server to finish transmitting the multicast data for the second time, restarting the multicast service program, waiting for the terminal which does not join in the previous round to join, and transmitting the multicast data again. And the terminal is ensured to be upgraded by one round of sending.
The terminals are upgraded through multicast, so that remote and rapid upgrade of the cloud terminals is realized, and meanwhile, the network bandwidth and the performance requirements of the server are reduced.
Fig. 11 is a schematic structural diagram of a network management server, a multicast server, and a terminal according to an embodiment of the present invention, and as shown in fig. 11, the overall structural diagram of the system includes: the network management server and the NFS/multicast server can be deployed in the same server, and can be separately deployed under the condition that communication can be carried out between the network management server and the NFS/multicast server.
The network management server mainly comprises a first communication module 1102 and a first tr069 module 1104. The first communication module 1102 is mainly responsible for communicating with a multicast server, including transmitting multicast parameters, detecting a multicast service state, closing a multicast service, and the like. The first tr069 module 1104 is responsible for interaction with the cloud terminal, including that the network management server issues parameters to the terminal, and the terminal reports the processing of network management information.
The NFS/multicast server mainly includes a second communication module 1106, a first http module 1108, a first multicast module 1110, and so on. The second communication module 1106 is responsible for interacting with the network management server, and mainly includes returning the multicast state, and the like. The first http module 1108 provides a partition file and a multicast port information file, etc. of the mirror image recovery for downloading by the terminal, so that the cloud terminal obtains the partition information to determine whether the mirror image file is consistent with the partition information of the terminal. The first multicast module 1110 is responsible for the terminal to join a multicast group, check multicast data, determine whether the terminal discards due to timeout, send the multicast data, and the like.
The cloud terminal is a terminal needing to be upgraded and mainly comprises a second tr069 module 1112 and a second multicast module 1114. The second tr069 module 1112 is mainly responsible for interacting with the network manager, and includes returning the parameter setting condition issued by the network manager to the network management server, determining whether the partition information of the image file is consistent with the terminal, reporting the terminal upgrading result, reporting the terminal state, and the like. The second multicast module 1114 is mainly responsible for joining a multicast group set by the network management server, receiving multicast data, and the like.
Fig. 12 is a multicast flow chart according to an embodiment of the present invention, and as shown in fig. 12, before a multicast upgrade, a network management server needs to select a terminal of a system configured or a new system, extract a system image of the terminal, upload the new system image to an nfs server, and record the system image to the network management server. Then starting the multicast upgrade, the flow chart of the multicast upgrade is as follows:
s1202, synchronizing the multicast parameters configured in the network management server and the updated mirror image file information to a multicast server;
s1204, after multicast server receives the multicast parameter, obtain the partition number of the mirror image from the file directory of the mirror image, look for the number of port available for multicasting according to the partition number, and write into the port information file under the directory newly;
s1206, according to the obtained port information, starting a multicast service, copying the mirror image partition information and the file of the multicast use port to a directory downloaded by the http service, and returning the mirror image partition information and the file of the multicast use port to the network management server to prompt that the multicast starting service is successful;
s1208, if the network management server receives the successful multicast service starting message, sending parameters such as the multicast address and the like and a file http address for downloading the mirror image partition information and the port information to the cloud terminal;
s1210, if the network management server does not receive the successful message of the multicast service starting, ending the upgrading;
s1212, after receiving the message, the cloud terminal first determines whether the multicast server is connectable;
s1214, if the connection is available, downloading the files of the mirror image partition information and the port information;
s1216, the multicast server is not connectable, return the information to the network management, finish this upgrade;
s1218, after the information is downloaded, judging whether the partition information of the mirror image meets the upgrade requirement of the current cloud terminal;
s1220, if the upgrade requirement of the current cloud terminal is met, the cloud terminal analyzes and records the multicast port information, and restarts the cloud terminal to enter an upgrade system;
s1222, if the upgrade requirement of the current cloud terminal is not met, returning information to the network manager, and ending the upgrade;
s1224, the terminal receives the discovery message sent by the multicast server and joins the multicast group;
s1226, the multicast server detects whether the strategy of starting to send data by multicast is met, and if the strategy is met, the data is started to be sent;
s1228, if when starting to send data, the terminals are not added into the round of multicast because the network delay or the number of terminal connections of the multicast strategy exceeds the number of actual terminals, and the like, waiting for the completion of the upgrade of the round of multicast data, restarting the multicast service by the multicast server, adding the multicast service into the next round of multicast, and circulating the process until all the terminals normally entering the upgrade system complete the upgrade;
s1230, after the cloud terminal receives the data, checking whether the data is correct or not;
s1232, if the data are checked to be wrong, restarting to enter next wheelcast upgrade;
and S1234, if the data is verified to be correct, upgrading successfully.
In the upgrading process of multicast sending data, a certain terminal network is not passed due to network reasons or other reasons, and the multicast server waits for the terminal until the terminal is abandoned overtime and then continues to send data, so that the upgrading integrity is ensured.
Fig. 13 is a flowchart of detecting and stopping a multicast service according to an embodiment of the present invention, and as shown in fig. 13, it is possible to detect whether a multicast service is running and stop the multicast service, and the flow is as follows:
s1302, the network management server sends a message for detecting the multicast service; after receiving the message for detecting the multicast service, the multicast server detects the multicast state;
s1304, judging whether the multicast service is running;
s1306, if the multicast service does not run, returning a message that the multicast service is not started to the network management server, and displaying the received information to the user by the network management server;
s1308, if the multicast service is running, sending the multicast address of the running multicast service to a network management server;
s1310, if the network management server receives the message of the multicast address, the user can select whether to stop the multicast service to end the multicast;
s1312, if the multicast service is selected to be stopped, the webmaster server sends a message of stopping the multicast to the multicast server to stop the multicast service.
Fig. 14 is a timing diagram of multicast upgrade according to an embodiment of the present invention, and as shown in fig. 14, the timing diagram of the multicast upgrade is as follows:
s1402, the network management client establishes a task of system upgrading in task management;
and S1404, when the network management server schedules the task, if the task is a multicast upgrading task, transmitting the multicast upgrading parameters to a multicast server. The parameters include: updating files, a multicast port, a multicast address, a multicast server network card, a duplex mode, transmission rate limitation, a minimum connection number, a minimum waiting time, a maximum waiting time, a hop number, a retransmission hello packet interval time parameter, and discarding a receiver after sending a plurality of REQACKs;
s1406, the multicast server receives the multicast parameters, analyzes the partition information of the upgrade file from the corresponding file directory according to the transmitted upgrade file (actually, a directory) parameters, detects the port number required by the multicast upgrade according to the partition number (the multicast port parameter configured by the client is used as the initial value for detection), and writes the detected available port into the port file under the multicast upgrade folder; starting multicast service according to the transmitted parameters, returning the identification of successful and failed start back to the network management server, and copying the partition information and the port file of the upgrade file to the http server directory;
if the multicast service is failed to be started, directly returning at a task scheduling position of the network management server;
s1408, if the multicast service is started successfully, entering an action unit of a system upgrading task;
s1410, issuing the parameter information of the multicast upgrade to the device, where the issuing parameter includes: multicast address, hop count, http server address, multicast identifier, etc.;
s1412, if the parameter setting fails, directly returning to the network management server;
s1414, receiving and processing a parameter setting result, recording and warehousing;
s1416, if the parameter setting is successful, the terminal initiates an http request;
s1418, downloading partition information and port files;
s1420, if the partition information is consistent with the terminal system, restarting the terminal to enter a small terminal upgrading system;
s1422, joining the multicast group, and receiving multicast data;
and S1424, successfully upgrading, restarting the terminal to enter wes the system, and registering to the network management server.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A cloud terminal upgrade processing method is characterized by comprising the following steps:
the method comprises the steps that a multicast server receives multicast upgrading parameters and upgrading mirror image file information which are sent by a network management server and used for upgrading at least two cloud terminals;
the multicast server determines port information and mirror image partition information for performing multicast updating on the at least two cloud terminals according to the multicast updating parameters and the updating mirror image file information;
the multicast server carries out multicast upgrading on the at least two cloud terminals according to the determined port information and the mirror image partition information;
after the multicast server performs multicast upgrade on the at least two cloud terminals according to the determined port information and the mirror image partition information, the method further includes: the multicast server receives detection information which is issued by the network management server and used for detecting the multicast state of the at least two cloud terminals for multicast upgrading; the multicast server judges whether the multicast state is normal or not according to the detection information; and the multicast server sends the multicast address for performing multicast upgrading on the at least two cloud terminals to the network management server under the condition that the judgment result is yes.
2. The method of claim 1, wherein the multicast server performing multicast upgrade on the at least two cloud terminals according to the determined port information and the mirror partition information comprises:
the multicast server judges whether all cloud terminals in the at least two cloud terminals join a multicast group for performing the multicast upgrading according to the determined port information and the mirror image partition information;
and if the judgment result is negative, the multicast server adds the cloud terminal which is not added with the multicast upgrade in the at least two cloud terminals into the multicast group of the next multicast upgrade.
3. A cloud terminal upgrade processing method is characterized by comprising the following steps:
the network management server sends multicast upgrading parameters and upgrading image file information for upgrading at least two cloud terminals to the multicast server;
the network management server acquires port information and mirror image partition information of the multicast server for determining multicast updating of the at least two cloud terminals according to the multicast updating parameters and the updating mirror image file information;
the network management server sends the determined port information and the determined mirror image partition information to the at least two cloud terminals, wherein the at least two cloud terminals carry out multicast upgrading according to the port information and the mirror image partition information;
after the network management server sends the determined port information and the mirror image partition information to the at least two cloud terminals, the method further includes: the network management server sends detection information for detecting the multicast state of the at least two cloud terminals for multicast upgrading to the multicast server, and receives the multicast address of the at least two cloud terminals for multicast upgrading returned by the multicast server under the condition that the multicast server judges that the multicast state is normal according to the detection information.
4. The method according to claim 3, wherein after the network management server sends the determined port information and the mirror partition information to the at least two cloud terminals, the method further comprises:
and the network management server sends multicast upgrading stop information for stopping the multicast upgrading of the at least two cloud terminals to the multicast server, wherein the multicast server stops the multicast upgrading of the at least two cloud terminals according to the multicast upgrading stop information.
5. A cloud terminal upgrade processing method is characterized by comprising the following steps:
the method comprises the steps that a cloud terminal obtains port information and mirror image partition information for carrying out multicast upgrading on at least two cloud terminals, wherein the port information and the mirror image partition information are determined by a multicast server according to multicast upgrading parameters and upgrading mirror image file information sent by a network management server;
the cloud terminal carries out multicast upgrading according to the port information and the mirror image partition information;
the multicast upgrading of the cloud terminal according to the port information and the mirror image partition information comprises the following steps: the cloud terminal judges whether the mirror image partition information meets the partition upgrading requirement of the cloud terminal; and if so, adding an upgrading multicast by the cloud terminal according to the port information to carry out multicast upgrading.
6. The utility model provides a cloud terminal upgrading processing apparatus which is characterized in that, is applied to in the multicast server, includes:
the first receiving module is used for receiving multicast upgrading parameters and upgrading image file information which are sent by a network management server and used for upgrading at least two cloud terminals;
the determining module is used for determining port information and mirror image partition information for performing multicast upgrading on the at least two cloud terminals according to the multicast upgrading parameters and the upgrading mirror image file information;
the first upgrading module is used for carrying out multicast upgrading on the at least two cloud terminals according to the determined port information and the mirror image partition information;
wherein the apparatus further comprises: the second receiving module is used for receiving detection information which is sent by the network management server and used for detecting the multicast state of the at least two cloud terminals for multicast upgrading; the judging module is used for judging whether the multicast state is normal or not according to the detection information; and the first sending module is used for sending the multicast address for performing multicast upgrading on the at least two cloud terminals to the network management server under the condition that the judgment result is yes.
7. The apparatus of claim 6, wherein the determining module comprises:
a first judging unit, configured to judge, according to the determined port information and the mirror image partition information, whether all cloud terminals in the at least two cloud terminals join a multicast group for performing multicast upgrade of the group;
and the adding unit is used for adding the cloud terminal which is not added with the multicast upgrade of the next multicast group into the at least two cloud terminals under the condition that the judgment result of the judging unit is negative.
8. A cloud terminal upgrade processing device is applied to a network management server and comprises:
the second sending module is used for sending multicast upgrading parameters and upgrading image file information for upgrading at least two cloud terminals to the multicast server;
the acquisition module is used for acquiring port information and mirror image partition information for determining multicast upgrading of the at least two cloud terminals by the multicast server according to the multicast upgrading parameters and the upgrading mirror image file information;
the third sending module is configured to send the determined port information and the determined mirror image partition information to the at least two cloud terminals, where the at least two cloud terminals perform multicast upgrade according to the port information and the mirror image partition information;
wherein the apparatus is further configured to: and sending detection information for detecting the multicast state of the at least two cloud terminals for multicast upgrading to the multicast server, and receiving the multicast address of the at least two cloud terminals for multicast upgrading returned by the multicast server by the device under the condition that the multicast server judges that the multicast state is normal according to the detection information.
9. The apparatus of claim 8, further comprising:
and the fourth sending module is configured to send multicast upgrade stop information for stopping the multicast upgrade on the at least two cloud terminals to the multicast server, where the multicast server stops the multicast upgrade on the at least two cloud terminals according to the multicast upgrade stop information.
10. The utility model provides a cloud terminal upgrading processing apparatus which characterized in that is applied to the cloud terminal, includes:
the third receiving module is used for acquiring port information and mirror image partition information for performing multicast upgrading on at least two cloud terminals, wherein the port information and the mirror image partition information are determined by a multicast server according to multicast upgrading parameters and upgrading mirror image file information sent by a network management server;
the second upgrading module is used for carrying out multicast upgrading according to the port information and the mirror image partition information;
wherein the second upgrade module comprises: the second judging unit is used for judging whether the mirror image partition information meets the partition upgrading requirement of the cloud terminal; and the upgrading unit is used for adding upgrading multicast to the cloud terminal according to the port information to carry out multicast upgrading under the condition that the judgment result is yes.
CN201310596783.XA 2013-11-22 2013-11-22 Cloud terminal upgrade processing method and device Active CN104660639B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310596783.XA CN104660639B (en) 2013-11-22 2013-11-22 Cloud terminal upgrade processing method and device
PCT/CN2014/075848 WO2014180245A1 (en) 2013-11-22 2014-04-21 Cloud terminal upgrade processing method and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310596783.XA CN104660639B (en) 2013-11-22 2013-11-22 Cloud terminal upgrade processing method and device

Publications (2)

Publication Number Publication Date
CN104660639A CN104660639A (en) 2015-05-27
CN104660639B true CN104660639B (en) 2020-03-27

Family

ID=51866707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310596783.XA Active CN104660639B (en) 2013-11-22 2013-11-22 Cloud terminal upgrade processing method and device

Country Status (2)

Country Link
CN (1) CN104660639B (en)
WO (1) WO2014180245A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635222A (en) * 2014-11-06 2016-06-01 中兴通讯股份有限公司 Cloud terminal upgrading method and system, network management server and proxy server
CN107306275A (en) * 2016-04-18 2017-10-31 中兴通讯股份有限公司 The method and NM server of a kind of multicast upgrading terminal system
CN106059936B (en) * 2016-08-10 2019-09-27 北京海誉动想科技股份有限公司 The method and device of cloud system Multicast File
CN110708345A (en) * 2018-07-09 2020-01-17 阿里巴巴集团控股有限公司 Cloud disk upgrading method, cloud disk scheduling method, cloud host scheduling device and cloud disk scheduling system
CN111817873A (en) * 2020-05-20 2020-10-23 中国电力科学研究院有限公司 Energy router remote upgrading method and system based on HPLC communication
CN115277687B (en) * 2021-04-30 2024-02-23 北京小米移动软件有限公司 Resource data acquisition method, resource data acquisition device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6665780B1 (en) * 2000-10-06 2003-12-16 Radiant Data Corporation N-way data mirroring systems and methods for using the same
CN1658574A (en) * 2005-03-23 2005-08-24 港湾网络有限公司 Automatic update method and system for network equipment
CN101686139A (en) * 2008-09-22 2010-03-31 深圳华为通信技术有限公司 Method, device and system of multicast upgrading
CN101951369A (en) * 2010-09-14 2011-01-19 太仓市同维电子有限公司 Batch terminal upgrading method and system based on automatic discovery
CN102255756A (en) * 2011-07-21 2011-11-23 中兴通讯股份有限公司 Method and system for upgrading set-top box
CN102945175A (en) * 2012-11-09 2013-02-27 杭州易和网络有限公司 Terminal software online upgrading system and method based on cloud computing environment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917065B (en) * 2012-10-23 2016-05-18 浪潮(北京)电子信息产业有限公司 A kind of searching method, cloud computing node and cloud computing management end of node

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6665780B1 (en) * 2000-10-06 2003-12-16 Radiant Data Corporation N-way data mirroring systems and methods for using the same
CN1658574A (en) * 2005-03-23 2005-08-24 港湾网络有限公司 Automatic update method and system for network equipment
CN101686139A (en) * 2008-09-22 2010-03-31 深圳华为通信技术有限公司 Method, device and system of multicast upgrading
CN101951369A (en) * 2010-09-14 2011-01-19 太仓市同维电子有限公司 Batch terminal upgrading method and system based on automatic discovery
CN102255756A (en) * 2011-07-21 2011-11-23 中兴通讯股份有限公司 Method and system for upgrading set-top box
CN102945175A (en) * 2012-11-09 2013-02-27 杭州易和网络有限公司 Terminal software online upgrading system and method based on cloud computing environment

Also Published As

Publication number Publication date
CN104660639A (en) 2015-05-27
WO2014180245A1 (en) 2014-11-13

Similar Documents

Publication Publication Date Title
CN104660639B (en) Cloud terminal upgrade processing method and device
CN108848163B (en) Upgrading method of TWS earphone and TWS earphone
CN102404858B (en) Radio resource optimizing method, device and system
CN109017344B (en) Charging pile automatic authentication method
CN102938923B (en) A kind of WAP sort method based on mobile terminal and mobile terminal thereof
CN108833542B (en) Upgrading method of TWS earphone and TWS earphone
CN103457973A (en) Image uploading method and system, image uploading client terminal and network server
CN109639692B (en) Offline login method, device, equipment, system and storage medium
CN103248452A (en) Data sending device, data receiving device, terminal and data transmission method
CN103139303A (en) Method, device and system used for maintaining connected heartbeat
CN105450785B (en) File transmission method and device
CN101127781A (en) Method, device and mobile terminal for mobile terminal to download files
CN110347747A (en) Database data synchronic method, system, computer equipment and storage medium
US20190342738A1 (en) Method and Device for Sharing File Between Different Terminals
CN102904959A (en) Network accelerating method and gateway
CN105307105A (en) Intelligent vehicle-mounted terminal triggering system and method
CN104462033A (en) Method and device for realizing editing operation among devices
CN102736923B (en) Software customization installation method and system
CN103139157A (en) Network communication method based on socket, device and system
CN113391979A (en) Processing method, equipment and system for monitoring data display and storage medium
CN105827740A (en) Method, equipment and system for contact person information backup
CN106155842B (en) A kind of data migration method and device
CN104038538A (en) Method and system for local area network host software updating
CN111491351B (en) Method and system for sensing online of WiFi terminal based on authentication information
CN105703951A (en) Network telephone calling information management method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant