CN113407379B - Intelligent backup method, device, equipment and medium for application program data - Google Patents

Intelligent backup method, device, equipment and medium for application program data Download PDF

Info

Publication number
CN113407379B
CN113407379B CN202110731864.0A CN202110731864A CN113407379B CN 113407379 B CN113407379 B CN 113407379B CN 202110731864 A CN202110731864 A CN 202110731864A CN 113407379 B CN113407379 B CN 113407379B
Authority
CN
China
Prior art keywords
data
application program
backup
information
installation terminal
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.)
Active
Application number
CN202110731864.0A
Other languages
Chinese (zh)
Other versions
CN113407379A (en
Inventor
余奇峰
龚强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Wondershare Software Co Ltd
Original Assignee
Shenzhen Wondershare Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Wondershare Software Co Ltd filed Critical Shenzhen Wondershare Software Co Ltd
Priority to CN202110731864.0A priority Critical patent/CN113407379B/en
Publication of CN113407379A publication Critical patent/CN113407379A/en
Application granted granted Critical
Publication of CN113407379B publication Critical patent/CN113407379B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/62Uninstallation

Landscapes

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

Abstract

The invention discloses an intelligent backup method, a device, equipment and a medium of application program data, wherein the method comprises the following steps: according to a data backup instruction input by a user, acquiring corresponding system directory data from an installation terminal through an ADB tool for backup storage, sending an initialization instruction to the installation terminal to uninstall an application program and restart the application program, sending a backup application program corresponding to the application program to the installation terminal for installation, acquiring the backed-up and stored system directory data from the installation terminal, and analyzing the system directory data to obtain directory data analysis information. The invention belongs to the technical field of data storage, and aims to backup and store system directory data, acquire the system directory data from an installation terminal after reinstalling an application program, transmit the system directory data to a user terminal for storage, conveniently and quickly acquire backup and storage required by a user, and obtain directory data analysis information from the backup and storage so as to facilitate the user to check, thereby greatly improving the efficiency of backup and storage of the system directory data.

Description

Intelligent backup method, device, equipment and medium for application program data
Technical Field
The present invention relates to the field of data storage technologies, and in particular, to an intelligent backup method, apparatus, device, and medium for application data.
Background
With the increasing popularization of intelligent devices, users can select from various application programs and install and use the application programs, personal use data corresponding to each user is generated in the process of using the application programs, and the personal use data is stored in the terminal device for installing the application programs and cannot be directly viewed. A user may need to back up personal use data in the process of using an application program, but the application program does not usually provide the data backup function, so that the user cannot conveniently acquire corresponding personal use data from the terminal device in which the application program is installed and perform backup storage, which affects the efficiency of performing backup storage on data. Therefore, the conventional method has a problem that the personal use data cannot be efficiently acquired and backed up for storage.
Disclosure of Invention
The embodiment of the invention provides an intelligent backup method, device, equipment and medium for application program data, and aims to solve the problem that personal use data cannot be efficiently acquired and backed up for storage in the prior art.
In a first aspect, an embodiment of the present invention provides an intelligent backup method for application data, including:
if a data backup instruction input by a user is received, backing up and storing system catalog data of an application program corresponding to the data backup instruction in the installation terminal through a preset ADB tool;
if the backed-up prompt information fed back by the installation terminal is received, sending an initialization instruction to the installation terminal so that the installation terminal executes the initialization instruction to uninstall and restart the application program;
if the restart prompt information fed back by the installation terminal is received, sending a backup application program corresponding to the application program to the installation terminal so that the installation terminal can install the backup application program;
if receiving the installed prompt information fed back by the installation terminal, acquiring the system directory data which is backed up and stored from the installation terminal;
and analyzing the system directory data according to a preset data analysis rule to obtain a corresponding directory analysis file and directory data analysis information.
In a second aspect, an embodiment of the present invention provides an intelligent backup apparatus for application data, including:
the system directory data backup storage unit is used for performing backup storage on system directory data of an application program corresponding to a data backup instruction in the installation terminal through a preset ADB tool if the data backup instruction input by a user is received;
the initialization instruction sending unit is used for sending an initialization instruction to the installation terminal if the backed-up prompt information fed back by the installation terminal is received, so that the installation terminal executes the initialization instruction to uninstall and restart the application program;
a backup application program sending unit, configured to send a backup application program corresponding to the application program to the installation terminal if receiving restart prompt information fed back by the installation terminal, so that the installation terminal installs the backup application program;
the system directory data acquisition unit is used for acquiring the backed-up and stored system directory data from the installation terminal if the installation prompt information fed back by the installation terminal is received;
and the system directory data analysis unit is used for analyzing the system directory data according to a preset data analysis rule to obtain a corresponding directory analysis file and directory data analysis information.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the intelligent backup method for application data described in the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, causes the processor to execute the method for intelligently backing up application data according to the first aspect.
The embodiment of the invention provides an intelligent backup method, device, equipment and medium for application program data. According to a data backup instruction input by a user, acquiring corresponding system directory data from an installation terminal through an ADB tool for backup storage, sending an initialization instruction to the installation terminal to uninstall an application program and restart the application program, sending a backup application program corresponding to the application program to the installation terminal for installation, acquiring the backed-up and stored system directory data from the installation terminal, and analyzing the system directory data to obtain directory data analysis information. By the method, the system catalog data can be backed up and stored by the ADB tool, the system catalog data is acquired from the installation terminal after the equipment application program is reinstalled, and is transmitted to the user terminal for storage, backup storage required by a user can be conveniently and quickly acquired from the installation terminal, catalog data analysis information is obtained by analyzing the backup storage, the backup storage is convenient for the user to check, and the efficiency of backing up and storing the system catalog data is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of an intelligent backup method for application data according to an embodiment of the present invention;
fig. 2 is a schematic view of an application scenario of an intelligent backup method for application data according to an embodiment of the present invention;
fig. 3 is another schematic flowchart of an intelligent backup method for application data according to an embodiment of the present invention;
fig. 4 is a schematic sub-flow diagram of an intelligent backup method for application data according to an embodiment of the present invention;
FIG. 5 is a schematic view of another sub-flow chart of the method for intelligently backing up application data according to the embodiment of the present invention;
FIG. 6 is a schematic view of another sub-flow chart of the method for intelligently backing up application data according to the embodiment of the present invention;
fig. 7 is another schematic sub-flow chart of the method for intelligently backing up application data according to the embodiment of the present invention;
FIG. 8 is a schematic view of another sub-flow chart of the method for intelligently backing up application data according to the embodiment of the present invention;
fig. 9 is a schematic block diagram of an intelligent backup device for application data according to an embodiment of the present invention;
FIG. 10 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic flowchart illustrating an intelligent backup method for application data according to an embodiment of the present invention; the intelligent backup method of the application program data is applied to a user terminal 10, the intelligent backup method of the application program data is executed through application software installed in the user terminal 10, the user terminal 10 is connected with an installation terminal 20 through a network to transmit data information, the user terminal 10 is a terminal device which can receive a data backup instruction input by a user to acquire corresponding system directory data from the installation terminal 20 to perform backup storage, such as a desktop computer, a notebook computer or a tablet computer, and the installation terminal 20 is a terminal device which is used for installing the application program and the backup application program, such as a mobile phone and an intelligent watch; the installation terminal 20 is connected to the cloud server 30 via a network to transmit data information, and the cloud server 30 is a server side that can provide services for the installation terminal 20 for installing the application program, such as a server constructed by an enterprise or a government department. As shown in fig. 1, the method includes steps S110 to S150.
And S110, if a data backup instruction input by a user is received, backing up and storing system directory data of an application program corresponding to the data backup instruction in the installation terminal through a preset ADB tool.
And if a data backup instruction input by a user is received, backing up and storing system catalog data of an application program corresponding to the data backup instruction in the installation terminal through a preset ADB tool. The user can input a data backup instruction to the user terminal, and then the user terminal can backup and store system directory data of an application program corresponding to the data backup instruction in the installation terminal through an ADB (Android Debug Bridge) tool, wherein the ADB tool is a script tool configured in the user terminal in advance, and the ADB tool can read corresponding system directory data from the application program corresponding to the data backup instruction installed in the installation terminal and transfer the system directory data to other storage areas of the installation terminal for backup and storage.
In one embodiment, as shown in FIG. 3, step S110 includes sub-steps S111 and S112.
S111, determining a corresponding data storage address according to a program identifier contained in the data backup instruction; and S112, backing up and storing the data information corresponding to the data storage address in the installation terminal as the system directory data.
Specifically, the data backup instruction includes a program identifier, the program identifier uniquely corresponds to each application program, and the program identifier may be information such as a name or an application serial number of the application program. The application program records a corresponding data storage address, and after acquiring the personal use data of the user, the application program can store the personal use data into a directory corresponding to the data storage address in the installation terminal according to the data storage address. The application program installed in the installation terminal and uniquely corresponding to the program identifier can be obtained according to the program identifier contained in the data backup instruction, and the data storage address in the uniquely corresponding application program can be further obtained. The data information corresponding to the target storage can be acquired from the installation terminal according to the determined data storage address to be used as system directory data corresponding to the data backup instruction for backup storage, the number of the data storage addresses of the application program can be one or more, and if the number of the data storage addresses is one, the data information is directly acquired from a directory corresponding to the data storage address to be used as the system directory data; if the number of the data storage addresses is multiple, corresponding multiple data information copies need to be acquired from corresponding multiple directories as system directory data. For example, the system directory data may be chat records, audio/video documents, and contact data, and the backup storage is only to transfer the system directory data to other storage areas in the installation terminal for backup storage. More specifically, before backing up and storing the data information in the directory corresponding to the data storage address, the installation terminal may also perform overall encryption on the data information corresponding to the data storage address, and perform subsequent processing on the data information obtained through encryption as system directory data, where the encryption process may be implemented based on the AES-256 algorithm.
In one embodiment, as shown in fig. 4, step S1110 is further included before step S111.
S1110, generating a cloud storage instruction according to the data backup instruction and sending the cloud storage instruction to the installation terminal, so that the installation terminal executes the cloud storage instruction and uploads system catalog data of an application program corresponding to the cloud storage instruction to the cloud server for storage.
Before determining the data storage address corresponding to the data backup instruction, a corresponding cloud storage instruction can be generated according to the data backup instruction and sent to the installation terminal, and specifically, the generated cloud storage instruction includes information such as a program identifier and generation time. The installation terminal can execute the cloud storage instruction and upload the corresponding system catalog data to the cloud server for storage, the cloud server is a server side corresponding to the application program, and a user can obtain the service provided by the cloud server corresponding to the application program by using the application program.
And S120, if the backup prompt information fed back by the installation terminal is received, sending an initialization instruction to the installation terminal so that the installation terminal executes the initialization instruction to uninstall and restart the application program.
And if the backed-up prompt information fed back by the installation terminal is received, sending an initialization instruction to the installation terminal so that the installation terminal executes the initialization instruction to uninstall and restart the application program. The installation terminal can feed back the backed-up prompt information to the user terminal after finishing the backup storage of the system directory data, the user terminal can send a prestored initialization instruction to the installation terminal after receiving the prompt information, and the installation terminal executes the initialization instruction to realize initialization.
And S130, if the restart prompt information fed back by the installation terminal is received, sending a backup application program corresponding to the application program to the installation terminal so that the installation terminal installs the backup application program.
And if the restart prompt information fed back by the installation terminal is received, sending a backup application program corresponding to the application program to the installation terminal so that the installation terminal installs the backup application program. The installation terminal can feed back restart prompt information to the user terminal after finishing initialization, the restart prompt information comprises version information of the uninstalled application program, the user terminal can send a pre-stored backup application program corresponding to the application program to the installation terminal after receiving the prompt information, the installation terminal can install the installation terminal after receiving the backup application program, specifically, the same application program usually comprises different application versions, the backup application program is the same as the uninstalled application program, namely, the program identifiers of the backup application program and the uninstalled application program are the same, the difference is only that the version numbers of the backup application program are different, and the backup application program can be a program with an older version relative to the application program.
In one embodiment, as shown in fig. 5, step S130 includes sub-steps S131 and S132.
S131, obtaining the alternative application program matched with the program identifier in the pre-stored program database according to the program identifier of the application program.
The user terminal is pre-stored with a program database, the program database can store programs of multiple program versions corresponding to the application programs, and then the program matched with the program identifier can be obtained from the program database as an alternative application program according to the program identifier of the application program, and one or more alternative application programs matched with the program identifier in the program database can be provided.
S132, according to the version information of the application programs, one alternative application program closest to the version information is screened from the alternative application programs to serve as a backup application program corresponding to the application program.
The restarted prompt message contains version information corresponding to the unloaded application program, each alternative application program correspondingly has one version information, one alternative application program closest to the version information can be screened from the alternative application programs according to the version information of the unloaded application program to serve as a corresponding backup application program, and the backup application program is sent to the installation terminal for installation.
In one embodiment, as shown in fig. 6, step S132 includes substeps S1321 and S1322.
S1321, comparing the version information of the alternative application programs with the version information of the application programs to obtain a version difference value between each alternative application program and the application program; s1322, obtaining, from the candidate applications, a candidate application whose version information is smaller than the application and whose corresponding version difference is the smallest, and determining that the candidate application is the backup application.
Specifically, the version information of each alternative application program may be compared with the version information of the uninstalled application program to obtain a version difference corresponding to each alternative application program. Specifically, the version information may be represented in a digital form, for example, "1.0.3.105", the two version information may be compared to obtain a corresponding version difference, and each alternative application program may be compared with the unloaded application program to obtain a corresponding version difference, where, for example, the version information of the unloaded application program is "1.0.3.105", the version information of a certain alternative application program is "1.0.2.127", and the corresponding version difference is "0.0.0.978". Based on the obtained version difference, a candidate application program with version information smaller than the uninstalled application program and the smallest version difference with the uninstalled application program can be obtained as the backup application program.
And S140, if the installed prompt information fed back by the installation terminal is received, the backed-up and stored system directory data is obtained from the installation terminal.
And if receiving the installed prompt information fed back by the installation terminal, acquiring the system directory data which is backed up and stored from the installation terminal. And if the installed prompt information fed back by the installation terminal is received, the system directory data which is backed up and stored can be obtained from the installation terminal.
S150, analyzing the system directory data according to a preset data analysis rule to obtain a corresponding directory analysis file and directory data analysis information.
And analyzing the system directory data according to a preset data analysis rule to obtain a corresponding directory analysis file and directory data analysis information. The system directory data acquired from the installation terminal can be analyzed according to the data analysis rule, and a directory analysis file and target data analysis information corresponding to the system directory data are obtained. The directory parsing file is a file which is obtained by parsing system target data and stores data information, the directory data parsing information is data information which records file basic information of each directory parsing file, the obtained directory parsing file can be directly read and used by a user, the directory data parsing information can be used for recording general profiles of the directory parsing files, and the user can clearly view the file basic information corresponding to each directory parsing file by obtaining the directory data parsing information. The data analysis rule comprises a decryption algorithm and a format conversion rule.
In one embodiment, as shown in FIG. 7, step S150 includes sub-steps S151, S152, and S153.
And S151, decrypting the system directory data according to the decryption algorithm to obtain a decrypted data file.
The obtained system directory data is encrypted data, and the system directory data can be decrypted according to a decryption algorithm to obtain a decrypted data file, wherein the decryption algorithm can be an AES-256 algorithm.
S152, carrying out format conversion on each decrypted data file according to the format conversion rule to obtain a directory analysis file.
The decrypted data file may be one or more, and the decrypted data file may be an ab suffix file, that is, the decrypted data file is a file in an ab format, and in order to enable a user to directly read and use the corresponding file, format conversion processing may be performed on the obtained decrypted data file to obtain a directory analysis file. Wherein the format conversion rule comprises cutting information and format information. The decrypted data file obtained by decrypting the system directory data backed up in the user terminal cannot be directly browsed by a user, namely the user cannot directly browse the file in the ab format.
In one embodiment, as shown in fig. 8, step S152 includes sub-steps S1521 and S1522.
S1521, according to the cutting information, cutting the data corresponding to the cutting information in each decrypted data file to obtain a cut data file corresponding to each decrypted data file.
The data stored in each decrypted data file can be cut according to the cutting information, specifically, the data corresponding to the cutting information can be determined from each decrypted data file, and the data corresponding to the cutting information is deleted from each decrypted data file, so that the cut data file corresponding to each decrypted data file is obtained.
For example, if the cutting information is 18-24 bytes, the data corresponding to the 18 th-24 th byte can be obtained from each decrypted data file and deleted, so as to obtain the cutting data file corresponding to each decrypted data file.
S1522, format conversion is carried out on the cutting data files according to the format information, and directory analysis files corresponding to the cutting data files are obtained.
The format conversion can be carried out on the obtained cutting data files according to the format information, the directory analysis files obtained through conversion correspond to the format recorded in the format information, and each cutting data file can be converted to obtain a corresponding directory analysis file.
For example, if the format information is Tar, each clipped data file may be correspondingly converted into a file in the Tar format according to the format information, and the converted file in the Tar format is a directory analysis file.
S153, acquiring file basic information of each directory parsing file as the directory data parsing information.
The file basic information of each directory parsing file can be acquired, and the file basic information of each directory parsing file is integrated to obtain corresponding directory data parsing information, that is, the obtained directory data parsing information contains file basic information corresponding to each directory parsing file. The file basic information of a directory parsing file may include information such as a file name, an occupied space, and a file storage path corresponding to the directory parsing file.
In the method for intelligently backing up application program data provided by the embodiment of the invention, according to a data backup instruction input by a user, corresponding system directory data is obtained from an installation terminal through an ADB tool for backup storage, an initialization instruction is sent to the installation terminal to unload an application program and restart the application program, a backup application program corresponding to the application program is sent to the installation terminal for installation, the backed-up and stored system directory data is obtained from the installation terminal, and the system directory data is analyzed to obtain directory data analysis information. By the method, the system catalog data can be backed up and stored by the ADB tool, the system catalog data is acquired from the installation terminal after the equipment application program is reinstalled and transmitted to the user terminal for storage, the backup storage required by the user can be conveniently and quickly acquired from the installation terminal, the catalog data analysis information is obtained by analysis from the backup storage, the user can conveniently check the catalog data, and the efficiency of the backup storage of the system catalog data is greatly improved.
The embodiment of the present invention further provides an intelligent backup device for application data, where the intelligent backup device for application data may be configured in the user terminal 10, and the intelligent backup device for application data is configured to execute any one of the foregoing intelligent backup methods for application data. Specifically, referring to fig. 9, fig. 9 is a schematic block diagram of an intelligent backup device for application data according to an embodiment of the present invention.
As shown in fig. 9, the intelligent backup apparatus 100 for application data includes a system catalog data backup storage unit 110, an initialization instruction transmission unit 120, a backup application transmission unit 130, a system catalog data acquisition unit 140, and a system catalog data parsing unit 150.
The system catalog data backup storage unit 110 is configured to, if a data backup instruction input by a user is received, backup and store system catalog data of an application program corresponding to the data backup instruction in the installation terminal through a preset ADB tool.
In one embodiment, the system catalog data backup storage unit 110 includes subunits: the data storage address determining unit is used for determining a corresponding data storage address according to a program identifier contained in the data backup instruction; and the backup storage unit is used for performing backup storage on the data information corresponding to the data storage address in the installation terminal as the system directory data.
In one embodiment, the system catalog data backup storage unit 110 further includes a subunit: and the cloud storage instruction sending unit is used for generating a cloud storage instruction according to the data backup instruction and sending the cloud storage instruction to the installation terminal so that the installation terminal executes the cloud storage instruction and uploads system catalog data of an application program corresponding to the cloud storage instruction to the cloud server for storage.
An initialization instruction sending unit 120, configured to send an initialization instruction to the installation terminal if the backed-up prompt information fed back by the installation terminal is received, so that the installation terminal executes the initialization instruction to uninstall and restart the application program.
A backup application sending unit 130, configured to send, if receiving the restart prompt information fed back by the installation terminal, a backup application corresponding to the application to the installation terminal, so that the installation terminal installs the backup application.
In one embodiment, the backup application sending unit 130 includes sub-units: the alternative application program acquisition unit is used for acquiring alternative application programs matched with the program identifiers in a pre-stored program database according to the program identifiers of the application programs; and the backup application program acquisition unit is used for screening out one candidate application program closest to the version information from the candidate application programs according to the version information of the application programs as the backup application program corresponding to the application program.
In one embodiment, the backup application acquisition unit includes a subunit: the version difference acquiring unit is used for comparing the version information of the alternative application programs with the version information of the application programs to obtain the version difference between each alternative application program and the application program; and the backup application program determining unit is used for acquiring one alternative application program of which the version information is smaller than the application program and the corresponding version difference value is the smallest from the alternative application programs and determining the alternative application program as the backup application program.
A system directory data obtaining unit 140, configured to obtain the backed-up and stored system directory data from the installation terminal if receiving the installation prompt information fed back by the installation terminal.
The system directory data parsing unit 150 is configured to parse the system directory data according to a preset data parsing rule to obtain a corresponding directory parsing file and directory data parsing information.
In one embodiment, the system catalog data parsing unit 150 includes sub-units: the decryption unit is used for decrypting the system directory data according to the decryption algorithm to obtain a decrypted data file; a directory parsing file obtaining unit, configured to perform format conversion on each decrypted data file according to the format conversion rule to obtain a directory parsing file; and the target data analysis information acquisition unit is used for acquiring the file basic information of each directory analysis file as the directory data analysis information.
In one embodiment, the format conversion unit includes a subunit: the data clipping unit is used for clipping data corresponding to the clipping information in each decrypted data file according to the clipping information to obtain a clipped data file corresponding to each decrypted data file; and the format conversion unit is used for carrying out format conversion on the cutting data files according to the format information to obtain a directory analysis file corresponding to each cutting data file.
The intelligent backup method of the application program data is applied to the intelligent backup device of the application program data, corresponding system directory data are obtained from an installation terminal through an ADB tool according to a data backup instruction input by a user to be backed up and stored, an initialization instruction is sent to the installation terminal to uninstall an application program and restart the installation terminal, a backup application program corresponding to the application program is sent to the installation terminal to be installed, the backed-up and stored system directory data are obtained from the installation terminal, and the system directory data are analyzed to obtain directory data analysis information. By the method, the system catalog data can be backed up and stored by the ADB tool, the system catalog data is acquired from the installation terminal after the equipment application program is reinstalled, and is transmitted to the user terminal for storage, backup storage required by a user can be conveniently and quickly acquired from the installation terminal, catalog data analysis information is obtained by analyzing the backup storage, the backup storage is convenient for the user to check, and the efficiency of backing up and storing the system catalog data is greatly improved.
The intelligent backup means of the application data may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 10.
Referring to fig. 10, fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present invention. The computer device may be a user terminal for executing an intelligent backup method of application data to acquire corresponding system directory data from an installation terminal for backup storage.
Referring to fig. 10, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a storage medium 503 and an internal memory 504.
The storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, may cause the processor 502 to perform an intelligent backup method for application data, wherein the storage medium 503 may be a volatile storage medium or a non-volatile storage medium.
The processor 502 is used to provide computing and control capabilities that support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the operation of the computer program 5032 in the storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can be enabled to execute an intelligent backup method of application data.
The network interface 505 is used for network communication, such as providing transmission of data information. Those skilled in the art will appreciate that the configuration shown in fig. 10 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing device 500 to which aspects of the present invention may be applied, and that a particular computing device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The processor 502 is configured to run the computer program 5032 stored in the memory to implement the corresponding functions in the above-mentioned intelligent backup method of application data.
Those skilled in the art will appreciate that the embodiment of a computer device illustrated in fig. 10 does not constitute a limitation on the specific construction of the computer device, and that in other embodiments a computer device may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. For example, in some embodiments, the computer device may only include a memory and a processor, and in such embodiments, the structures and functions of the memory and the processor are consistent with those of the embodiment shown in fig. 10, which are not described herein again.
It should be understood that, in the embodiment of the present invention, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer readable storage medium may be a volatile or non-volatile computer readable storage medium. The computer readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps included in the above-mentioned intelligent backup method for application data.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, devices and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only a logical division, and there may be other divisions when the actual implementation is performed, or units having the same function may be grouped into one unit, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electrical, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partly contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a computer readable storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present invention. And the aforementioned computer-readable storage medium comprises: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. An intelligent backup method for application program data is characterized in that the method is applied to a user terminal, the user terminal and an installation terminal are connected through a network to transmit data information, and the method comprises the following steps:
if a data backup instruction input by a user is received, backing up and storing system catalog data of an application program corresponding to the data backup instruction in the installation terminal through a preset ADB tool;
if the backed-up prompt information fed back by the installation terminal is received, sending an initialization instruction to the installation terminal so that the installation terminal executes the initialization instruction to uninstall and restart the application program;
if the restart prompt information fed back by the installation terminal is received, sending a backup application program corresponding to the application program to the installation terminal so that the installation terminal can install the backup application program;
if receiving the installed prompt information fed back by the installation terminal, acquiring the system directory data which is backed up and stored from the installation terminal;
analyzing the system directory data according to a preset data analysis rule to obtain a corresponding directory analysis file and directory data analysis information;
the data analysis rule comprises a decryption algorithm and a format conversion rule, the system directory data is analyzed according to a preset data analysis rule to obtain a corresponding directory analysis file and directory data analysis information, and the method comprises the following steps:
decrypting the system directory data according to the decryption algorithm to obtain a decrypted data file;
carrying out format conversion on each decrypted data file according to the format conversion rule to obtain a directory analysis file;
acquiring file basic information of each directory parsing file as the directory data parsing information;
the format conversion rule includes cutting information and format information, and the format conversion is performed on each decrypted data file according to the format conversion rule to obtain a directory analysis file, including:
cutting data corresponding to the cutting information in each decrypted data file according to the cutting information to obtain a cut data file corresponding to each decrypted data file;
and carrying out format conversion on the cut data files according to the format information to obtain a directory analysis file corresponding to each cut data file.
2. The method for intelligently backing up application program data according to claim 1, wherein the backing up and storing the system catalog data of the application program corresponding to the data backup instruction in the installation terminal by using a preset ADB tool comprises:
determining a corresponding data storage address according to a program identifier contained in the data backup instruction;
and taking the data information corresponding to the data storage address in the installation terminal as the system directory data for backup storage.
3. The method for intelligently backing up application program data according to claim 2, wherein the installation terminal is connected to a cloud server through a network at the same time to transmit data information, and before determining a corresponding data storage address according to a program identifier included in the data backup instruction, the method further comprises:
and generating a cloud storage instruction according to the data backup instruction and sending the cloud storage instruction to the installation terminal so that the installation terminal executes the cloud storage instruction and uploads system catalog data of an application program corresponding to the cloud storage instruction to the cloud server for storage.
4. The method for intelligently backing up application data according to claim 1, wherein the sending the backup application corresponding to the application to the installation terminal comprises:
acquiring an alternative application program matched with the program identifier in a prestored program database according to the program identifier of the application program;
and screening out one alternative application program closest to the version information from the alternative application programs according to the version information of the application programs as a backup application program corresponding to the application program.
5. The method for intelligently backing up application data according to claim 4, wherein the screening out one of the alternative applications that is closest to the version information according to the version information of the application as the backup application corresponding to the application comprises:
comparing the version information of the alternative application programs with the version information of the application programs to obtain a version difference value between each alternative application program and the application program;
and obtaining one alternative application program with version information smaller than the application program and the corresponding version difference being minimum from the alternative application programs, and determining the alternative application program as the backup application program.
6. An intelligent backup device for application data, the device being configured at a user terminal, the user terminal and an installation terminal being connected via a network for data information transmission, the device comprising:
the system directory data backup storage unit is used for performing backup storage on system directory data of an application program corresponding to a data backup instruction in the installation terminal through a preset ADB tool if the data backup instruction input by a user is received;
the initialization instruction sending unit is used for sending an initialization instruction to the installation terminal if the backed-up prompt information fed back by the installation terminal is received, so that the installation terminal executes the initialization instruction to uninstall and restart the application program;
a backup application program sending unit, configured to send a backup application program corresponding to the application program to the installation terminal if receiving restart prompt information fed back by the installation terminal, so that the installation terminal installs the backup application program;
the system directory data acquisition unit is used for acquiring the system directory data which is backed up and stored from the installation terminal if the installation prompt information fed back by the installation terminal is received;
the system directory data analysis unit is used for analyzing the system directory data according to a preset data analysis rule to obtain a corresponding directory analysis file and directory data analysis information;
the data analysis rule comprises a decryption algorithm and a format conversion rule, and the system directory data analysis unit comprises subunits: the decryption unit is used for decrypting the system directory data according to the decryption algorithm to obtain a decrypted data file; a directory parsing file obtaining unit, configured to perform format conversion on each decrypted data file according to the format conversion rule to obtain a directory parsing file; a target data analysis information obtaining unit, configured to obtain file basic information of each directory analysis file as the directory data analysis information;
the format conversion rule comprises cutting information and format information, and the format conversion unit comprises a subunit: the data cutting unit is used for cutting data corresponding to the cutting information in each decrypted data file according to the cutting information to obtain a cut data file corresponding to each decrypted data file; and the format conversion unit is used for carrying out format conversion on the cut data files according to the format information to obtain a directory analysis file corresponding to each cut data file.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the intelligent backup method of application data according to any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the intelligent backup method of application data according to any one of claims 1 to 5.
CN202110731864.0A 2021-06-30 2021-06-30 Intelligent backup method, device, equipment and medium for application program data Active CN113407379B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110731864.0A CN113407379B (en) 2021-06-30 2021-06-30 Intelligent backup method, device, equipment and medium for application program data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110731864.0A CN113407379B (en) 2021-06-30 2021-06-30 Intelligent backup method, device, equipment and medium for application program data

Publications (2)

Publication Number Publication Date
CN113407379A CN113407379A (en) 2021-09-17
CN113407379B true CN113407379B (en) 2023-03-28

Family

ID=77680254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110731864.0A Active CN113407379B (en) 2021-06-30 2021-06-30 Intelligent backup method, device, equipment and medium for application program data

Country Status (1)

Country Link
CN (1) CN113407379B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778695B (en) * 2021-11-12 2022-04-29 深圳华锐分布式技术股份有限公司 Memory snapshot management method, device, equipment and medium crossing application life cycle

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8667273B1 (en) * 2006-05-30 2014-03-04 Leif Olov Billstrom Intelligent file encryption and secure backup system
JP6360933B1 (en) * 2017-03-08 2018-07-18 深▲しん▼泰克威雲儲科技股▲ふん▼有限公司 Data processing method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156236A (en) * 2014-07-23 2014-11-19 小米科技有限责任公司 Storage space saving method and device
CN106528688B (en) * 2016-10-25 2020-03-10 公安部第三研究所 Analysis evidence obtaining method aiming at Twitter
US10795657B2 (en) * 2017-03-13 2020-10-06 Samsung Electronics Co., Ltd. Method of managing applications and computing device using the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8667273B1 (en) * 2006-05-30 2014-03-04 Leif Olov Billstrom Intelligent file encryption and secure backup system
JP6360933B1 (en) * 2017-03-08 2018-07-18 深▲しん▼泰克威雲儲科技股▲ふん▼有限公司 Data processing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种跨操作系统平台的AVIDM系统升级方法;魏平等;《航天制造技术》;20160825(第04期);全文 *

Also Published As

Publication number Publication date
CN113407379A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
US10218587B2 (en) Transparently tracking provenance information in distributed data systems
US10194321B2 (en) Periodic mobile forensics
US10826991B2 (en) Downloading files from a cloud storage being used as temporary cache
CN110830577B (en) Service request call tracking method and device, computer equipment and storage medium
US8812442B1 (en) Backup service and appliance with single-instance storage of encrypted data
US8429425B2 (en) Electronic backup and restoration of encrypted data
US20080115071A1 (en) System And Methods For Zero-Configuration Data Backup
US20120005479A1 (en) Group based complete and incremental computer file backup system, process and apparatus
WO2019125854A1 (en) System and method for identifying cybersecurity threats
US9087207B2 (en) Obtaining complete forensic images of electronic storage media
CN102306256A (en) The file that obtains is carried out the prestige inspection
CN111158719B (en) Application software upgrading method and device
US10089166B2 (en) Configuring and utilizing call-home systems
CN113407379B (en) Intelligent backup method, device, equipment and medium for application program data
WO2017185455A1 (en) Root detection method, device, and terminal
JP2019079280A (en) File verification device, file transfer system and program
JP2000200208A (en) Method and device for file backup, and program recording medium
US20080222043A1 (en) System and method for trans-vendor license registration and recovery
CN112804094B (en) Equipment deployment method and device
CN112434094A (en) Database connection method and device based on encryption algorithm and computer equipment
CN111046389A (en) Method for securely updating firmware components and portable computer station for implementation
US20210096753A1 (en) Cloud secured storage system
US11436377B2 (en) Secure workload image distribution and management
US9983866B1 (en) Upgrade compatibility checks in a client-server environment
CN113986706A (en) Automatic data service re-running method based on data service monitoring

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211119

Address after: 518000 1001, block D, building 5, software industry base, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Wanxing Software Co.,Ltd.

Address before: 518000 1002, block D, building 5, software industry base, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN SIBO TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant