WO2018076842A1 - Data backup method, device, system, storage medium, and electronic device - Google Patents

Data backup method, device, system, storage medium, and electronic device Download PDF

Info

Publication number
WO2018076842A1
WO2018076842A1 PCT/CN2017/094817 CN2017094817W WO2018076842A1 WO 2018076842 A1 WO2018076842 A1 WO 2018076842A1 CN 2017094817 W CN2017094817 W CN 2017094817W WO 2018076842 A1 WO2018076842 A1 WO 2018076842A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
backed
backup
server
target
Prior art date
Application number
PCT/CN2017/094817
Other languages
French (fr)
Chinese (zh)
Inventor
马志峰
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018076842A1 publication Critical patent/WO2018076842A1/en

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Definitions

  • the present invention relates to the field of cloud backup technologies, and in particular, to a data backup method, device, system, storage medium and electronic device.
  • Cloud backup is an emerging cloud computing service.
  • Cloud backup service providers bring together massive and heterogeneous storage devices in the network through virtualization, distributed processing and broadband networks to provide data storage backups. service. Users can centrally store and secure large numbers and scattered files or folders on the terminal through mobile Internet and broadband Internet access.
  • the embodiment of the invention provides a data backup method, device, system, storage medium and electronic device, which can improve data security.
  • an embodiment of the present invention provides a data backup method, including:
  • the embodiment of the present invention further provides a data backup apparatus, including:
  • An obtaining unit configured to obtain original data to be backed up
  • a cutting unit configured to cut the original data to be backed up into a plurality of data segments according to a preset cutting rule
  • a combination unit configured to combine the plurality of data segments to obtain target to be backed up data that is different from the original data to be backed up;
  • a backup unit that backs up the data to be backed up to the server.
  • an embodiment of the present invention further provides a data backup system, including: a server and a terminal, where the terminal includes the data backup device as described above.
  • an embodiment of the present invention provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to perform a data backup method provided by any one of the embodiments of the present invention.
  • an embodiment of the present invention provides an electronic device, including a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions in the memory to perform the following steps:
  • the embodiment of the invention provides a data backup method, device, system, storage medium and electronic device, which can improve data security.
  • FIG. 1 is a schematic diagram of a scenario of a data backup system according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart diagram of a data backup method according to an embodiment of the present invention.
  • FIG. 3 is another schematic diagram of a data backup system according to an embodiment of the present invention.
  • FIG. 4 is another schematic flowchart of a data backup method according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a data backup apparatus according to an embodiment of the present invention.
  • FIG. 6 is another schematic structural diagram of a data backup apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • Cloud backup is to back up data from a terminal to a cloud server.
  • the data to be backed up is sent to the server for backup.
  • the security of the existing cloud backup solution is relatively low. For example, if a user's cloud backup account and password are leaked, other users can easily log in to the account through their terminal to steal all backup data under the account.
  • the embodiment of the invention provides a data backup method, including:
  • the combining the plurality of data segments comprises:
  • the plurality of data segments are combined according to a target combination manner.
  • the backing up the target data to be backed up to the server includes:
  • the plurality of backup data segments are sequentially backed up to the server.
  • the data backup method further includes:
  • the method further includes:
  • the rule identifier and mode identifier are sent to the server.
  • the original data to be backed up is cut into a plurality of data segments according to a preset cutting rule, including:
  • the original data to be backed up is cut into a plurality of data segments according to the selected preset cutting rule.
  • a data backup system may include: a data backup device provided by an embodiment of the present invention, the data backup device may be integrated in an electronic device, and the electronic device may be
  • the data backup system may further include: another device, such as a server, and the server and the terminal are connected by a wired or wireless network.
  • the data backup device is specifically integrated into the electronic device as an example.
  • the terminal may be configured to obtain original data to be backed up, and cut the original data to be backed up into multiple data segments according to a preset cutting rule. And combining the plurality of data segments to obtain the target data to be backed up different from the original data to be backed up, and backing up the data to be backed up to the server.
  • the data backup system further includes a server, such as a cloud server, etc.; the server is used to back up data to be backed up, for example, the server can store the data to be backed up by the server; in addition, the server can also Used to send backup data to the terminal, and so on.
  • a server such as a cloud server, etc.
  • the server is used to back up data to be backed up, for example, the server can store the data to be backed up by the server; in addition, the server can also Used to send backup data to the terminal, and so on.
  • the data backup device is integrated into an electronic device such as a terminal, and the terminal can be a device such as a mobile phone or a tablet computer.
  • the data backup instruction may be received, and the original data to be backed up is obtained according to the data backup instruction.
  • the data to be backed up is copied according to the data backup instruction, the original data to be backed up is obtained, or the corresponding original data to be backed up is obtained from the local storage unit according to the data backup instruction, and the like.
  • the data backup instruction may be triggered by an event, for example, may be automatically triggered by a change in data. Specifically, when a certain data (such as a specified backup data) is detected, a data backup is triggered. The instruction, at this time, the data backup device can receive the data backup instruction. For example, when it is detected that the SMS message data of the specified backup changes (adds, deletes or changes), a trigger to send data backup instruction is issued.
  • the data backup instruction can be automatically triggered by the system. For example, the data backup instruction is automatically triggered every preset time.
  • the data backup instruction may also be triggered by triggering a trigger interface such as a preset trigger key or an input box in the terminal, for example, when the user clicks or swipes a backup icon on the backup interface, the data backup instruction is triggered to be generated.
  • the data backup device can receive the data backup instruction.
  • the types of data to be backed up may be various, for example, the original data to be backed up may be short message data, chat record data, call record data, or photo data, and the like.
  • the original data to be backed up may be the changed data.
  • the preset cutting rule may be set according to actual requirements, such as cutting the original data to be backed up into data segments of equal size, and the like.
  • the data segment is a data unit and can contain several data.
  • the preset cutting rules are set based on the principle of reversibility. For example, the original backup data A is cut into a data segment a1, a data segment a2, a data segment a3, a data segment an.
  • the embodiment may preset a plurality of cutting rules, so that a cutting may be selected for cutting when the data is cut, thereby making the cutting method used for each data backup different, which is improved.
  • Data security that is, the step of "cutting the original data to be backed up into multiple data segments according to a preset cutting rule" may include:
  • the original data to be backed up is cut into a plurality of data segments according to the selected preset cutting rule.
  • the cutting rule can be selected in various ways, for example, a preset cutting rule can be randomly selected from a plurality of preset cutting rules, and the like.
  • a cutting rule can be randomly selected from the cutting rule 1, the cutting rule 2, the cutting rule n.
  • the preset combination mode is a combination of data segment splicing and combining.
  • the preset combination mode may include: splicing and combining according to the serial number of the data segment, splicing and combining according to the size of the data segment, and according to the data segment in the original data to be backed up. The position is spliced and the like, and the preset combination mode can be set according to actual needs.
  • the data to be backed up is different from the original data to be backed up, and may be: the data format of the target to be backed up is different from the original data to be backed up, the data content is different, the data structure is different, the data size is different, or other data parameters are different.
  • the data segment a1, the data segment a2, the data segment a3, and the data segment an may be recombined to obtain data to be backed up that is different from the original data A to be backed up.
  • the data content of the original data to be backed up and the data B to be backed up are different, or the data format is different.
  • the embodiment may further set a plurality of combinations in advance so as to be selected when the candidate data is backed up, so that the combination mode used for each data backup is different, thereby improving data security; that is, steps.
  • “Combining the plurality of data segments” may include:
  • the plurality of data segments are combined according to a target combination.
  • the combination mode may be selected in multiple ways, for example, according to time, location, data type, number of data segments, and other parameters; for example, it may also be randomly selected.
  • one combination mode is randomly selected from the combination mode 1, the combination mode 2, the combination mode 3, the combination mode n as the target combination mode, and the like.
  • the target backup data may be sent to the server, so that the server backs up the target backup data.
  • the data backup request carrying the data to be backed up may be sent to the server, so that the server backs up the data to be backed up according to the data backup request.
  • the embodiment can also cut the target standby data into several data segments, and then back up the data segment to the server. ; that is, the step of "backing up the target data to be backed up to the server" may include:
  • the data B to be backed up by the above recombination may be cut into a data segment b1, a data segment b2, a data segment b3, a data segment bm; then, the data segment b1 is backed up to the server, and then the data segment b2 is backed up to the server. Back up the data segment b3 to the server... Back up the data segment bm to the server.
  • the data backup method may further include:
  • the restored plurality of data segments are assembled according to the preset cutting rule to obtain original backup data.
  • the embodiment may further send the rule identifier of the cutting rule and the mode identifier of the combination mode to the server, so that the server sends the identifier.
  • the data backup method further includes:
  • the rule ID and mode ID are sent to the server.
  • the identifier of the selected cutting rule 5 and the identifier of the combination mode 6 are sent to the server.
  • the identifier of the cutting rule 5 and the identifier of the combination mode 6 may be sent to other terminals. Inform other terminal data cutting rules and combination methods used for backup, so that other terminals can restore the original data.
  • the original data to be backed up is obtained, and the original data to be backed up is cut into a plurality of data segments according to a preset cutting rule, and the plurality of data segments are combined to obtain a target different from the original data to be backed up.
  • the data to be backed up is backed up to the server.
  • the solution can cut and reorganize the original data to be backed up, obtain new data to be backed up, and then back up the data to be backed up to the server, which is equivalent to encrypting the original data to be backed up; even if the cloud backup account information leaks, Other users can't get the correct raw data, so you can improve the security of your data.
  • the embodiment of the present invention can also divide the backup data into a plurality of data segments, and sequentially back up to the server, thereby improving the efficiency of data backup.
  • a data backup system includes: a server and a data backup device.
  • the data backup device may be specifically integrated in the terminal D.
  • the terminal D may be a mobile phone or a tablet. Computers, laptops and other equipment.
  • the data backup system may further include a terminal E, and the server and the terminal D terminal E may be connected by a wired or wireless network.
  • a data backup method is as follows:
  • Terminal D acquires original data to be backed up.
  • the terminal D receives the data backup instruction, and the data backup instruction indicates the data to be backed up that needs to be backed up, and the terminal copies the backup data according to the data backup instruction to obtain the original data to be backed up.
  • the terminal D cuts the original data to be backed up into multiple data segments according to a preset cutting rule.
  • the terminal D cuts the original data to be backed up into n data segments of the same size according to a preset cutting rule, that is, the data segment p1, the data segment p2, and the data segment pn.
  • the terminal may select a preset cutting rule from a plurality of preset cutting rules to cut the original data to be backed up.
  • each preset cutting rule in the actual application may set a corresponding rule identifier.
  • the rule identifier can be a uniform rule identifier in the cloud backup.
  • the terminal D combines multiple data segments according to a preset combination manner to obtain target to be backed up data that is different from the original data to be backed up.
  • the terminal D can combine and splicing the data segment p1, the data segment p2, the data segment pn, and obtain the target data to be backed up P' (data segment p3, data segment p8, data segment p1, ... data segment pn).
  • the terminal D may select one preset combination manner from a plurality of preset combination manners, and then combine the plurality of data segments according to the selected preset combination manner.
  • each preset combination mode in the actual application can be set with a corresponding mode identifier.
  • the mode identifier can be identified in a unified manner in the cloud backup.
  • the terminal D sends the target data to be backed up, the rule identifier corresponding to the preset cutting rule, and the mode identifier corresponding to the preset combination mode.
  • the terminal D is to the server target to be backed up data P', and the rule identifier F corresponding to the preset cutting rule F and the mode identifier G corresponding to the preset combination mode G.
  • the terminal D can cut the target data to be backed up into m data segments, that is, the data segment p1', the data segment p2', the data segment pm'; and then, the data segment p1', the data in turn
  • the segment p2'...data segment pm' backup is sent to the server for backup.
  • the server backs up the data to be backed up, and sends the target data to be backed up, the rule identifier, and the combined identifier to the terminal E.
  • the server may sequentially save the data segment p1', the data segment p2', the data segment pm', and the like. After the server saves the data, the server may also synchronize the data to the terminal E. Specifically, the server sends the target to be backed up data P' to the terminal E, Rule ID F and mode ID G.
  • the server receives the data synchronization request sent by the terminal E, and sends the target data to be backed up, the rule identifier, and the combination identifier to the terminal E according to the data synchronization request.
  • the terminal E determines, according to the combined identifier, a preset combination manner corresponding to the target to be backed up data, and restores the target to be backed up data into a plurality of data segments according to a preset combination manner.
  • the terminal E can determine, according to the rule identifier G, that the combination mode corresponding to the target data to be backed up P′ is the preset combination mode G, and then the terminal restores P′ to the data segment p1′ and the data segment p2′ according to the preset combination manner G... Data segment pm'.
  • the terminal E determines, according to the rule identifier, a preset cutting rule corresponding to the data to be backed up, and combines the restored data segments according to the preset cutting rule to obtain original backup data.
  • the terminal E determines, according to the mode identifier F, that the cutting rule corresponding to the data to be backed up is the cutting rule F. At this time, the data segment p1′, the data segment p2′, the data segment pm′ can be spliced into the original waiting according to the cutting rule F. Back up data P.
  • the terminals D and E must obtain a plurality of preset cutting rules and a preset combination manner in advance.
  • the terminals D and E can be installed.
  • the terminal D may also obtain the backup data P′ from the server.
  • the terminal D may also obtain the backup data P′ from the server.
  • the terminal D may also obtain the backup data P′ from the server.
  • the server acquires the data P' to obtain the original data P.
  • the server may further include:
  • the server sends the target data to be backed up to the terminal D;
  • the terminal D can restore the target data to be backed up into multiple data segments according to a preset combination manner
  • the terminal D can combine the restored multiple data segments into the original data to be backed up according to the preset cutting rule.
  • the terminal acquires the original data to be backed up, cuts the original data to be backed up into multiple data segments according to a preset cutting rule, and combines the plurality of data segments to obtain data different from the original data to be backed up.
  • the target data to be backed up, and the target data to be backed up is backed up to the server.
  • the solution can cut and reorganize the original data to be backed up, obtain new data to be backed up, and then back up the data to be backed up to the server, which is equivalent to encrypting the original data to be backed up; even if the cloud backup account information leaks, Other users can't get the correct raw data, so you can improve the security of your data.
  • the terminal can further divide the backup data into a plurality of data segments, and sequentially back up to the server, which can improve the efficiency of data backup compared with the prior art.
  • the embodiment of the invention further provides a data backup device, comprising:
  • An obtaining unit configured to obtain original data to be backed up
  • a cutting unit configured to cut the original data to be backed up into a plurality of data segments according to a preset cutting rule
  • a combination unit configured to combine the plurality of data segments to obtain target to be backed up data that is different from the original data to be backed up;
  • a backup unit that backs up the data to be backed up to the server.
  • the combining unit comprises:
  • Combining subunits for combining the plurality of data segments according to a target combination manner
  • the backup unit specifically includes:
  • a cutting subunit configured to cut the target data to be backed up into multiple backup data segments
  • a backup subunit configured to sequentially back up the multiple backup data segments to the server.
  • the data backup device further includes:
  • a receiving unit configured to receive backup data sent by the server after the backup unit backs up the target data to be backed up to the server;
  • a data segment restoring unit configured to restore the backup data to a plurality of data segments according to the target combination manner
  • a data restoring unit configured to assemble the restored plurality of data segments according to the preset cutting rule to obtain original backup data.
  • the data backup device further includes: a sending unit;
  • the sending unit is configured to obtain a rule identifier corresponding to the preset cutting rule and a mode identifier corresponding to the target combination mode, and send the rule identifier and the mode identifier to the server.
  • the cutting unit is for:
  • the original data to be backed up is cut into a plurality of data segments according to the selected preset cutting rule.
  • a data backup device 50 is further provided. As shown in FIG. 5, the data backup device 50 includes an obtaining unit 501, a cutting unit 502, a combining unit 503, and a backup unit 504, where:
  • the obtaining unit 501 is configured to acquire original data to be backed up;
  • the cutting unit 502 is configured to cut the original data to be backed up into a plurality of data segments according to a preset cutting rule
  • the combining unit 503 is configured to combine the plurality of data segments to obtain target to be backed up data that is different from the original data to be backed up;
  • the backup unit 504 is configured to back up the target data to be backed up to the server.
  • the combining unit 503 may specifically include a selecting subunit and a combining subunit;
  • Combining subunits for combining the plurality of data segments according to a target combination manner
  • the backup unit 504 may specifically include: a cutting subunit and a backup subunit;
  • a cutting subunit configured to cut the target data to be backed up into multiple backup data segments
  • a backup subunit configured to sequentially back up the multiple backup data segments to the server.
  • the data backup apparatus of this embodiment may further include:
  • the receiving unit 505 is configured to: after the backup unit 504 backs up the target data to be backed up to the server, receive the backup data sent by the server;
  • a data segment restoring unit 506 configured to restore the backup data to multiple data segments according to the target combination manner
  • the data restoring unit 507 is configured to assemble the restored plurality of data segments according to the preset cutting rule to obtain original backup data.
  • the data backup apparatus in this embodiment may further include: a sending unit;
  • the sending unit is configured to: after the combining unit 503 combines the plurality of data segments, obtain a rule identifier corresponding to the preset cutting rule, and a mode identifier corresponding to the target combination mode, and send the rule identifier and manner to the server Logo.
  • the cutting unit 502 can be used to:
  • the original data to be backed up is cut into a plurality of data segments according to the selected preset cutting rule.
  • the foregoing units may be implemented as a separate entity, or may be implemented in any combination, and may be implemented as the same or a plurality of entities.
  • the foregoing method embodiments and details are not described herein.
  • the data backup device may be integrated into an electronic device such as a terminal, and the terminal may be a device such as a mobile phone or a tablet computer.
  • the embodiment of the present invention further provides a data backup system, which may refer to the data backup system shown in FIG. 1 or 3, including an electronic device (such as a terminal) and a server; the electronic device includes any data provided by the foregoing embodiment.
  • the backup device wherein the terminal can be a mobile phone, a tablet, or the like.
  • the embodiment of the present invention uses the obtaining unit 501 to obtain the original data to be backed up, the cutting unit 502 cuts the original data to be backed up into a plurality of data segments according to a preset cutting rule, and the combining unit 503 combines the plurality of data segments to obtain Different from the target data to be backed up of the original data to be backed up, the backup unit 504 backs up the data to be backed up to the server.
  • the solution can cut and reorganize the original data to be backed up, obtain new data to be backed up, and then back up the data to be backed up to the server, which is equivalent to encrypting the original data to be backed up; even if the cloud backup account information leaks, Other users can't get the correct raw data, so you can improve the security of your data.
  • the embodiment of the present invention can also divide the backup data into several data segments and sequentially back up to the server, which can improve the efficiency of data backup.
  • An embodiment of the present invention further provides an electronic device, including a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions in the memory to perform the following steps:
  • FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the mobile terminal 600 can include radio frequency (RF, Radio) Frequency circuit 601, memory 602 including one or more computer readable storage media, input unit 603, display unit 604, sensor 604, audio circuit 606, wireless fidelity (WiFi, Wireless)
  • the Fidelity module 607 includes a processor 608 having one or more processing cores, and a power supply 609 and the like. It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 7 does not constitute a limitation of the mobile terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • the radio frequency circuit 601 can be used for transmitting and receiving information, or receiving and transmitting signals during a call. Specifically, after receiving the downlink information of the base station, the downlink information is processed by one or more processors 608; in addition, the data related to the uplink is sent to the base station. .
  • the radio frequency circuit 601 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM, Subscriber Identity Module) Card, Transceiver, Coupler, Low Noise Amplifier (LNA, Low Noise) Amplifier), duplexer, etc.
  • SIM Subscriber Identity Module
  • the radio frequency circuit 601 can also communicate with the network and other devices through wireless communication.
  • the wireless communication can use any communication standard or protocol, including but not limited to the global mobile communication system (GSM, Global System of Mobile communication), General Packet Radio Service (GPRS, General Packet Radio) Service), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA, Wideband Code) Division Multiple Access), Long Term Evolution (LTE), e-mail, short message service (SMS, Short) Messaging Service) and so on.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short message service
  • Memory 602 can be used to store applications and data.
  • the application stored in the memory 602 contains executable code. Applications can form various functional modules.
  • the processor 608 executes various functional applications and data processing by running an application stored in the memory 602.
  • the memory 602 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile terminal (such as audio data, phone book, etc.).
  • memory 602 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 602 may also include a memory controller to provide access to memory 602 by processor 608 and input unit 603.
  • the input unit 603 can be configured to receive input numbers, character information or user characteristic information (such as fingerprints), and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 603 can include a touch-sensitive surface as well as other input devices.
  • Touch-sensitive surfaces also known as touch screens or trackpads, collect touch operations on or near the user (such as the user using a finger, stylus, etc., any suitable object or accessory on a touch-sensitive surface or touch-sensitive Operation near the surface), and drive the corresponding connecting device according to a preset program.
  • the touch sensitive surface may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 608 is provided and can receive commands from the processor 608 and execute them.
  • touch-sensitive surfaces can be implemented in a variety of types, including resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 603 can also include other input devices.
  • other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a fingerprint recognition module, a trackball, a mouse, a joystick, and the like.
  • Display unit 604 can be used to display information entered by the user or information provided to the user as well as various graphical user interfaces of the mobile terminal, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 604 can include a display panel.
  • the touch-sensitive surface can cover the display panel, and when the touch-sensitive surface detects a touch operation thereon or nearby, it is transmitted to the processor 608 to determine the type of the touch event, and then the processor 608 displays the type according to the type of the touch event. A corresponding visual output is provided on the panel.
  • the touch-sensitive surface and display panel are implemented as two separate components to perform input and input functions, in some embodiments, the touch-sensitive surface can be integrated with the display panel to implement input and output functions.
  • the mobile terminal may also include at least one type of sensor 605, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may close the display panel and/or when the mobile terminal moves to the ear.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the gyroscope, barometer, hygrometer, thermometer, infrared sensor and other sensors that can be configured in the mobile terminal, Let me repeat.
  • the audio circuit 606 can provide an audio interface between the user and the mobile terminal through a speaker and a microphone.
  • the audio circuit 606 can convert the received audio data into an electrical signal, which is transmitted to a speaker, and converted into a sound signal output by the speaker.
  • the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 606 and converted into
  • the audio data is then processed by the audio data output processor 608, transmitted via the RF circuit 601 to, for example, another mobile terminal, or the audio data is output to the memory 602 for further processing.
  • the audio circuit 606 may also include an earbud jack to provide communication between the peripheral earphone and the mobile terminal.
  • Wireless Fidelity is a short-range wireless transmission technology.
  • the mobile terminal can help users to send and receive e-mail, browse web pages and access streaming media through the wireless fidelity module 607, which provides users with wireless broadband Internet access.
  • FIG. 7 shows the wireless fidelity module 607, it can be understood that it does not belong to the essential configuration of the mobile terminal, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 608 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, executes the mobile terminal by running or executing an application stored in the memory 602, and calling data stored in the memory 602.
  • the processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 608.
  • the mobile terminal also includes a power source 609 (such as a battery) that supplies power to the various components.
  • the power source can be logically coupled to the processor 608 through the power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the power supply 609 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the mobile terminal may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the processor 608 in the mobile terminal loads the executable code corresponding to the process of one or more applications into the memory 602 according to the following instruction, and is stored and stored by the processor 608.
  • processor 608 is specifically configured to implement the following functions:
  • the target combination mode is selected from a plurality of preset combination modes, and the plurality of data segments are combined according to the target combination manner.
  • processor 608 is specifically configured to implement the following functions:
  • the target data to be backed up is cut into a plurality of backup data segments; the plurality of backup data segments are sequentially backed up to the server.
  • processor 608 is further configured to implement the following functions:
  • the backup data sent by the server is received; the backup data is restored to the plurality of data segments according to the target combination manner; and the restored plurality of data segments are performed according to the preset cutting rule. Assemble to get the original backup data.
  • processor 608 is further configured to implement the following functions:
  • the rule identifier corresponding to the preset cutting rule and the mode identifier corresponding to the target combination mode are obtained; and the rule identifier and the mode identifier are sent to the server.
  • processor 608 is configured to implement the following functions:
  • the original data to be backed up is cut into a plurality of data segments according to the selected preset cutting rule.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read only memory (ROM, Read Only Memory), Random Access Memory (RAM), disk or CD.
  • ROM Read only memory
  • RAM Random Access Memory

Abstract

Disclosed are a data backup method, device, system, storage medium, and an electronic device. The data backup method employs: acquiring original data to be backed up, splitting the original data to be backed up into multiple data segments on the basis of a preset splitting rule, combining the multiple data segments to produce target data to be backed up and distinguished from the original data to be backed up, and backing up to a server the target data to be backed up.

Description

一种数据备份方法、装置、系统、存储介质及电子设备 Data backup method, device, system, storage medium and electronic device
本申请要求于2016年10月25日提交中国专利局、申请号为201610951753.X、发明名称为“一种数据备份方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610951753.X, entitled "A Data Backup Method, Apparatus and System" on October 25, 2016, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本发明涉及云备份技术领域,具体涉及一种数据备份方法、装置、系统、存储介质及电子设备。The present invention relates to the field of cloud backup technologies, and in particular, to a data backup method, device, system, storage medium and electronic device.
背景技术Background technique
云备份是一种新兴的云计算业务,云备份服务提供商通过虚拟化、分布式处理和宽带网络等技术,将网络中海量、异构的存储设备集合起来协同工作,共同对外提供数据存储备份服务。用户可以通过移动互联网和宽带互联网接入,实现对终端上大量和分散的文件或文件夹的集中存储、安全保管。Cloud backup is an emerging cloud computing service. Cloud backup service providers bring together massive and heterogeneous storage devices in the network through virtualization, distributed processing and broadband networks to provide data storage backups. service. Users can centrally store and secure large numbers and scattered files or folders on the terminal through mobile Internet and broadband Internet access.
技术问题technical problem
本发明实施例提供一种数据备份方法、装置、系统、存储介质及电子设备,可以提高数据的安全性。The embodiment of the invention provides a data backup method, device, system, storage medium and electronic device, which can improve data security.
技术解决方案Technical solution
第一方面,本发明实施例提供一种数据备份方法,包括:In a first aspect, an embodiment of the present invention provides a data backup method, including:
获取原始待备份数据;Obtain the original data to be backed up;
根据预设切割规则将原始待备份数据切割成多个数据段;Cutting the original data to be backed up into multiple data segments according to a preset cutting rule;
对所述多个数据段进行组合,得到区别于所述原始待备份数据的目标待备份数据;Combining the plurality of data segments to obtain target to be backed up data that is different from the original data to be backed up;
将目标待备份数据备份至服务器。Back up the target data to be backed up to the server.
第二方面,本发明实施例还提供了一种数据备份装置,包括:In a second aspect, the embodiment of the present invention further provides a data backup apparatus, including:
获取单元,用于获取原始待备份数据;An obtaining unit, configured to obtain original data to be backed up;
切割单元,用于根据预设切割规则将原始待备份数据切割成多个数据段;a cutting unit, configured to cut the original data to be backed up into a plurality of data segments according to a preset cutting rule;
组合单元,用于对所述多个数据段进行组合,得到区别于所述原始待备份数据的目标待备份数据;a combination unit, configured to combine the plurality of data segments to obtain target to be backed up data that is different from the original data to be backed up;
备份单元,用于将目标待备份数据备份至服务器。A backup unit that backs up the data to be backed up to the server.
第三方面,本发明实施例还提供了一种数据备份系统,包括:服务器和终端,所述终端包括如上所述的数据备份装置。In a third aspect, an embodiment of the present invention further provides a data backup system, including: a server and a terminal, where the terminal includes the data backup device as described above.
第四方面,本发明实施例提供了一种存储介质,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行本发明实施例任一提供的数据备份方法。In a fourth aspect, an embodiment of the present invention provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to perform a data backup method provided by any one of the embodiments of the present invention.
第五方面,本发明实施例提供了一种电子设备,包括处理器和存储器,所述存储器存储有多条指令,所述处理器加载所述存储器中的指令用于执行以下步骤:In a fifth aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions in the memory to perform the following steps:
获取原始待备份数据;Obtain the original data to be backed up;
根据预设切割规则将原始待备份数据切割成多个数据段;Cutting the original data to be backed up into multiple data segments according to a preset cutting rule;
对所述多个数据段进行组合,得到区别于所述原始待备份数据的目标待备份数据;Combining the plurality of data segments to obtain target to be backed up data that is different from the original data to be backed up;
将目标待备份数据备份至服务器。Back up the target data to be backed up to the server.
有益效果 Beneficial effect
本发明实施例提供一种数据备份方法、装置、系统、存储介质及电子设备,可以提高数据的安全性。The embodiment of the invention provides a data backup method, device, system, storage medium and electronic device, which can improve data security.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings can also be obtained from those skilled in the art based on these drawings without paying any creative effort.
图1是本发明实施例提供的数据备份系统的场景示意图。FIG. 1 is a schematic diagram of a scenario of a data backup system according to an embodiment of the present invention.
图2是本发明实施例提供的数据备份方法的流程示意图。FIG. 2 is a schematic flowchart diagram of a data backup method according to an embodiment of the present invention.
图3是本发明实施例提供的数据备份系统的另一场景示意图。FIG. 3 is another schematic diagram of a data backup system according to an embodiment of the present invention.
图4是本发明实施例提供的数据备份方法的另一种流程示意图。FIG. 4 is another schematic flowchart of a data backup method according to an embodiment of the present invention.
图5是本发明实施例提供的数据备份装置的结构示意图。FIG. 5 is a schematic structural diagram of a data backup apparatus according to an embodiment of the present invention.
图6是本发明实施例提供的数据备份装置的另一种结构示意图。FIG. 6 is another schematic structural diagram of a data backup apparatus according to an embodiment of the present invention.
图7是本发明实施例提供的电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
本发明的最佳实施方式BEST MODE FOR CARRYING OUT THE INVENTION
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
云备份是将某个终端中的数据备份至云端服务器。目前云备份方案中,终端登录云备份账号之后,将待备份数据发送给服务器进行备份。然而,现有云备份方案中数据的安全性较低,比如,用户的云备份账号和密码一旦发生泄漏,那么其他用户很容易通过其终端登录该账号窃取该账号下的所有备份数据。Cloud backup is to back up data from a terminal to a cloud server. In the current cloud backup solution, after the terminal logs in to the cloud backup account, the data to be backed up is sent to the server for backup. However, the security of the existing cloud backup solution is relatively low. For example, if a user's cloud backup account and password are leaked, other users can easily log in to the account through their terminal to steal all backup data under the account.
本发明实施例提供了一种数据备份方法,包括:The embodiment of the invention provides a data backup method, including:
获取原始待备份数据;Obtain the original data to be backed up;
根据预设切割规则将原始待备份数据切割成多个数据段;Cutting the original data to be backed up into multiple data segments according to a preset cutting rule;
对所述多个数据段进行组合,得到区别于所述原始待备份数据的目标待备份数据;Combining the plurality of data segments to obtain target to be backed up data that is different from the original data to be backed up;
将目标待备份数据备份至服务器。Back up the target data to be backed up to the server.
在一实施例中,所述对所述多个数据段进行组合,包括:In an embodiment, the combining the plurality of data segments comprises:
从多种预设组合方式中选取目标组合方式;Select a target combination method from a plurality of preset combinations;
根据目标组合方式对所述多个数据段进行组合。The plurality of data segments are combined according to a target combination manner.
在一实施例中,所述将目标待备份数据备份至服务器,包括:In an embodiment, the backing up the target data to be backed up to the server includes:
将所述目标待备份数据切割成多个备份数据段;Cutting the target data to be backed up into multiple backup data segments;
将所述多个备份数据段依次备份至服务器。The plurality of backup data segments are sequentially backed up to the server.
在一实施例中,在将目标待备份数据备份至服务器之后,所述数据备份方法还包括:In an embodiment, after backing up the target data to be backed up to the server, the data backup method further includes:
接收服务器发送的备份数据;Receiving backup data sent by the server;
根据所述目标组合方式将所述备份数据还原成多个数据段;Recovering the backup data into a plurality of data segments according to the target combination manner;
根据所述预设切割规则对还原出的所述多个数据段进行组装,得到原始备份数据。And assembling the restored plurality of data segments according to the preset cutting rule to obtain original backup data.
在一实施例中,在对所述多个数据段进行组合之后,还包括: In an embodiment, after combining the plurality of data segments, the method further includes:
获取预设切割规则对应的规则标识、以及目标组合方式对应的方式标识;Obtaining a rule identifier corresponding to the preset cutting rule and a mode identifier corresponding to the target combination mode;
向服务器发送给所述规则标识和方式标识。The rule identifier and mode identifier are sent to the server.
在一实施例中,根据预设切割规则将原始待备份数据切割成多个数据段,包括:In an embodiment, the original data to be backed up is cut into a plurality of data segments according to a preset cutting rule, including:
从多种预设切割规则中选取一种预设切割规则;Selecting a preset cutting rule from a plurality of preset cutting rules;
根据选取的预设切割规则对将原始待备份数据切割成多个数据段。The original data to be backed up is cut into a plurality of data segments according to the selected preset cutting rule.
在一优选实施例中,提供了一种数据备份系统,其中,该数据备份系统可以包括:本发明实施例所提供的数据备份装置,该数据备份装置可以集成在电子设备中,该电子设备可以为终端,比如可以为手机、平板电脑等,此外,该数据备份系统还可以包括:其他设备,如服务器,该服务器与终端之间有线或无线网络进行连接。In a preferred embodiment, a data backup system is provided, wherein the data backup system may include: a data backup device provided by an embodiment of the present invention, the data backup device may be integrated in an electronic device, and the electronic device may be For example, the data backup system may further include: another device, such as a server, and the server and the terminal are connected by a wired or wireless network.
例如,以本发明实施例数据备份装置具体集成在电子设备中为例,参见图1,该终端可以用于获取原始待备份数据,根据预设切割规则将原始待备份数据切割成多个数据段,对多个数据段进行组合,得到区别于该原始待备份数据的目标待备份数据,将目标待备份数据备份至服务器。For example, in the embodiment of the present invention, the data backup device is specifically integrated into the electronic device as an example. Referring to FIG. 1 , the terminal may be configured to obtain original data to be backed up, and cut the original data to be backed up into multiple data segments according to a preset cutting rule. And combining the plurality of data segments to obtain the target data to be backed up different from the original data to be backed up, and backing up the data to be backed up to the server.
另外,如图1所示,该数据备份系统还包括服务器,如云端服务器等;该服务器用于对目标待备份数据进行备份,如,服务器可以存储该目标待备份数据;另外,该服务器还可以用于向终端发送备份数据,等等。In addition, as shown in FIG. 1 , the data backup system further includes a server, such as a cloud server, etc.; the server is used to back up data to be backed up, for example, the server can store the data to be backed up by the server; in addition, the server can also Used to send backup data to the terminal, and so on.
以下将分别进行详细说明。The details will be described separately below.
在一优选实施例中,该数据备份装置集成电子设备如终端中,该终端可以为手机或者平板电脑等设备。In a preferred embodiment, the data backup device is integrated into an electronic device such as a terminal, and the terminal can be a device such as a mobile phone or a tablet computer.
如图2所示,一种数据备份方法,具体流程如下:As shown in Figure 2, a data backup method, the specific process is as follows:
101、获取原始待备份数据。101. Obtain the original data to be backed up.
具体地,可以接收数据备份指令,根据该数据备份指令获取原始待备份数据。例如,根据数据备份指令对需要备份的数据进行拷贝,得到原始待备份数据,或者根据数据备份指令从本地存储单元中获取相应的原始待备份数据,等等。Specifically, the data backup instruction may be received, and the original data to be backed up is obtained according to the data backup instruction. For example, the data to be backed up is copied according to the data backup instruction, the original data to be backed up is obtained, or the corresponding original data to be backed up is obtained from the local storage unit according to the data backup instruction, and the like.
其中,该数据备份指令可以当由某个事件触发,比如可以由数据发生变化自动触发,具体地,当检测到某个数据(如某个指定备份的数据)发生变化时,则触发发送数据备份指令,此时数据备份装置便可以对该数据备份指令进行接收。例如,当检测到指定备份的短信消息数据发生变化(增加、删除或者改变)时,则发出触发发送数据备份指令。该数据备份指令可以由系统自动触发,比如,每隔预设时长自动触发发送数据备份指令。The data backup instruction may be triggered by an event, for example, may be automatically triggered by a change in data. Specifically, when a certain data (such as a specified backup data) is detected, a data backup is triggered. The instruction, at this time, the data backup device can receive the data backup instruction. For example, when it is detected that the SMS message data of the specified backup changes (adds, deletes or changes), a trigger to send data backup instruction is issued. The data backup instruction can be automatically triggered by the system. For example, the data backup instruction is automatically triggered every preset time.
此外,该数据备份指令还可以通过触发终端中预设触发键或输入框等触发接口来进行触发,比如,当用户点击或划过备份界面上某个备份图标时,则触发生成该数据备份指令,此时数据备份装置便可以对该数据备份指令进行接收。In addition, the data backup instruction may also be triggered by triggering a trigger interface such as a preset trigger key or an input box in the terminal, for example, when the user clicks or swipes a backup icon on the backup interface, the data backup instruction is triggered to be generated. At this time, the data backup device can receive the data backup instruction.
本发明实施例中,原始待备份数据的类型可以有多种,比如原始待备份数据可以短信数据、聊天记录数据、通话记录数据、或者照片数据等等。在数据变化触发数据备份时,该原始待备份数据可以为变化后的数据。In the embodiment of the present invention, the types of data to be backed up may be various, for example, the original data to be backed up may be short message data, chat record data, call record data, or photo data, and the like. When the data change triggers the data backup, the original data to be backed up may be the changed data.
102、根据预设切割规则将原始待备份数据切割成多个数据段。102. Cut the original data to be backed up into multiple data segments according to a preset cutting rule.
其中,预设切割规则可以根据实际需求设定,如可以为将原始待备份数据切割成相等大小的数据段等等。该数据段为一个数据单元,可以包含若干数据。当然,在实际应用中,预设切割规则要基于可还原的原则设定。例如,将原始备份数据A切割成数据段a1、数据段a2、数据段a3……数据段an。The preset cutting rule may be set according to actual requirements, such as cutting the original data to be backed up into data segments of equal size, and the like. The data segment is a data unit and can contain several data. Of course, in practical applications, the preset cutting rules are set based on the principle of reversibility. For example, the original backup data A is cut into a data segment a1, a data segment a2, a data segment a3, a data segment an.
具体地,为了提高数据安全,本实施例可以预先设定多种切割规则,以使得在数据切割时可以选取一种切割来切割,进而使得每次数据备份时采用的切割方式不一样,提高了数据安全性;也即,步骤“根据预设切割规则将原始待备份数据切割成多个数据段”可以包括:Specifically, in order to improve data security, the embodiment may preset a plurality of cutting rules, so that a cutting may be selected for cutting when the data is cut, thereby making the cutting method used for each data backup different, which is improved. Data security; that is, the step of "cutting the original data to be backed up into multiple data segments according to a preset cutting rule" may include:
从多种预设切割规则中选取一种预设切割规则;Selecting a preset cutting rule from a plurality of preset cutting rules;
根据选取的预设切割规则对将原始待备份数据切割成多个数据段。The original data to be backed up is cut into a plurality of data segments according to the selected preset cutting rule.
其中,切割规则的选取方式可以有多种,比如可以随机从多种预设切割规则中选取一种预设切割规则,等等。Among them, the cutting rule can be selected in various ways, for example, a preset cutting rule can be randomly selected from a plurality of preset cutting rules, and the like.
例如,可以从切割规则1、切割规则2……切割规则n中随机选取一种切割规则。For example, a cutting rule can be randomly selected from the cutting rule 1, the cutting rule 2, the cutting rule n.
103、对该多个数据段进行组合,得到区别于该原始待备份数据的目标待备份数据。103. Combine the plurality of data segments to obtain target to be backed up data that is different from the original data to be backed up.
比如,可以根据预设组合方式对多个数据段进行组合。该预设组合方式为数据段拼接组合的方式,比如,预设组合方式可以包括:按照数据段的序号进行拼接组合,按照数据段的大小进行拼接组合,按照数据段在原始待备份数据中的位置进行拼接组合等等,该预设组合方式可以根据实际需求设定。For example, multiple data segments can be combined according to a preset combination. The preset combination mode is a combination of data segment splicing and combining. For example, the preset combination mode may include: splicing and combining according to the serial number of the data segment, splicing and combining according to the size of the data segment, and according to the data segment in the original data to be backed up. The position is spliced and the like, and the preset combination mode can be set according to actual needs.
本实施例中目标待备份数据区别于原始待备份数据,可以为:目标待备份数据与原始待备份数据的数据格式不同、数据内容不同、数据结构不同、数据大小不同或者其他数据参数不同。In this embodiment, the data to be backed up is different from the original data to be backed up, and may be: the data format of the target to be backed up is different from the original data to be backed up, the data content is different, the data structure is different, the data size is different, or other data parameters are different.
例如,可以数据段a1、数据段a2、数据段a3……数据段an进行重新组合,得到区别于原始待备份数据A的待备份数据B。其中,该原始待备份数据A与待备份数据B的数据内容不相同、或者数据格式不相同。For example, the data segment a1, the data segment a2, the data segment a3, and the data segment an may be recombined to obtain data to be backed up that is different from the original data A to be backed up. The data content of the original data to be backed up and the data B to be backed up are different, or the data format is different.
为了提高数据安全,本实施例还可以预先设定多种组合方式,以便在候选数据备份时可以选取,使得每次数据备份所采用的组合方式不相同,进而提高数据的安全性;也即步骤“对该多个数据段进行组合”可以包括:In order to improve data security, the embodiment may further set a plurality of combinations in advance so as to be selected when the candidate data is backed up, so that the combination mode used for each data backup is different, thereby improving data security; that is, steps. "Combining the plurality of data segments" may include:
从多种预设组合方式中选取目标组合方式;Select a target combination method from a plurality of preset combinations;
根据目标组合方式对该多个数据段进行组合。The plurality of data segments are combined according to a target combination.
其中,组合方式的选取可以有多种,比如,可以按照时间、位置、数据类型、数据段的数量等其他参数进行选择;又比如,还可以随机选取。The combination mode may be selected in multiple ways, for example, according to time, location, data type, number of data segments, and other parameters; for example, it may also be randomly selected.
例如,从组合方式1、组合方式2、组合方式3……组合方式n中随机选取一个组合方式作为目标组合方式等。For example, one combination mode is randomly selected from the combination mode 1, the combination mode 2, the combination mode 3, the combination mode n as the target combination mode, and the like.
104、将目标待备份数据备份至服务器。104. Back up the data to be backed up to the server.
具体地,可以将目标备份数据发送给服务器,以使得服务器对该目标备份数据进行备份。Specifically, the target backup data may be sent to the server, so that the server backs up the target backup data.
比如,可以向服务器发送携带该目标待备份数据的数据备份请求,以使得服务器根据该数据备份请求对该目标待备份数据进行备份。For example, the data backup request carrying the data to be backed up may be sent to the server, so that the server backs up the data to be backed up according to the data backup request.
考虑到如果目标待备份数据过大,会降低数据备份的效率,因此,为了提高数据备份效率,本实施例还可以将目标待备数据切割成若干数据段,然后,将该数据段备份至服务器;也即步骤“将目标待备份数据备份至服务器”可以包括:If the data to be backed up is too large, the efficiency of the data backup is reduced. Therefore, in order to improve the data backup efficiency, the embodiment can also cut the target standby data into several data segments, and then back up the data segment to the server. ; that is, the step of "backing up the target data to be backed up to the server" may include:
将该目标待备份数据切割成多个备份数据段;Cutting the target data to be backed up into multiple backup data segments;
将该多个备份数据段依次备份至服务器。Back up the multiple backup data segments to the server in turn.
例如,可以将上述重新组合得到的待备份数据B切割成数据段b1、数据段b2、数据段b3……数据段bm;然后,将数据段b1备份至服务器、接着将数据段b2备份至服务器,将数据段b3备份至服务器……将数据段bm备份至服务器。For example, the data B to be backed up by the above recombination may be cut into a data segment b1, a data segment b2, a data segment b3, a data segment bm; then, the data segment b1 is backed up to the server, and then the data segment b2 is backed up to the server. Back up the data segment b3 to the server... Back up the data segment bm to the server.
可选地,在将数据备份至服务器之后,如果需要从服务器获取备份数据,那么此时,需要集合组合方式以及切割规则来还原出真实的原始备份数据,以便用户自己获取真实的数据。也即在步骤104之后,该数据备份方法还可以包括:Optionally, after the data is backed up to the server, if the backup data needs to be obtained from the server, then the combination combination method and the cutting rule are needed to restore the original original backup data, so that the user can obtain the real data by himself. That is, after step 104, the data backup method may further include:
接收服务器发送的备份数据;Receiving backup data sent by the server;
根据该目标组合方式将该备份数据还原成多个数据段;Recovering the backup data into a plurality of data segments according to the target combination manner;
根据该预设切割规则对还原出的该多个数据段进行组装,得到原始备份数据。The restored plurality of data segments are assembled according to the preset cutting rule to obtain original backup data.
可选地,为了使得备份数据获取终端可以知晓数据备份时所采用的组合方式和切割规则,本实施例还可以将切割规则的规则标识以及组合方式的方式标识发送给服务器,以便服务器将标识发送给数据获取终端。也即在步骤“对该多个数据段进行组合”之后,该数据备份方法还包括:Optionally, in order to enable the backup data acquisition terminal to know the combination mode and the cutting rule used in the data backup, the embodiment may further send the rule identifier of the cutting rule and the mode identifier of the combination mode to the server, so that the server sends the identifier. Give the data acquisition terminal. That is, after the step of "combining the plurality of data segments", the data backup method further includes:
获取预设切割规则对应的规则标识、以及目标组合方式对应的方式标识;Obtaining a rule identifier corresponding to the preset cutting rule and a mode identifier corresponding to the target combination mode;
向服务器发送给该规则标识和方式标识。The rule ID and mode ID are sent to the server.
例如,将选取的切割规则5的标识以及组合方式6的标识发送给服务器,在其他终端获取从服务器获取该备份数据时,可以向其他终端发送切割规则5的标识以及组合方式6的标识,已告知其他终端数据备份时采用的切割规则和组合方式,以便其他终端可以还原出原始数据。For example, the identifier of the selected cutting rule 5 and the identifier of the combination mode 6 are sent to the server. When the other terminal acquires the backup data from the server, the identifier of the cutting rule 5 and the identifier of the combination mode 6 may be sent to other terminals. Inform other terminal data cutting rules and combination methods used for backup, so that other terminals can restore the original data.
由上可知,本发明实施例采用获取原始待备份数据,根据预设切割规则将原始待备份数据切割成多个数据段,对多个数据段进行组合,得到区别于该原始待备份数据的目标待备份数据,将目标待备份数据备份至服务器。该方案可以对原始待备份数据进行切割重组,得到新的待备份数据,然后,将该待备份数据备份至服务器,也即相当于对原始待备份数据进行加密;即使云备份账号信息发生泄漏,其他用户也无法获取正确的原始数据,因此,可以提高数据的安全性。It can be seen that, in the embodiment of the present invention, the original data to be backed up is obtained, and the original data to be backed up is cut into a plurality of data segments according to a preset cutting rule, and the plurality of data segments are combined to obtain a target different from the original data to be backed up. The data to be backed up is backed up to the server. The solution can cut and reorganize the original data to be backed up, obtain new data to be backed up, and then back up the data to be backed up to the server, which is equivalent to encrypting the original data to be backed up; even if the cloud backup account information leaks, Other users can't get the correct raw data, so you can improve the security of your data.
此外,本发明实施例还可以将备份数据分割成若干个数据段,并依次备份至服务器,还可以提高数据备份的效率。In addition, the embodiment of the present invention can also divide the backup data into a plurality of data segments, and sequentially back up to the server, thereby improving the efficiency of data backup.
参考图3,在一优选实施例中,提供了一种数据备份系统,该系统包括:服务器以及数据备份装置,其中,该数据备份装置具体可以集成在终端D中,该终端D可以手机、平板电脑、笔记本电脑等设备。此外,该数据备份系统还可以包括终端E,该服务器与终端D终端E之间可通过有线或无线网络连接。Referring to FIG. 3, in a preferred embodiment, a data backup system is provided. The system includes: a server and a data backup device. The data backup device may be specifically integrated in the terminal D. The terminal D may be a mobile phone or a tablet. Computers, laptops and other equipment. In addition, the data backup system may further include a terminal E, and the server and the terminal D terminal E may be connected by a wired or wireless network.
在一优选实施例中,将基于该数据备份系统来详细介绍本发明的数据备份方法,如图4所示,一种数据备份方法,具体流程如下:In a preferred embodiment, the data backup method of the present invention will be described in detail based on the data backup system. As shown in FIG. 4, a data backup method is as follows:
401、终端D获取原始待备份数据。401. Terminal D acquires original data to be backed up.
比如,终端D接收数据备份指令,该数据备份指令指示需要备份的待备份数据,终端根据该数据备份指令对该备份数据进行复制,得到原始待备份数据。For example, the terminal D receives the data backup instruction, and the data backup instruction indicates the data to be backed up that needs to be backed up, and the terminal copies the backup data according to the data backup instruction to obtain the original data to be backed up.
402、终端D根据预设切割规则将原始待备份数据切割成多个数据段。402. The terminal D cuts the original data to be backed up into multiple data segments according to a preset cutting rule.
如,终端D根据预设切割规则将原始待备份数据P切割成n个大小相同的数据段,即数据段p1、数据段p2……数据段pn。For example, the terminal D cuts the original data to be backed up into n data segments of the same size according to a preset cutting rule, that is, the data segment p1, the data segment p2, and the data segment pn.
具体地,终端可以从多种预设切割规则中选取一个预设切割规则对原始待备份数据进行切割,为了方便,实际应用中每种预设切割规则可设置相应的规则标识。该规则标识可以为云备份中统一的规则标识。Specifically, the terminal may select a preset cutting rule from a plurality of preset cutting rules to cut the original data to be backed up. For convenience, each preset cutting rule in the actual application may set a corresponding rule identifier. The rule identifier can be a uniform rule identifier in the cloud backup.
403、终端D根据预设组合方式对多个数据段进行组合,得到区别于该原始待备份数据的目标待备份数据。403. The terminal D combines multiple data segments according to a preset combination manner to obtain target to be backed up data that is different from the original data to be backed up.
比如,终端D可以数据段p1、数据段p2……数据段pn进行组合拼接,得到目标待备份数据P’(数据段p3、数据段p8、数据段p1……数据段pn)。For example, the terminal D can combine and splicing the data segment p1, the data segment p2, the data segment pn, and obtain the target data to be backed up P' (data segment p3, data segment p8, data segment p1, ... data segment pn).
具体地,终端D可以从多种预设组合方式中选取一种预设组合方式,然后,根据该选取的预设组合方式对多个数据段进行组合。Specifically, the terminal D may select one preset combination manner from a plurality of preset combination manners, and then combine the plurality of data segments according to the selected preset combination manner.
为了方便,实际应用中每种预设组合方式可设置相应的方式标识。该方式标识可以为云备份中统一的方式标识。For convenience, each preset combination mode in the actual application can be set with a corresponding mode identifier. The mode identifier can be identified in a unified manner in the cloud backup.
404、终端D向服务器发送该目标待备份数据、该预设切割规则对应的规则标识以及预设组合方式对应的方式标识。404. The terminal D sends the target data to be backed up, the rule identifier corresponding to the preset cutting rule, and the mode identifier corresponding to the preset combination mode.
比如,终端D向服务器目标待备份数据P’,以及预设切割规则F对应的规则标识F、预设组合方式G对应的方式标识G。For example, the terminal D is to the server target to be backed up data P', and the rule identifier F corresponding to the preset cutting rule F and the mode identifier G corresponding to the preset combination mode G.
为了提高数据备份数量,终端D可以将目标待备份数据P’切割成m个数据段,即数据段p1’、数据段p2’……数据段pm’;然后,依次将数据段p1’、数据段p2’……数据段pm’备份发送给服务器以进行备份。In order to increase the number of data backups, the terminal D can cut the target data to be backed up into m data segments, that is, the data segment p1', the data segment p2', the data segment pm'; and then, the data segment p1', the data in turn The segment p2'...data segment pm' backup is sent to the server for backup.
405、服务器对目标待备份数据进行备份,并向终端E发送该目标待备份数据、规则标识以及组合标识。405. The server backs up the data to be backed up, and sends the target data to be backed up, the rule identifier, and the combined identifier to the terminal E.
如服务器可以依次保存数据段p1’、数据段p2’……数据段pm’等。在服务器保存数据之后,服务器还可以将该数据同步给终端E,具体地,服务器向终端E发送目标待备份数据P’、 规则标识F和方式标识G。For example, the server may sequentially save the data segment p1', the data segment p2', the data segment pm', and the like. After the server saves the data, the server may also synchronize the data to the terminal E. Specifically, the server sends the target to be backed up data P' to the terminal E, Rule ID F and mode ID G.
比如,服务器接收终端E发送的数据同步请求,并根据数据同步请求向终端E发送该目标待备份数据、规则标识以及组合标识。For example, the server receives the data synchronization request sent by the terminal E, and sends the target data to be backed up, the rule identifier, and the combination identifier to the terminal E according to the data synchronization request.
406、终端E根据组合标识确定目标待备份数据对应的预设组合方式,并根据预设组合方式将该目标待备份数据还原成若干数据段。406. The terminal E determines, according to the combined identifier, a preset combination manner corresponding to the target to be backed up data, and restores the target to be backed up data into a plurality of data segments according to a preset combination manner.
终端E可以根据规则标识G确定目标待备份数据P’对应的组合方式为预设组合方式G,然后,终端根据预设组合方式G将P’还原成数据段p1’、数据段p2’……数据段pm’。The terminal E can determine, according to the rule identifier G, that the combination mode corresponding to the target data to be backed up P′ is the preset combination mode G, and then the terminal restores P′ to the data segment p1′ and the data segment p2′ according to the preset combination manner G... Data segment pm'.
407、终端E根据规则标识确定目标待备份数据对应的预设切割规则,并根据预设切割规则对还原出的数据段进行组合,得到原始备份数据。407. The terminal E determines, according to the rule identifier, a preset cutting rule corresponding to the data to be backed up, and combines the restored data segments according to the preset cutting rule to obtain original backup data.
终端E根据方式标识F,确定目标待备份数据对应的切割规则为切割规则F,此时,可以根据切割规则F将数据段p1’、数据段p2’……数据段pm’拼接组合成原始待备份数据P。The terminal E determines, according to the mode identifier F, that the cutting rule corresponding to the data to be backed up is the cutting rule F. At this time, the data segment p1′, the data segment p2′, the data segment pm′ can be spliced into the original waiting according to the cutting rule F. Back up data P.
本实施例中终端D和E均要预先要获取多种预设切割规则以及预设组合方式,比如,事先在终端D和E上安装云备份应用客户端时,可以在终端D和E上安装多种预设切割规则以及预设组合方式,以便对数据加密或者解密。In this embodiment, the terminals D and E must obtain a plurality of preset cutting rules and a preset combination manner in advance. For example, when the cloud backup application client is installed on the terminals D and E in advance, the terminals D and E can be installed. A variety of preset cutting rules and preset combinations to encrypt or decrypt data.
可选地,终端D在数据P’备份至服务器之后,还可以从服务器获取备份数据P’,比如,终端D在数据丢失时,需要从服务器获取之前备份的数据;因此,终端D还可以向服务器获取数据P’,以便获取原始数据P。也即本实实施中,在服务器对目标待备份数据进行备份之后还可以包括:Optionally, after the data P′ is backed up to the server, the terminal D may also obtain the backup data P′ from the server. For example, when the data is lost, the terminal D needs to obtain the previously backed up data from the server; therefore, the terminal D may also The server acquires the data P' to obtain the original data P. In this implementation, after the server backs up the data to be backed up, the server may further include:
服务器向终端D发送目标待备份数据;The server sends the target data to be backed up to the terminal D;
终端D可以根据预设组合方式将目标待备份数据还原成多个数据段;The terminal D can restore the target data to be backed up into multiple data segments according to a preset combination manner;
终端D可以根据预设切割规则将还原出的多个数据段组合成原始待备份数据。The terminal D can combine the restored multiple data segments into the original data to be backed up according to the preset cutting rule.
由上可知,本发明实施例中终端获取原始待备份数据,根据预设切割规则将原始待备份数据切割成多个数据段,对多个数据段进行组合,得到区别于该原始待备份数据的目标待备份数据,将目标待备份数据备份至服务器。该方案可以对原始待备份数据进行切割重组,得到新的待备份数据,然后,将该待备份数据备份至服务器,也即相当于对原始待备份数据进行加密;即使云备份账号信息发生泄漏,其他用户也无法获取正确的原始数据,因此,可以提高数据的安全性。It can be seen that, in the embodiment of the present invention, the terminal acquires the original data to be backed up, cuts the original data to be backed up into multiple data segments according to a preset cutting rule, and combines the plurality of data segments to obtain data different from the original data to be backed up. The target data to be backed up, and the target data to be backed up is backed up to the server. The solution can cut and reorganize the original data to be backed up, obtain new data to be backed up, and then back up the data to be backed up to the server, which is equivalent to encrypting the original data to be backed up; even if the cloud backup account information leaks, Other users can't get the correct raw data, so you can improve the security of your data.
此外,本发明实施例中终端还可以将备份数据分割成若干个数据段,并依次备份至服务器,相对于现有技术人而言,还可以提高数据备份的效率。In addition, in the embodiment of the present invention, the terminal can further divide the backup data into a plurality of data segments, and sequentially back up to the server, which can improve the efficiency of data backup compared with the prior art.
本发明实施例还提供了一种数据备份装置,包括:The embodiment of the invention further provides a data backup device, comprising:
获取单元,用于获取原始待备份数据;An obtaining unit, configured to obtain original data to be backed up;
切割单元,用于根据预设切割规则将原始待备份数据切割成多个数据段;a cutting unit, configured to cut the original data to be backed up into a plurality of data segments according to a preset cutting rule;
组合单元,用于对所述多个数据段进行组合,得到区别于所述原始待备份数据的目标待备份数据;a combination unit, configured to combine the plurality of data segments to obtain target to be backed up data that is different from the original data to be backed up;
备份单元,用于将目标待备份数据备份至服务器。A backup unit that backs up the data to be backed up to the server.
在一实施例中,所述组合单元,包括:In an embodiment, the combining unit comprises:
选取子单元,用于从多种预设组合方式中选取目标组合方式;Select a sub-unit for selecting a target combination mode from a plurality of preset combinations;
组合子单元,用于根据目标组合方式对所述多个数据段进行组合。Combining subunits for combining the plurality of data segments according to a target combination manner.
在一实施例中,所述备份单元,具体包括:In an embodiment, the backup unit specifically includes:
切割子单元,用于将所述目标待备份数据切割成多个备份数据段;a cutting subunit, configured to cut the target data to be backed up into multiple backup data segments;
备份子单元,用于将所述多个备份数据段依次备份至服务器。a backup subunit, configured to sequentially back up the multiple backup data segments to the server.
在一实施例中,所述数据备份装置还包括:In an embodiment, the data backup device further includes:
接收单元,用于在备份单元将目标待备份数据备份至服务器之后,接收服务器发送的备份数据;a receiving unit, configured to receive backup data sent by the server after the backup unit backs up the target data to be backed up to the server;
数据段还原单元,用于根据所述目标组合方式将所述备份数据还原成多个数据段;a data segment restoring unit, configured to restore the backup data to a plurality of data segments according to the target combination manner;
数据还原单元,用于根据所述预设切割规则对还原出的所述多个数据段进行组装,得到原始备份数据。And a data restoring unit, configured to assemble the restored plurality of data segments according to the preset cutting rule to obtain original backup data.
在一实施例中,所述数据备份装置还包括:发送单元;In an embodiment, the data backup device further includes: a sending unit;
所述发送单元,用于获取预设切割规则对应的规则标识、以及目标组合方式对应的方式标识;向服务器发送给所述规则标识和方式标识。The sending unit is configured to obtain a rule identifier corresponding to the preset cutting rule and a mode identifier corresponding to the target combination mode, and send the rule identifier and the mode identifier to the server.
在一实施例中,切割单元,用于:In an embodiment, the cutting unit is for:
从多种预设切割规则中选取一种预设切割规则;Selecting a preset cutting rule from a plurality of preset cutting rules;
根据选取的预设切割规则对将原始待备份数据切割成多个数据段。The original data to be backed up is cut into a plurality of data segments according to the selected preset cutting rule.
在一优选实施例中,还提供一种数据备份装置50,如图5所示,该数据备份装置50包括获取单元501、切割单元502、组合单元503和备份单元504,其中:In a preferred embodiment, a data backup device 50 is further provided. As shown in FIG. 5, the data backup device 50 includes an obtaining unit 501, a cutting unit 502, a combining unit 503, and a backup unit 504, where:
获取单元501,用于获取原始待备份数据;The obtaining unit 501 is configured to acquire original data to be backed up;
切割单元502,用于根据预设切割规则将原始待备份数据切割成多个数据段;The cutting unit 502 is configured to cut the original data to be backed up into a plurality of data segments according to a preset cutting rule;
组合单元503,用于对所述多个数据段进行组合,得到区别于所述原始待备份数据的目标待备份数据;The combining unit 503 is configured to combine the plurality of data segments to obtain target to be backed up data that is different from the original data to be backed up;
备份单元504,用于将目标待备份数据备份至服务器。The backup unit 504 is configured to back up the target data to be backed up to the server.
为提高数据的安全性,其中,组合单元503可以具体包括选取子单元和组合子单元;In order to improve the security of the data, the combining unit 503 may specifically include a selecting subunit and a combining subunit;
选取子单元,用于从多种预设组合方式中选取目标组合方式;Select a sub-unit for selecting a target combination mode from a plurality of preset combinations;
组合子单元,用于根据目标组合方式对所述多个数据段进行组合。Combining subunits for combining the plurality of data segments according to a target combination manner.
为了提高数据备份的效率,其中,备份单元504,可以具体包括:切割子单元和备份子单元;In order to improve the efficiency of the data backup, the backup unit 504 may specifically include: a cutting subunit and a backup subunit;
切割子单元,用于将所述目标待备份数据切割成多个备份数据段;a cutting subunit, configured to cut the target data to be backed up into multiple backup data segments;
备份子单元,用于将所述多个备份数据段依次备份至服务器。a backup subunit, configured to sequentially back up the multiple backup data segments to the server.
在一实施例中,参考图6,本实施例数据备份装置还可以包括:In an embodiment, referring to FIG. 6, the data backup apparatus of this embodiment may further include:
接收单元505,用于在备份单元504将目标待备份数据备份至服务器之后,接收服务器发送的备份数据;The receiving unit 505 is configured to: after the backup unit 504 backs up the target data to be backed up to the server, receive the backup data sent by the server;
数据段还原单元506,用于根据所述目标组合方式将所述备份数据还原成多个数据段;a data segment restoring unit 506, configured to restore the backup data to multiple data segments according to the target combination manner;
数据还原单元507,用于根据所述预设切割规则对还原出的所述多个数据段进行组装,得到原始备份数据。The data restoring unit 507 is configured to assemble the restored plurality of data segments according to the preset cutting rule to obtain original backup data.
可选地,为了能够让获取终端可以获取原始数据,本实施例数据备份装置还可以包括:发送单元;Optionally, in order to enable the acquiring terminal to obtain the original data, the data backup apparatus in this embodiment may further include: a sending unit;
该发送单元,用于在组合单元503对所述多个数据段进行组合之后,获取预设切割规则对应的规则标识、以及目标组合方式对应的方式标识,向服务器发送给所述规则标识和方式标识。The sending unit is configured to: after the combining unit 503 combines the plurality of data segments, obtain a rule identifier corresponding to the preset cutting rule, and a mode identifier corresponding to the target combination mode, and send the rule identifier and manner to the server Logo.
在一实施例中,切割单元502,可以用于:In an embodiment, the cutting unit 502 can be used to:
从多种预设切割规则中选取一种预设切割规则;Selecting a preset cutting rule from a plurality of preset cutting rules;
根据选取的预设切割规则对将原始待备份数据切割成多个数据段。The original data to be backed up is cut into a plurality of data segments according to the selected preset cutting rule.
具体实施时,以上各个单元可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单元的具体实施可参见前面的方法实施例,在此不再赘述。In the specific implementation, the foregoing units may be implemented as a separate entity, or may be implemented in any combination, and may be implemented as the same or a plurality of entities. For the specific implementation of the foregoing, refer to the foregoing method embodiments, and details are not described herein.
该数据备份装置具体可以集成电子设备如终端中,该终端可以为手机、平板电脑等设备。The data backup device may be integrated into an electronic device such as a terminal, and the terminal may be a device such as a mobile phone or a tablet computer.
另外,本发明实施例还提供了一种数据备份系统,可参考图1或者3所示的数据备份系统,包括电子设备(如终端)和服务器;该电子设备包括如上实施例提供的任一数据备份装置,其中,终端可以为手机、平板电脑等。In addition, the embodiment of the present invention further provides a data backup system, which may refer to the data backup system shown in FIG. 1 or 3, including an electronic device (such as a terminal) and a server; the electronic device includes any data provided by the foregoing embodiment. The backup device, wherein the terminal can be a mobile phone, a tablet, or the like.
由上可知,本发明实施例采用获取单元501获取原始待备份数据,切割单元502根据预设切割规则将原始待备份数据切割成多个数据段,组合单元503对多个数据段进行组合,得到区别于该原始待备份数据的目标待备份数据,备份单元504将目标待备份数据备份至服务器。该方案可以对原始待备份数据进行切割重组,得到新的待备份数据,然后,将该待备份数据备份至服务器,也即相当于对原始待备份数据进行加密;即使云备份账号信息发生泄漏,其他用户也无法获取正确的原始数据,因此,可以提高数据的安全性。It can be seen that the embodiment of the present invention uses the obtaining unit 501 to obtain the original data to be backed up, the cutting unit 502 cuts the original data to be backed up into a plurality of data segments according to a preset cutting rule, and the combining unit 503 combines the plurality of data segments to obtain Different from the target data to be backed up of the original data to be backed up, the backup unit 504 backs up the data to be backed up to the server. The solution can cut and reorganize the original data to be backed up, obtain new data to be backed up, and then back up the data to be backed up to the server, which is equivalent to encrypting the original data to be backed up; even if the cloud backup account information leaks, Other users can't get the correct raw data, so you can improve the security of your data.
此外,本发明实施例还可以将备份数据分割成若干个数据段,并依次备份至服务器,可以提高数据备份的效率。In addition, the embodiment of the present invention can also divide the backup data into several data segments and sequentially back up to the server, which can improve the efficiency of data backup.
本发明实施例还提供了一种电子设备,包括处理器和存储器,所述存储器存储有多条指令,所述处理器加载所述存储器中的指令用于执行以下步骤:An embodiment of the present invention further provides an electronic device, including a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions in the memory to perform the following steps:
获取原始待备份数据;Obtain the original data to be backed up;
根据预设切割规则将原始待备份数据切割成多个数据段;Cutting the original data to be backed up into multiple data segments according to a preset cutting rule;
对所述多个数据段进行组合,得到区别于所述原始待备份数据的目标待备份数据;Combining the plurality of data segments to obtain target to be backed up data that is different from the original data to be backed up;
将目标待备份数据备份至服务器。Back up the target data to be backed up to the server.
在一优选实施例中,还提供一种电子设备,该电子设备可以为终端,如平板电脑、手机等移动终端,请参阅图7,图7为本发明实施例提供的终端结构示意图。该移动终端600可以包括射频(RF,Radio Frequency)电路601、包括有一个或一个以上计算机可读存储介质的存储器602、输入单元603、显示单元604、传感器604、音频电路606、无线保真(WiFi,Wireless Fidelity)模块607、包括有一个或者一个以上处理核心的处理器608、以及电源609等部件。本领域技术人员可以理解,图7中示出的移动终端结构并不构成对移动终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。In a preferred embodiment, an electronic device is further provided, and the electronic device can be a terminal, such as a mobile terminal such as a tablet computer or a mobile phone. Referring to FIG. 7, FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The mobile terminal 600 can include radio frequency (RF, Radio) Frequency circuit 601, memory 602 including one or more computer readable storage media, input unit 603, display unit 604, sensor 604, audio circuit 606, wireless fidelity (WiFi, Wireless) The Fidelity module 607 includes a processor 608 having one or more processing cores, and a power supply 609 and the like. It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 7 does not constitute a limitation of the mobile terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
射频电路601可用于收发信息,或通话过程中信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器608处理;另外,将涉及上行的数据发送给基站。通常,射频电路601包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM, Subscriber Identity Module)卡、收发信机、耦合器、低噪声放大器(LNA,Low Noise Amplifier)、双工器等。此外,射频电路601还可以通过无线通信与网络和其他设备通信。该无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统 (GSM,Global System of Mobile communication)、通用分组无线服务(GPRS ,General Packet Radio Service)、码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、长期演进(LTE,Long Term Evolution)、电子邮件、短消息服务(SMS,Short Messaging Service)等。The radio frequency circuit 601 can be used for transmitting and receiving information, or receiving and transmitting signals during a call. Specifically, after receiving the downlink information of the base station, the downlink information is processed by one or more processors 608; in addition, the data related to the uplink is sent to the base station. . Generally, the radio frequency circuit 601 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM, Subscriber Identity Module) Card, Transceiver, Coupler, Low Noise Amplifier (LNA, Low Noise) Amplifier), duplexer, etc. In addition, the radio frequency circuit 601 can also communicate with the network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to the global mobile communication system (GSM, Global System of Mobile communication), General Packet Radio Service (GPRS, General Packet Radio) Service), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA, Wideband Code) Division Multiple Access), Long Term Evolution (LTE), e-mail, short message service (SMS, Short) Messaging Service) and so on.
存储器602可用于存储应用程序和数据。存储器602存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器608通过运行存储在存储器602的应用程序,从而执行各种功能应用以及数据处理。存储器602可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据移动终端的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器602可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器602还可以包括存储器控制器,以提供处理器608和输入单元603对存储器602的访问。Memory 602 can be used to store applications and data. The application stored in the memory 602 contains executable code. Applications can form various functional modules. The processor 608 executes various functional applications and data processing by running an application stored in the memory 602. The memory 602 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile terminal (such as audio data, phone book, etc.). Moreover, memory 602 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 602 may also include a memory controller to provide access to memory 602 by processor 608 and input unit 603.
输入单元603可用于接收输入的数字、字符信息或用户特征信息(比如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元603可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器608,并能接收处理器608发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面。除了触敏表面,输入单元603还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、指纹识别模组、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 603 can be configured to receive input numbers, character information or user characteristic information (such as fingerprints), and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. In particular, in one particular embodiment, input unit 603 can include a touch-sensitive surface as well as other input devices. Touch-sensitive surfaces, also known as touch screens or trackpads, collect touch operations on or near the user (such as the user using a finger, stylus, etc., any suitable object or accessory on a touch-sensitive surface or touch-sensitive Operation near the surface), and drive the corresponding connecting device according to a preset program. Alternatively, the touch sensitive surface may include two parts of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 608 is provided and can receive commands from the processor 608 and execute them. In addition, touch-sensitive surfaces can be implemented in a variety of types, including resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface, the input unit 603 can also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a fingerprint recognition module, a trackball, a mouse, a joystick, and the like.
显示单元604可用于显示由用户输入的信息或提供给用户的信息以及移动终端的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元604可包括显示面板。可选的,可以采用液晶显示器(LCD,Liquid Crystal Display)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器608以确定触摸事件的类型,随后处理器608根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图7中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。Display unit 604 can be used to display information entered by the user or information provided to the user as well as various graphical user interfaces of the mobile terminal, which can be composed of graphics, text, icons, video, and any combination thereof. The display unit 604 can include a display panel. Optional, you can use a liquid crystal display (LCD, Liquid) Crystal Display), Organic Light-Emitting (OLED) Diode) and other forms to configure the display panel. Further, the touch-sensitive surface can cover the display panel, and when the touch-sensitive surface detects a touch operation thereon or nearby, it is transmitted to the processor 608 to determine the type of the touch event, and then the processor 608 displays the type according to the type of the touch event. A corresponding visual output is provided on the panel. Although in FIG. 7, the touch-sensitive surface and display panel are implemented as two separate components to perform input and input functions, in some embodiments, the touch-sensitive surface can be integrated with the display panel to implement input and output functions.
移动终端还可包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在移动终端移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于移动终端还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile terminal may also include at least one type of sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may close the display panel and/or when the mobile terminal moves to the ear. Backlighting. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the gyroscope, barometer, hygrometer, thermometer, infrared sensor and other sensors that can be configured in the mobile terminal, Let me repeat.
音频电路606可通过扬声器、传声器提供用户与移动终端之间的音频接口。音频电路606可将接收到的音频数据转换成电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路606接收后转换为音频数据,再将音频数据输出处理器608处理后,经射频电路601以发送给比如另一移动终端,或者将音频数据输出至存储器602以便进一步处理。音频电路606还可能包括耳塞插孔,以提供外设耳机与移动终端的通信。The audio circuit 606 can provide an audio interface between the user and the mobile terminal through a speaker and a microphone. The audio circuit 606 can convert the received audio data into an electrical signal, which is transmitted to a speaker, and converted into a sound signal output by the speaker. On the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 606 and converted into The audio data is then processed by the audio data output processor 608, transmitted via the RF circuit 601 to, for example, another mobile terminal, or the audio data is output to the memory 602 for further processing. The audio circuit 606 may also include an earbud jack to provide communication between the peripheral earphone and the mobile terminal.
无线保真(WiFi)属于短距离无线传输技术,移动终端通过无线保真模块607可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图7示出了无线保真模块607,但是可以理解的是,其并不属于移动终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。Wireless Fidelity (WiFi) is a short-range wireless transmission technology. The mobile terminal can help users to send and receive e-mail, browse web pages and access streaming media through the wireless fidelity module 607, which provides users with wireless broadband Internet access. Although FIG. 7 shows the wireless fidelity module 607, it can be understood that it does not belong to the essential configuration of the mobile terminal, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器608是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器602内的应用程序,以及调用存储在存储器602内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。可选的,处理器608可包括一个或多个处理核心;优选的,处理器608可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器608中。The processor 608 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, executes the mobile terminal by running or executing an application stored in the memory 602, and calling data stored in the memory 602. The various functions and processing data to monitor the mobile terminal as a whole. Optionally, the processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 608.
移动终端还包括给各个部件供电的电源609(比如电池)。优选的,电源可以通过电源管理系统与处理器608逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源609还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The mobile terminal also includes a power source 609 (such as a battery) that supplies power to the various components. Preferably, the power source can be logically coupled to the processor 608 through the power management system to manage functions such as charging, discharging, and power management through the power management system. The power supply 609 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
尽管图7中未示出,移动终端还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 7, the mobile terminal may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
具体在本实施例中,移动终端中的处理器608会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器602中,并由处理器608来运行存储在存储器602中的应用程序,从而实现各种功能:Specifically, in this embodiment, the processor 608 in the mobile terminal loads the executable code corresponding to the process of one or more applications into the memory 602 according to the following instruction, and is stored and stored by the processor 608. The application in memory 602, thereby implementing various functions:
获取原始待备份数据;根据预设切割规则将原始待备份数据切割成多个数据段;对该多个数据段进行组合,得到区别于该原始待备份数据的目标待备份数据;将目标待备份数据备份至服务器。Obtaining the original data to be backed up; cutting the original data to be backed up into multiple data segments according to a preset cutting rule; combining the plurality of data segments to obtain a target to be backed up data that is different from the original data to be backed up; Data is backed up to the server.
在一实施例中,该处理器608具体用于实现以下功能:In an embodiment, the processor 608 is specifically configured to implement the following functions:
从多种预设组合方式中选取目标组合方式,根据目标组合方式对该多个数据段进行组合。The target combination mode is selected from a plurality of preset combination modes, and the plurality of data segments are combined according to the target combination manner.
在一实施例中,该处理器608具体用于实现以下功能:In an embodiment, the processor 608 is specifically configured to implement the following functions:
将该目标待备份数据切割成多个备份数据段;将该多个备份数据段依次备份至服务器。The target data to be backed up is cut into a plurality of backup data segments; the plurality of backup data segments are sequentially backed up to the server.
在一实施例中,该处理器608还用于实现以下功能:In an embodiment, the processor 608 is further configured to implement the following functions:
在将目标待备份数据备份至服务器之后,接收服务器发送的备份数据;根据该目标组合方式将该备份数据还原成多个数据段;根据该预设切割规则对还原出的该多个数据段进行组装,得到原始备份数据。After the target data to be backed up is backed up to the server, the backup data sent by the server is received; the backup data is restored to the plurality of data segments according to the target combination manner; and the restored plurality of data segments are performed according to the preset cutting rule. Assemble to get the original backup data.
在一实施例中,该处理器608还用于实现以下功能:In an embodiment, the processor 608 is further configured to implement the following functions:
在对该多个数据段进行组合之后,获取预设切割规则对应的规则标识、以及目标组合方式对应的方式标识;向服务器发送给该规则标识和方式标识。After the multiple data segments are combined, the rule identifier corresponding to the preset cutting rule and the mode identifier corresponding to the target combination mode are obtained; and the rule identifier and the mode identifier are sent to the server.
在一实施例中,该处理器608用于实现以下功能:In an embodiment, the processor 608 is configured to implement the following functions:
从多种预设切割规则中选取一种预设切割规则;Selecting a preset cutting rule from a plurality of preset cutting rules;
根据选取的预设切割规则对将原始待备份数据切割成多个数据段。The original data to be backed up is cut into a plurality of data segments according to the selected preset cutting rule.
具体的操作,可以参考前面数据备份方法实施例的详细描述。For specific operations, reference may be made to the detailed description of the foregoing data backup method embodiment.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Read only memory (ROM, Read Only Memory), Random Access Memory (RAM), disk or CD.
以上对本发明实施例所提供的一种数据备份方法、装置、系统、存储介质及电子设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The data backup method, device, system, storage medium and electronic device provided by the embodiments of the present invention are described in detail. The principles and implementation manners of the present invention are described in the following examples. The description is only for helping to understand the method of the present invention and its core ideas; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in specific embodiments and application scopes. The contents of this specification are not to be construed as limiting the invention.

Claims (20)

  1. 一种数据备份方法,其中,包括:A data backup method, which includes:
    获取原始待备份数据;Obtain the original data to be backed up;
    根据预设切割规则将原始待备份数据切割成多个数据段;Cutting the original data to be backed up into multiple data segments according to a preset cutting rule;
    对所述多个数据段进行组合,得到区别于所述原始待备份数据的目标待备份数据;Combining the plurality of data segments to obtain target to be backed up data that is different from the original data to be backed up;
    将目标待备份数据备份至服务器。Back up the target data to be backed up to the server.
  2. 如权利要求1所述的数据备份方法,其中,所述对所述多个数据段进行组合,包括:The data backup method of claim 1, wherein the combining the plurality of data segments comprises:
    从多种预设组合方式中选取目标组合方式;Select a target combination method from a plurality of preset combinations;
    根据目标组合方式对所述多个数据段进行组合。The plurality of data segments are combined according to a target combination manner.
  3. 如权利要求1所述的数据备份方法,其中,所述将目标待备份数据备份至服务器,包括:The data backup method of claim 1, wherein the backing up the target data to be backed up to the server comprises:
    将所述目标待备份数据切割成多个备份数据段;Cutting the target data to be backed up into multiple backup data segments;
    将所述多个备份数据段依次备份至服务器。The plurality of backup data segments are sequentially backed up to the server.
  4. 如权利要求2所述的数据备份方法,其中,在将目标待备份数据备份至服务器之后,所述数据备份方法还包括:The data backup method of claim 2, wherein after backing up the target data to be backed up to the server, the data backup method further comprises:
    接收服务器发送的备份数据;Receiving backup data sent by the server;
    根据所述目标组合方式将所述备份数据还原成多个数据段;Recovering the backup data into a plurality of data segments according to the target combination manner;
    根据所述预设切割规则对还原出的所述多个数据段进行组装,得到原始备份数据。And assembling the restored plurality of data segments according to the preset cutting rule to obtain original backup data.
  5. 如权利要求2所述的数据备份方法,其中,在对所述多个数据段进行组合之后,还包括: The data backup method of claim 2, after combining the plurality of data segments, further comprising:
    获取预设切割规则对应的规则标识、以及目标组合方式对应的方式标识;Obtaining a rule identifier corresponding to the preset cutting rule and a mode identifier corresponding to the target combination mode;
    向服务器发送给所述规则标识和方式标识。The rule identifier and mode identifier are sent to the server.
  6. 如权利要求1所述的数据备份方法,其中,根据预设切割规则将原始待备份数据切割成多个数据段,包括:The data backup method according to claim 1, wherein the original data to be backed up is cut into a plurality of data segments according to a preset cutting rule, including:
    从多种预设切割规则中选取一种预设切割规则;Selecting a preset cutting rule from a plurality of preset cutting rules;
    根据选取的预设切割规则对将原始待备份数据切割成多个数据段。The original data to be backed up is cut into a plurality of data segments according to the selected preset cutting rule.
  7. 一种数据备份装置,其中,包括:A data backup device, comprising:
    获取单元,用于获取原始待备份数据;An obtaining unit, configured to obtain original data to be backed up;
    切割单元,用于根据预设切割规则将原始待备份数据切割成多个数据段;a cutting unit, configured to cut the original data to be backed up into a plurality of data segments according to a preset cutting rule;
    组合单元,用于对所述多个数据段进行组合,得到区别于所述原始待备份数据的目标待备份数据;a combination unit, configured to combine the plurality of data segments to obtain target to be backed up data that is different from the original data to be backed up;
    备份单元,用于将目标待备份数据备份至服务器。A backup unit that backs up the data to be backed up to the server.
  8. 如权利要求7所述的数据备份装置,其中,所述组合单元,包括:The data backup device of claim 7, wherein the combination unit comprises:
    选取子单元,用于从多种预设组合方式中选取目标组合方式;Select a sub-unit for selecting a target combination mode from a plurality of preset combinations;
    组合子单元,用于根据目标组合方式对所述多个数据段进行组合。Combining subunits for combining the plurality of data segments according to a target combination manner.
  9. 如权利要求7所述的数据备份装置,其中,所述备份单元,具体包括:The data backup device of claim 7, wherein the backup unit comprises:
    切割子单元,用于将所述目标待备份数据切割成多个备份数据段;a cutting subunit, configured to cut the target data to be backed up into multiple backup data segments;
    备份子单元,用于将所述多个备份数据段依次备份至服务器。a backup subunit, configured to sequentially back up the multiple backup data segments to the server.
  10. 如权利要求8所述的数据备份装置,其中,所述数据备份装置还包括:The data backup device of claim 8, wherein the data backup device further comprises:
    接收单元,用于在备份单元将目标待备份数据备份至服务器之后,接收服务器发送的备份数据;a receiving unit, configured to receive backup data sent by the server after the backup unit backs up the target data to be backed up to the server;
    数据段还原单元,用于根据所述目标组合方式将所述备份数据还原成多个数据段;a data segment restoring unit, configured to restore the backup data to a plurality of data segments according to the target combination manner;
    数据还原单元,用于根据所述预设切割规则对还原出的所述多个数据段进行组装,得到原始备份数据。And a data restoring unit, configured to assemble the restored plurality of data segments according to the preset cutting rule to obtain original backup data.
  11. 如权利要求7所述的数据备份装置,其中,所述数据备份装置还包括:发送单元;The data backup device of claim 7, wherein the data backup device further comprises: a sending unit;
    所述发送单元,用于获取预设切割规则对应的规则标识、以及目标组合方式对应的方式标识;向服务器发送给所述规则标识和方式标识。The sending unit is configured to obtain a rule identifier corresponding to the preset cutting rule and a mode identifier corresponding to the target combination mode, and send the rule identifier and the mode identifier to the server.
  12. 如权利要求7所述的数据备份装置,其中,切割单元,用于:The data backup device according to claim 7, wherein the cutting unit is configured to:
    从多种预设切割规则中选取一种预设切割规则;Selecting a preset cutting rule from a plurality of preset cutting rules;
    根据选取的预设切割规则对将原始待备份数据切割成多个数据段。The original data to be backed up is cut into a plurality of data segments according to the selected preset cutting rule.
  13. 一种数据备份系统,其中,包括终端和服务器;所述终端包括如权利要求7-12任一项所述的数据备份装置。A data backup system, comprising a terminal and a server; the terminal comprising the data backup device according to any one of claims 7-12.
  14. 一种存储介质,其中,所述存储介质中存储有多条指令,所述指令适于由处理器加载以执行如权利要求1-6任一项所述的方法。A storage medium, wherein the storage medium stores a plurality of instructions adapted to be loaded by a processor to perform the method of any of claims 1-6.
  15. 一种电子设备,其中,包括处理器和存储器,所述存储器存储有多条指令,所述处理器加载所述存储器中的指令用于执行以下步骤:An electronic device, comprising a processor and a memory, the memory storing a plurality of instructions, the processor loading instructions in the memory for performing the following steps:
    获取原始待备份数据;Obtain the original data to be backed up;
    根据预设切割规则将原始待备份数据切割成多个数据段;Cutting the original data to be backed up into multiple data segments according to a preset cutting rule;
    对所述多个数据段进行组合,得到区别于所述原始待备份数据的目标待备份数据;Combining the plurality of data segments to obtain target to be backed up data that is different from the original data to be backed up;
    将目标待备份数据备份至服务器。Back up the target data to be backed up to the server.
  16. 如权利要求15所述的电子设备,其中,所述处理器用于执行以下步骤:The electronic device of claim 15 wherein said processor is operative to perform the steps of:
    从多种预设组合方式中选取目标组合方式;Select a target combination method from a plurality of preset combinations;
    根据目标组合方式对所述多个数据段进行组合。The plurality of data segments are combined according to a target combination manner.
  17. 如权利要求15所述的电子设备,其中,所述处理器用于执行以下步骤:The electronic device of claim 15 wherein said processor is operative to perform the steps of:
    将所述目标待备份数据切割成多个备份数据段;Cutting the target data to be backed up into multiple backup data segments;
    将所述多个备份数据段依次备份至服务器。The plurality of backup data segments are sequentially backed up to the server.
  18. 如权利要求16所述的电子设备,其中,所述处理器还用于执行以下步骤:The electronic device of claim 16 wherein said processor is further operative to perform the steps of:
    在将目标待备份数据备份至服务器之后,接收服务器发送的备份数据;Receiving backup data sent by the server after backing up the target data to be backed up to the server;
    根据所述目标组合方式将所述备份数据还原成多个数据段;Recovering the backup data into a plurality of data segments according to the target combination manner;
    根据所述预设切割规则对还原出的所述多个数据段进行组装,得到原始备份数据。And assembling the restored plurality of data segments according to the preset cutting rule to obtain original backup data.
  19. 如权利要求16所述的电子设备,其中,所述处理器还用于执行以下步骤:The electronic device of claim 16 wherein said processor is further operative to perform the steps of:
    在对所述多个数据段进行组合之后,获取预设切割规则对应的规则标识、以及目标组合方式对应的方式标识;After the multiple data segments are combined, the rule identifier corresponding to the preset cutting rule and the mode identifier corresponding to the target combination mode are obtained;
    向服务器发送给所述规则标识和方式标识。The rule identifier and mode identifier are sent to the server.
  20. 如权利要求16所述的电子设备,其中,所述处理器用于执行以下步骤:The electronic device of claim 16 wherein said processor is operative to perform the steps of:
    从多种预设切割规则中选取一种预设切割规则;Selecting a preset cutting rule from a plurality of preset cutting rules;
    根据选取的预设切割规则对将原始待备份数据切割成多个数据段。The original data to be backed up is cut into a plurality of data segments according to the selected preset cutting rule.
PCT/CN2017/094817 2016-10-25 2017-07-28 Data backup method, device, system, storage medium, and electronic device WO2018076842A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610951753.X 2016-10-25
CN201610951753.XA CN106550032A (en) 2016-10-25 2016-10-25 A kind of data back up method, apparatus and system

Publications (1)

Publication Number Publication Date
WO2018076842A1 true WO2018076842A1 (en) 2018-05-03

Family

ID=58392764

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/094817 WO2018076842A1 (en) 2016-10-25 2017-07-28 Data backup method, device, system, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN106550032A (en)
WO (1) WO2018076842A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010120A (en) * 2021-04-27 2021-06-22 宏图智能物流股份有限公司 Method for realizing distributed storage of voice data in round robin mode

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106550032A (en) * 2016-10-25 2017-03-29 广东欧珀移动通信有限公司 A kind of data back up method, apparatus and system
CN109660560A (en) * 2019-01-23 2019-04-19 视联动力信息技术股份有限公司 A kind of method of data synchronization and system
CN110658395A (en) * 2019-07-08 2020-01-07 南京铁道职业技术学院 Subway train traction inverter test system and method
CN110889763B (en) * 2019-11-21 2023-05-23 云南经济管理学院 Financial management system based on big data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1334951A (en) * 1999-01-28 2002-02-06 保仓丰 Method for securing safety of electronic information
CN101022612A (en) * 2006-02-16 2007-08-22 杭州波导软件有限公司 Mobile terminal user information data duplicate method
CN103279693A (en) * 2013-05-30 2013-09-04 付弦 File encryption method
CN104902010A (en) * 2015-04-30 2015-09-09 浙江工商大学 Cloud storage method and system for file
US20160105509A1 (en) * 2014-10-14 2016-04-14 Fujitsu Limited Method, device, and medium
CN106550032A (en) * 2016-10-25 2017-03-29 广东欧珀移动通信有限公司 A kind of data back up method, apparatus and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1334951A (en) * 1999-01-28 2002-02-06 保仓丰 Method for securing safety of electronic information
CN101022612A (en) * 2006-02-16 2007-08-22 杭州波导软件有限公司 Mobile terminal user information data duplicate method
CN103279693A (en) * 2013-05-30 2013-09-04 付弦 File encryption method
US20160105509A1 (en) * 2014-10-14 2016-04-14 Fujitsu Limited Method, device, and medium
CN104902010A (en) * 2015-04-30 2015-09-09 浙江工商大学 Cloud storage method and system for file
CN106550032A (en) * 2016-10-25 2017-03-29 广东欧珀移动通信有限公司 A kind of data back up method, apparatus and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010120A (en) * 2021-04-27 2021-06-22 宏图智能物流股份有限公司 Method for realizing distributed storage of voice data in round robin mode
CN113010120B (en) * 2021-04-27 2022-07-29 宏图智能物流股份有限公司 Method for realizing distributed storage of voice data in round robin mode

Also Published As

Publication number Publication date
CN106550032A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
WO2018076819A1 (en) Data upload method, apparatus, storage medium, electronic device and system
WO2018076866A1 (en) Data processing method, device, storage medium, electronic device and server
WO2018076842A1 (en) Data backup method, device, system, storage medium, and electronic device
WO2018076864A1 (en) Data synchronization method, apparatus, storage medium and electronic device
WO2018076818A1 (en) Data backup method, apparatus, electronic device, storage medium, and system
WO2018090823A1 (en) Method and system for protecting system partition key data, and terminal
WO2017069595A1 (en) Electronic device and method for executing function using speech recognition thereof
WO2018076888A1 (en) Method, device and system for synchronizing data of mobile terminal, storage medium and mobile terminal
WO2017142373A1 (en) Method of controlling the sharing of videos and electronic device adapted thereto
WO2018076889A1 (en) Data backup method, device, system, storage medium and server
WO2017071330A1 (en) Data encryption and decryption method and encryption and decryption device
WO2018026059A1 (en) Mobile terminal and control method thereof
WO2017071324A1 (en) File-transmission encryption and decryption method and encryption and decryption device
WO2018076812A1 (en) Data request response method and device, storage medium, server and system
WO2018076868A1 (en) Data synchronization method, device and system, storage medium and server
WO2018076867A1 (en) Data backup deleting method, device and system, storage medium and server
WO2018076841A1 (en) Data sharing method, apparatus, storage medium and server
WO2015180013A1 (en) Touch operation method and apparatus for terminal
WO2020246822A1 (en) Electronic device and method for switching electronic device between dual standby mode and single standby mode
WO2017206878A1 (en) Wakeup lock-based processing method and apparatus, storage medium, and electronic device
WO2017206883A1 (en) Application processing method and apparatus, storage medium, and electronic device
WO2018076830A1 (en) Method and device for adjusting data synchronization cycle, electronic device, storage medium, and system
WO2017206862A1 (en) Bright screen lock-based processing method and apparatus, storage medium, and electronic device
WO2018076840A1 (en) Data sharing method, device, storage medium and server
WO2017071326A1 (en) Terminal control method, device and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17864608

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17864608

Country of ref document: EP

Kind code of ref document: A1