CN115470037A - Data backup method, network management, network element and storage medium - Google Patents

Data backup method, network management, network element and storage medium Download PDF

Info

Publication number
CN115470037A
CN115470037A CN202110653221.9A CN202110653221A CN115470037A CN 115470037 A CN115470037 A CN 115470037A CN 202110653221 A CN202110653221 A CN 202110653221A CN 115470037 A CN115470037 A CN 115470037A
Authority
CN
China
Prior art keywords
time
data
backup
uploading
network element
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.)
Pending
Application number
CN202110653221.9A
Other languages
Chinese (zh)
Inventor
管涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN202110653221.9A priority Critical patent/CN115470037A/en
Priority to PCT/CN2022/095665 priority patent/WO2022257789A1/en
Publication of CN115470037A publication Critical patent/CN115470037A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a data backup method, a network manager, a network element and a storage medium, wherein the data backup method comprises the following steps: sending the time for uploading the backup data to the network element so that the network element generates the backup data before the time for uploading the backup data; and acquiring backup data sent by the network element according to the time for uploading the backup data, and storing the backup data. In the embodiment of the technical scheme, the network manager can send the time for uploading the backup data to the network element to request the network element to complete the generation of the backup data before the time for uploading the backup data, then obtain the backup data which is sent by the network element at the time for uploading the backup data, and store the backup data, so that the processing time of the network element on the data to be backed up can be effectively saved.

Description

Data backup method, network management, network element and storage medium
Technical Field
The present invention relates to, but not limited to, the field of communications, and in particular, to a data backup method, a network manager, a network element, and a storage medium.
Background
The network element data periodic backup usually performs backup processing on the network element data of the whole network at a specific time point periodically so as to deal with the problem that when a network element system is damaged accidentally, a network manager can quickly restore the network element to correct data before the accidental damage through the backup data.
At present, the periodic backup is to use the network manager as a concurrent request center, and the network manager backups the network element data of the whole network by waiting for queues and running queues. The network management will initiatively initiate a periodic backup request of the whole network to the network elements once a day, if the running queue backups at most n network elements, other network elements are all in the waiting queue during the backups of the n network elements. When the operation queue has the net element with the backup completed, the net element arranged at the forefront in the waiting queue is informed to enter the operation queue, the network manager sends a control message to the net element during the backup, the net element analyzes and generates a backup file after receiving the control message, and then the backup file is uploaded to the network manager. In the existing backup process, the larger the network element configuration data and the larger the number of network elements are, the longer the time it takes for the network element to generate the backup file after receiving the command is, which results in the longer the time it takes for the whole network period backup every day.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
The embodiment of the invention mainly aims to provide a data backup method, a network manager, a network element and a storage medium, which can save the time spent on backup.
In a first aspect, an embodiment of the present invention provides a data backup method, including:
sending the time for uploading the backup data to a network element so that the network element generates backup data before the time for uploading the backup data;
and acquiring the backup data sent by the network element according to the time for uploading the backup data, and storing the backup data.
In a second aspect, an embodiment of the present invention further provides a network manager, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the data backup method according to the first aspect when executing the computer program.
In a third aspect, an embodiment of the present invention further provides a data backup method, which is applied to a network element, where the method includes:
acquiring backup data uploading time;
obtaining backup generation time of data needing to be backed up;
obtaining backup data starting time according to the backup data uploading time and the backup generating time;
and processing the data to be backed up according to the backup data starting time so as to generate backup data before the backup data uploading time, and uploading the backup data to the network manager according to the backup data uploading time.
In a fourth aspect, an embodiment of the present invention further provides a network element, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the data backup method according to the third aspect when executing the computer program.
In a fifth aspect, a computer-readable storage medium stores computer-executable instructions for performing the data backup method of the first aspect.
The embodiment of the invention comprises the following steps: sending the time for uploading the backup data to the network element so that the network element generates the backup data before the time for uploading the backup data; and acquiring backup data sent by the network element according to the time for uploading the backup data, and storing the backup data. In the embodiment of the technical scheme, the network manager can send the time for uploading the backup data to the network element to request the network element to complete the generation of the backup data before the time for uploading the backup data, then obtain the backup data which is sent by the network element at the time for uploading the backup data, and store the backup data, so that the processing time of the network element on the data to be backed up can be effectively saved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
FIG. 1 is a schematic diagram of a system architecture for performing a data backup method according to an embodiment of the present invention;
fig. 2 is a flowchart of a data backup method applied to a network management system according to an embodiment of the present invention;
fig. 3 is a first flowchart of generating time for uploading backup data in a data backup method applied to network management according to an embodiment of the present invention;
fig. 4 is a second flowchart of generating upload backup data time in a data backup method applied to a network management according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a method for data backup applied to a network manager according to an embodiment of the present invention to retrieve backup data that fails to be uploaded;
fig. 6 is a flowchart of a forwarding mode of a data backup method applied to a network element according to an embodiment of the present invention;
fig. 7 is a flowchart of a method for backing up data of a network element according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that although functional blocks are partitioned in a schematic diagram of an apparatus and a logical order is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the partitioning of blocks in the apparatus or the order in the flowchart. The terms "first," "second," and the like in the description, in the claims, or in the foregoing drawings, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The embodiment of the invention provides a data backup method, a network manager, a network element and a storage medium, wherein the data backup method comprises the following steps of but not limited to: sending the time for uploading the backup data to the network element so that the network element generates the backup data before the time for uploading the backup data; and acquiring backup data sent by the network element according to the time for uploading the backup data, and storing the backup data. In the embodiment of the technical scheme, the network manager can send the time for uploading the backup data to the network element to request the network element to complete the generation of the backup data before the time for uploading the backup data, then obtain the backup data which is sent by the network element at the time for uploading the backup data, and store the backup data, so that the processing time of the network element on the data to be backed up can be effectively saved.
The embodiments of the present invention will be further explained with reference to the drawings.
As shown in fig. 1, fig. 1 is a schematic diagram of a system architecture platform 100 for executing a traffic packet forwarding method according to an embodiment of the present invention.
In the example of fig. 1, the system architecture platform 100 is provided with a processor 110 and a memory 120, wherein the processor 110 and the memory 120 may be connected by a bus or other means, and fig. 1 illustrates the connection by the bus as an example.
The memory 120, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. Further, the memory 120 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 120 optionally includes memory located remotely from processor 110, which may be connected to the system architecture platform via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
It will be understood by those skilled in the art that the system architecture platform may be applied to a communication network system, a mobile communication network system evolved later, and the like, and the embodiment is not limited in particular.
Those skilled in the art will appreciate that the system architecture platform shown in FIG. 1 does not constitute a limitation on embodiments of the invention, and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
In the system architecture platform shown in fig. 1, the processor 110 may invoke a traffic flow management program stored in the memory 120 to perform a traffic message forwarding method.
Based on the above system architecture platform, the following provides various embodiments of the data backup method of the present invention.
As shown in fig. 2, fig. 2 is a flowchart of a data backup method according to an embodiment of the present invention, where the data backup method is applied to a network manager, and the data backup method includes, but is not limited to, step S100 and step S200.
Step S100, sending the time for uploading the backup data to the network element, so that the network element generates the backup data before the time for uploading the backup data.
Specifically, the network manager may send the time for uploading the backup data corresponding to the network element that needs to perform data backup, so that the network element generates the backup data before the time for uploading the backup data, that is, the network element is required to send the backup data to the network manager when the current time is equal to the time for uploading the backup data.
It should be noted that, when the number of the network elements is multiple, the time for uploading the backup data is set for different network elements, if the object sent by the time for uploading the backup data is in units of network elements, the time for uploading the backup data for different network elements may be different, and if the object sent by the time for uploading the backup data is in units of network elements, the time for uploading the backup data for the network elements in the same network element group may be the same or different, and the setting of the time for uploading the backup data is not specifically limited in this embodiment.
And step S200, acquiring backup data sent by the network element according to the time for uploading the backup data, and storing the backup data.
Specifically, the network manager acquires backup data sent by the network element according to the time for uploading the backup data, and then stores the backup data, thereby completing the backup work of the data of each network element. The time for uploading the backup data is used for informing the time for uploading the backup data corresponding to each network element in advance, so that the network element completes the backup processing work on the data before the time for uploading the backup data, namely, the generation work of the backup data is completed before the time for uploading the backup data, the backup data is sent to the network manager during the time for uploading the backup data, the network manager does not need to wait for the network element to process the data to be backed up during the time for uploading the backup data, and then the backup data generated after the processing is acquired, and the time for waiting for the network element to process the data to be backed up can be saved.
It can be understood that, according to the requirement of the 5G communication technology, the number of threads of the concurrent processor is 25 in a large-capacity environment of 30 ten thousand network elements. Supposing that the webmaster triggers periodic backup at 0 am every day, if the backup processing is performed by the existing data backup method, the backup can be completed only by the method 40 in the afternoon of the same day, but if the backup processing is performed by the data backup method of the above embodiment, the backup work can be completed by the method 40 in the morning of the same day, which saves about 10 hours, and can also avoid the problem that the webmaster initiates a concurrency control message to the network element side for a long time every day and thread scheduling resources are occupied for a long time.
Number of packets 3000000/25=12000
Consuming time before improvement: 12000 +2/3600 =16.67 hours;
time is consumed after improvement: 12000 × 2/3600=6.67 hours;
after the improvement, the generation time of the network element data is mainly saved (3 is the time required by the generation of the backup data, and 2 is the time required by the network element to upload the backup data to the network manager).
Referring to fig. 3, when the number of the network elements is two or more, the control is performed in units of network elements, and the step S100 further includes, but is not limited to, step S310, step S320, step S330, step S340, and step S350.
Step S310, more than two network elements are sequenced according to the uploading sequence, and a first sequencing number corresponding to each network element is obtained.
Specifically, the network manager may set an uploading order for more than two network elements, and then sort the network elements according to the uploading order to obtain a first sorting number corresponding to each network element.
Step S320, obtaining a first data uploading time, where the first data uploading time is a transmission time from the network element to the network manager.
Specifically, the network manager may obtain a first data uploading time, where the first data uploading time is a transmission time required by the network element to upload the backup data to the network manager.
It should be noted that the first data uploading time may be preset, or may be set according to the longest time for uploading the backup data by a single network element in the historical uploaded backup data, or may be determined according to the average time in the historical uploaded backup data, which is not limited in this embodiment.
Step S330, a first time offset is obtained according to the first sequence number and the first upload data time.
Specifically, the network manager may perform calculation according to the first sequence number and the first upload data time corresponding to the network element, so as to obtain the first time offset. The first time offset represents an offset between the time of starting to upload the backup data to the network management of each network element and the time of starting to upload the backup data to the network management of the first network element.
In an embodiment, the network manager may subtract one from the first serial number to obtain a first offset coefficient, multiply the first offset coefficient by the first data uploading time to obtain a first time offset, and obtain the first time offset as an offset of a time when the network element starts to upload the backup data to the network manager relative to a time when the first network element starts to upload the backup data to the network manager.
Step S340, obtaining a first start time, where the first start time represents a start time when the network manager receives the backup data of the network element.
Specifically, the network manager may obtain a first start time, where the first start time represents a start time when the network manager receives the backup data of the network element, and the first start time may be preset, and is usually a start time of a periodic backup timing set by a user.
It should be noted that, the network manager may preset the first start time to 24 times per day, and may also adjust the first start time according to the total time required for historically backing up the data of all network elements, which is not specifically limited in this embodiment.
Step S350, obtaining the time for uploading the backup data according to the first start time and the first time offset.
Specifically, the network manager may calculate the time for uploading the backup data of each network element according to the first start time and the first time offset, where the time for uploading the backup data is used to inform the network element of the time for uploading the backup data corresponding to each network element in advance, so that the network element completes backup processing of the data before the time for uploading the backup data, that is, completes generation of the backup data before the time for uploading the backup data, and sends the backup data to the network manager at the time for uploading the backup data.
In an embodiment, a network manager may set an uploading order for more than two network elements, and sort the network elements according to the uploading order to obtain a first sorting number corresponding to each network element; then obtaining a first data uploading time, wherein the first data uploading time is the transmission time required by the network element to upload the backup data to the network management; calculating according to the first sequence number corresponding to the network element and the first uploading data time to obtain a first time offset; and then acquiring first starting time, wherein the first starting time represents the starting time of receiving the backup data of the network element by the network manager, and the time for uploading the backup data is obtained according to the first starting time and the first time offset. The network element completes the backup processing work of the data before the time of uploading the backup data, namely completes the generation work of the backup data before the time of uploading the backup data, and sends the backup data to the network manager during the time of uploading the backup data, so that the network manager does not need to wait for the network element to process the data to be backed up during the time of uploading the backup data and then acquire the backup data generated after the processing, and the time of waiting for the network element to process the data to be backed up can be saved.
In an embodiment, assuming that the number of the network elements is N, and the first sequence number may be 1, 2, or 3.. N, then the first offset coefficient is N-1, and a first time offset corresponding to the first sequence number is equal to the first offset coefficient multiplied by a first upload data time, where the first upload data time may be an average time for the network elements to upload backup data to the network manager, and then the upload backup data time corresponding to each network element is a preset first start time plus the first time offset.
Referring to fig. 4, when the number of the network elements is more than two, the network elements are grouped to obtain a network element group, and the control is performed by taking the network element group as a unit, and step S100 further includes, but is not limited to, step S410, step S420, step S430, step S440, step S450, step S460, and step S470.
Step S410, acquiring the number information of the network elements and the preset number of the parallel processing network elements.
Specifically, the network manager may obtain information about the number of network elements that need to upload the backup data, and may obtain the number of preset parallel processing network elements.
It should be noted that the network element that needs to upload the backup data may be all network elements connected to the network management system, or may be a marked network element connected to the network management system, and this embodiment does not specifically limit this.
It should be noted that the number of the parallel processing network elements refers to the number of backup data that the network manager can receive the network elements in parallel, and the number of the parallel processing network elements may be preset by a user according to the capability of the network manager, or may be set according to the load condition of the network manager during the operation process.
Step S420, the network elements are grouped according to the quantity information and the quantity information of the parallel processing network elements, and network element group information is obtained.
Specifically, the network manager may perform grouping processing on the network elements that need to upload the backup data according to the number information of the network elements and the number information of the parallel processing network elements, and may obtain the network element group information and the network elements corresponding to the network element group information.
In an embodiment, the network manager may set that each network element group may be provided with X network elements at most, and when the number information of the network elements is Y, the number of the network element groups is G = Y/X, and if there is a remainder in the calculation, the number of the network element groups is G +1.
Step S430, the network element group information is arranged according to the uploading sequence, and a second sorting number corresponding to each network element group information is obtained.
Specifically, the network manager may set an uploading sequence for the network element groups corresponding to the network element group information, and then sort the network element group information according to the uploading sequence to obtain a first sorting number corresponding to each network element group information.
Step S440, a second data uploading time is obtained, where the second data uploading time is a transmission time from the network manager to all network elements in the network element group information.
Specifically, the network manager may obtain a second data uploading time, where the second data uploading time is a transmission time from the network manager to all network elements in the network element group information for uploading the backup data.
It should be noted that the second data uploading time may also be set according to the longest time for uploading the backup data by the network element in the historical uploaded backup data, or may also be determined according to the average time for uploading the backup data by each network element in the network element group in the historical uploaded backup data, which is not limited in this embodiment.
Step S450, a second time offset is obtained according to the network element group information and the second data uploading time.
Specifically, the network manager may obtain a second time offset according to the network element group information and the second data uploading time, where the second time offset is used to represent an offset between a time when each network element group starts to upload the backup data to the network manager and a time when the first network element group starts to upload the backup data to the network manager.
In an embodiment, the network manager may subtract one from the second sequence number to obtain a second offset coefficient, multiply the second offset coefficient by the second data uploading time to obtain a second time offset, and the calculated second time offset is an offset of a time when the network element starts to upload the backup data to the network manager relative to a time when the second network element starts to upload the backup data to the network manager.
Step S460, a second start time is obtained, where the second start time represents a start time for the network manager to receive the backup data of the network element in the network element group information.
Specifically, the network manager may obtain a second start time, where the second start time represents a start time when the network manager receives the backup data of the network element group, and the second start time may be preset, and is usually a start time of a period backup timing set by a user.
It should be noted that, when the network manager may preset the second starting time to 24 times per day, the network manager may also adjust the second starting time according to the total time required for historically backing up the data of the network elements in all the network element groups, which is not specifically limited in this embodiment.
Step S470, obtaining the time for uploading the backup data according to the second start time and the second time offset.
Specifically, the network manager may calculate the time for uploading the backup data of each network element group according to the second start time and the second time offset, where the time for uploading the backup data is used to inform the network elements in each network element group of the time for uploading the backup data in advance, so that all the network elements in the network element groups complete the backup processing of the data before the time for uploading the backup data, that is, complete the generation of the backup data before the time for uploading the backup data, and send the backup data to the network manager at the time for uploading the backup data.
In an embodiment, a network manager may obtain quantity information of network elements that need to upload backup data, and may obtain a preset number of parallel processing network elements, then perform grouping processing on the network elements that need to upload the backup data according to the quantity information of the network elements and the number information of the parallel processing network elements, so as to obtain network elements corresponding to network element group information and the network element group information, then set an uploading sequence for the network element groups corresponding to the network element group information, and sort the network element group information according to the uploading sequence, so as to obtain a first sorting number corresponding to each network element group information, and then may obtain a second time offset according to the network element group information and a second uploading data time, further obtain a second starting time (the second starting time represents a starting time for the network manager to receive the backup data of the network elements in the network element group information), and obtain an uploading backup data time according to the second starting time and the second time offset. The data backup method can enable the network elements in the network element group to complete the data backup processing before the time of uploading the backup data, namely, to complete the generation of the backup data before the time of uploading the backup data, and to send the backup data to the network manager during the time of uploading the backup data, so that the network manager does not need to wait for the network elements to process the data to be backed up during the time of uploading the backup data, and then to acquire the generated backup data after the processing, thereby effectively saving the time of waiting for the network elements to process the data to be backed up.
It should be noted that, the network manager groups the network elements according to the number of the network elements, and calculates and sets the time for uploading the backup data discretely for the network elements in different network element groups, where the time points in the same network element group are the same, and the time points between the network element groups are different, so that failure of uploading the backup data due to insufficient connection number between the network elements and the network manager caused by uploading multiple network element groups simultaneously can be avoided.
Referring to fig. 5, step S200 is followed by, but not limited to, step S510 and step S520.
Step S510, network element information that fails to upload the backup data is obtained.
Step S520, sending a re-uploading request to the network element corresponding to the network element information according to the network element information, so that the network element retransmits the backup data corresponding to the network element.
In an embodiment, in a backup period, a network element uploads backup data according to backup data uploading time issued by a network manager, in order to prevent the uploading work of other network elements from being affected, when the network manager encounters a failure in uploading backup data due to network quality problems in a backup receiving process, the network manager can record network element information with transmission failure, does not receive backup data reinitiated by the network element, can acquire network element information with failure in uploading backup data after completing the work of one backup period, and then sends a re-uploading request to a network element corresponding to the network element information according to the network element information, so that the network element retransmits the backup data corresponding to the network element, thereby ensuring the integrity of the data.
In an embodiment, in a backup period, a network element uploads backup data according to an upload backup data time issued by a network manager, in order to prevent the upload work of other network elements from being affected, the network manager may not monitor an upload result in the process of receiving the backup data, and may calculate a success quantity value of successfully receiving the backup data after completing the work of the backup period, then compare the success quantity value with a total quantity value of the network elements needing to upload the backup data, if the success quantity value is less than the total quantity value, then there is an upload failure, obtain a network element corresponding to the successfully received backup data, compare the network element corresponding to the successfully received backup data with the network element needing to upload the backup data, obtain a network element failing to upload the backup data, then obtain information of the network element failing to upload the backup data, and then send a re-upload request to the network element corresponding to the network element information according to the network element information, so that the network element retransmits the backup data corresponding to the network element, thereby ensuring the integrity of the partial data.
It should be noted that the network manager may detect the total number of the network elements and whether each network element sets the periodic backup information every day, so as to avoid resetting and restarting the network element, or setting no periodic backup information for a newly accessed network element, and eliminating an offline network element.
It should be noted that the reasons for failure in uploading the backup data include file generation abnormality, broken link, and that the FTP link is not released by other network elements on time.
As shown in fig. 6, fig. 6 is a flowchart of a data backup method according to an embodiment of the present invention, where the data backup method is applied to a network manager, and the data backup method includes, but is not limited to, step S610, step S620, step S630, and step S640.
Step S610, obtaining time for uploading the backup data.
Specifically, the network element may obtain the time for uploading the backup data sent from the network manager.
In step S620, the backup generation time of the data to be backed up is acquired.
Specifically, the network element may obtain backup generation time of data that needs to be backed up, where the backup generation time may be calculated by the network element according to a data volume condition of the data that needs to be backed up and a speed at which the network element processes the data.
In an embodiment, taking a 5G cell as an example, the speed of processing data by the network element is that the average time required to be used for processing 6 cells is 2 seconds, that is, the backup generation time is the time for uploading backup data-the number of cells corresponding to the data to be backed up/3.
Step S630, obtaining the backup data starting time according to the backup data uploading time and the backup generating time.
Specifically, the network element may obtain the backup data start time according to the backup data uploading time and the backup generating time, where the backup data start time is less than or equal to a difference between the backup data uploading time and the backup generating time.
And step S640, processing the data to be backed up according to the backup data starting time so as to generate backup data before the backup data uploading time, and uploading the backup data to a network manager according to the backup data uploading time.
Specifically, the network element may start processing the data to be backed up at the time point of the backup data start time, so as to ensure that the work of generating the backup data can be completed before the time of uploading the backup data, and upload the backup data at the time of uploading the backup data required by the network management.
In an embodiment, a network element may obtain a time for uploading backup data from a network manager, then obtain backup generation time generated according to data to be backed up, then obtain backup data start time according to the time for uploading backup data and the backup generation time, and then start processing the data to be backed up at the time point of the backup data start time, so as to ensure that the work for generating the backup data can be completed before the time for uploading the backup data, and upload the backup data at the time for uploading the backup data required by the network manager. The network element completes the generation of the backup data before the time of uploading the backup data, and sends the backup data to the network manager during the time of uploading the backup data, so that the network manager does not need to wait for the network element to process the data to be backed up during the time of uploading the backup data and then acquire the backup data generated after the processing, and the time of waiting for the network element to process the data to be backed up can be effectively saved.
Referring to fig. 7, the data backup method applied to the network element further includes step S710 and step S720.
Step S710, a re-upload request is obtained.
And step S720, uploading the backup data to a network manager according to the re-uploading request.
Specifically, if in a backup period and under the condition that the network element fails to upload the backup data to the network manager, the network element receives a re-upload request from the network manager, where the representation of the re-upload request requires the network element to upload the backup data again, the network element uploads the generated backup data to the network manager according to the re-upload request, so as to ensure the integrity of the backup data received by the network manager.
Based on the above data backup method, the following respectively proposes various embodiments of the network manager, the network element and the computer readable storage medium of the present invention.
An embodiment of the present invention further provides a network manager, which may apply the system architecture platform 100 in fig. 1, where the network manager includes a memory 120, a processor 110, and a computer program stored in the memory 120 and running on the processor 110.
The processor 110 and memory 120 may be connected by a bus or other means.
The memory 120, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. Further, the memory 120 may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 120 optionally includes memory located remotely from the processor, which may be connected to the processor via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Non-transitory software programs and instructions required to implement the data backup method of the above-described embodiment are stored in the memory 120, and when executed by the processor 110, perform the data backup method of the above-described embodiment, for example, performing the above-described method steps S100 to S300 in fig. 2, the method steps S310 to S350 in fig. 3, the method steps S410 to S470 in fig. 4, and the method steps S510 to S520 in fig. 5.
An embodiment of the present invention further provides a network element, where the network element may apply the system architecture platform 100 of fig. 1, and the network management includes a memory 120, a processor 110, and a computer program stored in the memory 120 and running on the processor 110.
The processor 110 and the memory 120 may be connected by a bus or other means.
The memory 120, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. Further, the memory 120 may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 120 optionally includes memory located remotely from the processor, which may be connected to the processor via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The non-transitory software programs and instructions required to implement the data backup method of the above-described embodiment are stored in the memory 120, and when executed by the processor 110, perform the data backup method of the above-described embodiment, for example, performing the above-described method steps S610 to S640 in fig. 6 and method steps S710 to S720 in fig. 7.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions, which are executed by a processor or a controller, for example, by a processor in the communication device in the above-mentioned embodiment, and can enable the processor to execute the data backup method corresponding to the network management in the above-mentioned embodiment, for example, execute the above-mentioned method steps S100 to S300 in fig. 2, method steps S310 to S350 in fig. 3, method steps S410 to S470 in fig. 4, and method steps S510 to S520 in fig. 5.
The processor may also be caused to perform the data backup method corresponding to the network element in the above-described embodiment, for example, to perform the above-described method steps S610 to S640 in fig. 6 and the method steps S710 to S720 in fig. 7.
It will be understood by those of ordinary skill in the art that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, or suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
While the preferred embodiments of the present invention have been described in detail, it will be understood by those skilled in the art that the foregoing and various other changes, omissions and deviations in the form and detail thereof may be made without departing from the scope of this invention.

Claims (13)

1. A data backup method is applied to network management, and the method comprises the following steps:
sending the time for uploading the backup data to a network element so that the network element generates backup data before the time for uploading the backup data;
and acquiring the backup data sent by the network element according to the time for uploading the backup data, and storing the backup data.
2. The data backup method according to claim 1, wherein the number of the network elements is two or more, and before the time of sending the upload backup data to the network element, the method further comprises:
sequencing the more than two network elements according to an uploading sequence to obtain a first sequencing number corresponding to each network element;
acquiring first data uploading time, wherein the first data uploading time is transmission time of the network element uploading the backup data to the network manager;
obtaining a first time offset according to the first sequence number and the first uploading data time;
acquiring first starting time, wherein the first starting time represents the starting time of the network manager for receiving the backup data of the network element;
and obtaining the time for uploading the backup data according to the first starting time and the first time offset.
3. The data backup method according to claim 2, wherein the obtaining a first time offset according to the first number and the first upload data time comprises:
subtracting one from the first sequence number to obtain a first offset coefficient;
and multiplying the first offset coefficient by the first uploading data time to obtain a first time offset.
4. The data backup method according to claim 1, wherein the number of the network elements is two or more, and before the time of sending the upload backup data to the network element, the method further comprises:
acquiring the quantity information of the network elements and preset parallel processing network element quantity information;
grouping the network elements according to the quantity information and the quantity information of the parallel processing network elements to obtain network element group information;
arranging the network element group information according to an uploading sequence to obtain a second sequencing number corresponding to each network element group information;
acquiring second data uploading time, wherein the second data uploading time is the transmission time from all the network elements in the network element group information to the network manager;
obtaining a second time offset according to the second sequencing number and the second data uploading time;
acquiring second starting time, wherein the second starting time represents starting time for receiving the backup data of the network element in the network element group information by the network manager;
and obtaining the time for uploading the backup data according to the second starting time and the second time offset.
5. The data backup method of claim 4, wherein obtaining a second time offset according to the second sorting number and the second upload data time comprises:
subtracting one from the second sequence number to obtain a second offset coefficient;
and multiplying the second offset coefficient by the second uploading data time to obtain a second time offset.
6. The data backup method of claim 1, wherein the method further comprises,
acquiring network element information of failure in uploading the backup data;
and sending a re-uploading request to a network element corresponding to the network element information according to the network element information so that the network element performs retransmission processing on the backup data corresponding to the network element.
7. A network management system, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the data backup method according to any of claims 1 to 6 when executing the computer program.
8. A data backup method is applied to a network element, and the method comprises the following steps:
acquiring backup data uploading time;
obtaining backup generation time of data needing to be backed up;
obtaining backup data starting time according to the backup data uploading time and the backup generating time;
and processing the data to be backed up according to the backup data starting time so as to generate backup data before the backup data uploading time, and uploading the backup data to the network manager according to the backup data uploading time.
9. The data backup method according to claim 8, wherein the time value of the backup data start time is less than or equal to the difference between the time value of the backup data upload time and the time value of the backup data upload time.
10. The data backup method according to claim 8, wherein the method for generating the time value of the backup data time comprises:
acquiring the data volume and the backup rate of data to be backed up;
and obtaining the time value of the backup data time according to the data volume and the backup rate.
11. The data backup method of claim 8, wherein the method further comprises:
acquiring a re-uploading request;
and uploading the backup data to the network manager according to the re-uploading request.
12. A network element, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the data backup method according to any of claims 8 to 11 when executing the computer program.
13. A computer-readable storage medium storing computer-executable instructions for performing the data backup method of any one of claims 1 to 6 or for performing the data backup method of any one of claims 8 to 11.
CN202110653221.9A 2021-06-11 2021-06-11 Data backup method, network management, network element and storage medium Pending CN115470037A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110653221.9A CN115470037A (en) 2021-06-11 2021-06-11 Data backup method, network management, network element and storage medium
PCT/CN2022/095665 WO2022257789A1 (en) 2021-06-11 2022-05-27 Data backup method, network manager, network element, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110653221.9A CN115470037A (en) 2021-06-11 2021-06-11 Data backup method, network management, network element and storage medium

Publications (1)

Publication Number Publication Date
CN115470037A true CN115470037A (en) 2022-12-13

Family

ID=84364886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110653221.9A Pending CN115470037A (en) 2021-06-11 2021-06-11 Data backup method, network management, network element and storage medium

Country Status (2)

Country Link
CN (1) CN115470037A (en)
WO (1) WO2022257789A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5798056B2 (en) * 2012-02-06 2015-10-21 日本電信電話株式会社 Call processing information redundancy control system and spare maintenance server used therefor
CN104317676A (en) * 2014-11-21 2015-01-28 四川智诚天逸科技有限公司 Data backup disaster tolerance method
US9575849B2 (en) * 2014-11-25 2017-02-21 Sap Se Synchronized backup and recovery of database systems
CN105656658A (en) * 2014-12-01 2016-06-08 中兴通讯股份有限公司 Method and device for intelligently backing up and recovering network element data in network management system
CN109976942B (en) * 2017-12-28 2021-02-19 中移(杭州)信息技术有限公司 Data backup and recovery method, backup server and source server
US11442816B2 (en) * 2018-12-03 2022-09-13 International Business Machines Corporation Performance of backup operations in an order determined using service-metadata associated with backup requests

Also Published As

Publication number Publication date
WO2022257789A1 (en) 2022-12-15

Similar Documents

Publication Publication Date Title
CN108847982B (en) Distributed storage cluster and node fault switching method and device thereof
CN110768873B (en) Distributed heartbeat detection method, system and device and computer equipment
CN111198889B (en) Data complement method and device
CN115297124B (en) System operation and maintenance management method and device and electronic equipment
US20210096962A1 (en) Data backup method, device and system
CN102023926B (en) Method and device for data overtime aging processing
CN112052095A (en) Distributed high-availability big data mining task scheduling system
CN111880947B (en) Data transmission method and device
CN107105037B (en) Distributed video CDN resource management system and method based on file verification
CN115470037A (en) Data backup method, network management, network element and storage medium
CN110620798A (en) Control method, system, equipment and storage medium for FTP connection
CN105373549A (en) Data migration method and device and data node server
CN113055203A (en) Method and device for recovering abnormity of SDN control plane
CN115981919A (en) Management control method, device, equipment and storage medium for database cluster
CN112269693B (en) Node self-coordination method, device and computer readable storage medium
CN112134734B (en) Configuration method and device of network equipment
CN113297318B (en) Data processing method, device, electronic equipment and storage medium
CN104967641B (en) A kind of method and device for realizing active and standby meta server data syn-chronization
CN109672573B (en) Configuration file deployment method, configuration file determination method, server and storage medium
CN110830281B (en) Hot standby method and system based on mesh network structure
CN109634787B (en) Distributed file system monitor switching method, device, equipment and storage medium
CN112801769B (en) Accounting data processing method, device and system
CN115640109B (en) Task scheduling method, system and client
CN114116178B (en) Cluster frame task management method and related device
CN116974815B (en) Data center disaster recovery switching method and device based on chaotic engineering fault drilling

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination