CN115509810A - Remote backup method and device for cloud data - Google Patents

Remote backup method and device for cloud data Download PDF

Info

Publication number
CN115509810A
CN115509810A CN202211171710.1A CN202211171710A CN115509810A CN 115509810 A CN115509810 A CN 115509810A CN 202211171710 A CN202211171710 A CN 202211171710A CN 115509810 A CN115509810 A CN 115509810A
Authority
CN
China
Prior art keywords
backup
file
updated
client
cloud server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211171710.1A
Other languages
Chinese (zh)
Other versions
CN115509810B (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.)
Guangzhou Baolun Electronics Co Ltd
Original Assignee
Guangzhou Baolun Electronics 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 Guangzhou Baolun Electronics Co Ltd filed Critical Guangzhou Baolun Electronics Co Ltd
Priority to CN202211171710.1A priority Critical patent/CN115509810B/en
Publication of CN115509810A publication Critical patent/CN115509810A/en
Application granted granted Critical
Publication of CN115509810B publication Critical patent/CN115509810B/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/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a remote backup method and a remote backup device for cloud data, wherein the method is suitable for a cloud server, the cloud server is connected with a client, and the method comprises the following steps: automatically detecting whether a file to be updated exists in a database or not according to a preset time interval, if so, generating backup notification information containing encryption check codes, and sending the backup notification information to the client; acquiring a backup downloading request sent by the client; and sending the file to be updated to the client according to the backup downloading request so that the client can migrate the file to be updated to a corresponding file directory for backup updating, and updating and verifying the file to be updated by adopting an encryption verification code so as to determine that the backup updating is completed. According to the invention, the cloud server automatically traverses the files and automatically sends the backup files to the client for backup operation, so that the effect of automatic backup is realized, the backup process is simplified, and the backup efficiency is improved.

Description

Remote backup method and device for cloud data
Technical Field
The invention relates to the technical field of data remote backup, in particular to a remote backup method and device for cloud data.
Background
In the internet era, more and more enterprises choose to put products and services on a network for operation, and most small and medium-sized enterprises rent or purchase a single cloud server to deploy the products and services of a company due to the technical limitation and cost considerations, so that remote backup of server business data is very important at the moment.
At present, two kinds of remote backup are commonly used, one is to use two servers, and after one cloud server is locally backed up, relevant technical personnel synchronize data to the other cloud server. The other is a single server, after the data is locally backed up on the cloud server, the backup file is manually downloaded to a local area network personal computer fixed by a company in a manual mode, so that the backup purpose is achieved.
However, the two methods commonly used at present have the following technical problems: the operation cost of using two servers is high, and the maintenance is difficult; and the security of a single server is low, and once the communication terminal or the cloud server is damaged, the data cannot be recovered.
Disclosure of Invention
The invention provides a remote backup method and a remote backup device for cloud data.
A first aspect of an embodiment of the present invention provides a remote backup method for cloud data, where the method is applicable to a cloud server, and the cloud server is connected to a client of a heterogeneous network, and the method includes:
automatically detecting whether a file to be updated exists in a database or not according to a preset time interval, if the file to be updated exists in the database, generating backup notification information containing encryption check codes, and sending the backup notification information to the client;
acquiring a backup downloading request sent by the client, wherein the backup downloading request is generated by triggering the client after receiving the backup notification information;
and sending the file to be updated to the client according to the backup downloading request so that the client can migrate the file to be updated to a corresponding file directory for backup updating, and updating and checking the file to be updated by adopting the encryption check code so as to determine that the backup updating is completed.
In a possible implementation manner of the first aspect, the sending the file to be updated to the client according to the backup download request includes:
analyzing the file to be updated to obtain a file name parameter;
and determining a request type corresponding to the backup downloading request, and sending the file to be updated to the client according to the request type.
In a possible implementation manner of the first aspect, the detecting whether a file to be updated exists in the database according to a preset time interval includes:
traversing a file list of a database according to a preset time interval and determining the state information of each file contained in the file list;
if the state information of each file is a downloading state, determining that the file to be updated does not exist in the database;
and if the state information of at least one file is in the non-downloaded state, determining that the file to be updated exists in the database.
In a possible implementation manner of the first aspect, after the step of sending the file to be updated to the client according to the backup download request, the method further includes:
obtaining feedback information uploaded by the client, wherein the feedback information is generated after the client completes backup updating;
and updating the state information of the files to be updated contained in the file list in the database based on the feedback information.
A second aspect of the embodiments of the present invention provides a remote backup method for cloud data, where the method is applied to a client, and the client is connected to a cloud server of a heterogeneous network, and the method includes:
when the cloud server determines that a file to be updated exists in a database, obtaining backup notification information which is sent by the cloud server and contains an encryption check code;
generating and sending a backup downloading request to the cloud server according to the backup notification information so that the cloud server sends the file to be updated according to the backup downloading request;
migrating the files to be updated to corresponding file directories for backup updating, and encrypting the files to be updated by using an encryption function to obtain local encryption codes;
and determining whether the local encryption code is the same as the encryption check code, and determining that the backup updating is finished when the local encryption code is the same as the encryption check code.
In a possible implementation manner of the second aspect, after the step of migrating the file to be updated to the corresponding file directory for backup updating, the method further includes:
and when the backup updating is finished, generating and sending feedback information to the cloud server so that the cloud server can update the state information of the files to be updated contained in the file list in the database based on the feedback information.
A third aspect of the embodiments of the present invention provides a remote backup device for cloud data, where the device is suitable for a cloud server, and the cloud server is connected to a client of a heterogeneous network, and the device includes:
the detection module is used for automatically detecting whether the files to be updated exist in the database according to a preset time interval, generating backup notification information containing encryption check codes if the files to be updated exist in the database, and sending the backup notification information to the client;
the acquisition request module is used for acquiring a backup downloading request sent by the client, wherein the backup downloading request is generated by triggering the client after receiving the backup notification information;
and the file sending module is used for sending the file to be updated to the client according to the backup downloading request so that the client can migrate the file to be updated to a corresponding file directory for backup updating, and updating and checking the file to be updated by adopting the encryption check code so as to determine that the backup updating is finished.
A fourth aspect of the present invention provides a remote backup apparatus for cloud data, where the apparatus is adapted to a client, and the client is connected to a cloud server of a heterogeneous network, and the apparatus includes:
the acquisition notification module is used for acquiring backup notification information which is sent by the cloud server and contains encryption check codes when the cloud server determines that a file to be updated exists in a database;
the sending request module is used for generating and sending a backup downloading request to the cloud server according to the backup notification information so that the cloud server sends the file to be updated according to the backup downloading request;
the updating module is used for migrating the file to be updated to the corresponding file directory for backup updating, and encrypting the file to be updated by using an encryption function to obtain a local encryption code;
and the determining and encoding module is used for determining whether the local encryption code is the same as the encryption check code or not, and determining that the backup updating is finished when the local encryption code is the same as the encryption check code.
Compared with the prior art, the remote backup method and device for the cloud data provided by the embodiment of the invention have the beneficial effects that: the method and the system can lead the cloud server to automatically traverse the files, inform the client when determining that the files which are not backed up exist and send the backed-up files to the client, so that the client carries out backup operation and realizes the effect of automatic backup; and the whole process is simple and quick, the operation of technical personnel is not needed, and the backup efficiency can be effectively improved.
Drawings
Fig. 1 is a schematic flowchart of a remote backup method of cloud data according to an embodiment of the present invention;
fig. 2 is an operation flowchart of a remote backup method of cloud data according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a remote backup method of cloud data according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for remote backup of cloud data according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an off-site backup device for cloud data according to 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 only a part of the embodiments of the present invention, and not all of the 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 invention.
In the internet era, more and more enterprises choose to put products and services on a network for operation, and most small and medium-sized enterprises rent or purchase a single cloud server to deploy the products and services of a company due to the technical limitation and cost consideration, so that remote backup of server business data is very important at the moment.
At present, two types of remote backup are commonly used, one type is to use two servers, and after one cloud server performs local backup, relevant technical personnel synchronize data to the other cloud server. The other is a single server, after the data is locally backed up on the cloud server, the backup file is manually downloaded to a local area network personal computer fixed by a company in a manual mode, so that the backup purpose is achieved.
However, the two methods commonly used at present have the following technical problems: the operation cost of using two servers is high, and the maintenance is difficult; and the security of a single server is low, and once the communication terminal or the cloud server is damaged, the data cannot be recovered.
In order to solve the above problem, the method for remote backup of cloud data according to the embodiments of the present application will be described and explained in detail with the following specific embodiments.
Referring to fig. 1, a schematic flow chart of a remote backup method of cloud data according to an embodiment of the present invention is shown.
In this embodiment, the method is applicable to a cloud server, and the cloud server is connected with a client of a heterogeneous network.
In an embodiment, an FRPS and a server application may be installed in a cloud server, and core parameters (a backup directory and a mapping port of data) of the server application are configured; the corresponding client application can be installed in the client, and the client core parameters (the local storage path of the remote file and the mapping port of the server) are configured at the same time. And enabling the client application to communicate with the server application of the heterogeneous network, so that the cloud server communicates with the client.
The client can be a personal computer designated by a company in a local area network, and the configuration is not limited.
Frps refers to a server program of frp software, and frp is a high-performance reverse proxy application focused on intranet penetration and supports various protocols such as TCP, UDP, HTTP, HTTPs, and the like. Intranet services can be exposed to the public network through transit with public network IP nodes in a safe and convenient manner. frp is divided into client and server.
As an example, the remote backup method for cloud data may include:
s11, automatically detecting whether a file to be updated exists in the database or not according to a preset time interval, if the file to be updated exists in the database, generating backup notification information containing encryption check codes, and sending the backup notification information to the client.
During application, a server application of the cloud server can be started, the server application automatically monitors file changes of a backup directory on the cloud server and HTTP file downloading requests from a 3333 port, a successfully downloaded file list is initialized, all files of the current directory are read in a traversing mode, and through comparison, if the files are to be updated, backup notification information can be immediately sent to the client to notify the client of backup updating.
It should be noted that the server application has two programs to start, one is an frps server program, the server monitor 3333 port is an HTTP anti-proxy port, and the other is a custom SHELL monitoring script, which only monitors file changes of the data backup directory, and once it is monitored that a new file is generated (i.e., a new backup file is generated), it indicates that new data needs to be downloaded and synchronized to the external lan as soon as possible.
The encryption check code can enable the client to determine whether the update of the update file is completed.
In an embodiment, the encryption check code may be an MD5 check character string of the file to be downloaded, and specifically, the encryption check code may be added to the backup notification information as an attachment parameter MD5 str.
In order to accurately determine whether a file to be updated exists, wherein, as an example, the step S11 may include the following sub-steps:
and S111, traversing the file list of the database according to a preset time interval and determining the state information of each file contained in the file list.
And S112, if the state information of each file is in a downloading state, determining that the file to be updated does not exist in the database.
S113, if the state information of at least one file is in an un-downloaded state, determining that the file to be updated exists in the database.
Specifically, a file list may be set in the database of the cloud server, and the file list may include files of multiple users or multiple files of an enterprise.
A file list may be initialized and then each file in the file list may be traversed to determine the download status of each file. And if each file in the file list is downloaded, determining that no file to be updated exists in the database. If one file in the file list is not completely downloaded, determining that the file to be updated exists in the database, and correspondingly, determining that the file which is not completely downloaded is the file to be updated.
It should be noted that the initialization of the initialization file list specifically includes: and searching a cache record. Because each time a new backup file is sent to the remote local area network, the remote local area network has a mark of successful downloading returned to the server, the server updates such information of the list of files successfully downloaded on the server (which may be called "successfully downloaded file list cache") through the mark, and the initialization is to read the cache, if the file is first loaded, the file is definitely a null record, and the number of files is increased along with the occurrence of each synchronization.
The missing situation is avoided by determining whether the file is downloaded by the client to determine whether the file is already sent to the client for backup.
After determining that the file which is not downloaded and backed up by the client exists, the cloud server can send backup notification information to the client to notify the client to perform backup updating. Wherein, the backup notification information may be an HTTP request.
In the conventional backup updating, a client actively sends a request at intervals, and during the period, no file needs to be updated by a cloud server, so that the client and the cloud are communicated constantly, and the energy consumption of communication is increased. The cloud end is used for carrying out automatic detection, and the client end is informed to update under the condition that the update file exists, so that the energy consumption of communication can be reduced, and the communication efficiency is improved.
S12, a backup downloading request sent by the client is obtained, and the backup downloading request is generated by triggering after the client receives the backup notification information.
In an embodiment, after receiving an HTTP request for synchronizing a new data file, a client of the local area network may send a backup download request to the cloud server, so that the cloud server sends the requested file to the client.
In actual operation, the client requests the HTTP download file interface of the cloud server 3333 port immediately, and if the file is a plurality of files, the request needs to be repeated, and only one file name parameter can be carried in one request.
S13, the file to be updated is sent to the client according to the backup downloading request so that the client can migrate the file to be updated to a corresponding file directory for backup updating, and the file to be updated is updated and verified by adopting the encryption verification code so as to determine that the backup updating is completed.
The cloud server can send the update file to the client through the interface corresponding to the backup downloading request, so that the client can store the update in the corresponding file directory to complete the backup update.
In one embodiment, step S13 may include the following sub-steps:
s131, analyzing the file to be updated to obtain a file name parameter.
S132, determining a request type corresponding to the backup downloading request, and sending the file to be updated to the client according to the request type.
Specifically, the client may determine the file parameter according to the backup notification information, and may edit and generate the backup download request based on the file parameter. The cloud server analyzes the file to be updated according to the backup downloading request to obtain file name parameters, determines a backup directory according to configuration based on the file name parameters, simultaneously reads file contents, sets the request type as downloading, directly returns file stream data, and sends the file to be updated to the client through the interface for the client to perform updating operation.
Specifically, the backup update may be that the client determines a backup directory of the file, and stores the file to be updated according to the backup directory.
When the client performs backup, it needs to determine whether the backup is completed. Specifically, the encryption check code may be used for checking, and if the check passes, the update is completed, whereas if the check fails, the update is not completed.
To notify the cloud server that the backup update is completed, the method may further include, as an example:
and S14, obtaining feedback information uploaded by the client, wherein the feedback information is generated after the client completes backup updating.
And S15, updating the state information of the files to be updated contained in the file list in the database based on the feedback information.
Specifically, the feedback information may be flag information after the client completes backup, and the cloud server may update the state information of the files in the file list after receiving the feedback information, and modify from not downloaded to downloaded.
Referring to fig. 2, an operation flow chart of a remote backup method of cloud data according to an embodiment of the present invention is shown.
Specifically, the cloud server may determine, according to a preset time interval, whether a file in a file list traversing the database is not downloaded by the client, if so, notify the client to perform backup and acquire a backup download request sent by the client, and send a file required for backup to the client based on the backup download request. After receiving the file, the client may store the file in the corresponding directory to complete the backup update. And after the backup is completed, the client sends a feedback prompt to the cloud server to inform the cloud server of updating the file state in the file list.
In this embodiment, an embodiment of the present invention provides a remote backup method for cloud data, which has the following beneficial effects: the method and the system can lead the cloud server to automatically traverse the files, inform the client when determining that the files which are not backed up exist and send the backed-up files to the client, so that the client carries out backup operation and realizes the effect of automatic backup; and the whole process is simple and quick, the operation of technical personnel is not needed, and the backup efficiency can be effectively improved.
Fig. 3 is a schematic flow chart illustrating a remote backup method of cloud data according to an embodiment of the present invention.
In this embodiment, the method is applicable to a client, and the client is connected with a cloud server of a heterogeneous network.
Reference may be made specifically to the above embodiments, and in order to avoid repetition, further description is omitted here.
As an example, the remote backup method for cloud data may include:
s31, when the cloud server determines that the file to be updated exists in the database, backup notification information which is sent by the cloud server and contains the encryption check code is obtained.
In this embodiment, the steps correspond to the content of the above embodiment, and the analysis of the above embodiment may be specifically referred to, and is not repeated herein to avoid repetition.
And S32, generating and sending a backup downloading request to the cloud server according to the backup notification information so that the cloud server sends the file to be updated according to the backup downloading request.
In this embodiment, the steps correspond to the content of the above embodiment, and the analysis of the above embodiment may be specifically referred to, and is not repeated herein to avoid repetition.
And S33, migrating the file to be updated to a corresponding file directory for backup updating, and encrypting the file to be updated by using an encryption function to obtain a local encryption code.
And S34, determining whether the local encryption code is the same as the encryption check code, and determining that the backup updating is finished when the local encryption code is the same as the encryption check code.
In this embodiment, after the encryption check code received in the previous step (specifically, MD5str parameter), the client locally may also perform MD5 encryption on the received file to be updated by using an MD5 function to obtain a local encryption code (assuming MD5str _ new), compare the local encryption code with the encryption check code, and if the local encryption code is completely the same as the encryption check code, indicate that the received file is complete, immediately carry the file name parameter and request the cloud server to specify a download status report interface of a 3333 port; otherwise, if the files are different, the received files to be updated are incomplete, and the files need to be continuously received and backed up.
And S35, when the backup updating is completed, generating and sending feedback information to the cloud server so that the cloud server can update the state information of the files to be updated contained in the file list in the database based on the feedback information.
Specifically, after receiving a file to be updated sent by the cloud server and completing updating, the client may immediately carry the file name parameter and request the cloud server to specify a download status report of the 3333 port as complete.
And after receiving a download completion state report request sent by the local area network computer, the cloud server immediately updates the successfully downloaded file list.
An embodiment of the present invention further provides a remote backup device for cloud data, and referring to fig. 4, a schematic structural diagram of the remote backup device for cloud data according to an embodiment of the present invention is shown.
The device is suitable for a cloud server, and the cloud server is connected with clients of the heterogeneous network.
As an example, the remote backup device of cloud data may include:
a detection module 401, configured to automatically detect whether a file to be updated exists in a database according to a preset time interval, generate backup notification information including an encryption check code if it is determined that the file to be updated exists in the database, and send the backup notification information to the client;
an obtaining request module 402, configured to obtain a backup downloading request sent by the client, where the backup downloading request is generated by triggering the client after receiving the backup notification information;
the file sending module 403 is configured to send the file to be updated to the client according to the backup downloading request, so that the client migrates the file to be updated to a corresponding file directory for backup update, and performs update check on the file to be updated by using the encryption check code, so as to determine that the backup update is completed.
Optionally, the file sending module is further configured to:
analyzing the file to be updated to obtain a file name parameter;
and determining a request type corresponding to the backup downloading request, and sending the file to be updated to the client according to the request type.
Optionally, the detection module is further configured to:
traversing a file list of a database according to a preset time interval and determining the state information of each file contained in the file list;
if the state information of each file is a downloading state, determining that the file to be updated does not exist in the database;
and if the state information of at least one file is in an un-downloaded state, determining that the file to be updated exists in the database.
Optionally, the apparatus further comprises:
the feedback information acquisition module is used for acquiring feedback information uploaded by the client, and the feedback information is generated after the client completes backup updating;
and the updating state module is used for updating the state information of the files to be updated contained in the file list in the database based on the feedback information.
The embodiment of the invention also provides a remote backup device of the cloud data, and referring to fig. 5, a schematic structural diagram of the remote backup device of the cloud data provided by the embodiment of the invention is shown.
The device is suitable for the client side, and the client side is connected with the cloud server of the heterogeneous network.
As an example, the remote backup device of cloud data may include:
an obtaining notification module 501, configured to obtain backup notification information that includes an encryption check code and is sent by the cloud server when the cloud server determines that a file to be updated exists in a database;
a sending request module 502, configured to generate and send a backup downloading request to the cloud server according to the backup notification information, so that the cloud server sends the file to be updated according to the backup downloading request;
the updating module 503 is configured to migrate the file to be updated to the corresponding file directory for backup updating, and encrypt the file to be updated by using an encryption function to obtain a local encryption code;
a determining and encoding module 504, configured to determine whether the local encryption code is the same as the encryption check code, and determine that the backup update is completed when the local encryption code is the same as the encryption check code.
Optionally, the apparatus further comprises:
and the feedback information sending module is used for generating and sending feedback information to the cloud server when the backup update is completed so that the cloud server can update the state information of the files to be updated contained in the file list in the database based on the feedback information.
It can be clearly understood by those skilled in the art that, for convenience and brevity, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Further, an embodiment of the present application further provides an electronic device, including: the system comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the remote backup method of the cloud data is realized according to the embodiment.
Further, an embodiment of the present application further provides a computer-readable storage medium, where a computer-executable program is stored in the computer-readable storage medium, and the computer-executable program is configured to enable a computer to execute the remote backup method for cloud data according to the above embodiment.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A remote backup method of cloud data is characterized in that the method is suitable for a cloud server, the cloud server is connected with a client of a heterogeneous network, and the method comprises the following steps:
automatically detecting whether a file to be updated exists in a database or not according to a preset time interval, if the file to be updated exists in the database, generating backup notification information containing encryption check codes, and sending the backup notification information to the client;
acquiring a backup downloading request sent by the client, wherein the backup downloading request is generated by triggering the client after receiving the backup notification information;
and sending the file to be updated to the client according to the backup downloading request so that the client can migrate the file to be updated to a corresponding file directory for backup updating, and updating and checking the file to be updated by adopting the encryption check code so as to determine that the backup updating is completed.
2. The remote backup method of cloud data according to claim 1, wherein the sending the file to be updated to the client according to the backup download request comprises:
analyzing the file to be updated to obtain a file name parameter;
and determining a request type corresponding to the backup downloading request, and sending the file to be updated to the client according to the request type.
3. The remote backup method of cloud data according to claim 1, wherein the detecting whether the file to be updated exists in the database according to the preset time interval comprises:
traversing a file list of a database according to a preset time interval and determining the state information of each file contained in the file list;
if the state information of each file is a downloading state, determining that the file to be updated does not exist in the database;
and if the state information of at least one file is in an un-downloaded state, determining that the file to be updated exists in the database.
4. The method for offsite backup of cloud data according to any one of claims 1 to 3, wherein after the step of sending the file to be updated to the client according to the backup download request, the method further comprises:
acquiring feedback information uploaded by the client, wherein the feedback information is generated after the client completes backup updating;
and updating the state information of the files to be updated contained in the file list in the database based on the feedback information.
5. A remote backup method of cloud data is characterized in that the method is suitable for a client, the client is connected with a cloud server of a heterogeneous network, and the method comprises the following steps:
when the cloud server determines that a file to be updated exists in a database, obtaining backup notification information which is sent by the cloud server and contains an encryption check code;
generating and sending a backup downloading request to the cloud server according to the backup notification information so that the cloud server sends the file to be updated according to the backup downloading request;
migrating the files to be updated to corresponding file directories for backup updating, and encrypting the files to be updated by using an encryption function to obtain local encryption codes;
and determining whether the local encryption code is the same as the encryption check code, and determining that the backup updating is finished when the local encryption code is the same as the encryption check code.
6. The method for offsite backup of cloud data according to claim 5, wherein after the step of migrating the file to be updated to the corresponding file directory for backup updating, the method further comprises:
and when the backup updating is finished, generating and sending feedback information to the cloud server so that the cloud server can update the state information of the files to be updated contained in the file list in the database based on the feedback information.
7. The utility model provides a strange land backup device of high in the clouds data, its characterized in that, the device is applicable to the high in the clouds server, the high in the clouds server is connected with the client-side of foreign domain net, the device includes:
the detection module is used for automatically detecting whether the files to be updated exist in the database according to a preset time interval, generating backup notification information containing encryption check codes if the files to be updated exist in the database, and sending the backup notification information to the client;
the acquisition request module is used for acquiring a backup downloading request sent by the client, wherein the backup downloading request is generated by triggering the client after receiving the backup notification information;
and the file sending module is used for sending the file to be updated to the client according to the backup downloading request so that the client can migrate the file to be updated to a corresponding file directory for backup updating, and updating and checking the file to be updated by adopting the encryption check code so as to determine that the backup updating is finished.
8. An allopatric backup device of cloud data is characterized in that the device is suitable for a client, the client is connected with a cloud server of a foreign network, and the device comprises:
the acquisition notification module is used for acquiring backup notification information which is sent by the cloud server and contains encryption check codes when the cloud server determines that a file to be updated exists in a database;
the sending request module is used for generating and sending a backup downloading request to the cloud server according to the backup notification information so that the cloud server sends the file to be updated according to the backup downloading request;
the updating module is used for migrating the file to be updated to the corresponding file directory for backup updating, and encrypting the file to be updated by using an encryption function to obtain a local encryption code;
and the determining and encoding module is used for determining whether the local encryption code is the same as the encryption check code or not, and determining that the backup updating is finished when the local encryption code is the same as the encryption check code.
9. An electronic device, comprising: the memory, the processor and the computer program stored in the memory and capable of running on the processor, wherein the processor executes the program to implement the remote backup method of the cloud data according to any one of claims 1 to 4 or 5 to 6.
10. A computer-readable storage medium storing a computer-executable program for causing a computer to perform the off-site backup method of cloud data according to any one of claims 1 to 4 or 5 to 6.
CN202211171710.1A 2022-09-26 2022-09-26 Remote backup method and device for cloud data Active CN115509810B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211171710.1A CN115509810B (en) 2022-09-26 2022-09-26 Remote backup method and device for cloud data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211171710.1A CN115509810B (en) 2022-09-26 2022-09-26 Remote backup method and device for cloud data

Publications (2)

Publication Number Publication Date
CN115509810A true CN115509810A (en) 2022-12-23
CN115509810B CN115509810B (en) 2024-04-05

Family

ID=84506419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211171710.1A Active CN115509810B (en) 2022-09-26 2022-09-26 Remote backup method and device for cloud data

Country Status (1)

Country Link
CN (1) CN115509810B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070038681A1 (en) * 2005-08-10 2007-02-15 Spare Backup, Inc. System and method of remote storage of data through connection from a server to a client
CN106547650A (en) * 2016-10-25 2017-03-29 广东欧珀移动通信有限公司 The backup method of data, apparatus and system
CN106657266A (en) * 2016-11-10 2017-05-10 南京云创大数据科技股份有限公司 Architecture and method of secure and reliable public cloud storage system based on public clouds
CN109739685A (en) * 2018-11-22 2019-05-10 广州市保伦电子有限公司 A kind of principal and subordinate's hot backup data synchronous method and storage medium
CN110554930A (en) * 2019-07-25 2019-12-10 重庆小雨点小额贷款有限公司 Data storage method and related equipment
CN110865905A (en) * 2019-09-24 2020-03-06 平安科技(深圳)有限公司 Data restoration method and device, computer equipment and storage medium
CN112769801A (en) * 2020-12-31 2021-05-07 深圳软牛科技有限公司 Method, device, equipment and storage medium for extracting backup from cloud server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070038681A1 (en) * 2005-08-10 2007-02-15 Spare Backup, Inc. System and method of remote storage of data through connection from a server to a client
CN106547650A (en) * 2016-10-25 2017-03-29 广东欧珀移动通信有限公司 The backup method of data, apparatus and system
CN106657266A (en) * 2016-11-10 2017-05-10 南京云创大数据科技股份有限公司 Architecture and method of secure and reliable public cloud storage system based on public clouds
CN109739685A (en) * 2018-11-22 2019-05-10 广州市保伦电子有限公司 A kind of principal and subordinate's hot backup data synchronous method and storage medium
CN110554930A (en) * 2019-07-25 2019-12-10 重庆小雨点小额贷款有限公司 Data storage method and related equipment
CN110865905A (en) * 2019-09-24 2020-03-06 平安科技(深圳)有限公司 Data restoration method and device, computer equipment and storage medium
CN112769801A (en) * 2020-12-31 2021-05-07 深圳软牛科技有限公司 Method, device, equipment and storage medium for extracting backup from cloud server

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ERIC HENZIGER: "The Overhead of Confidentiality and Client-side Encryption in Cloud Storage Systems", 《UCC\'19: PROCEEDINGS OF THE 12TH IEEE/ACM INTERNATIONAL CONFERENCE ON UTILITY AND CLOUD COMPUTING》, pages 209 - 217 *
钟琳倩;黄俊;刘灿;胡丹;: "基于云架构的睡眠监护软件设计与实现", 信息通信, no. 03, pages 105 - 108 *

Also Published As

Publication number Publication date
CN115509810B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
US10701096B1 (en) Systems and methods for anomaly detection on core banking systems
JP5870193B2 (en) File synchronization method and apparatus
WO2015180291A1 (en) Method and system for monitoring server cluster
CN109358888A (en) Server firmware upgrade method, device, system and computer readable storage medium
CN100403697C (en) Network management method
US10318387B1 (en) Automated charge backup modelling
WO2019128299A1 (en) Test system and test method
US10757104B1 (en) System and method for authentication in a computing system
CN103310154B (en) The method, apparatus and system that information security processes
US8793346B2 (en) System and method for constructing session identification information
CN107294924A (en) Detection method, the device and system of leak
CN112257032B (en) Method and system for determining APP responsibility main body
CN115396240B (en) Method, system and storage medium for detecting and detecting national secret SSL protocol
CN116089097B (en) Cloud platform deployment method, equipment and medium based on multiple components and environments
CN111177715A (en) Mobile App vulnerability detection method and device
CN111523151A (en) Method and system for storing electronic data based on block chain technology
CN115686941A (en) Data processing method, device, equipment and medium based on PostgreSQL database
CN109240726B (en) Software updating method and system
CN115509810A (en) Remote backup method and device for cloud data
Srivastava et al. Data preprocessing techniques in web usage mining: A literature review
US20100281294A1 (en) Method of managing operations for administration, maintenance and operational upkeep, management entity and corresponding computer program product
CN112926050B (en) Method for obtaining SSH encrypted content based on HOOK technology and application thereof
JP5603447B2 (en) Log management system, log management apparatus, and log management method
CN110110524A (en) Vulnerability scanning and maintaining method for computing equipment system
JP2001060175A (en) Data maintaining method for information processing system

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
CB02 Change of applicant information

Country or region after: Zhong Guo

Address after: No. 56 Nanli East Road, Shiqi Town, Panyu District, Guangzhou City, Guangdong Province, 510000

Applicant after: Guangdong Baolun Electronics Co.,Ltd.

Address before: No.19 Chuangyuan Road, Zhongcun street, Panyu District, Guangzhou, Guangdong 510000

Applicant before: GUANGZHOU ITC ELECTRONIC TECHNOLOGY Co.,Ltd.

Country or region before: Zhong Guo

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant