CN108279996A - A kind of high in the clouds data backup processing method and device - Google Patents

A kind of high in the clouds data backup processing method and device Download PDF

Info

Publication number
CN108279996A
CN108279996A CN201810045239.9A CN201810045239A CN108279996A CN 108279996 A CN108279996 A CN 108279996A CN 201810045239 A CN201810045239 A CN 201810045239A CN 108279996 A CN108279996 A CN 108279996A
Authority
CN
China
Prior art keywords
data
backed
encrypted
compressed
backup
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.)
Withdrawn
Application number
CN201810045239.9A
Other languages
Chinese (zh)
Inventor
贺红涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lianjia Beijing Technology Co Ltd
Original Assignee
Lianjia Beijing Technology 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 Lianjia Beijing Technology Co Ltd filed Critical Lianjia Beijing Technology Co Ltd
Priority to CN201810045239.9A priority Critical patent/CN108279996A/en
Publication of CN108279996A publication Critical patent/CN108279996A/en
Withdrawn legal-status Critical Current

Links

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/1479Generic software techniques for error detection or fault masking
    • G06F11/1489Generic software techniques for error detection or fault masking through recovery blocks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Quality & Reliability (AREA)
  • Retry When Errors Occur (AREA)

Abstract

The embodiment of the invention discloses a kind of high in the clouds data backup processing methods and device, method to include:Data to be backed up are obtained, the data to be backed up are compressed, data after being compressed, and data after the compression are encrypted, obtain encrypted data;According to the corresponding permission of the data to be backed up, the encrypted data is sent to high in the clouds and is backed up;Receive the Backup Data that high in the clouds is sent, if judge to know active user meet described in the corresponding permission of Backup Data, the Backup Data is decrypted and decompression.The embodiment of the present invention treats Backup Data by data compression technique and carries out compression processing, reduces data carrying cost and bandwidth resource consumption, shortens data upload and download time;Backup Data is treated by data encryption technology simultaneously to be encrypted, and permission is combined to control, can ensure the safety of data.

Description

A kind of high in the clouds data backup processing method and device
Technical field
The present embodiments relate to technical field of data processing, and in particular to a kind of high in the clouds data backup processing method and dress It sets.
Background technology
Data backup is the basis of disaster tolerance, is that system operation error or the system failure occurs data is caused to be lost in order to prevent It loses, and all or part of data acquisition system is copied to the process of other storage mediums from the hard disk or array of applied host machine.It passes The data backup of system mainly carries out cold standby using internal or external magnetic tape station, but this mode can only prevent operation error etc. Man-made fault, and its recovery time is also very long.With the continuous development of technology, the magnanimity of data increases, and many enterprises open Begin to back up using cloud, cloud backup is exactly to backup on the network equipment data by way of cloud storage.
During realizing the embodiment of the present invention, inventor has found existing cloud backup method, and there are the peaces of leaking data Full hidden danger, and the raw data file of big data quantity brings high space cost, while reducing high in the clouds Backup Data Speed.
Invention content
Since there are the above problem, a kind of high in the clouds data backup processing method of proposition of the embodiment of the present invention and dresses for existing method It sets.
In a first aspect, the embodiment of the present invention proposes a kind of high in the clouds data backup processing method, including:
Obtain data to be backed up, the data to be backed up compressed, data after being compressed, and to the compression after Data are encrypted, and obtain encrypted data;
According to the corresponding permission of the data to be backed up, the encrypted data is sent to high in the clouds and is backed up;
Receive the Backup Data that high in the clouds is sent, if judge to know active user meet described in the corresponding power of Backup Data Limit, then be decrypted the Backup Data and decompression.
Optionally, described to obtain data to be backed up, the data to be backed up are compressed, data after being compressed, and Data after the compression are encrypted, encrypted data is obtained, specifically includes:
Data to be backed up are obtained, the data to be backed up are compressed according to default compression ratio, data after being compressed, And data after the compression are encrypted, obtain encrypted data.
Optionally, described to obtain data to be backed up, the data to be backed up are compressed, data after being compressed, and Data after the compression are encrypted, encrypted data is obtained, specifically includes:
Data to be backed up are obtained, the data to be backed up are compressed, data after being compressed, and calculated according to AES256 Data after the compression are encrypted in method, obtain encrypted data.
Optionally, the permission Que Ding not according to the resource access levels of team internal staff.
Second aspect, the embodiment of the present invention also propose a kind of high in the clouds data backup processing unit, including:
Data encryption module compresses the data to be backed up for obtaining data to be backed up, number after being compressed According to, and data after the compression are encrypted, obtain encrypted data;
Data backup module, for according to the corresponding permission of the data to be backed up, the encrypted data to be sent to It is backed up in high in the clouds;
Data decryption module, the Backup Data for receiving high in the clouds transmission, if judging to know described in active user's satisfaction The corresponding permission of Backup Data, then be decrypted the Backup Data and decompression.
Optionally, the data encryption module that obtains is specifically used for obtaining data to be backed up, according to default compression ratio to described Data to be backed up are compressed, data after being compressed, and data after the compression are encrypted, and obtain encrypted data.
Optionally, the data encryption module is specifically used for obtaining data to be backed up, presses the data to be backed up Contracting, data after being compressed, and data after the compression are encrypted according to AES256 algorithms, obtain encrypted data.
Optionally, the permission Que Ding not according to the resource access levels of team internal staff.
The third aspect, the embodiment of the present invention also propose a kind of electronic equipment, including:
At least one processor;And
At least one processor being connect with the processor communication, wherein:
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to refer to Order is able to carry out the above method.
Fourth aspect, the embodiment of the present invention also propose a kind of non-transient computer readable storage medium, the non-transient meter Calculation machine readable storage medium storing program for executing stores computer program, and the computer program makes the computer execute the above method.
As shown from the above technical solution, the embodiment of the present invention is treated Backup Data by data compression technique and is carried out at compression Reason reduces data carrying cost and bandwidth resource consumption, shortens data upload and download time;Pass through data encryption technology simultaneously It treats Backup Data to be encrypted, and permission is combined to control, can ensure the safety of data.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Other attached drawings are obtained according to these figures.
Fig. 1 is a kind of flow diagram for high in the clouds data backup processing method that one embodiment of the invention provides;
Fig. 2 is a kind of flow diagram for high in the clouds data backup processing method that another embodiment of the present invention provides;
Fig. 3 is a kind of structural schematic diagram for high in the clouds data backup processing unit that one embodiment of the invention provides;
Fig. 4 is the logic diagram for the electronic equipment that one embodiment of the invention provides.
Specific implementation mode
Below in conjunction with the accompanying drawings, the specific implementation mode of the present invention is further described.Following embodiment is only used for more Technical scheme of the present invention is clearly demonstrated, and not intended to limit the protection scope of the present invention.
Fig. 1 shows a kind of flow diagram of high in the clouds data backup processing method provided in this embodiment, including:
S101, data to be backed up are obtained, the data to be backed up is compressed, data after being compressed, and to described Data are encrypted after compression, obtain encrypted data.
Wherein, the data to be backed up are the initial data backed up in terminal.
Data are to treat Backup Data to carry out compressed data after the compression.
The encrypted data is the data after data after compression are encrypted.
S102, according to the corresponding permission of the data to be backed up, the encrypted data is sent to high in the clouds and is backed up.
Wherein, the permission according to the resource access levels of team internal staff not Que Ding, to improve the safety of data.
S103, receive the Backup Data that high in the clouds is sent, if judge to know active user meet described in Backup Data pair The permission answered, then be decrypted the Backup Data and decompression.
Specifically, if active user is unsatisfactory for the corresponding permission of Backup Data, the number that do not decrypt is only downloaded According to needing to open after inputting corresponding password, to ensure the safety of data.
It is illustrated in figure 2 the entire flow of high in the clouds data backup processing, initial data is compressed first, is then carried out Compression and encrypted data are uploaded to high in the clouds storage device by encryption according to the rule of permission system;From high in the clouds storage device After downloading data, data are decrypted, are then decompressed, to get original Backup Data.
Local file is uploaded to high in the clouds respectively and downloads the file into local from high in the clouds by the upload and download of data, due to drawing Enter data compression technique, the compression times of data plus the time of transmission compressed file be less than transmission raw data file when Between, upload and the download time of file are shortened under limited bandwidth resources, are reduced while improving the safety of data The carrying costs of data.
The present embodiment treats Backup Data by data compression technique and carries out compression processing, reduces data carrying cost and band Wide resource consumption shortens data upload and download time;Treating Backup Data by data encryption technology is encrypted place simultaneously Reason, and permission is combined to control, it can ensure the safety of data.
Further, on the basis of above method embodiment, S101 is specifically included:
Data to be backed up are obtained, the data to be backed up are compressed according to default compression ratio, data after being compressed, And data after the compression are encrypted, obtain encrypted data.
Specifically, when being compressed to the data to be backed up, a variety of compression algorithms may be used, different compression algorithms carry For different compression ratios and Compress softwares rate, to meet the support of different business, as shown in the table:
Compression algorithm Business demand
zstd Compression ratio and data resume speed require high
gzip Height, data resume speed is required to require low compression ratio
lz4 Height, compression ratio is required to require low data resume speed
Further, S101 is specifically included on the basis of above method embodiment:
Data to be backed up are obtained, the data to be backed up are compressed, data after being compressed, and calculated according to AES256 Data after the compression are encrypted in method, obtain encrypted data.
It is encrypted by using AES256 algorithms, realizes that simply enciphering rate is fast, cracks difficulty height.It needs to illustrate It is that data can also be decrypted in AES256 algorithms.
Fig. 3 shows a kind of structural schematic diagram of high in the clouds data backup processing unit provided in this embodiment, described device Including:Data encryption module 301, data backup module 302 and data decryption module 303, wherein:
The data encryption module 301 is compressed the data to be backed up, is pressed for obtaining data to be backed up Data after contracting, and data after the compression are encrypted, obtain encrypted data;
The data backup module 302 is used for according to the corresponding permission of the data to be backed up, by the encrypted data High in the clouds is sent to be backed up;
The data decryption module 303 is used to receive the Backup Data of high in the clouds transmission, if judging to know that active user is full The corresponding permission of Backup Data described in foot, then be decrypted the Backup Data and decompression.
Specifically, the data encryption module 301 obtains data to be backed up, compresses, obtains to the data to be backed up Data after to compression, and data after the compression are encrypted, obtain encrypted data;The data backup module 302 According to the corresponding permission of the data to be backed up, the encrypted data is sent to high in the clouds and is backed up;The data deciphering mould Block 303 receives the Backup Data that high in the clouds is sent, if judge to know active user meet described in the corresponding permission of Backup Data, Then the Backup Data is decrypted and decompression.
The present embodiment treats Backup Data by data compression technique and carries out compression processing, reduces data carrying cost and band Wide resource consumption shortens data upload and download time;Treating Backup Data by data encryption technology is encrypted place simultaneously Reason, and permission is combined to control, it can ensure the safety of data.
Further, on the basis of above-mentioned apparatus embodiment, the data encryption module 301 that obtains is waited for specifically for obtaining Backup Data compresses the data to be backed up according to default compression ratio, data after being compressed, and to the compression after Data are encrypted, and obtain encrypted data.
Further, on the basis of above-mentioned apparatus embodiment, the data encryption module 301 waits for standby specifically for acquisition Part data, compress the data to be backed up, data after being compressed, and according to AES256 algorithms to number after the compression According to being encrypted, encrypted data is obtained.
Further, on the basis of above-mentioned apparatus embodiment, the permission is accessed according to the resource of team internal staff Rank determines.
High in the clouds data backup processing unit described in the present embodiment can be used for execute above method embodiment, principle and Technique effect is similar, and details are not described herein again.
Reference Fig. 4, the electronic equipment, including:Processor (processor) 401, memory (memory) 402 and total Line 403;
Wherein,
The processor 401 and memory 402 complete mutual communication by the bus 403;
The processor 401 is used to call the program instruction in the memory 402, to execute above-mentioned each method embodiment The method provided.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include program instruction, when described program instruction is calculated When machine executes, computer is able to carry out the method that above-mentioned each method embodiment is provided.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium Computer instruction is stored, the computer instruction makes the computer execute the method that above-mentioned each method embodiment is provided.
The apparatus embodiments described above are merely exemplary, wherein the unit illustrated as separating component can It is physically separated with being or may not be, the component shown as unit may or may not be physics list Member, you can be located at a place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of module achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be expressed in the form of software products in other words, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
It should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although reference Invention is explained in detail for previous embodiment, it will be understood by those of ordinary skill in the art that:It still can be right Technical solution recorded in foregoing embodiments is modified or equivalent replacement of some of the technical features;And this A little modification or replacements, the spirit and model of various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution It encloses.

Claims (10)

1. a kind of high in the clouds data backup processing method, which is characterized in that including:
Data to be backed up are obtained, the data to be backed up are compressed, data after being compressed, and to data after the compression It is encrypted, obtains encrypted data;
According to the corresponding permission of the data to be backed up, the encrypted data is sent to high in the clouds and is backed up;
Receive the Backup Data that high in the clouds is sent, if judge to know active user meet described in the corresponding permission of Backup Data, Then the Backup Data is decrypted and decompression.
2. according to the method described in claim 1, it is characterized in that, described obtain data to be backed up, to the data to be backed up It is compressed, data after being compressed, and data after the compression is encrypted, obtained encrypted data, specifically include:
Data to be backed up are obtained, the data to be backed up are compressed according to default compression ratio, data after being compressed, and right Data are encrypted after the compression, obtain encrypted data.
3. according to the method described in claim 1, it is characterized in that, described obtain data to be backed up, to the data to be backed up It is compressed, data after being compressed, and data after the compression is encrypted, obtained encrypted data, specifically include:
Data to be backed up are obtained, the data to be backed up are compressed, data after being compressed, and according to AES256 algorithms pair Data are encrypted after the compression, obtain encrypted data.
4. according to claim 1-3 any one of them methods, which is characterized in that the permission is according to the money of team internal staff Source access level determines.
5. a kind of high in the clouds data backup processing unit, which is characterized in that including:
Data encryption module is compressed the data to be backed up, data after being compressed for obtaining data to be backed up, And data after the compression are encrypted, obtain encrypted data;
Data backup module, for according to the corresponding permission of the data to be backed up, the encrypted data to be sent to high in the clouds It is backed up;
Data decryption module, the Backup Data for receiving high in the clouds transmission, if judging to know that active user is standby described in meeting The corresponding permission of part data, then be decrypted the Backup Data and decompression.
6. device according to claim 5, which is characterized in that it is described obtain data encryption module be specifically used for obtain it is to be backed up Data are compressed the data to be backed up according to default compression ratio, data after being compressed, and to data after the compression It is encrypted, obtains encrypted data.
7. device according to claim 5, which is characterized in that the data encryption module is specifically used for obtaining number to be backed up According to, the data to be backed up are compressed, data after being compressed, and according to AES256 algorithms to data after the compression into Row encryption, obtains encrypted data.
8. according to claim 5-7 any one of them devices, which is characterized in that the permission is according to the money of team internal staff Source access level determines.
9. a kind of electronic equipment, which is characterized in that including:
At least one processor;And
At least one processor being connect with the processor communication, wherein:
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to instruct energy Enough methods executed as described in Claims 1-4 is any.
10. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Computer program is stored up, the computer program makes the computer execute the method as described in Claims 1-4 is any.
CN201810045239.9A 2018-01-17 2018-01-17 A kind of high in the clouds data backup processing method and device Withdrawn CN108279996A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810045239.9A CN108279996A (en) 2018-01-17 2018-01-17 A kind of high in the clouds data backup processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810045239.9A CN108279996A (en) 2018-01-17 2018-01-17 A kind of high in the clouds data backup processing method and device

Publications (1)

Publication Number Publication Date
CN108279996A true CN108279996A (en) 2018-07-13

Family

ID=62803819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810045239.9A Withdrawn CN108279996A (en) 2018-01-17 2018-01-17 A kind of high in the clouds data backup processing method and device

Country Status (1)

Country Link
CN (1) CN108279996A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076145A (en) * 2021-06-07 2021-07-06 四川微巨芯科技有限公司 Booting method and device, backup method and device, electronic device and storage medium
CN114328029A (en) * 2022-03-02 2022-04-12 苏州浪潮智能科技有限公司 Backup method and device of application resources, electronic equipment and storage medium
CN115361398A (en) * 2022-10-19 2022-11-18 成都飞机工业(集团)有限责任公司 Data backup disaster tolerance method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281314A (en) * 2011-01-30 2011-12-14 程旭 Realization method and apparatus for high-efficient and safe data cloud storage system
CN102306114A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 Regular data backup and recovery method based on cloud storage
US20150012709A1 (en) * 2013-07-03 2015-01-08 Catalogic Software, Inc. Progressive virtual lun
CN104331346A (en) * 2014-11-21 2015-02-04 四川神琥科技有限公司 Data protection method
CN104410683A (en) * 2014-11-21 2015-03-11 四川神琥科技有限公司 Data backup method
CN104461785A (en) * 2014-12-15 2015-03-25 中电长城网际系统应用有限公司 Data backup method, data recovery method and device of virtual machine and physic machine

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306114A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 Regular data backup and recovery method based on cloud storage
CN102281314A (en) * 2011-01-30 2011-12-14 程旭 Realization method and apparatus for high-efficient and safe data cloud storage system
US20150012709A1 (en) * 2013-07-03 2015-01-08 Catalogic Software, Inc. Progressive virtual lun
CN104331346A (en) * 2014-11-21 2015-02-04 四川神琥科技有限公司 Data protection method
CN104410683A (en) * 2014-11-21 2015-03-11 四川神琥科技有限公司 Data backup method
CN104461785A (en) * 2014-12-15 2015-03-25 中电长城网际系统应用有限公司 Data backup method, data recovery method and device of virtual machine and physic machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076145A (en) * 2021-06-07 2021-07-06 四川微巨芯科技有限公司 Booting method and device, backup method and device, electronic device and storage medium
CN114328029A (en) * 2022-03-02 2022-04-12 苏州浪潮智能科技有限公司 Backup method and device of application resources, electronic equipment and storage medium
CN115361398A (en) * 2022-10-19 2022-11-18 成都飞机工业(集团)有限责任公司 Data backup disaster tolerance method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102281314B (en) Data cloud storage system
CN108279996A (en) A kind of high in the clouds data backup processing method and device
CN104395889A (en) Application enhancement using edge data center
AU2020202621A1 (en) Techniques for performing data reconciliation in distributed data store systems
CN104410683A (en) Data backup method
CN104331345B (en) A kind of data reconstruction method
CN105120003A (en) Method for realizing data backup in cloud environment
CN105100170A (en) Automatic cloud storage synchronous management system for a plurality of cloud storage service platforms and method thereof
CN110661748A (en) Log encryption method, log decryption method and log encryption device
CN104902010A (en) Cloud storage method and system for file
CN103327085A (en) Distributed data processing method, data center and distributed data system
CN112416396B (en) Application program updating method and system
CN110633578A (en) Intelligent shared cloud storage method and system
CN110018878A (en) A kind of distributed system data load method and device
WO2022225565A1 (en) Performance testing of a test application in a network-as-a-service environment
CN111416992A (en) File transcoding method and device
CN109981551A (en) A kind of data transmission system based on block chain, method and relevant device
US10248793B1 (en) Techniques and systems for durable encryption and deletion in data storage systems
CN105357239A (en) Method and device for providing service, and method and device for acquiring service
CN112565288A (en) Method and system for executing internal network acquisition and control instruction on external network
CN112202555A (en) Information processing method, device and equipment for generating random number based on attribute of information
CN103488914B (en) A kind of efficient self-adapted Modular Data encryption method and system thereof
CN109829318A (en) A kind of encrypted backup processing method and processing device of file
CN110417868A (en) A kind of cloud computing system
CN105847363A (en) Method and system used for cross-region file sharing

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180713