CN103533047A - Method and equipment for updating data discrete backup system - Google Patents

Method and equipment for updating data discrete backup system Download PDF

Info

Publication number
CN103533047A
CN103533047A CN201310475674.2A CN201310475674A CN103533047A CN 103533047 A CN103533047 A CN 103533047A CN 201310475674 A CN201310475674 A CN 201310475674A CN 103533047 A CN103533047 A CN 103533047A
Authority
CN
China
Prior art keywords
node
data
discrete
group
standby system
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
CN201310475674.2A
Other languages
Chinese (zh)
Other versions
CN103533047B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310475674.2A priority Critical patent/CN103533047B/en
Publication of CN103533047A publication Critical patent/CN103533047A/en
Application granted granted Critical
Publication of CN103533047B publication Critical patent/CN103533047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a method and equipment for updating a data discrete backup system. The method comprises the following steps that equipment for updating the data discrete backup system backs up the data of a first group of nodes in the data discrete backup system onto a second group of nodes in the data discrete backup system, wherein the first group of nodes comprise at least two nodes; the equipment resets the first group of nodes. In the embodiment, the backup data of the first group of nodes is regulated onto the second group of nodes, further, the first group of nodes can be simultaneously reset without causing the service interruption phenomenon, and the efficiency and the flexibility of the system updating are improved.

Description

Method and apparatus for the discrete standby system of upgrade data
Technical field
The embodiment of the present invention relates to data backup field, and more specifically, relates to a kind of method and apparatus for the discrete standby system of upgrade data.
Background technology
Data backup is the basic means that guarantees data reliability, in fields such as communication, cloud computing, large data storages, has a wide range of applications.
Data discrete backup refers to that the data of a node (for example main frame or virtual machine) are dispersed on other a plurality of nodes and backs up.Illustrate, suppose that the data of certain communication system are stored in 3 main frames, be respectively N1, N2, N3, wherein, the primary data of N1 are A1, A2, A3, and the primary data of N2 are B1, B2, B3, and the primary data of N3 are C1, C2, C3.Meanwhile, N1 is also storing Backup Data B2 ', C1 ', C3 '; N2 is store backup data A1 ' also, A3 ', C2 '; N3 is store backup data A2 ', B1 ', B3 ' (data X ' be the Backup Data of data X) also.As can be seen here, the primary data of N1 just back up in N2 and N3 respectively, and the primary data of N2 back up respectively in N1, N3, and the primary data of N3 back up respectively in N1, N2.Be exactly more than a simple example of data discrete backup, in reality, data discrete backup has the features such as resources conservation degree is high, extensibility good, capacity is large, so be widely used in above-mentioned every field.
When the software upgrading of data discrete standby system, when in this system that simultaneously resets 2 or a plurality of node, if the primary data of certain data and Backup Data are arranged in reset node simultaneously, can cause service disconnection corresponding to these data, thereby affect user's experience.In prior art, for avoiding occurring the situation of above-mentioned service disconnection, when discrete data standby system is upgraded, conventionally adopt the mode of node reset one by one to upgrade to data discrete standby system.Adopting upgrades in this way needs the more time, and upgrading efficiency is lower, and also underaction of upgrading mode.
Summary of the invention
The embodiment of the present invention provides a kind of method and apparatus for the discrete standby system of upgrade data, to improve the efficiency of system upgrade.
First aspect, a kind of method for the discrete standby system of upgrade data is provided, comprise: for the equipment of the discrete standby system of upgrade data by the data backup of described data discrete standby system the first group node the second group node in described data discrete standby system, wherein said the first group node comprises at least two nodes; The first group node described in described device reset.
In conjunction with first aspect, in a kind of implementation of first aspect, described the second group node comprises the residue node except described the first group node in described data discrete standby system; , after the first group node described in described device reset, described method also comprises: by the data backup of described the second group node on described the first group node; Described the second group node resets.
In conjunction with any of first aspect or its above-mentioned implementation, in the another kind of implementation of first aspect, node in described data discrete standby system is according to order serial number from small to large, described the first group node is the odd-numbered node in described data discrete standby system, and described the second group node is the even-numbered node in described data discrete standby system.
In conjunction with first aspect or its above-mentioned implementation any, in the another kind of implementation of first aspect, in described data discrete standby system, the number of node is N, and described N is even number; ; described by the data backup of the first group node in described data discrete standby system on the second group node in described data discrete standby system; and described by the data backup of described the second group node on described the first group node; comprise: by the data backup of i node in a described N node to the i+1 node in a described N node; 1≤i≤N-1 wherein, and by the data backup of the N node in a described N node to the 1st node in a described N node.
In conjunction with any of first aspect or its above-mentioned implementation, in the another kind of implementation of first aspect, after described the second group node of described reset, described method also comprises: the data discrete of each node in a described N node is backed up in described data discrete standby system in other nodes except described each node.
In conjunction with first aspect or its above-mentioned implementation any, in the another kind of implementation of first aspect, in described data discrete standby system, the number of node is N, and described N is odd number; ; described by the data backup of the first group node in described data discrete standby system on the second group node in described data discrete standby system; and described by the data backup of described the second group node on described the first group node, comprising: in described data discrete standby system, increase a new node that is numbered N+1; By on data backup to the j+1 node of j node, 1≤j≤N wherein.
In conjunction with any of first aspect or its above-mentioned implementation, in the another kind of implementation of first aspect, after the described second group of joint of described reset, described method also comprises: the data discrete of each node in the node of the N except described new node is backed up in a described N node in other nodes except described each node; Discharge described new node.
In conjunction with any of first aspect or its above-mentioned implementation, in the another kind of implementation of first aspect, described the data backup of the first group node in described data discrete standby system, on the second group node in described data discrete standby system, being comprised: the data discrete of described the first group node is backed up on described the second group node; Described by the data backup of described the second group node on described the first group node, comprising: the data discrete of described the second group node is backed up on described the first group node.
In conjunction with first aspect or its above-mentioned implementation any, in the another kind of implementation of first aspect, the node in described data discrete standby system is main frame or virtual machine.
Second aspect, a kind of equipment for the discrete standby system of upgrade data is provided, comprise: backup units, for the second group node in described data discrete standby system by the data backup of described data discrete standby system the first group node, wherein said the first group node comprises at least two nodes; Reset unit, for backing up after the data of described the first group node in described backup units, described the first group node resets.
In conjunction with second aspect, in a kind of implementation of second aspect, described backup units is also for after described the first group node that resets at described reset unit, by the data backup of described the second group node, on described the first group node, wherein said the second group node comprises the residue node except described the first group node in described data discrete standby system; Described reset unit is also for backing up after the data of described the second group node in described backup units, and described the second group node resets.
In conjunction with any of second aspect or its above-mentioned implementation, in the another kind of implementation of second aspect, node in described data discrete standby system is according to order serial number from small to large, described the first group node is the odd-numbered node in described data discrete standby system, and described the second group node is the even-numbered node in described data discrete standby system.
In conjunction with second aspect or its above-mentioned implementation any, in the another kind of implementation of second aspect, in described data discrete standby system, the number of node is N, and described N is even number; , described backup units specifically for by the data backup of i node in a described N node to the i+1 node in a described N node, 1≤i≤N-1 wherein, and by data backup to the 1 node of the N node in a described N node.
In conjunction with any of second aspect or its above-mentioned implementation, in the another kind of implementation of second aspect, described backup units is also for backing up in a described N node in other nodes except described each node the Backup Data of described each node of data discrete standby system is discrete.
In conjunction with second aspect or its above-mentioned implementation any, in the another kind of implementation of second aspect, in described data discrete standby system, the number of node is N, and described N is odd number; Described equipment also comprises: increase unit, for increasing a new node that is numbered N+1 at described data discrete standby system; Described backup units is specifically for by data backup to the j+1 node of j node, wherein 1≤j≤N.
In conjunction with any of second aspect or its above-mentioned implementation, in the another kind of implementation of second aspect, described backup units is also for backing up to the data discrete of the N except described new node each node of node in a described N node in other nodes except described each node; Described equipment also comprises: releasing unit, and for discharging described new node.
In conjunction with any of second aspect or its above-mentioned implementation, in the another kind of implementation of second aspect, described backup units is specifically for the data discrete of described the first group node is backed up on described the second group node, and the data discrete of described the second group node is backed up on described the first group node.
In conjunction with second aspect or its above-mentioned implementation any, in the another kind of implementation of second aspect, the node in described data discrete standby system is main frame or virtual machine.
In the embodiment of the present invention, by the Backup Data of the first group node is adjusted on the second group node, and then can reset this first group node simultaneously and not cause service disconnection phenomenon, having improved efficiency and the flexibility of system upgrade.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, to the accompanying drawing of required use in the embodiment of the present invention be briefly described below, apparently, below described accompanying drawing be only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the indicative flowchart of the method for the discrete standby system of upgrade data of the embodiment of the present invention.
Fig. 2 is the flow chart of the method for the discrete standby system of upgrade data of the embodiment of the present invention.
Fig. 3 is the flow chart of the method prepared of the upgrading corresponding with Fig. 2.
Fig. 4 is the flow chart of the method carried out of the upgrading corresponding with Fig. 2.
Fig. 5 is the flow chart of the method recovered of the system corresponding with Fig. 2.
Fig. 6 is the upgrading flow example figure when interstitial content is odd number according to the embodiment of the present invention.
Fig. 7 is the upgrading schematic diagram when interstitial content is even number according to an embodiment of the invention.
Fig. 8 is according to the schematic block diagram of the equipment for the discrete standby system of upgrade data of the embodiment of the present invention.
Fig. 9 is according to the schematic block diagram of the equipment for the discrete standby system of upgrade data of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work, should belong to the scope of protection of the invention.
Fig. 1 is the indicative flowchart of the method for the discrete standby system of upgrade data of the embodiment of the present invention.The method of Fig. 1 can be by carrying out for the equipment of the discrete standby system of upgrade data.The method of Fig. 1 comprises:
110,, by the data backup of the first group node in data discrete standby system on the second group node in data discrete standby system, wherein the first group node comprises at least two nodes;
Should be understood that the first group node can be the node that above-mentioned data discrete standby system need to be upgraded.Further, in step 110, the position of the Backup Data of the second group node (memory location) do not done to concrete restriction, can be positioned on the first group node; Also can a part be positioned on the first group node, a part is positioned on the second group node; Can also all be positioned on the second group node.
120, first group node that resets.
In the embodiment of the present invention, by the Backup Data of the first group node is adjusted on the second group node, and then can reset this first group node simultaneously and not cause service disconnection phenomenon, having improved efficiency and the flexibility of system upgrade.
Should be understood that the node in the embodiment of the present invention can be main frame (as server), also can refer to virtual machine.
It should be noted that, in step 120, above-mentioned the first group node can reset in any way, for example, can reset successively, at least two nodes that also can simultaneously reset in the first group node, all nodes that can also simultaneously reset in the first group node, the embodiment of the present invention is not done concrete restriction to this.
In prior art, when discrete data system reset, two service disconnection that node causes that reset when avoiding mentioning in background technology, need node one by one to reset.
In the embodiment of the present invention, in step 120, at least two nodes that can simultaneously reset in the first group node, thereby node reset required time while reducing data discrete standby system, the efficiency of raising system upgrade.
Further, all nodes that can simultaneously reset in the first group node, thereby node reset required time while further reducing data discrete standby system, the efficiency of raising system upgrade.
It should be noted that, the embodiment of the present invention is not done concrete restriction to the dividing mode of above-mentioned the first group node, the second group node.Particularly, can be the mode of initiatively dividing, for example, before step 110, the method for Fig. 1 also can comprise: by above-mentioned each node division, be the first group node and the second group node.Certainly, also can be the mode that adopts other divisions, for example, sort successively in position according to above-mentioned each node in above-mentioned data discrete standby system (or node adds the time of system etc.), wherein the first group node can be the odd-numbered node after sequence, and the second group node can be the even-numbered node after sequence.
It should be noted that, so-called odd-numbered node refers to the node that is numbered odd number, and so-called even-numbered node refers to the node that is numbered even number.
Alternatively, as an embodiment, the second group node can comprise the residue node except the first group node in data discrete standby system; , after the said equipment resets described the first group node, the method for Fig. 1 also can comprise: by the data backup of the second group node on the first group node; The second group node resets.
Particularly, when all nodes of above-mentioned data discrete standby system all need to upgrade, because the first group node and the second group node have been stored the other side's Backup Data each other, the first group node so can first reset, reset the second group node (certainly again, also the second group node then first group node that resets can first reset).Like this, improved the upgrading efficiency of data discrete standby system.
Further, the data of the first group node can discrete backup on the second group node, the data of the second group node also can discrete backup on the first group node, make system when upgrading, still retain the features such as the resources conservation degree that discrete backup brings is high, extensibility good, capacity is large.
In data discrete standby system, the memory space of each node adopts unitized customization conventionally, each node is except the primary data of storage oneself, the Backup Data of general only backup and the primary data equivalent of this node, in this case, during to node grouping in data discrete standby system, can be so that the number of every group node be identical, for example, to guarantee that the memory space of a group node wherein can hold the Backup Data of another group node, can adopt the mode of even-odd partition to divide into groups to node.
Alternatively, as an embodiment, node in data discrete standby system is according to order serial number from small to large, and the first group node is the odd-numbered node in data discrete standby system, and the second group node is the even-numbered node in data discrete standby system.
Should be understood that the embodiment of the present invention to the Backup Data of odd-numbered node (or even-numbered node) distribution mode on even-numbered node (or odd-numbered node) do not do concrete restriction.For example, data backup that can an odd-numbered node (even-numbered node) is upper at a corresponding even-numbered node (odd-numbered node), and data discrete backup that also can an odd-numbered node is on a plurality of even-numbered nodes.
Alternatively, the data discrete of odd-numbered node is backed up on even-numbered node, and the data discrete of even-numbered node is backed up on odd-numbered node.Like this when system upgrade, still retain the features such as the resources conservation degree that discrete backup brings is high, extensibility good, capacity is large.
Alternatively, as an embodiment, in above-mentioned data discrete standby system, the number of node is N, and N is even number, above-mentioned by the data backup of the first group node in data discrete standby system on the second group node in data discrete standby system, and the data backup of the second group node can be comprised on the first group node: by the data backup of i node in N node to the i+1 node in N node, 1≤i≤N-1 wherein, and by the data backup of the N node in N node to the 1st node in N node.It should be noted that, i node refers to the node that is numbered i.When in data discrete standby system, the number of node is N, the node in this data discrete standby system can be numbered since 1 successively according to the order from little arrival.
In embodiments of the present invention, adjacent two nodes of data discrete standby system, the Backup Data of the node that the node memory sequencing of sequence after leaning on is forward, the rapid adjustment of the backup data locations of being more convenient for and memory, the recovery that further improves system backup data after the efficiency of system upgrade and upgrading.
For example, co-exist in 4 nodes in this data discrete standby system, order is followed successively by 1,2,3,4.Above-mentioned the first group node can be the 1st, 3 nodes, and the second group node can be the 2nd, 4 nodes.Can be by the data backup of the 1st node on the 2nd node, the data backup of the 2nd node is on the 3rd node, and the data backup of the 3rd node is on the 4th node, and the data backup of the 4th node, on the 1st node 1, forms chained record backup architecture.During upgrading, the 1st, 3 nodes of can first upgrading, because the Backup Data of the 1st, 3 nodes is positioned on the 2nd, 4 nodes, so the business of carrying on the 1st, 3 nodes can not interrupted.After the 1st, 3 node upgradings finish, then continue upgrading the 2nd, 4 nodes, the business of the 2nd, 4 nodes can not interrupted equally.
The data backup that above-mentioned chain type backup refers to the i node in data discrete standby system is on i+1 node, when the interstitial content of data discrete standby system is even number, on 1 node of data backup to the of last node in this data discrete standby system, when the interstitial content of data discrete standby system is odd number, can apply for a new node, by the node of the extremely new application of the data backup of last node.
It should be noted that, chain type backup is different from discrete backup, and discrete backup refers to the data of a node are disperseed to be stored in other node, and chain type backs up and refers to the data of a node are stored in the next node adjacent with this node.
Alternatively, after second group node that resets, Fig. 1 method also can comprise: the data discrete of each node in N node is backed up in N node in other nodes except each node.; after system upgrade finishes; the data of this data discrete standby system can be readjusted back to the mode of discrete backup; certainly; the position that the Backup Data adjustment of each node can be gone up before level; also can be by the Backup Data of each node again discrete backing up in other nodes, the embodiment of the present invention is not done concrete restriction to this.
Alternatively, in data discrete standby system, the number of node is N, and N is odd number; Above-mentioned by the data backup of the first group node in data discrete standby system on the second group node in data discrete standby system, and the data backup of the second group node can be comprised on the first group node: a new node that is numbered N+1 in data discrete standby system, increased; By on data backup to the j+1 node of j node, 1≤j≤N wherein.
In embodiments of the present invention, adjacent two nodes of data discrete standby system, the Backup Data of the node that the node memory sequencing of sequence after leaning on is forward, the rapid adjustment of the backup data locations of being more convenient for and memory, the recovery that further improves system backup data after the efficiency of system upgrade and upgrading.
For example, co-exist in 3 nodes in this discrete standby system, order is followed successively by 1,2,3.Now, increase new the 4th node (corresponding to above-mentioned new node), like this, the first group node is the 1st, 3 nodes, and the second group node is the 2nd, 4 nodes.Can make the Backup Data of the 1st node be positioned on the 2nd node, the Backup Data of the 2nd node is positioned on the 3rd node, and the Backup Data of the 3rd node is positioned on the 4th node, forms chained record backup architecture.During upgrading, the 1st, 3 nodes of can first upgrading, because the Backup Data of the 1st, 3 nodes is positioned on the 2nd, 4 nodes, so the business of carrying on the 1st, 3 nodes can not interrupted.After the 1st, 3 node upgradings finish, then continue upgrading the 2nd, 4 nodes, the business of the 2nd, 4 nodes can not interrupted equally.
Alternatively, after the second group of joint that reset, the method for Fig. 1 also can comprise: the data discrete of each node in the node of the N except new node is backed up in N node in other nodes except each node; Release new node.; after system upgrade finishes; the data of this data discrete standby system can be readjusted back to the mode of discrete backup; certainly; the position that the Backup Data adjustment of each node can be gone up before level; also can be by the Backup Data of each node again discrete other nodes that back up to except newly-increased node, the embodiment of the present invention is not done concrete restriction to this.Like this, newly-increased node will be available, and this node can be discharged, and for example, when node is physical hardware, can allows it enter power save mode, or delete from the usable range of this system, to use it for other application; When this node is virtual machine, can be released in system resource pond.
Below in conjunction with object lesson, the embodiment of the present invention is described in further detail.The example that it should be noted that Fig. 2 to Fig. 5 is only used to help skilled in the art to understand the embodiment of the present invention, and leaves no choice but the embodiment of the present invention to be limited to illustrated concrete numerical value or concrete scene.Those skilled in the art, according to the example of given Fig. 2 to Fig. 5, obviously can carry out modification or the variation of various equivalences, and such modification or variation also fall in the scope of the embodiment of the present invention.
Fig. 2 is the flow chart of the method for the discrete standby system of upgrade data of the embodiment of the present invention, and the method can be by carrying out for the equipment of the discrete standby system of upgrade data.The method of Fig. 2 can comprise:
210, upgrading is prepared;
In the upgrading preparatory stage, mainly the position of the Backup Data in data discrete standby system is adjusted.
220, upgrading is carried out;
In the upgrading execution phase, mainly each node in data discrete standby system is resetted.
230, system is recovered.
In system, recover the stage, mainly by the location restore of above-mentioned Backup Data to the position before upgrading, or again revert to the mode of discrete backup.
Fig. 3 is the flow chart of the method prepared of the upgrading corresponding with Fig. 2.The method of Fig. 3 can comprise:
211, upgrading starts;
212, determine that interstitial content is odd number or even number, when interstitial content is odd number, goes to step 213; When interstitial content is even number, go to step 214;
213, application new node;
214, node data backup is adjusted to chain type backup;
Wherein, so-called chain type backup refers to the data at i+1 node standby i node.
Fig. 4 is the flow chart of the method carried out of the upgrading corresponding with Fig. 2.The method of Fig. 4 can comprise:
221, reset upgrading B plane;
Should be understood that i.e. all odd-numbered node or the even-numbered node of the B plane here.For example, in data discrete standby system, there are 4 nodes, i.e. the 1st node to the 4 nodes, B plane specifically can comprise the 1st node and the 3rd node, also can comprise the 2nd node and the 4th node.
222, reset upgrading A plane;
Should be understood that with above-mentioned reset upgrading B plane in like manner, the residue node outside node corresponding to B plane that specifically can refer to reset of the reset upgrading A plane here.
Fig. 5 is the flow chart of the method recovered of the system corresponding with Fig. 2.The method of Fig. 5 can comprise:
231, the quantity N that determines upgrading front nodal point, when number of nodes is odd number, goes to step 232; When number of nodes is even number, go to step 233;
232, the data discrete of each node in the node of the N except new node is backed up to other nodes except this each node in this N node, and discharge this new node, upgrading finishes;
For example, when new node is physical hardware, can allows it enter power save mode, or delete from the usable range of this system, to this new node is used in other application; When this new node is virtual machine, this new node can be discharged in system resource pond.
233, the data discrete of each node in this N node is backed up in this data discrete standby system in other nodes except this each node, upgrading finishes.
It should be noted that the position that the memory location of the Backup Data of each node in system can be readjusted before level, also can adopt the data of new above-mentioned each node of the discrete backup of data discrete backup mode.
In the embodiment of the present invention, by priority reset odd-numbered node and even-numbered node, thereby node reset required time while reducing data discrete standby system improves the efficiency of system upgrade.
Fig. 6 is the upgrading exemplary plot when interstitial content is odd number according to the embodiment of the present invention.It is example that Fig. 6 be take 3 nodes (N1, N2 and N3).
Before upgrading, the data discrete of N1 node backs up in N2, N3, and the data discrete of N2 node backs up in N1, N3, and the data discrete of N3 node backs up in N1, N2.
Because interstitial content is odd number, so when preparing upgrading, need to increase a new node N4.
During upgrading, the position of Backup Data is adjusted to chain type backup architecture, i.e. the Backup Data of N1 node backup is in N2, and the Backup Data of N2 node backs up in N3, and the Backup Data of N3 node backs up in N4.
After upgrading finishes, above-mentioned chain type backup architecture is readjusted back to discrete backup, in Fig. 6, the discrete backup mode again ging up before level.
Fig. 7 is the upgrading schematic diagram when interstitial content is even number according to an embodiment of the invention.It is example that Fig. 7 be take 4 nodes (N1, N2, N3 and N4).
Before upgrading, the discrete backup of the Backup Data of N1 node is in N2, N3 and N4; Discrete the backing up in N1, N3 and N4 of Backup Data of N2 node; Discrete the backing up in N1, N2 and N4 of Backup Data of N3 node; Discrete the backing up in N1, N2 and N3 of Backup Data of N4 node.
During upgrading, the Backup Data of N1 is adjusted on N2 node; The Backup Data of N2 is adjusted on N3 node; The Backup Data of N3 is adjusted on N4 node; The Backup Data of N4 is adjusted on N1 node, forms chain type backup architecture.
After upgrading, the data of N1-N4 node are readjusted back to the mode of discrete backup.
Above, in conjunction with Fig. 1 to Fig. 7, describe the method for the discrete standby system of upgrade data according to the embodiment of the present invention in detail, below in conjunction with Fig. 8 to Fig. 9, describe in detail according to the subscriber equipment of the embodiment of the present invention and base station.
Fig. 8 is according to the schematic block diagram of the equipment for the discrete standby system of upgrade data of the embodiment of the present invention.The equipment 800 of Fig. 8 comprises: backup units 810 and reset unit 820.
Backup units 810, for the second group node in data discrete standby system by the data backup of data discrete standby system the first group node, wherein the first group node comprises at least two nodes;
Reset unit 820, after the data at backup units 810 backup the first group nodes, the first group node resets.
In the embodiment of the present invention, by the Backup Data of the first group node is adjusted on the second group node, and then can reset this first group node simultaneously and not cause service disconnection phenomenon, having improved efficiency and the flexibility of system upgrade.
Alternatively, as an embodiment, backup units 810 is also for after reset unit 820 resets described the first group node, and by the data backup of the second group node, on the first group node, wherein the second group node comprises the residue node except the first group node in data discrete standby system; Reset unit 820 is also for after the data at backup units 810 backup the second group nodes, and the second group node resets.
Alternatively, as another embodiment, node in data discrete standby system is according to order serial number from small to large, and the first group node is the odd-numbered node in data discrete standby system, and the second group node is the even-numbered node in data discrete standby system.
Alternatively, as another embodiment, in data discrete standby system, the number of node is N, and N is even number; , backup units 810 specifically for by the data backup of i node in N node to the i+1 node in N node, 1≤i≤N-1 wherein, and by data backup to the 1 node of the N node in N node.
Alternatively, as another embodiment, backup units 810 is also for backing up in N node in other nodes except each node the Backup Data of each node of data discrete standby system is discrete.
Alternatively, as another embodiment, in data discrete standby system, the number of node is N, and N is odd number; Equipment 800 also comprises: increase unit, for increase a new node that is numbered N+1 at data discrete standby system; Backup units 810 is specifically for by data backup to the j+1 node of j node, wherein 1≤j≤N.
Alternatively, as another embodiment, backup units 810 is also for backing up to the data discrete of the N except new node each node of node in N node in other nodes except each node; Equipment 800 also comprises: releasing unit, and for release new node.
Alternatively, as another embodiment, backup units 810 is specifically for the data discrete of the first group node is backed up on the second group node, and the data discrete of the second group node is backed up on the first group node.
Alternatively, as another embodiment, each node in data discrete standby system is main frame or virtual machine.
Fig. 9 is according to the schematic block diagram of the equipment for the discrete standby system of upgrade data of the embodiment of the present invention.The equipment 900 of Fig. 9 comprises: memory 910 and processor 920.
The equipment 900 of Fig. 9 can be realized each step in Fig. 1 to Fig. 7, for avoiding repetition, is not described in detail.
Memory 910, for storage program;
Processor 920, for carrying out the program of described memory 910 storages, when this program is performed, on the second group node by the data backup of the first group node in data discrete standby system in data discrete standby system, wherein the first group node comprises at least two nodes; The first group node resets.
In the embodiment of the present invention, by the Backup Data of the first group node is adjusted on the second group node, and then can reset this first group node simultaneously and not cause service disconnection phenomenon, having improved efficiency and the flexibility of system upgrade.
Alternatively, as an embodiment, processor 920 is also for after first group node that resets, and by the data backup of the second group node, on the first group node, wherein the second group node comprises the residue node except the first group node in data discrete standby system; The second group node resets.
Alternatively, as another embodiment, node in data discrete standby system is according to order serial number from small to large, and the first group node is the odd-numbered node in data discrete standby system, and the second group node is the even-numbered node in data discrete standby system.
Alternatively, as another embodiment, in data discrete standby system, the number of node is N, and N is even number; , processor 920 specifically for by the data backup of i node in N node to the i+1 node in N node, 1≤i≤N-1 wherein, and by data backup to the 1 node of the N node in N node.
Alternatively, as another embodiment, processor 920 is also for backing up in N node in other nodes except each node the Backup Data of each node of data discrete standby system is discrete.
Alternatively, as another embodiment, in data discrete standby system, the number of node is N, and N is odd number; Processor 920 is also for increasing a new node that is numbered N+1 at data discrete standby system; Processor 920 is specifically for by data backup to the j+1 node of j node, wherein 1≤j≤N.
Alternatively, as another embodiment, processor 920 is also for backing up to the data discrete of the N except new node each node of node in N node in other nodes except each node; Processor 920 is also for release new node.
Alternatively, as another embodiment, processor 920 is specifically for the data discrete of the first group node is backed up on the second group node, and the data discrete of the second group node is backed up on the first group node.
Alternatively, as another embodiment, each node in data discrete standby system is main frame or virtual machine.
Those of ordinary skills can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that disclosed system, apparatus and method can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.
If described function usings that the form of SFU software functional unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words or the part of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by the described protection range with claim.

Claims (18)

1. for a method for the discrete standby system of upgrade data, it is characterized in that, comprising:
For the equipment of the discrete standby system of upgrade data by the data backup of described data discrete standby system the first group node the second group node in described data discrete standby system, wherein said the first group node comprises at least two nodes;
The first group node described in described device reset.
2. the method for claim 1, is characterized in that, described the second group node comprises the residue node except described the first group node in described data discrete standby system;
, after the first group node described in described device reset, described method also comprises:
Described equipment by the data backup of described the second group node on described the first group node;
The second group node described in described device reset.
3. method as claimed in claim 2, it is characterized in that, node in described data discrete standby system is according to order serial number from small to large, described the first group node is the odd-numbered node in described data discrete standby system, and described the second group node is the even-numbered node in described data discrete standby system.
4. method as claimed in claim 3, is characterized in that, in described data discrete standby system, the number of node is N, and described N is even number;
, described by the data backup of the first group node in described data discrete standby system on the second group node in described data discrete standby system, and described by the data backup of described the second group node on described the first group node, comprising:
By the data backup of i node in a described N node to the i+1 node in a described N node, 1≤i≤N-1 wherein, and by the data backup of the N node in a described N node extremely on the 1st node in a described N node.
5. method as claimed in claim 4, is characterized in that, after described the second group node of described reset, described method also comprises:
The data discrete of each node in a described N node is backed up in described data discrete standby system in other nodes except described each node.
6. method as claimed in claim 3, is characterized in that, in described data discrete standby system, the number of node is N, and described N is odd number;
, described by the data backup of the first group node in described data discrete standby system on the second group node in described data discrete standby system, and described by the data backup of described the second group node on described the first group node, comprising:
In described data discrete standby system, increase a new node that is numbered N+1;
By on data backup to the j+1 node of j node, 1≤j≤N wherein.
7. method as claimed in claim 6, is characterized in that, after the described second group of joint of described reset, described method also comprises:
The data discrete of each node in the node of the N except described new node is backed up in a described N node in other nodes except described each node;
Discharge described new node.
8. method as claimed in claim 2, is characterized in that, described the data backup of the first group node in described data discrete standby system, on the second group node in described data discrete standby system, being comprised:
The data discrete of described the first group node is backed up on described the second group node;
Described by the data backup of described the second group node on described the first group node, comprising:
The data discrete of described the second group node is backed up on described the first group node.
9. the method as described in any one in claim 1-8, is characterized in that, the node in described data discrete standby system is main frame or virtual machine.
10. for an equipment for the discrete standby system of upgrade data, it is characterized in that, comprising:
Backup units, for the second group node in described data discrete standby system by the data backup of described data discrete standby system the first group node, wherein said the first group node comprises at least two nodes;
Reset unit, for backing up after the data of described the first group node in described backup units, described the first group node resets.
11. equipment as claimed in claim 10, is characterized in that,
Described backup units is also for after described the first group node that resets at described reset unit, by the data backup of described the second group node, on described the first group node, wherein said the second group node comprises the residue node except described the first group node in described data discrete standby system;
Described reset unit is also for backing up after the data of described the second group node in described backup units, and described the second group node resets.
12. equipment as claimed in claim 11, it is characterized in that, node in described data discrete standby system is according to order serial number from small to large, described the first group node is the odd-numbered node in described data discrete standby system, and described the second group node is the even-numbered node in described data discrete standby system.
13. equipment as claimed in claim 12, is characterized in that, in described data discrete standby system, the number of node is N, and described N is even number;
, described backup units specifically for by the data backup of i node in a described N node to the i+1 node in a described N node, 1≤i≤N-1 wherein, and by data backup to the 1 node of the N node in a described N node.
14. equipment as claimed in claim 13, is characterized in that, described backup units is also for backing up in a described N node in other nodes except described each node the Backup Data of described each node of data discrete standby system is discrete.
15. equipment as claimed in claim 12, is characterized in that, in described data discrete standby system, the number of node is N, and described N is odd number;
Described equipment also comprises:
Increase unit, for increasing a new node that is numbered N+1 at described data discrete standby system;
Described backup units is specifically for by data backup to the j+1 node of j node, wherein 1≤j≤N.
16. equipment as claimed in claim 15, is characterized in that,
Described backup units is also for backing up to the data discrete of the N except described new node each node of node in a described N node in other nodes except described each node;
Described equipment also comprises:
Releasing unit, for discharging described new node.
17. equipment as claimed in claim 11, is characterized in that, described backup units is specifically for the data discrete of described the first group node is backed up on described the second group node, and the data discrete of described the second group node is backed up on described the first group node.
18. equipment as described in any one in claim 10-17, is characterized in that, the node in described data discrete standby system is main frame or virtual machine.
CN201310475674.2A 2013-10-12 2013-10-12 Method and apparatus for data discrete standby system of upgrading Active CN103533047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310475674.2A CN103533047B (en) 2013-10-12 2013-10-12 Method and apparatus for data discrete standby system of upgrading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310475674.2A CN103533047B (en) 2013-10-12 2013-10-12 Method and apparatus for data discrete standby system of upgrading

Publications (2)

Publication Number Publication Date
CN103533047A true CN103533047A (en) 2014-01-22
CN103533047B CN103533047B (en) 2017-07-14

Family

ID=49934712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310475674.2A Active CN103533047B (en) 2013-10-12 2013-10-12 Method and apparatus for data discrete standby system of upgrading

Country Status (1)

Country Link
CN (1) CN103533047B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017143905A1 (en) * 2016-02-25 2017-08-31 华为技术有限公司 Online upgrade method, device and system
CN107306416A (en) * 2016-04-25 2017-10-31 中国移动通信集团云南有限公司 The recording method of business diary and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102219A (en) * 2007-07-30 2008-01-09 华为技术有限公司 Software update system and software update method
CN101729277A (en) * 2008-10-27 2010-06-09 华为技术有限公司 Method for managing equipment pool, node equipment and communication system
CN101753349A (en) * 2008-12-09 2010-06-23 中国移动通信集团公司 Upgrading method of data node, upgrade dispatching node as well as upgrading system
CN101841571A (en) * 2010-05-24 2010-09-22 尤建兴 Data discrete storage method, data discrete storage device and data recovery method
CN101937376A (en) * 2009-06-30 2011-01-05 联想(北京)有限公司 Data management method and data storage device
CN101968744A (en) * 2010-11-01 2011-02-09 杭州华三通信技术有限公司 Intelligent resilient framework (IRF) system-based method and system for upgrading box type equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102219A (en) * 2007-07-30 2008-01-09 华为技术有限公司 Software update system and software update method
CN101729277A (en) * 2008-10-27 2010-06-09 华为技术有限公司 Method for managing equipment pool, node equipment and communication system
CN101753349A (en) * 2008-12-09 2010-06-23 中国移动通信集团公司 Upgrading method of data node, upgrade dispatching node as well as upgrading system
CN101937376A (en) * 2009-06-30 2011-01-05 联想(北京)有限公司 Data management method and data storage device
CN101841571A (en) * 2010-05-24 2010-09-22 尤建兴 Data discrete storage method, data discrete storage device and data recovery method
CN101968744A (en) * 2010-11-01 2011-02-09 杭州华三通信技术有限公司 Intelligent resilient framework (IRF) system-based method and system for upgrading box type equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017143905A1 (en) * 2016-02-25 2017-08-31 华为技术有限公司 Online upgrade method, device and system
US10999139B2 (en) 2016-02-25 2021-05-04 Huawei Technologies Co., Ltd. Online upgrade method, apparatus, and system
CN107306416A (en) * 2016-04-25 2017-10-31 中国移动通信集团云南有限公司 The recording method of business diary and device

Also Published As

Publication number Publication date
CN103533047B (en) 2017-07-14

Similar Documents

Publication Publication Date Title
CN104166606A (en) File backup method and main storage device
CN103051691B (en) Partition allocation method, device and distributed memory system
CN107436733A (en) Management by district method and management by district device
CN103019614A (en) Distributed storage system management device and method
CN103246549B (en) A kind of method and system of data conversion storage
CN102866954A (en) Method and device for allocating internal memory
CN105518641A (en) Method, device, and system for peer-to-peer data replication and method, device, and system for master node switching
CN104571956A (en) Data writing method and splitting device
CN109408291A (en) A kind of distributed memory system disk snapshot restoration methods, device and electronic equipment
CN106681862A (en) Method and apparatus for incremental recovery of data
CN103370113A (en) Data storage method and data storage system
CN104216796A (en) Data backup and recovery method and electronic device
CN104040512A (en) Method and device for processing storage space and non-volatile computer readable storage medium
CN106202392A (en) A kind of photo classification method and terminal
CN104268097B (en) A kind of metadata processing method and system
CN103049508A (en) Method and device for processing data
CN103533047A (en) Method and equipment for updating data discrete backup system
CN106201354A (en) Date storage method and system
CN103823641B (en) The virtual volume system of a kind of on-line rapid estimation and its implementation
CN103530206B (en) A kind of method and apparatus of date restoring
CN105373450A (en) Data backup method and apparatus
CN102662796A (en) Method and system for recovering data
CN110708369A (en) File deployment method and device for equipment nodes, scheduling server and storage medium
CN104246716B (en) The processing method and equipment of memory space object
CN101794246B (en) Backup storage system, backup system, data backup method and recovery method

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