CN104660639A - Method and device for upgrading cloud terminals - Google Patents

Method and device for upgrading cloud terminals Download PDF

Info

Publication number
CN104660639A
CN104660639A CN201310596783.XA CN201310596783A CN104660639A CN 104660639 A CN104660639 A CN 104660639A CN 201310596783 A CN201310596783 A CN 201310596783A CN 104660639 A CN104660639 A CN 104660639A
Authority
CN
China
Prior art keywords
multicast
upgrading
server
cloud
terminals
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.)
Granted
Application number
CN201310596783.XA
Other languages
Chinese (zh)
Other versions
CN104660639B (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.)
Nanjing ZTE New Software Co Ltd
Original Assignee
Nanjing ZTE New Software Co Ltd
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 Nanjing ZTE New Software Co Ltd filed Critical Nanjing ZTE New Software Co Ltd
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

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 method and a device for upgrading cloud terminals. The method comprises the following steps: a multicast server is used for receiving multicast upgrading parameters and upgrading mirror image document information sent by a network management server and used for upgrading g two and more cloud terminals; the multicast server is used for determining port information and mirror image partition information for upgrading multicast of the two and more cloud terminals according to the multicast upgrading parameters and the upgrading mirror image document information; the multicast server is used for upgrading the multicast of the two and more cloud terminals according to the determined port information and the mirror image partition information. By virtue of the method and the device for upgrading the cloud terminals, the problems of low upgrading speed and low upgrading efficiency in the correlation technique are solved, thereby achieving the effect of improving the upgrading speed and the upgrading efficiency.

Description

Cloud terminal staging processing method and device
Technical field
The present invention relates to the communications field, in particular to a kind of cloud terminal staging processing method and device.
Background technology
Along with the fast development of cloud computing and correlation technique, the cloud end product meeting different application scene occurs in succession.Cloud end product not only can supporting desktop cloud use, and also can be used alone, can be widely applied to the basic office in the fields such as communications industry, government and enterprises' industry, financial industry, meets the study of professional and domestic consumer and leisure etc.In cloud terminal widely uses, the demand of people is in continuous change, and the functional requirement of cloud terminal also can be higher, how can better safeguard cloud terminal, and carry out long-range quick upgrading to cloud terminal system mirror image, will be a problem primarily needing to solve.
In the related, for cloud terminal similar products adopt upgrading mode mainly HTML (Hypertext Markup Language) (http) or cloud terminal are mounted to the mode of nfs server.Adopt http mode to upgrade, namely upgrade server address is set to terminal by NM server, and terminal judges whether to need upgrading upon actuation, if desired upgrades, then adopt http mode to download upgrade image file from server.Employing is mounted to nfs server updating, and namely the mirror image title of upgrading, the address of nfs server and image file directory are issued to terminal by cloud terminal NM server, and terminal is mounted to nfs server, copies the file of upgrade image, realizes upgrading.
But, no matter be adopt http mode upgrade or adopt carry nfs server mode to upgrade, bandwidth problem and server performance problem all can be there is.When multiple cloud terminal needs upgrading simultaneously, terminal is initiated http simultaneously and is connected or be mounted to nfs server simultaneously, and each terminal can set up a connection, like this, very high to the bandwidth requirement of server.If the terminal of upgrading is too many simultaneously, then very likely cause server exception, reduce the speed of upgrading.
Therefore, in the related, there is updating speed slow, inefficient problem of upgrading.
Summary of the invention
The invention provides a kind of cloud terminal staging processing method and device, at least to solve in correlation technique, there is updating speed slow, inefficient problem of upgrading.
According to an aspect of the present invention, provide a kind of cloud terminal staging processing method, comprising: multicast server receives the multicast upgrading parameter of upgrading at least two cloud terminals and upgrade image fileinfo that NM server sends; Described multicast server determines port information and the mirrored partition information of described at least two cloud terminals being carried out to multicast upgrading according to described multicast upgrading parameter and described upgrade image fileinfo; Described multicast server carries out multicast upgrading according to the described port information determined and described mirrored partition information to described at least two cloud terminals.
Preferably, described multicast server carries out multicast upgrading according to the described port information determined and described mirrored partition information to described at least two cloud terminals and comprises: whether all cloud terminals at least two cloud terminals described in described multicast server judges according to the described port information determined and described mirrored partition information all add is carried out the multicast group that this takes turns multicast upgrading; When judged result is no, described multicast server will not add the multicast group that this cloud terminal of taking turns multicast upgrading joins next round multicast upgrading in described at least two cloud terminals.
Preferably, after described multicast server carries out multicast upgrading according to the described port information determined and described mirrored partition information to described at least two cloud terminals, also comprise: the Detection Information that the multicast state of carrying out multicast upgrading to described at least two cloud terminals that described multicast server receives that described NM server issues detects; According to described Detection Information, described multicast server judges that whether described multicast state is normal; The multicast address carrying out multicast upgrading to described at least two cloud terminals, when judged result is for being, is sent to described NM server by described multicast server.
According to a further aspect in the invention, provide a kind of cloud terminal staging processing method, comprising: NM server sends the multicast upgrading parameter and upgrade image fileinfo of upgrading at least two cloud terminals to multicast server; Described NM server obtains described multicast server determines to carry out described at least two cloud terminals multicast upgrading port information and mirrored partition information according to described multicast upgrading parameter and described upgrade image fileinfo; At least two cloud terminals described in the described port information determined and described mirrored partition information send to by described NM server, wherein, described at least two cloud terminals carry out multicast upgrading according to described port information and described mirrored partition information.
Preferably, after at least two cloud terminals described in the described port information determined and described mirrored partition information send to by described NM server, also comprise: described NM server sends the multicast upgrading Stop message stopping described at least two cloud terminals being carried out to multicast upgrading to described multicast server, wherein, described multicast server stops carrying out multicast upgrading to described at least two cloud terminals according to described multicast upgrading Stop message.
According to a further aspect in the invention, provide a kind of cloud terminal staging processing method, comprise: cloud terminal obtains port information and the mirrored partition information of at least two cloud terminals being carried out to multicast upgrading, wherein, the multicast upgrading parameter that sent according to NM server by multicast server of described port information and described mirrored partition information and upgrade image fileinfo are determined; Described cloud terminal carries out multicast upgrading according to described port information and described mirrored partition information.
Preferably, described cloud terminal is carried out multicast upgrading according to described port information and described mirrored partition information and is comprised: whether mirrored partition information described in described cloud terminal judges meets described cloud terminal partitions upgrade requirement; When judged result is for being, described cloud terminal adds upgrading multicast according to described port information and carries out multicast upgrading.
According to a further aspect in the invention, provide a kind of cloud terminal staging processing unit, be applied in multicast server, comprise: the first receiver module, for receiving the multicast upgrading parameter of upgrading at least two cloud terminals and upgrade image fileinfo that NM server sends; Determination module, for determining port information and the mirrored partition information of described at least two cloud terminals being carried out to multicast upgrading according to described multicast upgrading parameter and described upgrade image fileinfo; First upgraded module, for carrying out multicast upgrading according to the described port information determined and described mirrored partition information to described at least two cloud terminals.
Preferably, described determination module comprises: the first judging unit, carries out for whether all adding according to all cloud terminals at least two cloud terminals described in the described port information determined and the judgement of described mirrored partition information the multicast group that this takes turns multicast upgrading; Add unit, for when the judged result of described judging unit is no, will not add the multicast group that this cloud terminal of taking turns multicast upgrading joins next round multicast upgrading in described at least two cloud terminals.
Preferably, described device also comprises: the second receiver module, the Detection Information that the multicast state of carrying out multicast upgrading to described at least two cloud terminals for receiving that described NM server issues detects; According to described Detection Information, judge module, for judging that whether described multicast state is normal; First sending module, for when judged result is for being, sends to described NM server by the multicast address carrying out multicast upgrading to described at least two cloud terminals.
According to also one side of the present invention, provide a kind of cloud terminal staging processing unit, be applied to NM server, comprise: the second sending module, for sending the multicast upgrading parameter and upgrade image fileinfo of upgrading at least two cloud terminals to multicast server; Acquisition module, determines to carry out described at least two cloud terminals port information and the mirrored partition information of multicast upgrading according to described multicast upgrading parameter and described upgrade image fileinfo for obtaining described multicast server; 3rd sending module, at least two cloud terminals described in the described port information determined and described mirrored partition information being sent to, wherein, described at least two cloud terminals carry out multicast upgrading according to described port information and described mirrored partition information.
Preferably, described device also comprises: the 4th sending module, for sending the multicast upgrading Stop message stopping described at least two cloud terminals being carried out to multicast upgrading to described multicast server, wherein, described multicast server stops carrying out multicast upgrading to described at least two cloud terminals according to described multicast upgrading Stop message.
In accordance with a further aspect of the present invention, provide a kind of cloud terminal staging processing unit, be applied to cloud terminal, comprise: the 3rd receiver module, for obtaining port information and the mirrored partition information of at least two cloud terminals being carried out to multicast upgrading, wherein, the multicast upgrading parameter that sent according to NM server by multicast server of described port information and described mirrored partition information and upgrade image fileinfo are determined; Second upgraded module, for carrying out multicast upgrading according to described port information and described mirrored partition information.
Preferably, described second upgraded module comprises: the second judging unit, for judging whether described mirrored partition information meets described cloud terminal partitions upgrade requirement; Upgrade unit, for when judged result is for being, described cloud terminal adds upgrading multicast according to described port information and carries out multicast upgrading.
By the present invention, adopt multicast server the to receive multicast upgrading parameter that at least two cloud terminals are upgraded that NM server sends and upgrade image fileinfo; Described multicast server determines port information and the mirrored partition information of described at least two cloud terminals being carried out to multicast upgrading according to described multicast upgrading parameter and described upgrade image fileinfo; Described multicast server carries out multicast upgrading according to the described port information determined and described mirrored partition information to described at least two cloud terminals, solve in the related, there is updating speed slow, inefficient problem of upgrading, and then reach lifting updating speed, the effect of upgrading efficiency.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the cloud terminal staging processing method one according to the embodiment of the present invention;
Fig. 2 is the flow chart of the cloud terminal staging processing method two according to the embodiment of the present invention;
Fig. 3 is the flow chart of the cloud terminal staging processing method three according to the embodiment of the present invention;
Fig. 4 is the structured flowchart of the cloud terminal staging processing unit one according to the embodiment of the present invention;
Fig. 5 is the preferred structure block diagram of determination module 44 in the cloud terminal staging processing unit one according to the embodiment of the present invention;
Fig. 6 is the preferred structure block diagram of the cloud terminal staging processing unit one according to the embodiment of the present invention;
Fig. 7 is the structured flowchart of the cloud terminal staging processing unit two according to the embodiment of the present invention;
Fig. 8 is the preferred structure block diagram of the cloud terminal staging processing unit two according to the embodiment of the present invention;
Fig. 9 is the structured flowchart of the cloud terminal staging processing unit three according to the embodiment of the present invention;
Fig. 9 a is the preferred structure block diagram of the second upgraded module 94 in the cloud terminal staging processing unit three according to the embodiment of the present invention;
Figure 10 is the flow chart of upgrading according to the nfs of the embodiment of the present invention;
Figure 11 is the configuration diagram of NM server, multicast server and terminal according to the embodiment of the present invention;
Figure 12 is the multicast flow chart according to the embodiment of the present invention;
Figure 13 is detection according to the embodiment of the present invention and stops multicast services flow chart;
Figure 14 is the multicast upgrading sequential chart according to the embodiment of the present invention.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Provide a kind of cloud terminal staging processing method in the present embodiment, Fig. 1 is the flow chart of the cloud terminal staging processing method one according to the embodiment of the present invention, and as shown in Figure 1, this flow process comprises the steps:
Step S102, multicast server receives the multicast upgrading parameter of upgrading at least two cloud terminals and upgrade image fileinfo that NM server sends;
Step S104, multicast server determines port information and the mirrored partition information of at least two cloud terminals being carried out to multicast upgrading according to multicast upgrading parameter and upgrade image fileinfo;
Step S106, multicast server carries out multicast upgrading according to the port information determined and mirrored partition information at least two cloud terminals.
Pass through above-mentioned steps, by multicast server, multicast upgrading is carried out at least two cloud terminals, cloud terminal is adopted to be upgrade one by one relative in correlation technique when upgrading to cloud terminal, high to the bandwidth requirement of server, the terminal of simultaneously upgrading is too many, may cause the problem of server exception, aforesaid way is adopted to carry out batch upgrade to cloud terminal, not only save bandwidth, be cloud Terminal Service better, effectively improve updating speed.
When multicast server carries out multicast upgrading according to the port information determined and mirrored partition information at least two cloud terminals, multiple processing mode can be adopted, such as, following processing mode can be adopted: whether multicast server all adds according to all cloud terminals that the port information determined and mirrored partition information judge at least two cloud terminals is carried out the multicast group that this takes turns multicast upgrading; When judged result is no, multicast server joins the multicast group of next round multicast upgrading by not adding this cloud terminal of taking turns multicast upgrading at least two cloud terminals.
Preferably, after multicast server carries out multicast upgrading according to the port information determined and mirrored partition information at least two cloud terminals, also comprise: the Detection Information that the multicast state of carrying out multicast upgrading at least two cloud terminals that multicast server receives that NM server issues detects; According to Detection Information, multicast server judges that whether multicast state is normal; The multicast address carrying out multicast upgrading at least two cloud terminals, when judged result is for being, is sent to NM server by multicast server.
In the present embodiment, additionally provide a kind of cloud terminal staging processing method, Fig. 2 is the flow chart of the cloud terminal staging processing method two according to the embodiment of the present invention, and as shown in Figure 2, this flow process comprises the steps:
Step S202, sends the multicast upgrading parameter and upgrade image fileinfo of upgrading at least two cloud terminals to multicast server;
Step S204, NM server obtains multicast server and determines port information and the mirrored partition information of at least two cloud terminals being carried out to multicast upgrading according to multicast upgrading parameter and upgrade image fileinfo;
Step S206, the port information determined and mirrored partition information are sent at least two cloud terminals by NM server, and wherein, at least two cloud terminals carry out multicast upgrading according to port information and mirrored partition information.
Preferably, after the port information determined and mirrored partition information are sent at least two cloud terminals by NM server, also comprise: NM server sends the multicast upgrading Stop message stopping at least two cloud terminals being carried out to multicast upgrading to multicast server, wherein, multicast server stops carrying out multicast upgrading at least two cloud terminals according to multicast upgrading Stop message.
In the present embodiment, additionally provide a kind of cloud terminal staging processing method, Fig. 3 is the flow chart of the cloud terminal staging processing method three according to the embodiment of the present invention, and as shown in Figure 3, this flow process comprises the steps:
Step S302, cloud terminal obtains port information and the mirrored partition information of at least two cloud terminals being carried out to multicast upgrading, wherein, the multicast upgrading parameter that sent according to NM server by multicast server of port information and mirrored partition information and upgrade image fileinfo are determined;
Step S304, this cloud terminal carries out multicast upgrading according to port information and mirrored partition information.
Preferably, above-mentioned cloud terminal is carried out multicast upgrading according to port information and mirrored partition information and is comprised: whether cloud terminal judges mirrored partition information meets cloud terminal partitions upgrade requirement; When judged result is for being, cloud terminal adds upgrading multicast according to port information and carries out multicast upgrading.
Additionally provide a kind of cloud terminal staging processing unit in the present embodiment, this device is used for realizing above-described embodiment and preferred implementation, has carried out repeating no more of explanation.As used below, term " module " can realize the software of predetermined function and/or the combination of hardware.Although the device described by following examples preferably realizes with software, hardware, or the realization of the combination of software and hardware also may and conceived.
Fig. 4 is the structured flowchart of the cloud terminal staging processing unit one according to the embodiment of the present invention, and as shown in Figure 4, this application of installation, in multicast server, comprises the first receiver module 42, determination module 44 and the first upgraded module 46, is described below to this device.
First receiver module 42, for receiving the multicast upgrading parameter of upgrading at least two cloud terminals and upgrade image fileinfo that NM server sends; Determination module 44, is connected to above-mentioned first receiver module 42, for determining port information and the mirrored partition information of at least two cloud terminals being carried out to multicast upgrading according to multicast upgrading parameter and upgrade image fileinfo; First upgraded module 46, is connected to above-mentioned determination module 44, for carrying out multicast upgrading according to the port information determined and mirrored partition information at least two cloud terminals.
Fig. 5 is the preferred structure block diagram of determination module 44 in the cloud terminal staging processing unit one according to the embodiment of the present invention, and as shown in Figure 5, this determination module 44 comprises: judging unit 52 and add unit 54, is described below to this determination module 44.
Judging unit 52, whether all cloud terminals for judging at least two cloud terminals according to the port information determined and mirrored partition information all add is carried out the multicast group that this takes turns multicast upgrading; Add unit 54, be connected to above-mentioned judging unit 52, for when the judged result of judging unit is no, will not add this cloud terminal of taking turns multicast upgrading at least two cloud terminals and join the multicast group of next round multicast upgrading.
Fig. 6 is the preferred structure block diagram of the cloud terminal staging processing unit one according to the embodiment of the present invention, as shown in Figure 6, this preferred structure, except comprising all modules shown in Fig. 4, also comprises the second receiver module 62, judge module 64 and the first sending module 66, is described below to this preferred structure.
Second receiver module 62, is connected to above-mentioned first upgraded module 46, the Detection Information that the multicast state of carrying out multicast upgrading at least two cloud terminals for receiving that NM server issues detects; Judge module 64, is connected to above-mentioned second receiver module 62, for judging that whether multicast state is normal according to Detection Information; First sending module 66, is connected to above-mentioned judge module 64, for when judged result is for being, the multicast address carrying out multicast upgrading at least two cloud terminals is sent to NM server.
Fig. 7 is the structured flowchart of the cloud terminal staging processing unit two according to the embodiment of the present invention, as shown in Figure 7, this application of installation is in NM server, and this structure comprises the second sending module 72, acquisition module 74 and the 3rd sending module 76, is described below to this device.
Second sending module 72, for sending the multicast upgrading parameter and upgrade image fileinfo of upgrading at least two cloud terminals to multicast server; Acquisition module 74, is connected to above-mentioned second sending module 72, determines to carry out at least two cloud terminals port information and the mirrored partition information of multicast upgrading for obtaining multicast server according to multicast upgrading parameter and upgrade image fileinfo; 3rd sending module 76, is connected to above-mentioned acquisition module 74, and for the port information determined and mirrored partition information are sent at least two cloud terminals, wherein, at least two cloud terminals carry out multicast upgrading according to port information and mirrored partition information.
Fig. 8 is the preferred structure block diagram of the cloud terminal staging processing unit two according to the embodiment of the present invention, and as shown in Figure 8, this device, except comprising all modules shown in Fig. 7, also comprises the 4th sending module 82, is described below with this device.
4th sending module 82, be connected to above-mentioned 3rd sending module 76, for sending the multicast upgrading Stop message stopping at least two cloud terminals being carried out to multicast upgrading to multicast server, wherein, this multicast server stops carrying out multicast upgrading at least two cloud terminals according to multicast upgrading Stop message.
Fig. 9 is the structured flowchart of the cloud terminal staging processing unit three according to the embodiment of the present invention, and as shown in Figure 9, this application of installation is in cloud terminal, and this structure comprises the 3rd receiver module 92 and the second upgraded module 94, is described below to this device.
3rd receiver module 92, for obtaining port information and the mirrored partition information of at least two cloud terminals being carried out to multicast upgrading, wherein, the multicast upgrading parameter that sent according to NM server by multicast server of port information and mirrored partition information and upgrade image fileinfo are determined; Second upgraded module 94, is connected to above-mentioned 3rd receiver module 92, for carrying out multicast upgrading according to port information and mirrored partition information.
Fig. 9 a is the preferred structure block diagram of the second upgraded module 94 of cloud terminal staging processing unit three according to the embodiment of the present invention, and as illustrated in fig. 9, this second upgraded module 94 comprises the second judging unit 9a2 and upgrade unit 9a4, is described below to this module.
Second judge module 9a2, for judging whether mirrored partition information meets cloud terminal partitions upgrade requirement; Upgrade unit 9a4, is connected to above-mentioned second judge module 9a2, and for when above-mentioned judged result is for being, cloud terminal adds upgrading multicast according to port information and carries out multicast upgrading
In order to better safeguard cloud terminal, save the network bandwidth, improve updating speed, in the present embodiment, provide management software in a kind of cloud termination set and adopt multicasting technology to realize method that is long-range to cloud terminal system mirror image and upgrading fast.By the method, solve conventional upgrading mode to bandwidth and the high technical problem of server performance requirement.
The method roughly comprises the following steps: NM server extracts up-to-date system image version, terminal batch upgrading is carried out in the newly-built operating system update task of NM server, nfs or multicast upgrading can be selected when building task, and select the image release needing upgrading.Figure 10 is the flow chart of upgrading according to the nfs of the embodiment of the present invention, as shown in Figure 10, when adopting selection nfs mode to upgrade, first nfs server and upgrade image fileinfo are issued to terminal, terminal is mounted to nfs server and first copies mirrored partition information, whether sense partitions information meets upgrading requirement, if meet, copies image upgrade file, completes upgrading.Such as, the step adopting nfs to upgrade can be as follows:
S1002, path nfs server ip, image file being left in nfs server and image filename are set to cloud terminal;
Whether S1004, cloud terminal judges nfs can connect, and when judged result is no, reporting message, to webmaster, terminates upgrading;
S1006, when judging that nfs can connect, cloud terminal to report upgrading message to NM server, and restarts the system entering upgrading;
S1008, cloud terminal normally start and enter upgrade-system;
After S1010, cloud terminal normally start and enter upgrade-system, be mounted on nfs server and upgrade;
The success of S1012, cloud terminal staging;
Reporting message is to webmaster after upgrading successfully for S1014, cloud terminal, and upgrading terminates.
If select multicast mode upgrading, the parameter of multicast upgrading need be configured, NM server is by multicast parameters and need the upgrade image fileinfo of upgrading to be sent to multicast server, multicast server starts multicast program according to multicast parameters, if multicast program starts, then multicast server can send a message to NM server, and multicast parameters information and image file information are issued to terminal by NM server again, carry out multicast upgrading.
Upgrade the mode that combines to ensure the integrality of cloud terminal staging function above by multicast upgrading and nfs, in this multicast upgrading, after multicast parameters and upgrade image fileinfo are issued to terminal by NM server, terminal arrives first multicast server and downloads image file partition information, if discontented pedal system upgrading needs, then terminal to report message works as NM server, the reason that this terminal of NM server record can not be upgraded.If meet upgrading needs, then terminal restarts the system entering upgrading, joins multicast group, if multicast starts, to send the strategy of data satisfied, then start multicast and send data, and after data send, terminal is restarted and entered normal system, completes upgrading.
If when Multicast Strategy met and started multicast upgrading first time again, if need the terminal of upgrading to start upgrade-system in this time enter upgrading interface, but do not join this time in multicast, then wait for that multicast server is worked as time multicast packet and sent, restart multicast services program, wait for that the last round of terminal do not added adds, and again send multicast packet.With this transmission taken turns, ensure that terminal staging completes.
By multicast to terminal staging, achieve the long-range quick upgrading to cloud terminal, reduce the performance requirement of the network bandwidth and server simultaneously.
Figure 11 is the configuration diagram of NM server, multicast server and terminal according to the embodiment of the present invention, as shown in figure 11, the integrated stand composition of this system comprises: NM server, NFS/ multicast server, the several part of cloud terminal, NM server and NFS/ multicast server can be deployed in same station server, also can separately dispose when can communicate between NM server and NFS/ multicast server.
NM server mainly comprises first communication module 1102 and a tr069 module 1104.Wherein first communication module 1102 primary responsibility communicates with multicast server, comprises the transmission of multicast parameters, the detection of multicast services state, closes multicast services etc.One tr069 module 1104 is responsible for and cloud terminal interaction, and comprise NM server and issue parameter to terminal, terminal to report is to the process etc. of network management information.
Several parts such as NFS/ multicast server mainly comprises second communication module 1106, http module 1108, a first multicast module 1110.Second communication module 1106 is responsible for carrying out alternately, mainly comprising returning multicast state with NM server.One http module 1108 provides the partitioned file of image recovery and multicast port message file etc. for terminal downloads, so that cloud terminal obtains partition information judge that whether this image file is consistent with the partition information of terminal.First multicast module 1110 is responsible for terminal and is added multicast group, and verification multicast packet, judges whether time-out abandons terminal, the transmission etc. of multicast packet.
Namely cloud terminal is the terminal needing upgrading, mainly comprises the 2nd tr069 module 1112 and the second multicast module 1114.2nd tr069 module 1112 primary responsibility and webmaster carry out alternately, comprise the optimum configurations situation issued by webmaster and turn back to NM server, whether consistent with the terminal judged result of image file partition information, reporting of terminal staging result and reporting of SOT state of termination.Second multicast module 1114 primary responsibility joins the multicast group that NM server is arranged, receiving multicast data etc.
Figure 12 is the multicast flow chart according to the embodiment of the present invention, as shown in figure 12, before multicast upgrading, need NM server select system configuration good or the terminal of new system, extract the system image of this terminal, new system image is uploaded to nfs server, and is recorded to NM server.Start multicast upgrading again, multicast upgrading flow chart is as follows:
S1202, by the image file synchronizing information of the multicast parameters that configures at NM server and upgrading to multicast server;
After S1204, multicast server receive multicast parameters, from image file directory, obtain the number of partitions of mirror image, search multicast Number of Available/Faulty Ports according to the number of partitions, and the port information file under new this catalogue of write;
S1206, according to the port information obtained, start multicast services, under the catalogue simultaneously mirrored partition information and multicast being used the file copy of port to download to http service, return to the startup of NM server prompting multicast and serve successfully;
If S1208 NM server receives multicast services start success message, then the file http address of the parameters such as multicast address and download mirrored partition information and port information is issued to cloud terminal;
If S1210 NM server does not receive multicast services start success message, terminate this upgrading;
After S1212, cloud terminal receive message, first judge whether multicast server can connect;
If S1214 can connect, then remove the file downloading mirrored partition information and port information;
S1216, multicast server can not connect, and return information, to webmaster, terminates this upgrading;
S1218, download to information after, judge whether the partition information of mirror image meets the upgrading requirement of current cloud terminal;
If S1220 meets the upgrading requirement of current cloud terminal, then cloud terminal parses multicast port information record, restarts cloud terminal and enters upgrade-system;
If S1222 does not meet the upgrading requirement of current cloud terminal, return information, to webmaster, terminates this upgrading;
S1224, terminal receive the discovery message that multicast server sends, and add multicast group;
Whether the strategy that S1226, multicast server detection multicast starts to send data meets, if meet strategy, then starts to send data;
If S1228 is when starting to send data, still having terminal because the terminal linking number of network delay or Multicast Strategy has exceeded the reasons such as physical end number does not join this and takes turns in multicast, then wait for that this takes turns after multicast packet upgraded, multicast server restarts multicast services, join in lower whorl multicast, circulate with this, until all terminals normally entering upgrade-system all complete upgrading;
After S1230, cloud terminal receive data, checking data correctness;
If S1232 data check is wrong, then restarts and enter next round multicast upgrading;
If S1234 data check is errorless, upgrade successfully.
Send in the escalation process of data at multicast, because network reason or other reason cause a certain terminal network obstructed, multicast server can wait for this terminal until time-out abandons this terminal continue transmission data again, ensures the integrality of upgrading.
Figure 13 is detection according to the embodiment of the present invention and stops multicast services flow chart, and whether as shown in figure 13, can detect multicast services and running and can stop this multicast services, flow process is as follows:
S1302, NM server send the message detecting multicast services; After multicast server receives the message detecting multicast services, detect multicast state;
S1304, judge whether multicast services is run;
If S1306 multicast services is not run, then return message that multicast services do not start to NM server, NM server by the information display that receives to user;
If the multicast address of the multicast services run in operation, is then sent to NM server by S1308 multicast services;
If the message of what S1310 NM server received is multicast address, then can allow user select whether to stop this multicast services, to terminate multicast;
If S1312 selects to stop this multicast services, then NM server sends and stops the message of multicast to multicast server, to stop multicast services.
Figure 14 is the multicast upgrading sequential chart according to the embodiment of the present invention, and as shown in figure 14, the sequential chart of this multicast upgrading is as follows:
S1402, NM client set up the task of system upgrade in task management;
S1404, network management service are when scheduler task, if the task of multicast upgrading, then by multicast upgrading Parameter transfer to multicast server.Parameter comprises: the restriction of upgrade file, multicast port, multicast address, multicast server network interface card, dual-mode, transmission rate, Smallest connection number, minimum latency, maximum latency, jumping figure, repeating transmission hello inter-packet gap time parameter, send how many REQACK after abandon receiver;
S1406, multicast server receiving group parameter, according to the upgrade file imported into (actual is a catalogue) parameter, the partition information of upgrade file is resolved to corresponding document catalogue, port numbers needed for number of partitions detection multicast upgrading is (using the multicast port parameter of client configuration as initial value, detect), and the port file * .port that will detect under available port write multicast upgrading file; Start multicast services according to the parameter imported into, turning back to NM server by starting successfully failed mark, the partition information of upgrade file and port file being copied to http-server catalogue simultaneously;
If start multicast services failure, then directly return at the task scheduling place of NM server;
If S1408 starts multicast services success, enter the motor unit of system upgrade task;
S1410, the parameter information of multicast upgrading is issued to equipment, issues parameter and comprise: multicast address, jumping figure, http-server address and multicast mark etc.;
S1412, optimum configurations to terminal failure, then directly turn back to NM server;
S1414, acceptance and process optimum configurations outcome record warehouse-in;
If the success of S1416 parameters, terminal initiates http request;
S1418, download partition information and port file;
If S1420 partition information is consistent with terminal system, then terminal is restarted and is entered terminal staging mini system;
S1422, add multicast group, receiving multicast data;
S1424, upgrade successfully, terminal restarts and enters wes system, is registered to NM server.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, and in some cases, step shown or described by can performing with the order be different from herein, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. a cloud terminal staging processing method, is characterized in that, comprising:
Multicast server receives the multicast upgrading parameter of upgrading at least two cloud terminals and upgrade image fileinfo that NM server sends;
Described multicast server determines port information and the mirrored partition information of described at least two cloud terminals being carried out to multicast upgrading according to described multicast upgrading parameter and described upgrade image fileinfo;
Described multicast server carries out multicast upgrading according to the described port information determined and described mirrored partition information to described at least two cloud terminals.
2. method according to claim 1, is characterized in that, described multicast server carries out multicast upgrading according to the described port information determined and described mirrored partition information to described at least two cloud terminals and comprises:
Whether all cloud terminals at least two cloud terminals described in described multicast server judges according to the described port information determined and described mirrored partition information all add is carried out the multicast group that this takes turns multicast upgrading;
When judged result is no, described multicast server will not add the multicast group that this cloud terminal of taking turns multicast upgrading joins next round multicast upgrading in described at least two cloud terminals.
3. method according to claim 1, is characterized in that, after described multicast server carries out multicast upgrading according to the described port information determined and described mirrored partition information to described at least two cloud terminals, also comprises:
The Detection Information that the multicast state of carrying out multicast upgrading to described at least two cloud terminals that described multicast server receives that described NM server issues detects;
According to described Detection Information, described multicast server judges that whether described multicast state is normal;
The multicast address carrying out multicast upgrading to described at least two cloud terminals, when judged result is for being, is sent to described NM server by described multicast server.
4. a cloud terminal staging processing method, is characterized in that, comprising:
NM server sends the multicast upgrading parameter and upgrade image fileinfo of upgrading at least two cloud terminals to multicast server;
Described NM server obtains described multicast server determines to carry out described at least two cloud terminals multicast upgrading port information and mirrored partition information according to described multicast upgrading parameter and described upgrade image fileinfo;
At least two cloud terminals described in the described port information determined and described mirrored partition information send to by described NM server, wherein, described at least two cloud terminals carry out multicast upgrading according to described port information and described mirrored partition information.
5. method according to claim 4, is characterized in that, after at least two cloud terminals described in the described port information determined and described mirrored partition information send to by described NM server, also comprises:
Described NM server sends the multicast upgrading Stop message stopping described at least two cloud terminals being carried out to multicast upgrading to described multicast server, wherein, described multicast server stops carrying out multicast upgrading to described at least two cloud terminals according to described multicast upgrading Stop message.
6. a cloud terminal staging processing method, is characterized in that, comprising:
Cloud terminal obtains port information and the mirrored partition information of at least two cloud terminals being carried out to multicast upgrading, wherein, the multicast upgrading parameter that sent according to NM server by multicast server of described port information and described mirrored partition information and upgrade image fileinfo are determined;
Described cloud terminal carries out multicast upgrading according to described port information and described mirrored partition information.
7. method according to claim 6, is characterized in that, described cloud terminal is carried out multicast upgrading according to described port information and described mirrored partition information and comprised:
Whether mirrored partition information described in described cloud terminal judges meets described cloud terminal partitions upgrade requirement;
When judged result is for being, described cloud terminal adds upgrading multicast according to described port information and carries out multicast upgrading.
8. a cloud terminal staging processing unit, is characterized in that, is applied in multicast server, comprises:
First receiver module, for receiving the multicast upgrading parameter of upgrading at least two cloud terminals and upgrade image fileinfo that NM server sends;
Determination module, for determining port information and the mirrored partition information of described at least two cloud terminals being carried out to multicast upgrading according to described multicast upgrading parameter and described upgrade image fileinfo;
First upgraded module, for carrying out multicast upgrading according to the described port information determined and described mirrored partition information to described at least two cloud terminals.
9. device according to claim 8, is characterized in that, described determination module comprises:
First judging unit, carries out for whether all adding according to all cloud terminals at least two cloud terminals described in the described port information determined and the judgement of described mirrored partition information the multicast group that this takes turns multicast upgrading;
Add unit, for when the judged result of described judging unit is no, will not add the multicast group that this cloud terminal of taking turns multicast upgrading joins next round multicast upgrading in described at least two cloud terminals.
10. device according to claim 8, is characterized in that, also comprises:
Second receiver module, the Detection Information that the multicast state of carrying out multicast upgrading to described at least two cloud terminals for receiving that described NM server issues detects;
According to described Detection Information, judge module, for judging that whether described multicast state is normal;
First sending module, for when judged result is for being, sends to described NM server by the multicast address carrying out multicast upgrading to described at least two cloud terminals.
11. 1 kinds of cloud terminal staging processing unit, is characterized in that, be applied to NM server, comprising:
Second sending module, for sending the multicast upgrading parameter and upgrade image fileinfo of upgrading at least two cloud terminals to multicast server;
Acquisition module, determines to carry out described at least two cloud terminals port information and the mirrored partition information of multicast upgrading according to described multicast upgrading parameter and described upgrade image fileinfo for obtaining described multicast server;
3rd sending module, at least two cloud terminals described in the described port information determined and described mirrored partition information being sent to, wherein, described at least two cloud terminals carry out multicast upgrading according to described port information and described mirrored partition information.
12. devices according to claim 11, is characterized in that, also comprise:
4th sending module, for sending the multicast upgrading Stop message stopping described at least two cloud terminals being carried out to multicast upgrading to described multicast server, wherein, described multicast server stops carrying out multicast upgrading to described at least two cloud terminals according to described multicast upgrading Stop message.
13. 1 kinds of cloud terminal staging processing unit, is characterized in that, be applied to cloud terminal, comprise:
3rd receiver module, for obtaining port information and the mirrored partition information of at least two cloud terminals being carried out to multicast upgrading, wherein, the multicast upgrading parameter that sent according to NM server by multicast server of described port information and described mirrored partition information and upgrade image fileinfo are determined;
Second upgraded module, for carrying out multicast upgrading according to described port information and described mirrored partition information.
14. devices according to claim 13, is characterized in that, described second upgraded module comprises:
Second judging unit, for judging whether described mirrored partition information meets described cloud terminal partitions upgrade requirement;
Upgrade unit, for when judged result is for being, described cloud terminal adds upgrading multicast according to described port information and carries out multicast upgrading.
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 true CN104660639A (en) 2015-05-27
CN104660639B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106059936A (en) * 2016-08-10 2016-10-26 北京海誉动想科技股份有限公司 Method and device for multicasting files in cloud system
WO2017181850A1 (en) * 2016-04-18 2017-10-26 中兴通讯股份有限公司 Method for use in system to upgrade terminal by multicast, and network management server
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

Families Citing this family (2)

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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017181850A1 (en) * 2016-04-18 2017-10-26 中兴通讯股份有限公司 Method for use in system to upgrade terminal by multicast, and network management server
CN106059936A (en) * 2016-08-10 2016-10-26 北京海誉动想科技股份有限公司 Method and device for multicasting files in cloud 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

Also Published As

Publication number Publication date
CN104660639B (en) 2020-03-27
WO2014180245A1 (en) 2014-11-13

Similar Documents

Publication Publication Date Title
CN104660639A (en) Method and device for upgrading cloud terminals
CN104102537B (en) A kind of application call method and user terminal
CN101039309B (en) Link sharing service apparatus and communication method thereof
CN103457973A (en) Image uploading method and system, image uploading client terminal and network server
CN103997452A (en) Information sharing method and apparatus among multiple platforms
CN102271123A (en) Communication method, system and equipment
CN101127781A (en) Method, device and mobile terminal for mobile terminal to download files
CN110806934A (en) RPA technology-based intelligent all-in-one machine development and multi-service rapid processing method
CN103634386A (en) Method and device for downloading application by client end application program
WO2014166265A1 (en) Method, terminal, cache server and system for updating webpage data
CN106375483A (en) File transmission method and device
WO2013097379A1 (en) Data backup method and device
CN103986742A (en) File synchronization method and correlation electronic devices
CN107911483A (en) A kind of information transferring method and device
CN103177104A (en) Searching method and device of application program
CN103023930A (en) Webpage sharing method and device
CN104852984A (en) Method and system for transmitting data between smart terminals based on multi-screen interaction
CN114338650A (en) File transmission method and device, electronic equipment and readable storage medium
CN102999628A (en) Search method and information search terminal
CN104216787A (en) Method, device and system for synchronizing clipboards between terminal equipment
CN105610958A (en) Method and device for selecting time synchronization server and intelligent terminal
CN106155842B (en) A kind of data migration method and device
CN103024724B (en) Information processing system is unified method, server, mobile terminal
CN107633102A (en) A kind of method, apparatus, system and equipment for reading metadata
CN101577730A (en) Method for uploading and downloading files synchronously based on FTP protocol

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