A data backup method and device, electronic device and readable storage medium
By visualizing the identification of electronic devices and servers, and triggering the data backup function by changing the identification location, the problem of cumbersome data backup process in the prior art is solved, and simpler and more efficient data backup operations are achieved.
Patent Information
- Application Number
- CN202111210753.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-18
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2041-10-18
AI Technical Summary
In the prior art, data backup and recovery processes are cumbersome, data selection takes a long time and is inconvenient to operate.
By visualizing the electronic device and the server into the first identifier and the target identifier, changing the position of the first identifier to at least partially overlap with the target identifier, the data backup function is triggered to avoid layer-by-layer clicking operations.
It reduces the difficulty of users' understanding, simplifies the operation process, reduces the time-consuming process of selecting data, and improves the efficiency of data backup.
Smart Images

Figure CN113946472B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of data backup, and specifically relates to a data backup method and device, an electronic device, and a readable storage medium. Background Art
[0002] Currently, many manufacturers provide users with data backup and recovery functions. Regular or manual data backup can help users save a copy of personal device data in the cloud space in a timely manner, avoiding major data loss in scenarios such as device loss, accidental deletion, etc.
[0003] However, the data backup and recovery processes of different service providers are cumbersome. For example, when backing up data, you need to check the data you want to back up one by one, start the backup, and complete the backup. When restoring data, you need to select the data package to be restored, select the specific data item, start the recovery, and complete the recovery. In addition, the definition and use of data backup and data recovery are still relatively costly for users to understand and learn. When selecting data, since all optional data are usually presented in the form of various folders, selection takes a long time and is inconvenient to operate. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a data backup method and device, an electronic device and a readable storage medium, which can solve the problems in the prior art of cumbersome data backup and recovery processes, time-consuming data selection, and inconvenient operation.
[0005] In a first aspect, an embodiment of the present application provides a data backup method, the method comprising:
[0006] Display a first identifier and a target identifier, wherein the first identifier indicates an electronic device, and the target identifier indicates a server;
[0007] receiving a first input for the first identifier;
[0008] In response to the first input, updating a display position of the first identifier;
[0009] When the first identifier and the target identifier at least partially overlap, the data of the electronic device is backed up to the server.
[0010] In a second aspect, an embodiment of the present application provides a data backup device, the device comprising:
[0011] A first display module, configured to display a first identifier and a target identifier, wherein the first identifier indicates an electronic device, and the target identifier indicates a server;
[0012] A first receiving module, configured to receive a first input for the first identifier;
[0013] An updating module, configured to update a display position of the first identifier in response to the first input;
[0014] The first backup module is used to back up the data of the electronic device to the server when the first identifier and the target identifier at least partially overlap.
[0015] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0016] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0017] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0018] In the embodiment of the present application, the electronic device and the server are visualized as a first identifier and a target identifier, and by changing the position of the first identifier, when the first identifier and the target identifier at least partially overlap, the function of the electronic device to back up data to the server is triggered, without the need for layer-by-layer point-by-point operations, thereby reducing the difficulty of user understanding, facilitating user operation, and reducing selection time. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A flowchart of a data backup method provided in an embodiment of the present application;
[0020] Figure 2 A schematic diagram of a first identifier and a target identifier provided in an embodiment of the present application;
[0021] Figure 3 A schematic diagram of updating the display position of a first logo provided in an embodiment of the present application;
[0022] Figure 4 A schematic diagram of backing up data of an electronic device to a server provided in an embodiment of the present application;
[0023] Figure 5 A schematic diagram of completing data backup of an electronic device provided in an embodiment of the present application;
[0024] Figure 6 A schematic diagram of updating the display position of the first sub-identity provided in an embodiment of the present application;
[0025] Figure 7 A schematic diagram of sending data from a first electronic device to a second electronic device provided in an embodiment of the present application;
[0026] Figure 8 A schematic diagram showing that data transmission of a first electronic device is completed according to an embodiment of the present application;
[0027] Fig. 9 A schematic diagram of a second input provided in an embodiment of the present application;
[0028] Fig.10 A schematic diagram of a sub-icon provided in an embodiment of the present application;
[0029] Fig.11 A schematic diagram of the structure of a data backup device provided in an embodiment of the present application;
[0030] Fig.12 A schematic diagram of the structure of an electronic device according to an embodiment of the present application;
[0031] Fig.13 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0033] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0034] In conjunction with the accompanying drawings, a data backup method and device thereof, an electronic device, and a readable storage medium provided in an embodiment of the present application are described in detail below through specific embodiments and their application scenarios.
[0035] Please refer to Figure 1 , Figure 1A flowchart of a data backup method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the data backup method in the embodiment of the present application includes the following steps:
[0036] Step 101: Displaying a first identifier and a target identifier, wherein the first identifier indicates an electronic device, and the target identifier indicates a server;
[0037] In the embodiment of the present application, the electronic device and the server are visualized, the first identifier is used to represent the electronic device, and the target identifier is used to represent the server.
[0038] Step 102: receiving a first input for the first identifier;
[0039] Step 103: in response to the first input, updating the display position of the first logo;
[0040] Exemplarily, the first input may be an input of dragging the first identifier to a first position on a display screen of an electronic device, in which case the electronic device will update the display position of the first identifier to the first position in response to the first input; or, the first input may be an input of clicking the first identifier and then clicking again at a second position on the display screen of the electronic device, in which case the electronic device will update the display position of the first identifier to the second position in response to the first input. The form of the first input may be set as required and is not specifically limited in the embodiments of the present application.
[0041] Step 104: When the first identifier and the target identifier at least partially overlap, back up the data of the electronic device to the server.
[0042] In an embodiment of the present application, if the first input causes the first identifier to at least partially overlap with the target identifier, the electronic device indicated by the first identifier will back up its own data to the server indicated by the target identifier, thereby realizing a data backup function.
[0043] Therefore, in the embodiment of the present application, by visualizing the electronic device (i.e., the terminal side) and the server (cloud server side) as a first identifier and a target identifier, and by changing the position of the first identifier, when the first identifier and the target identifier at least partially overlap, the function of the electronic device to back up data to the server is triggered, without the need for layer-by-layer point-by-point operations, thereby reducing the difficulty of user understanding, facilitating user operation, and reducing selection time.
[0044] In some embodiments of the present application, optionally, the first identifier includes a first sub-identifier and a second sub-identifier, the first sub-identifier indicates a first electronic device, and the second sub-identifier indicates a second electronic device; and the receiving a first input for the first identifier includes:
[0045] receiving an input for the first sub-identifier;
[0046] The updating of the display position of the first mark includes:
[0047] Updating the display position of the first sub-identity;
[0048] The method further comprises:
[0049] When the first sub-identifier and the second sub-identifier at least partially overlap, the data of the first electronic device is sent to the second electronic device.
[0050] Exemplarily, a first sub-identifier and a second sub-identifier are displayed in the backup page, wherein the first sub-identifier is used to represent the first electronic device, and the second sub-identifier is used to represent the second electronic device; then the receiving of the first input for the first identifier may be receiving an input for the first sub-identifier, in which case the electronic device will respond to the input and update the display position of the first sub-identifier. Of course, optionally, the receiving of the first input for the first identifier may also be receiving an input for the second sub-identifier, in which case the electronic device will respond to the input and update the display position of the second sub-identifier. In fact, the first identifier may also include more sub-identifiers in addition to the first sub-identifier and the second sub-identifier to represent more electronic devices.
[0051] In an embodiment of the present application, if the input of the first sub-identifier causes the first sub-identifier to at least partially overlap with the second sub-identifier, the first electronic device indicated by the first sub-identifier will send its own data to the second electronic device indicated by the second sub-identifier, thereby realizing data transmission.
[0052] Therefore, the originally complicated data transmission process between different electronic devices can be completed through a simple icon dragging operation, which greatly improves the operation efficiency and reduces the difficulty and time of sending trigger.
[0053] Please refer to Figures 2 to 5 , Figure 2 A schematic diagram of a first identifier and a target identifier provided in an embodiment of the present application, Figure 3 A schematic diagram of updating the display position of the first logo provided in an embodiment of the present application, Figure 4 A schematic diagram of backing up data of an electronic device to a server provided in an embodiment of the present application, Figure 5 This is a schematic diagram of the completion of data backup of the electronic device provided in the embodiment of the present application. Figures 2 to 5As shown, in an embodiment of the present application, illustratively, a first identifier 21 and a target identifier 22 are displayed on the data backup interface, wherein the first identifier 21 is in the shape of a circular bubble, and there may be multiple first identifiers 21, each of which corresponds to an electronic device, and optionally, the servers used for data backup and recovery of each electronic device are the same, and the target identifier 22 is in the shape of a cloud, i.e., it is used to indicate the server. When a first input is received for the first identifier 21, for example, the first input is an input of dragging the first identifier 21, the electronic device will update the display position of the first identifier 21 in response to the first input, and if the first identifier 21 is moved to at least partially overlap with the target identifier 22, the data of the electronic device corresponding to the first identifier 21 will be backed up to the server corresponding to the target identifier 22.
[0054] Optionally, during the backup process, a backup progress icon, such as a circular progress bar, may be displayed adjacent to the target identifier 22 so that the user can obtain the backup progress. After the backup is completed, a backup completion icon, such as “√”, may be displayed adjacent to the target identifier 22, after which the data backup interface returns to the previous state. Figure 2 The interface shown in , that is, the first mark 21 is displayed again at the original position.
[0055] In some embodiments of the present application, optionally, when the first sub-identifier and the second sub-identifier at least partially overlap, sending the data of the first electronic device to the second electronic device includes:
[0056] When the first sub-identifier and the second sub-identifier at least partially overlap, acquiring data of the server;
[0057] In a case where the data of the server includes the data of the first electronic device, sending the data of the first electronic device to the second electronic device through the server;
[0058] In a case where the data on the server does not include the data on the first electronic device, the data on the first electronic device is backed up in the server, and the data on the first electronic device is sent to the second electronic device via the server.
[0059] In an embodiment of the present application, if the first sub-identifier and the second sub-identifier at least partially overlap, the data of the server is first obtained. The server is a data backup and recovery server commonly used by the first electronic device and the second electronic device, that is, it can be considered that the server can establish a connection with the first electronic device and the second electronic device and transmit data. When it is found that the data of the server includes the data of the first electronic device, that is, the first electronic device has backed up its own data to the server, the data backed up by the first electronic device on it can be sent to the second electronic device through the server, thereby completing the purpose of sending the data of the first electronic device to the second electronic device; if the data of the server does not include the data of the first electronic device, that is, the first electronic device has not backed up its own data to the server, the data of the first electronic device can be backed up to the server first, and then the data of the first electronic device can be sent to the second electronic device through the server, finally completing the process of sending the data of the first electronic device to the second electronic device.
[0060] In some embodiments of the present application, optionally, when the data on the server includes the data of the first electronic device, the first electronic device may generate a data recovery instruction and send it to the server, and the data recovery instruction is used to enable the server to send the data of the first electronic device in the server to the second electronic device. After receiving the data recovery instruction, the server will respond to the data recovery instruction and send the backup data of the first electronic device in the server to the second electronic device.
[0061] In some other embodiments of the present application, optionally, when the data on the server does not include the data of the first electronic device, after the first electronic device uploads its own data to the server, a data recovery instruction can be generated and sent to the server. After receiving the data recovery instruction, the server will respond to the data recovery instruction and send the backup data of the first electronic device in the server to the second electronic device.
[0062] Please refer to Figures 6 to 8 , Figure 6 A schematic diagram of updating the display position of the first sub-identity provided in an embodiment of the present application, Figure 7 A schematic diagram of sending data from a first electronic device to a second electronic device provided in an embodiment of the present application, Figure 8A schematic diagram of the completion of data transmission of the first electronic device provided in the embodiment of the present application. In the embodiment of the present application, optionally, the first identifier includes a first sub-identifier and a second sub-identifier, that is, a first sub-identifier 211 and a second sub-identifier 212 are displayed on the data backup interface, wherein the first sub-identifier 211 and the second sub-identifier 212 are both in the shape of circular bubbles, wherein the first sub-identifier 211 is used to indicate the first electronic device, and the second sub-identifier 212 is used to indicate the second electronic device. In the case of receiving an input for the first sub-identifier 211, for example, the first input is an input of dragging the first sub-identifier 211, the electronic device will respond to the first input and update the display position of the first sub-identifier 211. If the first sub-identifier is moved to at least partially overlap with the second sub-identifier 212, the data of the first electronic device corresponding to the first sub-identifier 211 can be sent to the second electronic device corresponding to the second sub-identifier 212.
[0063] Optionally, when the first sub-identity 212 and the second sub-identity 212 at least partially overlap, the first sub-identity 212 may be reduced and displayed within the second sub-identity 212 .
[0064] Optionally, during the backup process, a sending progress icon, such as a circular progress bar, can be displayed adjacent to the second sub-identifier 212 so that the user can obtain the sending progress. After the sending is completed, a sending completion icon, such as “√”, can be displayed adjacent to the second sub-identifier 212. After that, the data backup interface returns to the interface before receiving the first input, that is, the first sub-identifier 211 is displayed again at the original position.
[0065] In the embodiment of the present application, optionally, before receiving the first input for the first identifier, the method further includes:
[0066] receiving a second input for the first identifier;
[0067] In response to the second input, displaying at least one sub-icon corresponding to the first identifier, each of the sub-icons indicating a type of data of the electronic device;
[0068] The receiving a first input for the first identifier includes
[0069] receiving a first input for a first sub-icon of the at least one sub-icon;
[0070] The updating of the display position of the first mark in response to the first input includes:
[0071] In response to the first input, updating a display position of the first sub-icon;
[0072] The step of backing up the data of the electronic device to the server when the first identifier at least partially overlaps with the target identifier includes:
[0073] When the display position of the first sub-icon at least partially overlaps with the target identifier, data of a type corresponding to the first sub-icon in the electronic device is backed up to the server.
[0074] In this embodiment, the data classification of the electronic device corresponding to the first identifier can be viewed through the second input. Specifically, when the second input for the first identifier is received, for example, the second input is a touch input in which two fingers touch the first identifier at the same time and move in opposite directions, or the second input is a touch input of double-clicking the first identifier, the electronic device will respond to the second input and display at least one sub-icon corresponding to the first identifier, each of which indicates a type of data of the electronic device corresponding to the first identifier. Exemplarily, the at least one sub-icon can be displayed on the periphery of the first icon. Optionally, when the at least one sub-icon has occupied a circle around the periphery of the first identifier, it can continue to be displayed on the periphery of the first circle, and so on. Optionally, the data classification name can be marked on the sub-icon. Exemplarily, the data classification name can include: system data, photo album, application, call log, text message, contact, note, etc., so that the user can intuitively view the data of the electronic device corresponding to the first identifier, so as to quickly know the specific situation of the data, so as to quickly select the data that needs to be backed up or restored later.
[0075] In some specific implementations, the first logo and the sub-icon are both bubble icons, such as circular bubble shapes. Optionally, the area of the first logo is larger than the area of the sub-icon.
[0076] Please refer to Fig. 9 and Fig.10 , Fig. 9 A schematic diagram of a second input provided in an embodiment of the present application, Fig.10 Schematic diagram of a sub-icon provided in an embodiment of the present application. Fig. 9 and Fig.10 As shown, in the embodiment of the present application, the second input can be a touch input in which two fingers simultaneously touch the first identifier 21 and then move in opposite directions. The electronic device will respond to the second input by displaying seven sub-icons 2111 corresponding to the first identifier 21 on the periphery of the first identifier 21. The data corresponding to the seven sub-icons 2111 are respectively classified into: system data, photo album, application, call log, text messages, contacts and notes.
[0077] In an embodiment of the present application, further, receiving a first input for the first identifier includes receiving a first input for a first sub-icon among the at least one sub-icon; exemplarily, the first input for the first sub-icon among the at least one sub-icon may be an input for dragging the first sub-icon, or an input for clicking the first sub-icon and then clicking again at other locations on the display screen of the electronic device, and correspondingly, the electronic device will update the display position of the first sub-icon in response to the first input.
[0078] In some embodiments of the present application, when the display position of the first sub-icon at least partially overlaps with the target identifier, the data of the type corresponding to the first sub-icon in the electronic device is backed up to the server. That is to say, if the first input to the first sub-icon causes the first sub-icon to at least partially overlap with the target identifier, the electronic device will back up the data of the type corresponding to the first sub-icon therein to the server, thereby realizing the backup of a certain type of data. Exemplarily, if the corresponding type of the first sub-icon is an album, the electronic device will back up the album data (i.e., the pictures in the album of the electronic device) to the server. Thus, the user can independently choose a certain type of data to be backed up to the server according to personal needs, thereby meeting the user's personalized needs.
[0079] In some embodiments of the present application, optionally, after displaying at least one sub-icon corresponding to the first identifier and before receiving a first input for a first sub-icon in the at least one sub-icon, the method further includes:
[0080] N sub-icons of the at least one sub-icon are in a target state;
[0081] The receiving a first input for a first sub-icon among the at least one sub-icon comprises:
[0082] receiving a first input for a third sub-icon in a target state;
[0083] The updating, in response to the first input, of a display position of the first sub-icon includes:
[0084] In response to the first input, updating a display position of a target sub-icon;
[0085] When the display position of the first sub-icon at least partially overlaps with the target identifier, backing up data of a type corresponding to the first sub-icon in the electronic device to the server includes:
[0086] In a case where the target sub-icon at least partially overlaps with the target identifier, backing up data of a type corresponding to all sub-icons in the target state in the electronic device to the server;
[0087] The target sub-icon is the third sub-icon or all sub-icons in the target state, and N is a positive integer.
[0088] Exemplarily, by receiving a third input for N sub-icons, N sub-icons out of the at least one sub-icon can be in a target state, wherein N is a positive integer, and the target state can be a selected state, for example, the N sub-icons are filled with shadows, etc., and the third input can be an input for clicking on the sub-icon, and the clicked N sub-icons will be in the target state.
[0089] Based on this, the receiving of the first input for the first sub-icon in the at least one sub-icon includes receiving the first input for the third sub-icon in the target state; similarly, the first input for the third sub-icon in the target state can be an input of dragging the third sub-icon in the target state, or an input of clicking the third sub-icon in the target state and then clicking again at another position on the electronic device display screen, and correspondingly, the electronic device will update the display position of the target sub-icon in response to the first input, wherein the target sub-icon is the third sub-icon targeted by the first input, or is all sub-icons in the target state like the third sub-icon. Thus, by making N sub-icons in the target state, when the first input is subsequently made for the third sub-icon in the target state, the electronic device can update the display position of the third sub-icon or all sub-icons in the target state, thereby improving input efficiency and facilitating user operation.
[0090] In the embodiment of the present application, when the display position of the target sub-icon overlaps at least partially with the target identifier, the data of the type corresponding to all the sub-icons in the target state in the electronic device is backed up to the server. That is, if the first input for the third sub-icon in the target state makes the target sub-icon (i.e., the third sub-icon or all the sub-icons in the target state) overlap at least partially with the target identifier, the electronic device will back up the data of the type corresponding to all the sub-icons in the target state to the server, thereby realizing the backup of the data of the type corresponding to all the sub-icons in the target state. Exemplarily, if there are multiple sub-icons in the target state, and the corresponding types include photo albums, call records, text messages, and contacts, the electronic device will back up the data of the photo albums, call records, text messages, and contacts to the server. Thus, the user can independently select one or more types of data to be backed up to the server according to personal needs, meeting the personalized needs of the user, and after making N sub-icons in the target state, the user only needs one operation / input to realize the backup of multiple types of data, which simplifies the difficulty of user operation and reduces the time required to trigger the backup.
[0091] In some other embodiments of the present application, optionally, after displaying at least one sub-icon corresponding to the first identifier, a third input for the sub-icon may also be received;
[0092] In response to the third input, changing the display state of the sub-icon;
[0093] When the first identifier and the target identifier at least partially overlap, backing up the data of the electronic device to the server includes:
[0094] The data corresponding to the sub-icon whose display status is changed is backed up to the server.
[0095] That is to say, data selection can be performed through a third input. Specifically, when a third input for a displayed sub-icon is received, for example, the third input is a touch input of a single click or double click of a sub-icon, the electronic device will respond to the third input and change the display state of the single clicked or double clicked sub-icon. Optionally, the change of the display state of the sub-icon includes: filling the enclosed area of the selected target sub-icon with a shadow. Thus, the selected sub-icon can be clearly distinguished from the unselected sub-icon. Then in the subsequent steps, when the first identifier and the target identifier overlap at least partially, the step of backing up the data of the electronic device to the server specifically includes: backing up the data corresponding to the sub-icon whose display state is changed to the server. That is to say, by first selecting the data category to be sent or backed up, when the data of the electronic device corresponding to the first identifier is backed up to the server corresponding to the target identifier, only the data corresponding to the sub-icon whose display state is changed (that is, the selected sub-icon) is backed up / sent to the server.
[0096] Therefore, in the embodiment of the present application, by using sub-icons to classify the data of the electronic device, the user can quickly select the data category that needs to be backed up or restored, and then quickly back up or restore the corresponding data. Since the various types of data are displayed clearly, it is easy to select, which greatly reduces the difficulty of user operation and understanding, and improves the efficiency of data backup / restore. In addition, by visualizing the first logo, sub-icons, etc. into bubble shapes, the fun of operation is improved and it is easy for users to identify. By filling the enclosed area of the target sub-icon with a shadow, it is convenient for users to intuitively and quickly confirm which data is selected and which data is not selected, reducing the difficulty of user understanding.
[0097] In some embodiments of the present application, similarly, in a scheme where the first identifier includes a first sub-identifier and a second sub-identifier, the first sub-identifier indicates a first electronic device, and the second sub-identifier indicates a second electronic device, when the first sub-identifier and the second sub-identifier at least partially overlap, the data to be sent on the first electronic device corresponding to the first sub-identifier is first selected in the above-mentioned manner, and when the data of the first electronic device is subsequently sent to the second electronic device, only the data corresponding to the sub-icon whose display state has changed (i.e., the selected sub-icon) can be sent to the second electronic device.
[0098] In summary, in the embodiments of the present application, by visualizing the electronic device and the server as a first identifier and a target identifier, and by changing the position of the first identifier, when the first identifier and the target identifier at least partially overlap, the function of the electronic device to back up data to the server is triggered, without the need for layer-by-layer point-by-point operations, thereby reducing the difficulty of user understanding, facilitating user operation, and reducing selection time.
[0099] It should be noted that the data backup method provided in the embodiment of the present application can be executed by a data backup device or a control module in the data backup device for executing the data backup method. In the embodiment of the present application, the data backup device provided in the embodiment of the present application is described by taking the data backup method executed by the data backup device as an example.
[0100] Please refer to Fig.11 , Fig.11 This is a schematic diagram of the structure of a data backup device provided in an embodiment of the present application. Fig.11 As shown, another aspect of the present application further provides a data backup device, the device 110 comprising:
[0101] A first display module 111, configured to display a first identifier and a target identifier, wherein the first identifier indicates an electronic device, and the target identifier indicates a server;
[0102] A first receiving module 112, configured to receive a first input for the first identifier;
[0103] An updating module 113, configured to update a display position of the first identifier in response to the first input;
[0104] The first backup module 114 is configured to back up the data of the electronic device to the server when the first identifier at least partially overlaps with the target identifier.
[0105] Optionally, the first identifier includes a first sub-identifier and a second sub-identifier, the first sub-identifier indicates a first electronic device, and the second sub-identifier indicates a second electronic device; and the first receiving module includes:
[0106] A first receiving unit, configured to receive an input for the first sub-identifier;
[0107] The update module includes:
[0108] A first updating unit, configured to update a display position of the first sub-identity;
[0109] The device also includes:
[0110] The second backup module is configured to send the data of the first electronic device to the second electronic device when the first sub-identifier at least partially overlaps with the second sub-identifier.
[0111] Optionally, the second backup module includes:
[0112] an acquiring unit, configured to acquire data of the server when the first sub-identifier and the second sub-identifier at least partially overlap;
[0113] a first sending unit, configured to send the data of the first electronic device to the second electronic device through the server when the data of the server includes the data of the first electronic device;
[0114] The second sending unit is used to back up the data of the first electronic device to the server when the data on the server does not include the data of the first electronic device, and send the data of the first electronic device to the second electronic device through the server.
[0115] Optionally, the device further comprises:
[0116] A second receiving module, configured to receive a second input for the first identifier;
[0117] A second display module, configured to display at least one sub-icon corresponding to the first identifier in response to the second input, each of the sub-icons indicating a type of data of the electronic device;
[0118] The first receiving module comprises:
[0119] A second receiving unit, configured to receive a first input for a first sub-icon among the at least one sub-icon;
[0120] The update module includes:
[0121] a first updating unit, configured to update a display position of the first sub-icon in response to the first input;
[0122] The first backup module is further configured to back up data of a type corresponding to the first sub-icon in the electronic device to the server when the display position of the first sub-icon at least partially overlaps with the target identifier.
[0123] Optionally, N sub-icons in the at least one sub-icon are in a target state;
[0124] The second receiving unit includes:
[0125] a receiving subunit, configured to receive a first input for a third sub-icon in a target state;
[0126] The first updating unit comprises:
[0127] an updating subunit, configured to update a display position of a target sub-icon in response to the first input;
[0128] The first backup module is further configured to back up data of a type corresponding to all sub-icons in the target state in the electronic device to the server when the target sub-icon at least partially overlaps with the target identifier;
[0129] The target sub-icon is the third sub-icon or all sub-icons in the target state, and N is a positive integer.
[0130] In the embodiment of the present application, the electronic device and the server are visualized as a first identifier and a target identifier, and by changing the position of the first identifier, when the first identifier and the target identifier at least partially overlap, the function of the electronic device to back up data to the server is triggered, without the need for layer-by-layer point-by-point operations, thereby reducing the difficulty of user understanding, facilitating user operation, and reducing selection time.
[0131] The data backup device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0132] The data backup device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0133] The data backup device provided in the embodiment of the present application can achieve Figures 1 to 10 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0134] Optional, such as Fig.12 As shown, an embodiment of the present application also provides an electronic device 1200, including a processor 1201, a memory 1202, and a program or instruction stored in the memory 1202 and executable on the processor 1201. When the program or instruction is executed by the processor 1201, each process of the above-mentioned data backup method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0135] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0136] Fig.13 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0137] The electronic device 1300 includes but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, and a processor 1310 and other components.
[0138] Those skilled in the art will appreciate that the electronic device 1300 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1310 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.13 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0139] The display unit 1306 is configured to display a first identifier and a target identifier, wherein the first identifier indicates the electronic device and the target identifier indicates the server;
[0140] A user input unit 1307, configured to receive a first input for the first identifier;
[0141] The display unit 1306 is further configured to update a display position of the first identifier in response to the first input;
[0142] The processor 1310 is configured to back up the data of the electronic device to the server when the first identifier at least partially overlaps with the target identifier.
[0143] Optionally, the first identifier includes a first sub-identifier and a second sub-identifier, the first sub-identifier indicates a first electronic device, and the second sub-identifier indicates a second electronic device;
[0144] The user input unit 1307 is further configured to receive an input for the first sub-identifier;
[0145] The display unit 1306 is further configured to update a display position of the first sub-identity;
[0146] The processor 1310 is further configured to send data of the first electronic device to the second electronic device when the first sub-identifier at least partially overlaps with the second sub-identifier.
[0147] Optionally, the processor 1310 is further configured to obtain data of the server when the first sub-identifier and the second sub-identifier at least partially overlap;
[0148] The processor 1310 is further configured to send the data of the first electronic device to the second electronic device through the server when the data of the server includes the data of the first electronic device;
[0149] The processor 1310 is further configured to back up the data of the first electronic device to the server and send the data of the first electronic device to the second electronic device via the server when the data on the server does not include the data of the first electronic device.
[0150] Optionally, the user input unit 1307 is further configured to receive a second input for the first identifier;
[0151] The display unit 1306 is further configured to display at least one sub-icon corresponding to the first identifier in response to the second input, each of the sub-icons indicating a type of data of the electronic device;
[0152] The user input unit 1307 is further used to receive a third input for the sub-icon;
[0153] The display unit 1306 is further configured to change the display state of the sub-icon in response to the third input;
[0154] The user input unit 1307 is further configured to receive a first input for a first sub-icon in the at least one sub-icon;
[0155] The display unit 1306 is further configured to update a display position of the first sub-icon in response to the first input;
[0156] The processor 1310 is further configured to back up data of a type corresponding to the first sub-icon in the electronic device to the server when the display position of the first sub-icon at least partially overlaps with the target identifier.
[0157] Optionally, after displaying at least one sub-icon corresponding to the first identifier and before receiving a first input for a first sub-icon among the at least one sub-icon, N sub-icons among the at least one sub-icon are in a target state;
[0158] The user input unit 1307 is further used to receive a first input for the third sub-icon in the target state;
[0159] The display unit 1306 is further configured to update a display position of the target sub-icon in response to the first input.
[0160] The processor 1310 is further configured to back up data of a type corresponding to all sub-icons in the target state in the electronic device to the server when the target sub-icon at least partially overlaps with the target identifier;
[0161] The target sub-icon is the third sub-icon or all sub-icons in the target state, and N is a positive integer.
[0162] In the embodiment of the present application, the electronic device and the server are visualized as a first identifier and a target identifier, and by changing the position of the first identifier, when the first identifier and the target identifier at least partially overlap, the function of the electronic device to back up data to the server is triggered, without the need for layer-by-layer point-by-point operations, thereby reducing the difficulty of user understanding, facilitating user operation, and reducing selection time.
[0163] It should be understood that in the embodiment of the present application, the input unit 1304 may include a graphics processor (Graphics Processing Unit, GPU) 13041 and a microphone 13042, and the graphics processor 13041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1306 may include a display panel 13061, and the display panel 13061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1307 includes a touch panel 13071 and other input devices 13072. The touch panel 13071 is also called a touch screen. The touch panel 13071 may include two parts: a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1309 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1310 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1310.
[0164] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned data backup method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0165] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0166] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned data backup method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0167] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0168] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0169] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0170] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A data backup method, It is characterized in that include: Display a first identifier and a target identifier, wherein the first identifier indicates an electronic device, and the target identifier indicates a server; receiving a first input for the first identifier; In response to the first input, updating a display position of the first identifier; When the first identifier and the target identifier at least partially overlap, backing up the data of the electronic device to the server; Before receiving the first input for the first identifier, the method further includes: receiving a second input for the first identifier; In response to the second input, displaying at least one sub-icon corresponding to the first identifier, each of the sub-icons indicating a type of data of the electronic device; The receiving a first input for the first identifier includes: receiving a first input for a first sub-icon of the at least one sub-icon; The updating of the display position of the first mark in response to the first input includes: In response to the first input, updating a display position of the first sub-icon; The step of backing up the data of the electronic device to the server when the first identifier at least partially overlaps with the target identifier includes: When the display position of the first sub-icon at least partially overlaps with the target identifier, data of a type corresponding to the first sub-icon in the electronic device is backed up to the server.
2. The method according to claim 1, It is characterized in that The first identifier includes a first sub-identifier and a second sub-identifier, the first sub-identifier indicates a first electronic device, and the second sub-identifier indicates a second electronic device; The receiving a first input for the first identifier includes: receiving an input for the first sub-identifier; The updating of the display position of the first mark includes: Updating the display position of the first sub-identity; The method further comprises: When the first sub-identifier and the second sub-identifier at least partially overlap, the data of the first electronic device is sent to the second electronic device.
3. The method according to claim 2, It is characterized in that The sending the data of the first electronic device to the second electronic device when the first sub-identifier and the second sub-identifier at least partially overlap includes: When the first sub-identifier and the second sub-identifier at least partially overlap, acquiring data of the server; In a case where the data of the server includes the data of the first electronic device, sending the data of the first electronic device to the second electronic device through the server; In a case where the data on the server does not include the data on the first electronic device, the data on the first electronic device is backed up in the server, and the data on the first electronic device is sent to the second electronic device via the server.
4. The method according to claim 1, It is characterized in that After displaying at least one sub-icon corresponding to the first identifier and before receiving a first input for a first sub-icon among the at least one sub-icon, the method further includes: N sub-icons of the at least one sub-icon are in a target state; The receiving a first input for a first sub-icon among the at least one sub-icon comprises: receiving a first input for a third sub-icon in a target state; The updating of the display position of the first sub-icon in response to the first input includes: In response to the first input, updating a display position of a target sub-icon; When the display position of the first sub-icon at least partially overlaps with the target identifier, backing up data of a type corresponding to the first sub-icon in the electronic device to the server includes: In a case where the target sub-icon at least partially overlaps with the target identifier, backing up data of a type corresponding to all sub-icons in the target state in the electronic device to the server; The target sub-icon is the third sub-icon or all sub-icons in the target state, and N is a positive integer.
5. A data backup device, It is characterized in that include: A first display module, configured to display a first identifier and a target identifier, wherein the first identifier indicates an electronic device, and the target identifier indicates a server; A first receiving module, configured to receive a first input for the first identifier; An updating module, configured to update a display position of the first identifier in response to the first input; A first backup module, configured to back up the data of the electronic device to the server when the first identifier and the target identifier at least partially overlap; The device also includes: A second receiving module, configured to receive a second input for the first identifier; A second display module, configured to display at least one sub-icon corresponding to the first identifier in response to the second input, each of the sub-icons indicating a type of data of the electronic device; The first receiving module comprises: A second receiving unit, configured to receive a first input for a first sub-icon among the at least one sub-icon; The update module includes: a first updating unit, configured to update a display position of the first sub-icon in response to the first input; The first backup module is further configured to back up data of a type corresponding to the first sub-icon in the electronic device to the server when the display position of the first sub-icon at least partially overlaps with the target identifier.
6. The device according to claim 5, It is characterized in that The first identifier includes a first sub-identifier and a second sub-identifier, the first sub-identifier indicates a first electronic device, and the second sub-identifier indicates a second electronic device; The first receiving module comprises: A first receiving unit, configured to receive an input for the first sub-identifier; The update module includes: A first updating unit, configured to update a display position of the first sub-identity; The device also includes: The second backup module is configured to send the data of the first electronic device to the second electronic device when the first sub-identifier at least partially overlaps with the second sub-identifier.
7. The device according to claim 6, It is characterized in that The second backup module includes: an acquiring unit, configured to acquire data of the server when the first sub-identifier and the second sub-identifier at least partially overlap; a first sending unit, configured to send the data of the first electronic device to the second electronic device through the server when the data of the server includes the data of the first electronic device; The second sending unit is used to back up the data of the first electronic device to the server when the data on the server does not include the data of the first electronic device, and send the data of the first electronic device to the second electronic device through the server.
8. The device according to claim 5, It is characterized in that N sub-icons of the at least one sub-icon are in a target state; The second receiving unit comprises: a receiving subunit, configured to receive a first input for a third sub-icon in a target state; The first updating unit comprises: an updating subunit, configured to update a display position of a target sub-icon in response to the first input; The first backup module is further configured to back up data of a type corresponding to all sub-icons in the target state in the electronic device to the server when the target sub-icon at least partially overlaps with the target identifier; The target sub-icon is the third sub-icon or all sub-icons in the target state, and N is a positive integer.
9. An electronic device, It is characterized in that The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the data backup method as described in any one of claims 1 to 4.
10. A readable storage medium, It is characterized in that The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the data backup method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Transmission method and device thereof
CN113504859A