CN113051105A - Data processing method, device, equipment and storage medium - Google Patents

Data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN113051105A
CN113051105A CN202110267994.3A CN202110267994A CN113051105A CN 113051105 A CN113051105 A CN 113051105A CN 202110267994 A CN202110267994 A CN 202110267994A CN 113051105 A CN113051105 A CN 113051105A
Authority
CN
China
Prior art keywords
data
processed
storage address
address
backup file
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
CN202110267994.3A
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.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202110267994.3A priority Critical patent/CN113051105A/en
Publication of CN113051105A publication Critical patent/CN113051105A/en
Priority to PCT/CN2021/126003 priority patent/WO2022188417A1/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

Abstract

The present application relates to the field of data processing, and in particular, to a data processing method, apparatus, device, and storage medium. The method comprises the following steps: acquiring a data address list which needs data backup in equipment to be processed, wherein the data address list is generated according to at least one storage address when data are stored; acquiring data correspondingly stored under each storage address in the data address list; and generating a backup file of the equipment to be processed according to each storage address in the data address list and the data correspondingly stored under each storage address, and storing the backup file to a third-party memory. The method and the device are used for solving the problems that the existing backup process is long in consumed time, large in occupied space and low in efficiency of the backup process.

Description

Data processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of data processing, and in particular, to a data processing method, apparatus, device, and storage medium.
Background
With the development of technology, data backup and restoration have become an important function of electronic devices. Backup refers to copying and saving data in an electronic device to other storage devices in order to cope with possible accidents such as data loss or damage. After the data in the electronic equipment is backed up, if the system or software of the electronic equipment fails, the backup data backed up in other storage equipment can be restored to the electronic equipment, so that the electronic equipment is restored to the state during backup, and the conditions that the electronic equipment is not available and the like caused by data loss are avoided.
In the prior art, when backing up data in an electronic device, data in a certain memory of the electronic device is often backed up completely, for example, related data of basic parameters for operating a mobile phone system is stored in a non-volatile memory (NV) of a mobile phone, when backing up the data, all contents in the NV memory of the mobile phone need to be backed up as a whole, and the backup data includes some unnecessary data in addition to necessary basic parameter data. Therefore, when data backup is performed, the amount of backed-up data is huge, the backup process takes long time, and the storage space required for storing the backed-up data is large, so that the recovery process is slow, and the efficiency of the whole backup recovery process is low.
Disclosure of Invention
The application provides a data processing method, a data processing device, data processing equipment and a storage medium, which are used for solving the problems that the existing backup process is long in consumed time, large in occupied space and low in efficiency of the backup process.
In a first aspect, an embodiment of the present application provides a data processing method, including: acquiring a data address list which needs data backup in equipment to be processed, wherein the data address list is generated according to at least one storage address when data are stored; acquiring data correspondingly stored under each storage address in the data address list; and generating a backup file of the equipment to be processed according to each storage address in the data address list and the data correspondingly stored under each storage address, and storing the backup file to a third-party memory.
Optionally, the generating process of the data address list includes: acquiring at least one data category of the equipment to be processed, which needs to be subjected to data backup; obtaining the storage address corresponding to each data category according to a preset relation between the data categories and the storage addresses; and generating the data address list according to the storage address corresponding to each data type.
Optionally, the obtaining at least one data category of the to-be-processed device for data backup includes: acquiring a category selection instruction which is transmitted by an interactive interface and is used for selecting the data category in the equipment to be processed; acquiring at least one data category needing data backup according to the category selection instruction; the interactive interface is used for displaying all data categories in the equipment to be processed and providing selectable category selection controls corresponding to the data categories respectively so as to generate the category selection instruction.
Optionally, after generating a backup file of the device to be processed according to each storage address in the data address list and the data correspondingly stored at each storage address, and storing the backup file to a third-party memory, the method further includes: receiving a restoration instruction of the equipment to be processed; acquiring the backup file of the equipment to be processed from the third-party memory according to the restoration instruction; and restoring the data corresponding to the storage address in the backup file to the storage address in the equipment to be processed.
Optionally, the restore instruction includes a target storage address to be restored, where the target storage address is at least one storage address in the data address list; the restoring the data corresponding to the storage address in the backup file to the storage address in the device to be processed includes: and acquiring data corresponding to the target storage address in the backup file, and restoring the data to the target storage address in the equipment to be processed.
Optionally, the generating a backup file of the device to be processed according to each storage address in the data address list and the data correspondingly stored at each storage address, and storing the backup file to a third-party memory includes: generating the backup file of the equipment to be processed according to each storage address in the data address list and the data correspondingly stored under each storage address; acquiring a unique identifier corresponding to the equipment to be processed, and generating the name of the backup file according to the unique identifier; and saving the backup file with the unique identifier to the third-party memory.
Optionally, the data category includes at least one of a radio frequency parameter, a communication parameter, a certificate parameter, and a network parameter.
In a second aspect, an embodiment of the present application provides a data processing apparatus, including: the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a data address list which needs to be subjected to data backup in equipment to be processed, and the data address list is generated according to at least one storage address when data are stored; the second acquisition module is used for acquiring data correspondingly stored under each storage address in the data address list; and the processing module is used for generating a backup file of the equipment to be processed according to each storage address in the data address list and the data correspondingly stored under each storage address, and storing the backup file to a third-party memory.
In a third aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus; the memory for storing a computer program; the processor is configured to execute the program stored in the memory, and implement the data processing method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, where the computer program is executed by a processor to implement the data processing method according to the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, the data address list generated in advance in the device to be processed is obtained, the data correspondingly stored under the storage address is obtained according to the storage address in the data address list, and the backup file is generated and stored. The data backed up by the method enables the data corresponding to the address to be stored in the data address list, the stored address in the data address list is the address corresponding to the data to be backed up, the data in the whole storage space is not directly backed up, the data amount to be processed during backup is reduced, the backup process is accelerated, the formed backup file is small, the storage space required by the backup file is small, the processing speed during backup is further accelerated, and the overall efficiency of the backup and recovery process is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a schematic flow chart illustrating a data processing method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a data address list generation process provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a structural connection of a data processing apparatus provided in an embodiment of the present application;
fig. 4 is a schematic structural connection diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The data processing method provided in the embodiment of the present application implements backup of data stored in a device to be processed, and the method may be implemented in a processor of the device to be processed itself, or may be implemented in a processor of another device independent of the device to be processed. The device to be processed and other devices independent of the device to be processed may be various types of electronic devices, for example, a mobile phone, a tablet computer, a server device, and the like, and the electronic device that needs to perform data backup may all adopt the method.
In one embodiment, as shown in fig. 1, a specific flow implemented by the data processing method mainly includes the following steps:
step 101, acquiring a data address list which needs to perform data backup in a device to be processed, wherein the data address list is generated according to at least one storage address when data is stored.
In this embodiment, the device to be processed includes a processor and a first memory, and the first memory is a device for storing data in the device to be processed. The memory stores data organized in bytes, and when a piece of data is stored or retrieved as a whole, the piece of data is stored in one or several bytes to form a memory cell. Each memory cell has a corresponding address, which is the storage address of the memory cell. The storage addresses correspond to the storage units one by one, and the processor accesses the data in the storage units through the storage addresses.
The data address list is generated based on at least one of the storage addresses. After data needing to be backed up by the equipment to be processed is determined, a storage address corresponding to the data is obtained, and a data address list is generated.
In one embodiment, as shown in fig. 2, the data address list is generated as follows:
step 201, at least one data category of the device to be processed, which needs to be backed up, is obtained.
In this embodiment, the data category refers to a general term of related data for realizing one function, for example, data for realizing a mobile phone communication function is referred to as related data of communication parameters. By acquiring the data category, the data content needing to be backed up can be determined simply and clearly.
In a specific embodiment, the data category includes at least one of radio frequency parameters, communication parameters, certificate parameters, and network parameters.
In this embodiment, the rf parameters include, but are not limited to, receive sensitivity, signal-to-noise ratio, transmit power, etc. The communication parameters include, but are not limited to, International Mobile Equipment Identity (IMEI), Pseudo-noise Sequence (PN), network mapping information of Subscriber Identity Module (SIM), and the like. The certificate parameters include, but are not limited to, a network access license (license) and the like. Network parameters include, but are not limited to, wireless communication technology (Wi-Fi) information, Bluetooth (Bluetooth), etc.
It should be noted that the data category is a category of data that is important in the electronic device, and the data category may also be other categories of data in the device to be processed according to needs and practical situations, and the protection scope of the present application is not limited by specific contents of the data category.
Step 202, obtaining a storage address corresponding to each data type according to a preset relationship between the data type and the storage address.
In this embodiment, the storage address of the data corresponding to the data category is determined, the data category and the storage address have a preset relationship, and when the data category is determined, the specific storage address stored in the data corresponding to the data category can be obtained. For example, the data type is determined as the communication parameter, that is, the storage address of the data related to the communication parameter can be obtained through the preset relationship.
Step 203, generating a data address list according to the storage address corresponding to each data type.
In this embodiment, the storage addresses corresponding to each data category are sequentially arranged to generate a data address list. After the data address list is generated, the data address list may be stored in the first memory of the device to be processed, or may be stored in another memory. And when data backup needs to be carried out on the equipment to be processed, the data address list is acquired from the first memory or other memories.
In a specific embodiment, when the data address list is saved in the device to be processed, an initialization (ini) file is generated according to the data address list, and the ini file is named as backup list. The method includes the steps that after a BackuList. ini file is merged into system original firmware of a device to be processed, a firmware file (Package, Pac for short) with a data address list is generated through compiling, and the Pac file with the data address list is burnt into the device to be processed. Therefore, the data address list is stored in the device to be processed for use when the data of the device to be processed is backed up.
In a specific embodiment, the data address list includes the number of storage addresses included in the entire list and each storage address, and the specific format of the list is as follows: the number of addresses + storage address 1+ storage address 2+ … + storage address N; wherein N is an integer greater than 1. The number of addresses occupies 4 Bytes (Bytes), and each storage address occupies 2 Bytes.
In a specific embodiment, when obtaining at least one data category for which the device to be processed needs to perform data backup, the data backup is completed through an interactive interface, which may be an interactive interface included in the device to be processed, or an interactive interface on another device that can perform data exchange with the device to be processed. The specific process is as follows: acquiring a category selection instruction which is transmitted by an interactive interface and is used for selecting the category of data in equipment to be processed; acquiring at least one data category needing data backup according to the category selection instruction; the interactive interface is used for displaying all data categories in the equipment to be processed and providing selectable category selection controls corresponding to the data categories respectively so as to generate category selection instructions.
The data categories displayed by the interactive interface are categories of various data stored in the equipment to be processed, the displayed category quantity and content can be set according to actual conditions and requirements, the data categories can also be displayed after being read by the equipment to be processed through an automatic program, and a user can see the data categories of the equipment to be processed through the interactive interface. After the data address list is checked, the data categories needing to be backed up are selected from all the displayed data categories through the category selection control, so that the data address list is generated.
In this embodiment, by generating the data address list in advance, the storage address corresponding to the data to be backed up can be accurately obtained, so as to quickly back up the required data. In addition, when the data address list is generated, the storage address needing data backup is determined according to the data type, so that the process of determining the storage address is simplified, the process of determining the storage address is simpler and more convenient, and the use experience of a user is improved.
And 102, acquiring data correspondingly stored under each storage address in the data address list.
In this embodiment, after the data address list is obtained, the data stored at each storage address is sequentially obtained according to the storage addresses in the data address list, so as to obtain all the data to be backed up corresponding to the data address list.
And 103, generating a backup file of the equipment to be processed according to each storage address in the data address list and the data correspondingly stored under each storage address, and storing the backup file to a third-party memory.
In one embodiment, when the backup file is generated according to each storage address and data corresponding to each storage address, a Check code, for example, a Cyclic Redundancy Check (CRC) code, is written in the backup file to prevent the backup file from being externally modified, which may result in data damage or loss.
In one embodiment, when generating the backup file, in order to prevent the backup file from generating an exception, a file size threshold is set for the backup file. The threshold value is set according to actual conditions and needs, and when the backup file is larger than the threshold value, reminding information is generated to remind a user of processing. The problem that files are too large and are lost once when special conditions are met can be solved by backing up the file size threshold of the file equipment.
In one embodiment, in order to reduce the storage space occupied by the backup file in the third-party storage, the backup file is compressed and the size of the backup file is reduced before the backup file is stored in the third-party storage. The compressed backup file occupies a smaller storage space in a third-party storage, so that storage resources are saved.
In one embodiment, a backup file is generated after data stored correspondingly under each storage address in the data address list is acquired. In the backup file, index information is established according to the data address list, and data corresponding to each storage address is stored according to the index information to form the backup file.
In this embodiment, the backup file is generated and then stored in the third-party storage. Before the data backup is carried out on the equipment to be processed, the data in the data address list is stored in a first memory in the equipment to be processed. And the third party memory refers to a storage device different from the first memory. The third-party memory may be a memory integrated on the device to be processed, for example, a hard disk integrated on the device to be processed; or may be a separately provided memory such as a removable disk or the like; and also can be a cloud storage space. The scope of protection of the present application is not limited to the specific implementation form of the third-party storage, as long as the third-party storage can transfer files with the device to be processed.
In one embodiment, the backup File may be stored in the third-party storage after being generated, and may also be stored in another storage device different from the first storage and the third-party storage, for example, a File Transfer Protocol (FTP) Server based on FTP. Therefore, when the third-party memory is damaged due to environmental changes and the like, the backup file can be still found, and the loss of data is further prevented.
In one embodiment, a plurality of electronic devices are respectively used as devices to be processed to perform data backup, and generate backup files corresponding to the electronic devices, and the backup files can be stored in the same third-party memory, so as to facilitate management. Therefore, a unique identifier needs to be set for each backup file for differentiation. Specifically, the process of generating the backup file of the device to be processed according to each storage address in the data address list and the data correspondingly stored at each storage address and storing the backup file in the third-party memory includes: generating a backup file of the equipment to be processed according to each storage address in the data address list and the data correspondingly stored under each storage address; acquiring a unique identifier corresponding to the equipment to be processed, and generating a name of a backup file according to the unique identifier; and saving the backup file with the unique identifier to a third-party memory.
In this embodiment, the unique identifier corresponding to the device to be processed may be read from the device to be processed through a preset query instruction, and the unique identifier of each device to be processed can uniquely represent the device to be processed. The unique identifier may be one of multiple types of identifiers of the device to be processed, for example, an IMEI code, a PN code, and the like, and the scope of protection of the present application is not limited to a specific type of the unique identifier.
In one embodiment, after the backup file is saved in the third-party memory, when the device to be processed needs to restore the data of the backup file, the backup file is acquired from the third-party memory, and the data in the backup file is restored in the device to be processed. Specifically, a backup file of the device to be processed is generated according to each storage address in the data address list and the data correspondingly stored under each storage address, and the backup file is stored in a third-party memory and then a restoring instruction of the device to be processed is received; according to the restoration instruction, obtaining a backup file of the equipment to be processed from a third-party memory; and restoring the data corresponding to the storage address in the backup file to the storage address in the equipment to be processed.
In this embodiment, the restore instruction includes the unique identifier of the device to be processed, and the backup file of the device to be processed can be acquired through the unique identifier. The data in the backup file is stored according to the data address list. And reading the data corresponding to each storage address in the backup file when the data is restored, and restoring the data to the storage address in the equipment to be processed.
In one embodiment, the restore instruction includes a target deposit address that is selected based on the actual situation and the need. During restoration, only the data corresponding to the selected target storage address needs to be restored, and all the data in the backup file does not need to be restored. Specifically, the restoration instruction includes a target storage address to be restored, where the target storage address is at least one storage address in the data address list; restoring the data corresponding to the storage address in the backup file to the storage address in the device to be processed, including: and acquiring data corresponding to the target storage address in the backup file, and restoring the data to the target storage address in the equipment to be processed.
In this embodiment, the selection of the target storage address may be completed through the interactive interface mentioned in the foregoing process. The interactive interface can display each storage address under each data category in the backup file, and a user can select the data category or directly select the storage address. And after determining that all storage addresses needing to be restored are target storage addresses, restoring data corresponding to the target storage addresses. The method increases the flexibility of the restoration process, avoids the data in the backup file from covering the data which is not required to be restored in the equipment to be processed, and improves the use experience of the user.
In one embodiment, the device to be processed is a mobile phone, the first memory is an NV memory of the mobile phone, fixed partitions exist in the NV memory, and each partition has a plurality of continuous storage addresses. The mobile phone can check the partition condition of the NV memory and the storage address of each partition through a preset visualization tool.
And after the NV memory is checked through a visualization tool, determining a storage address needing to be backed up, generating a data address list and integrating the data address list into original firmware of a mobile phone system, and finishing the storage of the data address list.
When the mobile phone starts backup work, a data address list is obtained from a mobile phone system by calling a preset address list reading interface (named as ReadBackuList interface). According to the data address list, calling a preset NV dump interface (named as NVDump interface) to search data under each storage address and storing the data into a specified container variable, wherein the container variable refers to a container for temporarily storing the data, and the data corresponding to all the storage addresses in the data address list can be obtained through the container variable. After the data is obtained, a binary (bin) file is created through a create file (CreateFile) function. And writing the obtained data into the bin file through a preset file writing interface (named as a WriteFile interface), generating a backup file of the mobile phone, and storing the backup file into a third-party memory.
When the mobile phone needs to perform data reduction, a preset file reading interface (named as ReadFile interface) is called to respectively read the data corresponding to each storage address in the backup file and store the data in the container variable, and then a preset NV writing interface (named as WriteNV interface) is called to write the data in the container variable into the storage address in the mobile phone, so that the data in the NV memory is reduced.
According to the data processing method, the data address list generated in advance in the equipment to be processed is obtained, the data correspondingly stored under the storage address are obtained according to the storage address in the data address list, and the backup file is generated and stored. The data backed up by the method enables the data corresponding to the address to be stored in the data address list, the stored address in the data address list is the address corresponding to the data to be backed up, the data in the whole storage space is not directly backed up, the data amount to be processed during backup is reduced, the backup process is accelerated, the formed backup file is small, the storage space required by the backup file is small, the processing speed during backup is further accelerated, and the overall efficiency of the backup and recovery process is improved.
In the process of generating the data address list, the required data type can be selected through the interactive interface, the storage address needing data backup is determined, the flexibility of generating the data address list is improved, the selection of the data type is more visual and simpler than the selection of a direct storage address, and the use experience of a user is further improved.
The unique identification of the equipment to be processed is configured for the backup file, the confusion of a plurality of files is avoided, the backup file of the equipment to be processed can be accurately identified, and a foundation is provided for the data recovery process.
When data reduction is carried out, a target storage address is selected from all storage addresses of the backup file for reduction, so that the reduction data volume can be reduced on the basis of increasing the flexibility of the reduction process, and the data reduction process is further accelerated. Meanwhile, the data in the backup file can be prevented from covering the data which is not needed to be restored in the equipment to be processed, and the use experience of a user is improved.
Based on the same concept, embodiments of the present application provide a data processing apparatus, and specific implementation of the apparatus may refer to descriptions in the method embodiment section, and repeated descriptions are omitted, as shown in fig. 3, the apparatus mainly includes:
a first obtaining module 301, configured to obtain a data address list that needs to perform data backup in a device to be processed, where the data address list is generated according to at least one storage address when data is stored;
a second obtaining module 302, configured to obtain data correspondingly stored at each storage address in the data address list;
the processing module 303 is configured to generate a backup file of the device to be processed according to each storage address in the data address list and the data correspondingly stored at each storage address, and store the backup file in the third-party memory.
In an embodiment, the data processing apparatus further includes a list generating module 304, configured to obtain at least one data category that needs to be backed up by the device to be processed; obtaining a storage address corresponding to each data category through a preset relation between the data categories and the storage addresses; and generating a data address list according to the storage address corresponding to each data type.
In an embodiment, the list generating module 304 is specifically configured to obtain a category selection instruction transmitted by the interactive interface and used for selecting a category of data in the device to be processed; acquiring at least one data category needing data backup according to the category selection instruction; the interactive interface is used for displaying all data categories in the equipment to be processed and providing selectable category selection controls corresponding to the data categories respectively so as to generate category selection instructions.
In one embodiment, the data processing apparatus further includes a restoring module 305, configured to receive a restoring instruction of the device to be processed; according to the restoration instruction, obtaining a backup file of the equipment to be processed from a third-party memory; and restoring the data corresponding to the storage address in the backup file to the storage address in the equipment to be processed.
In an embodiment, the restoring module 305 is specifically configured to obtain data corresponding to a target storage address in a backup file, and restore the data to the target storage address in the device to be processed, where the restoring instruction includes the target storage address to be restored, and the target storage address is at least one storage address in the data address list.
In an embodiment, the processing module 303 is specifically configured to generate a backup file of the device to be processed according to each storage address in the data address list and the data correspondingly stored at each storage address; acquiring a unique identifier corresponding to the equipment to be processed, and generating a name of a backup file according to the unique identifier; and saving the backup file with the unique identifier to a third-party memory.
Based on the same concept, the embodiment of the present application further provides an electronic device, where the electronic device may specifically be a module capable of implementing a data processing function or a terminal device including the module, the terminal device may specifically be a mobile terminal and/or an intelligent terminal, the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like, the intelligent device may specifically be at least one of an intelligent watch, an intelligent refrigerator, an intelligent sound box, an intelligent washing machine, and an intelligent television, and the module may specifically be any one of a 2G communication module, a 3G communication module, a 4G communication module, a 5G communication module, and an NB-IOT communication module.
As shown in fig. 4, the electronic device mainly includes: a processor 401, a memory 402 and a communication bus 403, wherein the processor 401 and the memory 402 communicate with each other via the communication bus 403. The memory 402 stores a program executable by the processor 401, and the processor 401 executes the program stored in the memory 402, so as to implement the following steps: acquiring a data address list which needs data backup in equipment to be processed, wherein the data address list is generated according to at least one storage address when data are stored; acquiring data correspondingly stored under each storage address in a data address list; and generating a backup file of the equipment to be processed according to each storage address in the data address list and the data correspondingly stored under each storage address, and storing the backup file to a third-party memory.
The communication bus 403 mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 403 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
The Memory 402 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the aforementioned processor 401.
The Processor 401 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc., and may 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 gates or transistor logic devices, and discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the data processing method described in the above-described embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A data processing method, comprising:
acquiring a data address list which needs data backup in equipment to be processed, wherein the data address list is generated according to at least one storage address when data are stored;
acquiring data correspondingly stored under each storage address in the data address list;
and generating a backup file of the equipment to be processed according to each storage address in the data address list and the data correspondingly stored under each storage address, and storing the backup file to a third-party memory.
2. The data processing method according to claim 1, wherein the generating process of the data address list comprises:
acquiring at least one data category of the equipment to be processed, which needs to be subjected to data backup;
obtaining the storage address corresponding to each data category according to a preset relation between the data categories and the storage addresses;
and generating the data address list according to the storage address corresponding to each data type.
3. The data processing method according to claim 2, wherein the obtaining at least one data category for which the device to be processed needs to perform data backup comprises:
acquiring a category selection instruction which is transmitted by an interactive interface and is used for selecting the data category in the equipment to be processed;
acquiring at least one data category needing data backup according to the category selection instruction;
the interactive interface is used for displaying all data categories in the equipment to be processed and providing selectable category selection controls corresponding to the data categories respectively so as to generate the category selection instruction.
4. The data processing method according to claim 1, wherein after generating a backup file of the device to be processed according to each storage address in the data address list and the data correspondingly stored at each storage address, and storing the backup file to a third-party memory, the method further comprises:
receiving a restoration instruction of the equipment to be processed;
acquiring the backup file of the equipment to be processed from the third-party memory according to the restoration instruction;
and restoring the data corresponding to the storage address in the backup file to the storage address in the equipment to be processed.
5. The data processing method according to claim 4, wherein the restore instruction includes a target deposit address to be restored, wherein the target deposit address is at least one deposit address in the data address list;
the restoring the data corresponding to the storage address in the backup file to the storage address in the device to be processed includes:
and acquiring data corresponding to the target storage address in the backup file, and restoring the data to the target storage address in the equipment to be processed.
6. The data processing method according to claim 1, wherein the generating a backup file of the device to be processed according to each storage address in the data address list and the data correspondingly stored at each storage address, and storing the backup file to a third-party memory comprises:
generating the backup file of the equipment to be processed according to each storage address in the data address list and the data correspondingly stored under each storage address;
acquiring a unique identifier corresponding to the equipment to be processed, and generating the name of the backup file according to the unique identifier;
and saving the backup file with the unique identifier to the third-party memory.
7. The data processing method of claim 2, wherein the data category comprises at least one of radio frequency parameters, communication parameters, certificate parameters, and network parameters.
8. A data processing apparatus, comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a data address list which needs to be subjected to data backup in equipment to be processed, and the data address list is generated according to at least one storage address when data are stored;
the second acquisition module is used for acquiring data correspondingly stored under each storage address in the data address list;
and the processing module is used for generating a backup file of the equipment to be processed according to each storage address in the data address list and the data correspondingly stored under each storage address, and storing the backup file to a third-party memory.
9. An electronic device, comprising: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor, which executes the program stored in the memory, implements the data processing method of any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the data processing method of any one of claims 1 to 7.
CN202110267994.3A 2021-03-11 2021-03-11 Data processing method, device, equipment and storage medium Pending CN113051105A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110267994.3A CN113051105A (en) 2021-03-11 2021-03-11 Data processing method, device, equipment and storage medium
PCT/CN2021/126003 WO2022188417A1 (en) 2021-03-11 2021-10-25 Data processing method and apparatus, device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110267994.3A CN113051105A (en) 2021-03-11 2021-03-11 Data processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113051105A true CN113051105A (en) 2021-06-29

Family

ID=76511748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110267994.3A Pending CN113051105A (en) 2021-03-11 2021-03-11 Data processing method, device, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN113051105A (en)
WO (1) WO2022188417A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022188417A1 (en) * 2021-03-11 2022-09-15 深圳市广和通无线股份有限公司 Data processing method and apparatus, device, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040153761A1 (en) * 2002-11-26 2004-08-05 Samsung Electronics Co., Ltd. Method of data backup and recovery
CN101325785A (en) * 2008-07-28 2008-12-17 深圳华为通信技术有限公司 Method and apparatus for backup and recuperation of data, mobile equipment
CN104484240A (en) * 2014-12-09 2015-04-01 青岛海信宽带多媒体技术有限公司 Method and device for storing terminal data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733507B (en) * 2017-04-17 2021-10-08 伊姆西Ip控股有限责任公司 Method and device for file backup and recovery
CN113051105A (en) * 2021-03-11 2021-06-29 深圳市广和通无线股份有限公司 Data processing method, device, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040153761A1 (en) * 2002-11-26 2004-08-05 Samsung Electronics Co., Ltd. Method of data backup and recovery
CN101325785A (en) * 2008-07-28 2008-12-17 深圳华为通信技术有限公司 Method and apparatus for backup and recuperation of data, mobile equipment
CN104484240A (en) * 2014-12-09 2015-04-01 青岛海信宽带多媒体技术有限公司 Method and device for storing terminal data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022188417A1 (en) * 2021-03-11 2022-09-15 深圳市广和通无线股份有限公司 Data processing method and apparatus, device, and storage medium

Also Published As

Publication number Publication date
WO2022188417A1 (en) 2022-09-15

Similar Documents

Publication Publication Date Title
CN110908865A (en) Memory leakage monitoring method and device and electronic equipment
CN108932286B (en) Data query method and device
CN109710286B (en) System upgrading method, device, equipment and storage medium
CN111104178A (en) Dynamic library loading method, terminal device and storage medium
CN111325901A (en) Method and device for identifying mobile phone
CN111694733A (en) API (application programming interface) testing method and device for software development kit SDK (software development kit)
CN112996020A (en) Bluetooth-based automatic testing method and device and Bluetooth testing terminal
CN113885935A (en) Resource packaging method and device, electronic equipment and computer readable storage medium
CN113051105A (en) Data processing method, device, equipment and storage medium
CN111782474A (en) Log processing method and device, electronic equipment and medium
WO2020113421A1 (en) Method for mounting file system, terminal device, and storage medium
CN111159298A (en) Service request processing method and device, electronic equipment and storage medium
CN113127099B (en) Server configuration method, device, equipment and storage medium
CN112988810B (en) Information searching method, device and equipment
CN112732568B (en) System log acquisition method and device, storage medium and terminal
CN117667604B (en) Data monitoring method, device, electronic equipment and storage medium for tracking event
CN109753228B (en) Snapshot deleting method, device and system
CN110677919B (en) Method and equipment for sharing and determining income based on wireless access point
CN113986134B (en) Method for storing data, method and device for reading data
CN115835271A (en) Method and apparatus for audio testing
CN110633181B (en) Visual display method and device
CN111625192A (en) Metadata object access method, device, equipment and medium
CN115794645A (en) Web input box test method and device and processing equipment
CN116578348A (en) Data processing method and device of mobile storage device and processor
CN114816948A (en) Method and device for checking task progress of working area and recording method and device

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