Data processing method and apparatus, and electronic device and storage medium

By storing data files in the preset storage area of ​​the network element equipment and performing data recovery directly from this area, the problem of low data recovery efficiency of the network element equipment in the 5G communication network is solved, significantly shortening the recovery time and improving the user experience.

WO2024174682A1PCT designated stage expired Publication Date: 2024-08-29ZTE CORP

Patent Information

Application Number
PCT/CN2023/137838
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-21
Filing Date
2023-12-11
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

In 5G communication networks, the data recovery efficiency of network element equipment is low, resulting in long recovery times and affecting user experience. Especially in the case of a large number of network element equipment, the download performance of network element management equipment is limited.

Method used

By storing the data file in the preset storage area of ​​the network element device, receiving the data recovery instruction message and determining whether the target data file exists based on the file identification information, the data file can be directly obtained from the preset storage area for recovery, reducing the need for network element management. The device's FTP connection improves data recovery efficiency.

Benefits of technology

It greatly reduces the probability of downloading target data files from network element management equipment, shortens network element equipment data recovery time, and significantly improves user experience. For example, the recovery time from 20 hours is shortened to 1.66 hours.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023137838_29082024_PF_FP_ABST
    Figure CN2023137838_29082024_PF_FP_ABST
Patent Text Reader

Abstract

The embodiments of the present application relate to the field of communications. Provided are a data processing method and apparatus, and an electronic device and a storage medium. The method comprises: receiving a data recovery indication message from a network element management device, wherein the data recovery indication message comprises file identification information of a target data file corresponding to data recovery; according to the file identification information, determining whether the target data file is present in a preset storage area; and if the target data file is present in the preset storage area, acquiring the target data file from the preset storage area to perform data recovery.
Need to check novelty before this filing date? Find Prior Art

Description

Data processing method, device, electronic device and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on February 21, 2023, with application number 202310188205.6 and invention name “Data processing method, device, electronic device and storage medium”. The entire contents of the Chinese patent application are incorporated herein by reference. Technical Field

[0003] The present application relates to the field of communication technologies, and in particular to methods, devices, electronic devices, and storage media for data processing. Background Art

[0004] In the field of communication technology, network element devices are usually managed by network element management devices, which can be connected to multiple network element devices. For example, in a 5G communication network, the network element management device can be connected to at least one 5GC (5G Core) device and at least one NG-RAN (NG Radio Access Network) device.

[0005] The network element management device can manage the data of the network element device. For example, if the network element device is accidentally damaged or the network element device version upgrade fails, the network element management device can restore the data of the network element device through the previously backed up data and restore the normal business of the network element device.

[0006] Data recovery for network element devices typically involves backing up data files on the network element management device side. A data recovery instruction message is sent to the network element management device, which then downloads the target data files from the network element management device according to the data recovery instruction message and deletes the target data files after successful data recovery. In the case of a large number of network element devices (for example, the number of 5G network element devices can reach hundreds of thousands), the number of data files on the network element devices is large. Limited by the download performance of the network element management device, data recovery efficiency is low, and network element device data recovery takes a long time, impacting the user experience.

[0007] Summary of the Invention

[0008] The purpose of the embodiments of the present application is to provide a data processing method, device, electronic device and storage medium, which can significantly reduce the probability of downloading target data files from the network element management device by storing data files in a preset storage area of ​​the network element device, improve the efficiency of data recovery of the network element device, reduce the time of data recovery of the network element device, and enhance the user experience.

[0009] To solve the above technical problems, the embodiments of the present application are implemented through the following aspects.

[0010] In a first aspect, an embodiment of the present application provides a method for data processing, including: receiving a data recovery indication message from a network element management device, the data recovery indication message including file identification information of a target data file corresponding to data recovery; determining whether the target data file exists in a preset storage area based on the file identification information; and if the target data file exists in the preset storage area, obtaining the target data file from the preset storage area for data recovery.

[0011] In the second aspect, an embodiment of the present application provides a data processing device, including: a receiving module, used to receive a data recovery indication message from a network element management device, the data recovery indication message including file identification information of a target data file corresponding to data recovery; a determination module, used to determine whether the target data file exists in a preset storage area based on the file identification information; and a recovery module, used to obtain the target data file from the preset storage area for data recovery when the target data file exists in the preset storage area.

[0012] In a third aspect, an embodiment of the present application provides an electronic device comprising: a memory, a processor, and computer-executable instructions stored on the memory and executable on the processor, wherein the computer-executable instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0013] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which is used to store computer-executable instructions. When the computer-executable instructions are executed by a processor, the steps of the method described in the first aspect are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0015] FIG1 shows a schematic diagram of a network element management device and a network element device provided in an embodiment of the present application;

[0016] FIG2 is a schematic flow chart showing a method for data processing according to an embodiment of the present application;

[0017] FIG3 shows another flow chart of the data processing method provided in an embodiment of the present application;

[0018] FIG4 shows another flow chart of the data processing method provided in an embodiment of the present application;

[0019] FIG5 is a schematic structural diagram of a data processing device provided in an embodiment of the present application;

[0020] FIG6 is a schematic structural diagram of another data processing device provided in an embodiment of the present application;

[0021] FIG7 shows a schematic structural diagram of another data processing device provided in an embodiment of the present application;

[0022] FIG8 is a schematic diagram of the hardware structure of an electronic device that executes the data processing method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0024] Figure 1 illustrates a schematic diagram of a network element management device and network element devices provided in an embodiment of the present application. As shown in Figure 1 , the network element management device can be connected to at least one network element device via a wired connection (e.g., Ethernet) to manage data on the network element device. Taking a gNB in ​​a 5G communication network as an example, the 5G network element management device can connect to multiple gNBs and manage data for these multiple gNBs.

[0025] FIG2 illustrates a flow chart of a data processing method provided by an embodiment of the present application. The method can be executed by an electronic device, such as a server-side device. In other words, the method can be executed by software or hardware installed on the server-side device. The server includes, but is not limited to, a single server, a server cluster, a cloud server, or a cloud server cluster. As shown in FIG2 , the method may include the following steps.

[0026] Step S10: Receive a data recovery instruction message from the network element management device.

[0027] The data recovery instruction message includes file identification information of a target data file corresponding to the data recovery.

[0028] The data file may include data configuration information of a network element device. After the network element device loads the data configuration information and the corresponding device file, it can provide communication services independently or in conjunction with other network element devices. The format of the data file can adopt various formats depending on the specific implementation, such as text format, spreadsheet format, or XML format, and this disclosure does not impose specific limitations on this.

[0029] In some possible implementations, the network element device may save the current data configuration information as a data file, and upload the data file to the network element management device through an FTP connection between the network element device and the network element management device.

[0030] To identify a data file, file identification information of the data file may be generated and sent to a network element management device so that the network element management device can distinguish and identify the data file based on the file identification information. In some possible implementations, the file identification information may be used as the file name of the data file so that the network element management device can determine the file identification information based on the file name of the data file.

[0031] For example, the above-mentioned file identification information may include network element device identification, data backup time, and data backup reason. Taking gNB in ​​the 5G communication network as an example, the file identification information may be gNB12345-20230213141415-version upgrade backup, 12345 may be the network element device identification of the network element device gNB, 20230213141415 is the data backup time, and version upgrade backup is the data backup reason.

[0032] In some embodiments, data recovery indication information can be triggered by a network element management device based on a user request. For example, when a network element device fails, the user can issue data recovery indication information through the network element management device, and the data recovery indication information includes file identification information of a target data file corresponding to data recovery specified by the user. Data recovery indication information can also be automatically triggered by the network element management device based on a data recovery event. For example, if an upgrade failure occurs during a version upgrade and a version rollback is required, during the version rollback process, the network element management device can obtain the file identification information of the target data file corresponding to data recovery based on the data file automatically backed up during the version upgrade, and issue the data recovery indication information based on the file identification information of the target data file corresponding to data recovery.

[0033] Step S20: Determine whether the target data file exists in the preset storage area according to the file identification information.

[0034] In some embodiments, when the network element device saves the current data configuration information as a data file and uploads it to the network element management device, the data file can be saved to a preset storage area. The preset storage area can be a storage area in any storage component in the network element device, and the present disclosure does not impose any restrictions on this.

[0035] To distinguish between multiple data files, when a data file is saved in a preset storage area, the file identification information corresponding to the data file can be used as the data file name, so that the target data file corresponding to the file identification information can be determined from the preset storage area based on the file name. Alternatively, a correspondence between the file identification information and the data file name can be saved, so that the target data file corresponding to the file identification information can be determined based on the file identification information and the correspondence.

[0036] After receiving the data recovery instruction message from the network element management device, the network element device may obtain file identification information from the data recovery instruction message and determine whether the target data file exists in the preset storage area according to the file identification information.

[0037] Step S30: When the target data file exists in the preset storage area, the target data file is obtained from the preset storage area for data recovery.

[0038] Because network element devices do not need to connect to the network element management device through FTP to obtain the target data file during data recovery, the network element management device can increase the number of network element devices being recovered simultaneously when performing batch data recovery (for example, when a batch upgrade fails), thereby improving recovery efficiency. For example, when recovering data from 300,000 network element devices using gNBs in a 5G network, this solution can reduce data recovery time from 20 hours to 1.66 hours, significantly improving the user experience.

[0039] By adopting the above solution, by storing data files in the preset storage area of ​​the network element device, the probability of downloading the target data file from the network element management device can be greatly reduced, the efficiency of network element device data recovery can be improved, the time of network element device data recovery can be reduced, and the user experience can be improved.

[0040] FIG3 shows another flow chart of the data processing method provided in an embodiment of the present application. As shown in FIG3 , the method may further include the following steps.

[0041] Step 40: When the target data file does not exist in the preset storage area, the target data file is obtained from the network element management device to perform data recovery.

[0042] During the operation of the network element device, the target data file may not exist in the preset storage area due to some reasons. For example, the target data file corresponding to the file identification information is accidentally deleted, or the data file is not saved in the preset storage area corresponding to the new hardware due to replacement of the network element device hardware, or the target data file saved in the preset storage area is automatically deleted as an aged data file for a long time.

[0043] If the target data file does not exist in the preset storage area, the target data file can be obtained from the network element management device for data recovery, for example, by using an FTP connection between the network element device and the network element management device.

[0044] By adopting the above solution, when the target data file does not exist in the preset storage area, the target data file can be obtained from the network element management device for data recovery, thereby ensuring that the network element device can recover data normally when the target data file does not exist in the preset storage area.

[0045] FIG4 shows another flow chart of the data processing method provided in an embodiment of the present application. As shown in FIG4 , the method may further include the following steps.

[0046] Step 50: If the target data file does not exist in the preset storage area, the target data file is obtained from the network element management device and then saved in the preset storage area.

[0047] In some embodiments, when the target data file does not exist in the preset storage area, after obtaining the target data file from the network element management device, the target data file can be saved to the preset storage area of ​​the network element device while the network element device data is being restored, or after the network element device data is successfully restored.

[0048] For example, the file identification information corresponding to the target data file can be used as the file name, and the target data file can be stored in a preset storage area of ​​the network element device. Alternatively, a correspondence between the file identification information and the target data file can be added to the correspondence between the file identification information and the data file name, and the target data file can be stored in the preset storage area.

[0049] By adopting the above-mentioned scheme, when the target data file does not exist in the preset storage area, the target data file can be saved in the preset storage area, so that the next time the target data file is used for data recovery, the target data file can be obtained from the preset storage area, thereby improving the efficiency of network element device data recovery, reducing the time of network element device data recovery, and improving the user experience.

[0050] In some possible implementations, the network element device can save the current data configuration information as a data file when the first preset condition is met, and save the data file to a preset storage area and a network element management device. For example, the data file can be saved in a preset storage area, and the data file can be uploaded to the network element management device through an FTP connection with the network element management device.

[0051] In some embodiments, the first preset condition may be, for example, any one of the following conditions:

[0052] Receiving a data backup instruction message, such as a data backup instruction message manually triggered by a user to restore data of a network element device, saving the current data configuration information as a data file;

[0053] When the preset data backup time arrives, for example, the user can create a scheduled backup task or a periodic backup task, and when the preset data backup time arrives, the current data configuration information is saved as a data file;

[0054] A preset data backup event is triggered, such as automatic data backup during an upgrade, or the number of users adding, modifying, and deleting data configuration information reaches a preset threshold.

[0055] In some possible implementations, the data backup events and data recovery events disclosed herein can also be defined by the user. For example, in the contingency plan for major security events, it is often necessary to load the data configuration corresponding to the major event security, perform data backup before the major security event, and then load the data configuration corresponding to the major security event. Then, perform data recovery after the major security event is over. This disclosure does not impose any restrictions on this.

[0056] By adopting the above technical solution, the data configuration of the network element device can be backed up in a timely manner to the preset storage area and the network element management device, so that the target data file can be obtained for data recovery when data recovery is needed, thereby improving the efficiency of data recovery of the network element device, reducing the time of data recovery of the network element device, and improving the user experience.

[0057] In some embodiments, saving the current data file to a preset storage area and the network element management device includes compressing the current data file using a preset compression algorithm to obtain a compressed data file, and saving the compressed data file to the preset storage area and the network element management device. Accordingly, obtaining the target data file for data recovery includes decompressing the target data file using a preset decompression algorithm to obtain a decompressed target data file, and performing data recovery based on the decompressed target data file.

[0058] In some possible implementations, the preset compression algorithm is LZMA

[0059] (Lempel-Ziv-Markov chain-Algorithm) compression algorithm, the preset decompression algorithm is the LZMA decompression algorithm. The specific implementation of using the LZMA compression algorithm to compress data files and using the LZMA decompression algorithm to compress compressed files can be found in the description of the relevant technology, which will not be elaborated here.

[0060] By compressing data files, the space occupied by the preset storage area of ​​the network element device and the storage space of the network element management device can be reduced to about 50% of the space before compression. In this way, more data files can be stored in the preset storage area and the storage space of the network element management device.

[0061] It should be noted that the present disclosure does not limit the selection of preset compression algorithms and preset decompression algorithms. Those skilled in the art can select other compression and decompression algorithms in related technologies and can also achieve similar effects of saving storage space to store more data files.

[0062] By adopting the above technical solution, the compressed files of the data files can be saved, thereby reducing the occupation of the preset storage area of ​​the network element device and the storage space of the network element management device, thereby improving the user experience.

[0063] In some embodiments, in order to reduce the occupancy of a preset storage area, the data processing method may further include deleting aged data files in the preset storage area.

[0064] The aging data file is a data file in a preset storage area that meets a second preset condition.

[0065] In some possible implementations, the second preset condition includes that the storage time of the aged data file in the preset storage area exceeds a first preset storage time threshold; or, the number of data files stored in the preset storage area exceeds a preset number threshold, and the storage time of the aged data file in the preset storage area exceeds a second preset storage time threshold; or, the occupancy rate of the preset storage area exceeds a preset occupancy rate threshold, and the storage time of the aged data file in the preset storage area exceeds a second preset storage time threshold.

[0066] For example, when the storage time of a data file in a preset storage area exceeds a first preset storage time threshold (e.g., three months), considering the timeliness of the data file, the data file with a storage time exceeding the first preset storage time threshold (e.g., three months) can be regarded as an aged data file.

[0067] When the number of data files stored in the preset storage area exceeds a preset number threshold, data files whose storage time in the preset storage area exceeds a second preset storage time threshold (the second preset storage time threshold may be less than the first preset storage time threshold, for example, two months) may also be treated as aged data files. In some possible implementations, the second preset storage time threshold may be adjusted so that the data files with the longest storage time in the preset storage area are treated as aged data files.

[0068] When the occupancy rate of the preset storage area exceeds a preset occupancy rate threshold, data files whose storage time in the preset storage area exceeds a second preset storage time threshold (for example, two months) can also be used as aging data files. In some possible implementations, the second preset storage time threshold can be adjusted to use the data files with the longest storage time in the preset storage area as aging data files.

[0069] In another embodiment, the data files in the preset storage area can be prioritized based on the data backup reason in the file identification information, and data files that meet the second preset condition and have a lower priority are designated as aged data files. For example, data files whose data backup reason is version upgrade backup are assigned a higher priority, while data files whose data backup reason is scheduled data backup are assigned a lower priority. This ensures that data files with higher priorities remain in the preset storage area and are not automatically aged out.

[0070] By adopting the above solution, aging data files can be deleted in a timely manner, the occupancy of the preset storage area can be reduced, and the user experience can be further improved.

[0071] FIG5 shows a schematic structural diagram of a data processing device provided in an embodiment of the present application. The device 100 includes: a receiving module 110 , a determining module 120 , and a processing module 130 .

[0072] A receiving module 110 is configured to receive a data recovery instruction message from a network element management device, wherein the data recovery instruction message includes file identification information of a target data file corresponding to the data recovery;

[0073] A determination module 120, configured to determine whether a target data file exists in a preset storage area according to the file identification information;

[0074] The processing module 130 is configured to obtain the target data file from the preset storage area for data recovery if the target data file exists in the preset storage area.

[0075] In some possible implementations, the processing module 130 is further configured to obtain the target data file from the network element management device for data recovery when the target data file does not exist in the preset storage area.

[0076] In some possible implementations, the processing module 130 is further configured to, when the target data file does not exist in the preset storage area, obtain the target data file from the network element management device and save the target data file to the preset storage area.

[0077] The device 100 provided in the embodiment of the present application can execute the various methods described in the above method embodiments and realize the functions and beneficial effects of the various methods described in the above method embodiments, which will not be repeated here.

[0078] FIG6 shows a schematic structural diagram of another data processing device provided in an embodiment of the present application. The device 100 includes: a receiving module 110 , a determining module 120 , a processing module 130 , and a backup module 140 .

[0079] A receiving module 110 is configured to receive a data recovery instruction message from a network element management device, wherein the data recovery instruction message includes file identification information of a target data file corresponding to the data recovery;

[0080] A determination module 120, configured to determine whether a target data file exists in a preset storage area according to the file identification information;

[0081] The processing module 130 is configured to obtain the target data file from the preset storage area for data recovery if the target data file exists in the preset storage area.

[0082] The backup module 140 is configured to save the current data file to a preset storage area and a network element management device when a first preset condition is met.

[0083] In some possible implementations, the first preset condition includes:

[0084] Receive a data backup instruction message; or,

[0085] The preset data backup time is reached; or,

[0086] The preset data backup event is triggered.

[0087] The device 100 provided in the embodiment of the present application can execute the various methods described in the above method embodiments and realize the functions and beneficial effects of the various methods described in the above method embodiments, which will not be repeated here.

[0088] In some embodiments, the backup module 140 is further configured to compress the current data file using a preset compression algorithm to obtain a compressed data file, and save the compressed data file to a preset storage area and a network element management device;

[0089] The processing module 130 is configured to decompress the target data file using a preset decompression algorithm to obtain a decompressed target data file, and perform data recovery based on the decompressed target data file.

[0090] In some possible implementations, the preset compression algorithm is an LZMA compression algorithm, and the preset decompression algorithm is an LZMA decompression algorithm.

[0091] The device 100 provided in the embodiment of the present application can execute the various methods described in the above method embodiments and realize the functions and beneficial effects of the various methods described in the above method embodiments, which will not be repeated here.

[0092] FIG7 shows a schematic structural diagram of another data processing device provided in an embodiment of the present application. The device 100 includes: a receiving module 110 , a determining module 120 , a processing module 130 and an aging module 150 .

[0093] A receiving module 110 is configured to receive a data recovery instruction message from a network element management device, wherein the data recovery instruction message includes file identification information of a target data file corresponding to the data recovery;

[0094] A determination module 120, configured to determine whether a target data file exists in a preset storage area according to the file identification information;

[0095] The processing module 130 is configured to obtain the target data file from the preset storage area for data recovery if the target data file exists in the preset storage area.

[0096] The aging module 150 is configured to delete aged data files in the preset storage area, where the aged data files are data files in the preset storage area that meet a second preset condition.

[0097] In some possible implementations, the second preset condition includes that the storage time in the preset storage area exceeds a preset storage time threshold;

[0098] Alternatively, when a third preset condition is met, the storage time in the preset storage area is the longest;

[0099] The third preset condition includes: the number of data files stored in the preset storage area exceeds a preset number threshold, or the occupancy rate of the preset storage area exceeds a preset occupancy rate threshold.

[0100] The device 100 provided in the embodiment of the present application can execute the various methods described in the above method embodiments and realize the functions and beneficial effects of the various methods described in the above method embodiments, which will not be repeated here.

[0101] FIG8 shows a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application. Referring to the figure, at the hardware level, the electronic device includes a processor, and optionally, an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage device. Of course, the electronic device may also include hardware required for other services.

[0102] The processor, network interface, and memory can be interconnected via an internal bus, such as an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. These buses can be classified as address buses, data buses, and control buses. For ease of illustration, the figure uses only one bidirectional arrow, but this does not imply that there is only one bus or only one type of bus.

[0103] The memory is used to store programs. Specifically, the program may include program code, which includes computer operating instructions. The memory may include internal memory and non-volatile memory, and provides instructions and data to the processor.

[0104] The processor reads the corresponding computer program from the non-volatile memory into the internal memory and then runs it, forming a device for locating the target user at a logical level. The processor executes the program stored in the memory and is specifically configured to perform the methods disclosed in the embodiments shown in Figures 2-4 and to achieve the functions and benefits of the various methods described in the method embodiments above, which will not be further described here.

[0105] The methods disclosed in the embodiments shown in Figures 2-4 of the present application can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in the processor or software instructions. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above method.

[0106] The electronic device can also execute the methods described in the above method embodiments and realize the functions and beneficial effects of the methods described in the above method embodiments, which will not be described in detail here.

[0107] Of course, in addition to software implementation, the electronic device of this application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0108] An embodiment of the present application also proposes a computer-readable storage medium, which stores one or more programs. When the one or more programs are executed by an electronic device including multiple applications, the electronic device executes the method disclosed in the embodiments shown in Figures 2-4 and realizes the functions and beneficial effects of the various methods described in the previous method embodiments, which will not be repeated here.

[0109] The computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0110] Furthermore, an embodiment of the present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the following process is implemented: the method disclosed in the embodiment shown in Figures 2-4 and the functions and beneficial effects of the various methods described in the previous method embodiments are implemented, which will not be repeated here.

[0111] In short, the above description is only a preferred embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

[0112] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0113] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0114] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0115] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.

Claims

1. A method for data processing, the method comprising: Receiving a data recovery instruction message from a network element management device, wherein the data recovery instruction message includes file identification information of a target data file corresponding to the data recovery; Determining whether the target data file exists in a preset storage area according to the file identification information; In the case that the target data file exists in the preset storage area, the target data file is obtained from the preset storage area for data recovery.

2. The method according to claim 1, wherein: The method further comprises: When the target data file does not exist in the preset storage area, the target data file is obtained from the network element management device to perform data recovery.

3. The method according to claim 2, wherein: The method further comprises: In the case that the target data file does not exist in the preset storage area, the target data file is acquired from the network element management device and then saved in the preset storage area.

4. The method according to any one of claims 1 to 3, wherein: The method further comprises: When the first preset condition is met, the current data file is saved to the preset storage area and the network element management device.

5. The method according to claim 4, wherein: The first preset condition includes: A data backup instruction message is received; or, The preset data backup time is reached; or, The preset data backup event is triggered.

6. The method according to claim 4, wherein: The step of saving the current data file to the preset storage area and the network element management device comprises: The current data file is compressed by a preset compression algorithm to obtain compressed data file, saving the compressed data file to the preset storage area and the network element management device; The acquiring of the target data file for data recovery comprises: The target data file is decompressed by a preset decompression algorithm to obtain a decompressed target data file, and data recovery is performed according to the decompressed target data file.

7. The method according to claim 6, wherein: The preset compression algorithm is the LZMA compression algorithm, and the preset decompression algorithm is the LZMA decompression algorithm.

8. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: The aged data files in the preset storage area are deleted, where the aged data files are data files in the preset storage area that meet a second preset condition.

9. The method according to claim 8, characterized in that The second preset condition includes that the storage time of the aging data file in the preset storage area exceeds a first preset storage time threshold; or, The number of data files stored in the preset storage area exceeds a preset number threshold, and the storage time of the aged data file in the preset storage area exceeds a second preset storage time threshold; or, The occupancy rate of the preset storage area exceeds a preset occupancy rate threshold, and the preservation time of the aging data file in the preset storage area exceeds the second preset preservation time threshold.

10. A data processing device, comprising: A receiving module, used to receive a data recovery instruction message from a network element management device, wherein the data recovery instruction message includes file identification information of a target data file corresponding to the data recovery; A determination module, used to determine whether the target data file exists in a preset storage area according to the file identification information; A recovery module is used to recover the target data file in the preset storage area. The target data file is obtained from the preset storage area for data recovery.

11. An electronic device, comprising: processor; as well as A memory arranged to store computer executable instructions, which, when executed, use the processor to perform the steps of the data processing method according to any one of claims 1 to 9.

12. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including a plurality of application programs, enable the electronic device to perform the steps of the data processing method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Data recovery method and system

    CN107506266A

  • Data recovery method and device

    CN108021475A

  • Data backup system and method

    CN112261114A

  • Data processing method and device

    CN113297007A

  • Platform data grading disaster recovery method and system, storage medium and terminal

    CN114168386A

Cited By

  • BMC system application program compression running method, device and equipment and readable storage medium

    CN119883656A