CN113946472A - Data backup method and device, electronic equipment and readable storage medium - Google Patents

Data backup method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113946472A
CN113946472A CN202111210753.1A CN202111210753A CN113946472A CN 113946472 A CN113946472 A CN 113946472A CN 202111210753 A CN202111210753 A CN 202111210753A CN 113946472 A CN113946472 A CN 113946472A
Authority
CN
China
Prior art keywords
sub
identifier
data
icon
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111210753.1A
Other languages
Chinese (zh)
Inventor
周璇
易祎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111210753.1A priority Critical patent/CN113946472A/en
Publication of CN113946472A publication Critical patent/CN113946472A/en
Priority to PCT/CN2022/124619 priority patent/WO2023066085A1/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a data backup method and device, electronic equipment and a readable storage medium, and belongs to the technical field of data backup. The data backup method comprises the following steps: displaying 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 identification; updating a display position of the first identifier in response to the first input; and under the condition that the first identifier and the target identifier are at least partially overlapped, backing up the data of the electronic equipment to the server.

Description

Data backup method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of data backup, and particularly relates to a data backup method and device, electronic equipment and a readable storage medium.
Background
At present, a plurality of manufacturers provide data backup and recovery functions for users, and data backup is performed regularly or manually, so that the users can be helped to store a copy of personal equipment data in a cloud space in time, and serious data loss caused by equipment loss, misoperation deletion and other scenes is avoided.
However, the data backup and recovery processes of different service providers are complicated, for example, during data backup, data to be backed up needs to be selected one by one, backup is started, and backup is completed, and during data recovery, a data packet to be recovered is selected, a specific data item is selected, recovery is started, and recovery is completed; moreover, the definition and use of data backup and data recovery are high for users to understand and learn, and when selecting data, all selectable data are usually presented in various folders, so that the selection is time-consuming and inconvenient to operate.
Disclosure of Invention
An embodiment of the present application provides a data backup method and apparatus, an electronic device, and a readable storage medium, which can solve the problems in the prior art that the data backup and recovery process is complicated, the time consumption of data selection is long, and the operation is inconvenient.
In a first aspect, an embodiment of the present application provides a data backup method, where the method includes:
displaying 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 identification;
updating a display position of the first identifier in response to the first input;
and under the condition that the first identifier and the target identifier are at least partially overlapped, backing up the data of the electronic equipment to the server.
In a second aspect, an embodiment of the present application provides a data backup apparatus, including:
the system comprises a first display module, a second display module and a server, wherein the first display module is used for displaying a first identifier and a target identifier, the first identifier indicates the electronic equipment, and the target identifier indicates the server;
a first receiving module for receiving a first input for the first identifier;
an update module to update a display position of the first identifier in response to the first input;
the first backup module is used for backing up the data of the electronic equipment to the server under the condition that the first identification is at least partially overlapped with the target identification.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the electronic equipment, the server and the like are visualized as the first identifier and the target identifier, and the position of the first identifier is changed, so that the function of backing up data to the server by the electronic equipment is triggered when the first identifier and the target identifier are at least partially overlapped, the layer-by-layer click operation is not needed, the understanding difficulty of a user is reduced, the user operation is facilitated, and the time consumption for selection is reduced.
Drawings
Fig. 1 is a schematic flowchart of a data backup method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a first identifier and a target identifier provided in an embodiment of the present application;
fig. 3 is a schematic diagram of updating a display position of a first identifier according to an embodiment of the present application;
fig. 4 is a schematic diagram of backing up data of an electronic device to a server according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating completion of data backup of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating updating a display position of a first sub identifier according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating sending of data of a first electronic device to a second electronic device according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating completion of data transmission of a first electronic device according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a second input provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of a sub-icon provided in accordance with an embodiment of the present application;
fig. 11 is a schematic structural diagram of a data backup apparatus according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 13 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
A data backup method and apparatus, an electronic device, and a readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a data backup method according to an embodiment of the present disclosure. As shown in fig. 1, the data backup method in the embodiment of the present application includes the following steps:
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;
in the embodiment of the application, the electronic equipment and the server are visualized, the first identifier is used for representing the electronic equipment, and the target identifier is used for representing the server.
Step 102: receiving a first input for the first identification;
step 103: updating a display position of the first identifier in response to the first input;
for example, the first input may be an input of dragging the first identifier to a first position of a display screen of the electronic device, and 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 clicked again at a second position of the display screen of the electronic device after the first identifier is clicked, the electronic device updates the display position of the first identifier to the second position in response to the first input, and the form of the first input may be set according to a requirement, which is not specifically limited in the embodiment of the present application.
Step 104: and under the condition that the first identifier and the target identifier are at least partially overlapped, backing up the data of the electronic equipment to the server.
In this embodiment of the 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 backup data of itself to the server indicated by the target identifier, thereby implementing a data backup function.
Therefore, in the embodiment of the application, the electronic equipment (namely the terminal side) and the server (the cloud server side) are visualized as the first identifier and the target identifier, and the position of the first identifier is changed, so that when the first identifier and the target identifier are at least partially overlapped, the function of the electronic equipment for backing up data to the server is triggered, the layer-by-layer click operation is not needed, the understanding difficulty of a user is reduced, the user operation is facilitated, and the time consumption for selection is reduced.
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 the first electronic device, and the second sub identifier indicates the second electronic device; the receiving a first input for the first identification comprises:
receiving input for the first sub-identifier;
the updating the display position of the first identifier comprises:
updating the display position of the first sub-identifier;
and under the condition that the first sub-identification and the second sub-identification are at least partially overlapped, transmitting the data of the first electronic equipment to the second electronic equipment.
Illustratively, a first sub identifier and a second sub identifier are displayed in the backup page, wherein the first sub identifier is used for representing the first electronic device, and the second sub identifier is used for representing the second electronic device; the receiving of the first input for the first identifier may be receiving an input for the first sub-identifier, and the electronic device may update the display position of the first sub-identifier in response to the input, but alternatively, the receiving of the first input for the first identifier may also be receiving an input for the second sub-identifier, and the electronic device may update the display position of the second sub-identifier in response to the input. In fact, the first identifier may further include more sub-identifiers besides the first sub-identifier and the second sub-identifier to characterize more electronic devices.
In this embodiment of the application, if the first sub identifier is at least partially overlapped with the second sub identifier due to the input of the first sub identifier, the first electronic device indicated by the first sub identifier sends its data to the second electronic device indicated by the second sub identifier, so as to implement sending of the data.
Therefore, the originally complex data sending process between different electronic devices is completed through simple icon dragging operation, the operation efficiency is greatly improved, and the sending triggering difficulty and time consumption are reduced.
Referring to fig. 2 to 5, fig. 2 is a schematic diagram of a first identifier and a target identifier provided in an embodiment of the present application, fig. 3 is a schematic diagram of updating a display position of the first identifier provided in the embodiment of the present application, fig. 4 is a schematic diagram of backing up data of an electronic device to a server provided in the embodiment of the present application, and fig. 5 is a schematic diagram of completing data backup of the electronic device provided in the embodiment of the present application. As shown in fig. 2 to 5, in the embodiment of the present application, for example, a first identifier 21 and a target identifier 22 are displayed on the data backup interface, where the first identifier 21 is in a circular bubble shape, the first identifier 21 may have a plurality of identifiers, each first identifier 21 corresponds to one electronic device, optionally, the servers for data backup and recovery used by the electronic devices are the same, and the target identifier 22 is in a cloud shape, that is, the target identifier is used to indicate the server. In a case where a first input for the first identifier 21 is received, for example, the first input is an input 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 is backed up on the server corresponding to the target identifier 22.
Alternatively, during the backup process, a backup progress icon, for example, a ring-shaped 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, for example, "√" is displayed adjacent to the target identifier 22, and then the data backup interface returns to the interface shown in fig. 2 again, that is, the first identifier 21 is displayed again at the original position.
In some embodiments of the application, optionally, the sending, to the second electronic device, the data of the first electronic device in the case that the first sub identifier and the second sub identifier at least partially overlap includes:
under the condition that the first sub-identifier and the second sub-identifier are at least partially overlapped, acquiring data of the server;
transmitting, by the server, the data of the first electronic device to the second electronic device if the data of the server includes the data of the first electronic device;
and under the condition that the data of the server does not comprise the data of the first electronic equipment, backing up the data of the electronic equipment to the server, and sending the data of the first electronic equipment to the second electronic equipment through the server.
In this embodiment of the application, if the first sub-identifier and the second sub-identifier are at least partially overlapped, the data of the server is obtained first, the server is a server for data backup and recovery commonly used by the first electronic device and the second electronic device, that is, the server may be considered to be capable of establishing connection with the first electronic device and the second electronic device and performing data transmission, and when the data of the server is checked to include the data of the first electronic device, that is, when the first electronic device has backed up its own data onto the server, the data backed up by the first electronic device may be sent to the second electronic device through the server, so as to complete 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 does not backup its own data to the server, the data of the first electronic device may be backed up to the server first, and then the data of the first electronic device is sent to the second electronic device through the server, and finally the process of sending the data of the first electronic device to the second electronic device is completed.
In some embodiments of the application, optionally, in a case that the data of the server includes data of the first electronic device, a data recovery instruction may be generated by the first electronic device and sent to the server, where the data recovery instruction is used to cause the server to send the data of the first electronic device in the server to the second electronic device, and after receiving the data recovery instruction, the server sends, in response to the data recovery instruction, backup data of the first electronic device in the server to the second electronic device.
In other embodiments of the present application, optionally, in a case that the data of the server does not include the data of the first electronic device, after the first electronic device uploads the data of the first electronic device to the server, a data recovery instruction is generated and sent to the server, and after receiving the data recovery instruction, the server sends, in response to the data recovery instruction, the backup data of the first electronic device in the server to the second electronic device.
Referring to fig. 6 to 8, fig. 6 is a schematic view of updating a display position of a first sub-identifier according to an embodiment of the present disclosure, fig. 7 is a schematic view of sending data of a first electronic device to a second electronic device according to an embodiment of the present disclosure, and fig. 8 is a schematic view of completing data sending of the first electronic device according to an embodiment of the present disclosure. In this embodiment of the application, optionally, the first identifier includes a first sub identifier 211 and a second sub identifier 212, that is, the first sub identifier 211 and the second sub identifier 212 are displayed on the data backup interface, where both the first sub identifier 211 and the second sub identifier 212 are in a circular bubble shape, where 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 that an input for the first sub identifier 211 is received, for example, the first input is an input dragging the first sub identifier 211, the electronic device will update the display position of the first sub identifier 211 in response to the first input, and 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 may be sent to the second electronic device corresponding to the second sub identifier 212.
Optionally, in the case that the first sub identifier 212 and the second sub identifier 212 at least partially overlap, the first sub identifier 212 may be displayed in a reduced size within the second sub identifier 212.
Alternatively, during the backup process, a sending progress icon, for example, a ring-shaped progress bar, may be displayed adjacent to the second sub-identifier 212, so that the user can obtain the sending progress, and after the sending is completed, a sending completion icon, for example, "√" may be displayed adjacent to the second sub-identifier 212, and then the data backup interface returns to the interface before the first input is received again, that is, the first sub-identifier 211 is displayed again at the original position.
In this embodiment of the application, optionally, before the receiving the first input for the first identifier, the method further includes:
receiving a second input for the first identification;
in response to the second input, displaying at least one sub-icon corresponding to the first identifier, wherein each sub-icon indicates a type of data of the electronic equipment;
the receiving a first input for the first identification comprises
Receiving a first input for a first sub-icon of the at least one sub-icon;
the updating the display position of the first identifier in response to the first input includes:
and responding to the first input, updating the display position of the first sub-icon, and backing up data of the type corresponding to the first sub-icon in the electronic equipment to the server under the condition that the display position of the first sub-icon is at least partially overlapped with the target identifier.
In this embodiment, through the second input, the data classification of the electronic device corresponding to the first identifier may be viewed. Specifically, when a second input for the first identifier is received, for example, the second input is a touch input in which a double finger simultaneously touches the first identifier and moves in an opposite direction, or the second input is a touch input in which the double finger double-clicks the first identifier, the electronic device will display, in response to the second input, at least one sub-icon corresponding to the first identifier, where each sub-icon indicates a type of data of the electronic device corresponding to the first identifier, and exemplarily, the at least one sub-icon may be displayed on the periphery of the first icon, and optionally, in a case where the at least one sub-icon already occupies one circle on the periphery of the first identifier, one circle may be further displayed on the periphery of the first circle, and so on. Optionally, a data classification name may be marked on the sub-icon, and for example, the data classification name may include: the system comprises system data, an album, applications, call records, short messages, contacts, notes and the like, so that a user can visually check the data of the electronic equipment corresponding to the first identifier, thereby quickly knowing the specific condition of the data and conveniently and quickly selecting the data to be backed up or restored in the following process.
In some specific embodiments, the first identifier and the sub-icon are both bubble icons, for example, circular bubble shapes, and optionally, the area of the first identifier is larger than the area of the sub-icon.
Referring to fig. 9 and 10, fig. 9 is a schematic diagram of a second input provided in the embodiment of the present application, and fig. 10 is a schematic diagram of a sub-icon provided in the embodiment of the present application. As shown in fig. 9 and fig. 10, in the embodiment of the present application, the second input may be a touch input that two fingers simultaneously touch the first identifier 21 and move in opposite directions, and then the electronic device displays seven sub-icons 2111 corresponding to the first identifier 21 on the periphery of the first identifier 21 in response to the second input, where the data corresponding to the seven sub-icons 2111 are classified as: system data, photo albums, applications, call records, short messages, contacts, and notes.
In this embodiment of the application, further, 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; for example, the first input for a first sub-icon of the at least one sub-icon may be an input of dragging the first sub-icon, or an input of clicking again at another position on the display screen of the electronic device after clicking the first sub-icon, and in response to the first input, the electronic device updates the display position of the first sub-icon.
In some embodiments of the present application, in a case that a 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. That is, if the first input for the first sub-icon causes the first sub-icon to at least partially overlap with the target identifier, the electronic device will backup data of a type corresponding to the first sub-icon to the server, so as to realize the backup of data of a certain type. For example, if the type corresponding to the first sub-icon is an album, the electronic device will backup album data (i.e., pictures in the album of the electronic device) to the server. Therefore, a user can autonomously select a certain type of data to be backed up to the server according to personal requirements, and personalized requirements of the user are met.
In some embodiments of the application, optionally, after the displaying the at least one sub-icon corresponding to the first identifier, before the receiving the first input for the target sub-icon of 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 of the at least one sub-icon comprises:
receiving a first input for a third sub-icon in a target state;
updating the display position of a target sub-icon in response to the first input, and backing up data of the type corresponding to all sub-icons in the target state in the electronic device to the server under the condition that the target sub-icon is at least partially overlapped 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.
For example, by receiving a third input for the N sub-icons, such that the N sub-icons of the at least one sub-icon are in a target state, where N is a positive integer, the target state may be a selected state, for example, the N sub-icons are filled with a shadow, and the like, and the third input may be an input of clicking on the sub-icon, the clicked N sub-icons will be in the target state.
Based thereon, the receiving a first input for a first sub-icon of the at least one sub-icon then comprises receiving a first input for a third sub-icon in a target state; similarly, the first input for the third sub-icon in the target state may 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 again at another position on the display screen of the electronic device, and in correspondence with this, the electronic device updates the display position of the target sub-icon in response to the first input, where the target sub-icon is the third sub-icon to which the first input is directed, or all sub-icons that are in the target state as the third sub-icon. Therefore, the N sub-icons are in the target state, and the electronic equipment can update the display positions of the third sub-icon or all sub-icons in the target state when the first input is subsequently performed on the third sub-icon in the target state, so that the input efficiency is improved, and the user operation is facilitated.
In the embodiment of the application, under the condition that the display position of the target sub-icon is at least partially overlapped with the target identifier, the data of the type corresponding to all sub-icons in the target state in the electronic device are backed up to the server. That is, if the first input for the third sub-icon in the target state causes the target sub-icon (i.e. the third sub-icon or all sub-icons in the target state) to at least partially overlap with the target identifier, the electronic device will backup the type of data corresponding to all sub-icons in the target state to the server, thereby implementing the backup of the type of data corresponding to all sub-icons in the target state. Illustratively, if there are multiple sub-icons in the target state and the corresponding types include an album, a call record, a short message, and a contact person, the electronic device will backup the data of the album, the call record, the short message, and the contact person to the server. Therefore, a user can independently select one or more types of data to be backed up to the server according to personal requirements, personalized requirements of the user are met, and the user can back up the multiple types of data only through one-time operation/input after the N sub-icons are in the target state, so that the operation difficulty of the user is simplified, and the time required for triggering the backup is shortened.
In 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 be further received;
changing a display state of the sub-icon in response to the third input;
the backing up the data of the electronic device to the server in the case that the first identifier and the target identifier at least partially overlap comprises:
and backing up the data corresponding to the sub-icon with the changed display state to the server.
That is, data selection may be performed through the third input. Specifically, when a third input to the displayed sub-icon is received, for example, the third input is a touch input of clicking or double-clicking the sub-icon, the electronic device changes the display state of the clicked or double-clicked sub-icon in response to the third input, and optionally, the changing the display state of the sub-icon includes: and filling the shadow of the enclosed area of the selected target sub-icon. Therefore, the selected sub-icons can be distinguished from the sub-icon not selected. In the subsequent step, if the first identifier and the target identifier are at least partially overlapped, the step of backing up the data of the electronic device to the server specifically includes: and backing up the data corresponding to the sub-icon with the changed display state to the server. That is, by selecting the data category to be sent or backed up, when the data of the electronic device corresponding to the first identifier is subsequently backed up to the server corresponding to the target identifier, only the data corresponding to the sub-icon (i.e., the selected sub-icon) whose display state is changed is backed up/sent to the server.
Therefore, in the embodiment of the application, the data of the electronic equipment is classified in a sub-icon mode, so that a user can quickly select the data type to be backed up or restored, and then quickly back up or restore the corresponding data. And moreover, the first identification, the sub-icons and the like are visualized into bubble shapes, so that the interestingness of the operation is improved, the user identification is facilitated, and the shadow filling is performed on the enclosed area of the target sub-icon, so that the user can conveniently, visually and quickly confirm which data are selected and which data are not selected, and the understanding difficulty of the user is reduced.
In some embodiments of the application, similarly, in a scheme that the first identifier includes a first sub identifier and a second sub identifier, the first sub identifier indicates the first electronic device, and the second sub identifier indicates the second electronic device, when the first sub identifier and the second sub identifier are at least partially overlapped, the data that needs to be sent on the first electronic device corresponding to the first sub identifier is selected in the above 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 (i.e., the selected sub icon) whose display state is changed may be sent to the second electronic device.
In summary, in the embodiment of the application, the electronic device, the server and the like are visualized as the first identifier and the target identifier, and the position of the first identifier is changed, so that when the first identifier and the target identifier are at least partially overlapped, the function of the electronic device for backing up data to the server is triggered, layer-by-layer click operation is not needed, the understanding difficulty of a user is reduced, the user operation is facilitated, and the time consumption for selection is reduced.
It should be noted that, in the data backup method provided in the embodiment of the present application, the execution main body may be a data backup device, or a control module in the data backup device for executing the data backup method. The data backup device provided in the embodiment of the present application is described with an example of a data backup method executed by a data backup device.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a data backup device according to an embodiment of the present application. As shown in fig. 11, another embodiment of the present application further provides a data backup apparatus, where the apparatus 110 includes:
a first display module 111, configured to display a first identifier and a target identifier, where the first identifier indicates an electronic device and the target identifier indicates a server;
a first receiving module 112, configured to receive a first input for the first identifier;
an updating module 113, configured to update a display position of the first identifier in response to the first input;
a first backup module 114, configured to backup data of the electronic device to the server if the first identifier at least partially overlaps with the target identifier.
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; the first receiving module includes:
a first receiving unit for receiving an input for the first sub-identifier;
the update module includes:
the first updating unit is used for updating the display position of the first sub-identifier;
the device further comprises:
and the second backup module is used for sending the data of the first electronic equipment to the second electronic equipment under the condition that the first sub-identifier and the second sub-identifier are at least partially overlapped.
Optionally, the second backup module includes:
an obtaining unit, configured to obtain 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, by the server, the data of the first electronic device to the second electronic device when the data of the server includes the data of the first electronic device;
a second sending unit, configured to, when the data of the server does not include the data of the first electronic device, backup the data of the first electronic device to the server, and send the data of the first electronic device to the second electronic device through the server.
Optionally, the apparatus further comprises:
a second receiving module for receiving a second input for the first identifier;
a second display module, configured to display, in response to the second input, at least one sub-icon corresponding to the first identifier, where each sub-icon indicates a type of data of the electronic device;
the first receiving module includes:
a second receiving unit, configured to receive a first input for a first sub-icon of the at least one sub-icon;
the update module includes:
a first updating unit for updating a display position of the first sub-icon in response to the first input;
the first backup module is further configured to backup 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 is at least partially overlapped with the target identifier.
Optionally, N sub-icons of the at least one sub-icon are in a target state;
the second receiving unit includes:
a receiving subunit, configured to receive a first input for a third sub-icon in a target state;
the first updating unit includes:
an updating subunit, configured to update a display position of the target sub-icon in response to the first input;
the first backup module is further configured to backup, in the case that the target sub-icon is at least partially overlapped with the target identifier, data of a type corresponding to all sub-icons in the target state in the electronic device to the server;
and the target sub-icon is the third sub-icon or all sub-icons in the target state, and N is a positive integer.
In the embodiment of the application, the electronic equipment, the server and the like are visualized as the first identifier and the target identifier, and the position of the first identifier is changed, so that the function of backing up data to the server by the electronic equipment is triggered when the first identifier and the target identifier are at least partially overlapped, the layer-by-layer click operation is not needed, the understanding difficulty of a user is reduced, the user operation is facilitated, and the time consumption for selection is reduced.
The data backup device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
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 (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The data backup device provided in the embodiment of the present application can implement each process implemented by the method embodiments in fig. 1 to fig. 10, and is not described here again to avoid repetition.
Optionally, as shown in fig. 12, an electronic device 1200 is further provided in this embodiment of the present application, and includes a processor 1201, a memory 1202, and a program or an instruction stored in the memory 1202 and executable on the processor 1201, where the program or the instruction is executed by the processor 1201 to implement each process of the data backup method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 13 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
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, a processor 1310, and the like.
Those skilled in the art will appreciate that the electronic device 1300 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1310 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 13 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
A display unit 1306, configured to display a first identifier and a target identifier, where the first identifier indicates an electronic device and the target identifier indicates a server;
a user input unit 1307 configured to receive a first input for the first identifier;
a display unit 1306, further configured to update a display position of the first identifier in response to the first input;
a processor 1310 configured to backup data of the electronic device to the server if the first identifier and the target identifier at least partially overlap.
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;
a user input unit 1307, further configured to receive an input for the first sub identifier;
the display unit 1306 is further configured to update the display position of the first sub identifier;
the processor 1310 is further configured to send data of the first electronic device to the second electronic device if the first sub-identifier and the second sub-identifier at least partially overlap.
Optionally, the processor 1310 is further configured to obtain data of the server if the first sub identifier and the second sub identifier at least partially overlap;
a processor 1310, further configured to transmit, by the server, the data of the first electronic device to the second electronic device if the data of the server includes the data of the first electronic device;
the processor 1310 is further configured to, if the data of the server does not include the data of the first electronic device, backup the data of the first electronic device to the server, and send the data of the first electronic device to the second electronic device through the server.
Optionally, the user input unit 1307 is further configured to receive a second input for the first identifier;
a display unit 1306, further configured to display, in response to the second input, at least one sub-icon corresponding to the first identifier, where each sub-icon indicates a type of data of the electronic device;
a user input unit 1307, further configured to receive a third input for the sub-icon;
a display unit 1306, further configured to change a display state of the sub-icon in response to the third input;
a user input unit 1307, further configured to receive a first input for a first sub-icon in the at least one sub-icon;
a display unit 1306, further configured to update a display position of the first sub-icon in response to the first input;
the processor 1310 is further configured to backup data of a type corresponding to the first sub-icon in the electronic device to the server if the display position of the first sub-icon at least partially overlaps with the target identifier.
Optionally, after the displaying of the at least one sub-icon corresponding to the first identifier, N sub-icons of the at least one sub-icon are in a target state before the receiving of the first input for a target sub-icon of the at least one sub-icon;
a user input unit 1307 further configured to receive a first input for the third sub-icon in the target state;
a display unit 1306, further configured to update a display position of the target sub-icon in response to the first input,
a processor 1310, further configured to backup, in the case that the target sub-icon at least partially overlaps the target identifier, data in the electronic device of a type corresponding to all sub-icons in the target state to the server;
and the target sub-icon is the third sub-icon or all sub-icons in the target state, and N is a positive integer.
In the embodiment of the application, the electronic equipment, the server and the like are visualized as the first identifier and the target identifier, and the position of the first identifier is changed, so that the function of backing up data to the server by the electronic equipment is triggered when the first identifier and the target identifier are at least partially overlapped, the layer-by-layer click operation is not needed, the understanding difficulty of a user is reduced, the user operation is facilitated, and the time consumption for selection is reduced.
It should be understood that in the embodiment of the present application, the input Unit 1304 may include a Graphics Processing Unit (GPU) 13041 and a microphone 13042, and the Graphics processor 13041 processes image data of still pictures or videos obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing 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, or the like. The user input unit 1307 includes a touch panel 13071 and other input devices 13072. A touch panel 13071, also referred to as 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, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 1309 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 1310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1310.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the data backup method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the data backup method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method for data backup, comprising:
displaying 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 identification;
updating a display position of the first identifier in response to the first input;
and under the condition that the first identifier and the target identifier are at least partially overlapped, backing up the data of the electronic equipment to the server.
2. The method of claim 1, wherein the first identifier comprises a first sub-identifier and a second sub-identifier, wherein the first sub-identifier indicates a first electronic device, and wherein the second sub-identifier indicates a second electronic device; the receiving a first input for the first identification comprises:
receiving input for the first sub-identifier;
the updating the display position of the first identifier comprises:
updating the display position of the first sub-identifier;
and under the condition that the first sub-identification and the second sub-identification are at least partially overlapped, transmitting the data of the first electronic equipment to the second electronic equipment.
3. The method of claim 2, wherein sending the data of the first electronic device to the second electronic device in the case that the first sub-identity and the second sub-identity at least partially overlap comprises:
under the condition that the first sub-identifier and the second sub-identifier are at least partially overlapped, acquiring data of the server;
transmitting, by the server, the data of the first electronic device to the second electronic device if the data of the server includes the data of the first electronic device;
and under the condition that the data of the server does not comprise the data of the first electronic equipment, backing up the data of the first electronic equipment to the server, and sending the data of the first electronic equipment to the second electronic equipment through the server.
4. The method of claim 1, wherein prior to receiving the first input for the first identifier, further comprising:
receiving a second input for the first identification;
in response to the second input, displaying at least one sub-icon corresponding to the first identifier, wherein each sub-icon indicates a type of data of the electronic equipment;
the receiving a first input for the first identification comprises:
receiving a first input for a first sub-icon of the at least one sub-icon;
the updating the display position of the first identifier in response to the first input includes:
and responding to the first input, updating the display position of the first sub-icon, and backing up data of the type corresponding to the first sub-icon in the electronic equipment to the server under the condition that the display position of the first sub-icon is at least partially overlapped with the target identifier.
5. The method of claim 4, wherein after said displaying at least one sub-icon corresponding to said first indication, prior to said receiving a first input for a target sub-icon of said at least one sub-icon, said method further comprises:
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 of the at least one sub-icon comprises:
receiving a first input for a third sub-icon in a target state;
updating the display position of a target sub-icon in response to the first input, and backing up data of the type corresponding to all sub-icons in the target state in the electronic device to the server under the condition that the target sub-icon is at least partially overlapped 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.
6. A data backup apparatus, comprising:
the system comprises a first display module, a second display module and a server, wherein the first display module is used for displaying a first identifier and a target identifier, the first identifier indicates the electronic equipment, and the target identifier indicates the server;
a first receiving module for receiving a first input for the first identifier;
an update module to update a display position of the first identifier in response to the first input;
the first backup module is used for backing up the data of the electronic equipment to the server under the condition that the first identification is at least partially overlapped with the target identification.
7. The apparatus of claim 6, wherein the first identifier comprises a first sub-identifier and a second sub-identifier, wherein the first sub-identifier indicates a first electronic device, and wherein the second sub-identifier indicates a second electronic device; the first receiving module includes:
a first receiving unit for receiving an input for the first sub-identifier;
the update module includes:
the first updating unit is used for updating the display position of the first sub-identifier;
the device further comprises:
and the second backup module is used for sending the data of the first electronic equipment to the second electronic equipment under the condition that the first sub-identifier and the second sub-identifier are at least partially overlapped.
8. The apparatus of claim 7, wherein the second backup module comprises:
an obtaining unit, configured to obtain 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, by the server, the data of the first electronic device to the second electronic device when the data of the server includes the data of the first electronic device;
a second sending unit, configured to, when the data of the server does not include the data of the first electronic device, backup the data of the first electronic device to the server, and send the data of the first electronic device to the second electronic device through the server.
9. The apparatus of claim 6, further comprising:
a second receiving module for receiving a second input for the first identifier;
a second display module, configured to display, in response to the second input, at least one sub-icon corresponding to the first identifier, where each sub-icon indicates a type of data of the electronic device;
the first receiving module includes:
a second receiving unit, configured to receive a first input for a first sub-icon of the at least one sub-icon;
the update module includes:
a first updating unit for updating a display position of the first sub-icon in response to the first input;
the first backup module is further configured to backup 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 is at least partially overlapped with the target identifier.
10. The apparatus of claim 9, wherein N of the at least one sub-icon is in a target state;
the second receiving unit includes:
a receiving subunit, configured to receive a first input for a third sub-icon in a target state;
the first updating unit includes:
an updating subunit, configured to update a display position of the target sub-icon in response to the first input;
the first backup module is further configured to backup, in the case that the target sub-icon is at least partially overlapped with the target identifier, data of a type corresponding to all sub-icons in the target state in the electronic device to the server;
and the target sub-icon is the third sub-icon or all sub-icons in the target state, and N is a positive integer.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the data backup method according to any of claims 1-5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, carry out the steps of the data backup method according to any one of claims 1 to 5.
CN202111210753.1A 2021-10-18 2021-10-18 Data backup method and device, electronic equipment and readable storage medium Pending CN113946472A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111210753.1A CN113946472A (en) 2021-10-18 2021-10-18 Data backup method and device, electronic equipment and readable storage medium
PCT/CN2022/124619 WO2023066085A1 (en) 2021-10-18 2022-10-11 Data backup method and apparatus thereof, electronic device, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111210753.1A CN113946472A (en) 2021-10-18 2021-10-18 Data backup method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN113946472A true CN113946472A (en) 2022-01-18

Family

ID=79331178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111210753.1A Pending CN113946472A (en) 2021-10-18 2021-10-18 Data backup method and device, electronic equipment and readable storage medium

Country Status (2)

Country Link
CN (1) CN113946472A (en)
WO (1) WO2023066085A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114413434A (en) * 2022-02-15 2022-04-29 上海美控智慧建筑有限公司 Air conditioning unit and data uploading method and data uploading device thereof
WO2023066085A1 (en) * 2021-10-18 2023-04-27 维沃移动通信有限公司 Data backup method and apparatus thereof, electronic device, and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100465911C (en) * 2006-04-13 2009-03-04 华为技术有限公司 Backpu method
CN111443844A (en) * 2020-03-26 2020-07-24 维沃移动通信有限公司 Information processing method and electronic equipment
CN113504859A (en) * 2021-07-22 2021-10-15 维沃移动通信(杭州)有限公司 Transmission method and device
CN113946472A (en) * 2021-10-18 2022-01-18 维沃移动通信有限公司 Data backup method and device, electronic equipment and readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023066085A1 (en) * 2021-10-18 2023-04-27 维沃移动通信有限公司 Data backup method and apparatus thereof, electronic device, and readable storage medium
CN114413434A (en) * 2022-02-15 2022-04-29 上海美控智慧建筑有限公司 Air conditioning unit and data uploading method and data uploading device thereof
CN114413434B (en) * 2022-02-15 2023-10-27 上海美控智慧建筑有限公司 Air conditioning unit and data uploading method and device thereof

Also Published As

Publication number Publication date
WO2023066085A1 (en) 2023-04-27

Similar Documents

Publication Publication Date Title
CN115357178B (en) Control method applied to screen-throwing scene and related equipment
WO2023066085A1 (en) Data backup method and apparatus thereof, electronic device, and readable storage medium
CN110519461B (en) File transmission method, device, computer equipment and storage medium
EP3142304A1 (en) Synchronization method for notification message of electronic device, server and electronic device
CN112486444B (en) Screen projection method, device, equipment and readable storage medium
WO2023061280A1 (en) Application program display method and apparatus, and electronic device
CN111796734B (en) Application program management method, management device, electronic device and storage medium
WO2022156606A1 (en) Information processing method and apparatus, and electronic device
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
CN113467660A (en) Information sharing method and electronic equipment
CN111813299A (en) Information sharing method, information sharing device and electronic equipment
CN113485599A (en) Display control method, display control device, electronic device, and medium
CN113568534A (en) Application icon display method and device and electronic equipment
CN101137080A (en) Remote management system and method for portable electronic devices
WO2021233282A1 (en) Method and apparatus for displaying message detail page, and electronic device
CN111857465B (en) Application icon sorting method and device and electronic equipment
CN113849092A (en) Content sharing method and device and electronic equipment
CN113282546A (en) File processing method and device
CN113407075A (en) Icon sorting method and device and electronic equipment
CN114398016B (en) Interface display method and device
CN113852540B (en) Information transmission method, information transmission device and electronic equipment
WO2022194077A1 (en) Application program icon management method and apparatus, and electronic device
CN111796733B (en) Image display method, image display device and electronic equipment
CN103793148A (en) Content management systems and methods
CN114416264A (en) Message display method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination