CN106775445B - Data migration method and device - Google Patents

Data migration method and device Download PDF

Info

Publication number
CN106775445B
CN106775445B CN201610825677.8A CN201610825677A CN106775445B CN 106775445 B CN106775445 B CN 106775445B CN 201610825677 A CN201610825677 A CN 201610825677A CN 106775445 B CN106775445 B CN 106775445B
Authority
CN
China
Prior art keywords
file
list
transmission
transmitted
transmission list
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.)
Active
Application number
CN201610825677.8A
Other languages
Chinese (zh)
Other versions
CN106775445A (en
Inventor
周璇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610825677.8A priority Critical patent/CN106775445B/en
Publication of CN106775445A publication Critical patent/CN106775445A/en
Priority to PCT/CN2017/092095 priority patent/WO2018049880A1/en
Application granted granted Critical
Publication of CN106775445B publication Critical patent/CN106775445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0647Migration mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a data migration method, which comprises the following steps: after a migration source terminal is accessed, a file list on the migration source terminal is obtained; adding the file list into a non-transmission list, displaying the non-transmission list in a non-transmission list display component preset on a display interface, wherein the non-transmission list display component and a transmission list display component are arranged in the display area; receiving a first target file selected in a non-transmission list display component, and setting the first target file to be in a reserved state; transmitting the files which are not in the reserved state in the non-transmission list to a local storage one by one from the migration source terminal; moving the file transmitted to the local storage from the non-transmitted list to a transmitted list, and displaying the file in the transmitted list display component. In addition, the embodiment of the invention also discloses a data migration device. By adopting the embodiment of the invention, the migration speed of data migration in the mobile phone moving process is improved.

Description

data migration method and device
Technical Field
the present invention relates to the field of terminal technologies, and in particular, to a data migration method and apparatus.
Background
With the development of terminal technology, the update speed of intelligent terminals such as smart phones, tablet computers and the like is faster and faster, and when a user changes a mobile phone, the user does not want all data on the original old mobile phone to disappear along with the change of the mobile phone, and wants to copy part of data on the old mobile phone to a new mobile phone, so that a plurality of suppliers or application markets provide the function of moving the mobile phone at present, that is, the data, software, settings and the like on the whole old mobile phone can be copied to the new mobile phone without any change, and convenience is provided for the user in the process of changing the mobile phone.
generally, data transfer on new and old mobile phones is realized through WIFI, bluetooth or other data connections, while data volume on old mobile phones is generally large, time consumed for data transmission in the moving process of mobile phones is long, data connections such as WIFI or bluetooth cannot be disconnected in the process, and once the data connections are disconnected, the situation that data are accidentally damaged may occur, so that part of data cannot be normally used.
that is, in the conventional mobile phone moving process, data transfer is easy to be incomplete due to long transmission time and transmission connection can not be disconnected in the middle.
Disclosure of Invention
therefore, in order to solve the technical problem that the integrity of data transmission is not enough easily caused by overlong data transmission time and non-disconnectable midway in the moving process of the mobile phone in the prior art, a data migration method is especially provided.
a method of data migration, comprising:
After a migration source terminal is accessed, a file list on the migration source terminal is obtained;
Adding the file list into a non-transmission list, displaying the non-transmission list in a non-transmission list display component preset on a display interface, wherein the non-transmission list display component and a transmission list display component are arranged in the display area;
Receiving a first target file selected in the non-transmission list display component, and setting the first target file to be in a reserved state;
Transmitting the files which are not in the reserved state in the non-transmission list to a local storage one by one from the migration source terminal;
moving the file transmitted to the local storage from the non-transmitted list to a transmitted list, and displaying the file in the transmitted list display component.
Optionally, in an embodiment, the method further includes:
Receiving a file deleting instruction input on a transmitted list display component, and acquiring a second target file corresponding to the file deleting instruction;
and deleting the second target file.
Optionally, in an embodiment, the step of deleting the second target file further includes:
marking the second target file as a to-be-deleted state, and hiding the file in the to-be-deleted state in the transmitted list display component;
And after the files which are not in the reserved state in the non-transmission list are transmitted to the local storage one by the migration source terminal, deleting the files which are in the to-be-deleted state.
optionally, in an embodiment, before the end of the one-by-one transmission of the files that are not in the reserved state in the non-transmission list from the migration source terminal to the local storage, the method further includes:
Receiving a deletion revocation instruction input on a transmitted list display component, acquiring a third target file marked as a to-be-deleted state corresponding to the deletion revocation instruction, removing the to-be-deleted state of the third target file, and restoring to display the third target file in the transmitted list display component.
Optionally, in an embodiment, the displaying the non-transmission list in a non-transmission list displaying component preset on the display interface includes:
and hiding the operating system files in the non-transmission list in a non-transmission list display component preset on the display interface.
In addition, in order to solve the technical problem that the integrity of data transmission is not enough, which is easy to occur because the data transmission time is too long and the connection cannot be disconnected midway in the moving process of the mobile phone in the prior art, the data migration device is also provided.
a data migration apparatus, comprising:
the file list acquisition module is used for acquiring a file list on a migration source terminal after the migration source terminal is accessed;
The non-transmission list display module is used for adding the file list into a non-transmission list, displaying the non-transmission list in a non-transmission list display component preset on a display interface, and arranging the non-transmission list display component and a transmission list display component in the display area;
The reserved state setting module is used for receiving a first target file selected in the non-transmission list display component and setting the first target file to be in a reserved state;
The migration module is used for transmitting the files which are not in the reserved state in the non-transmission list to a local storage one by one from the migration source terminal;
A transmitted list display module, configured to move the file transmitted to the local storage from the non-transmitted list to a transmitted list, and display the file in the transmitted list display component.
optionally, in an embodiment, the apparatus further includes a file deletion module, configured to receive a file deletion instruction input on the transmitted list display component, and obtain a second target file corresponding to the file deletion instruction; and deleting the second target file.
optionally, in an embodiment, the file deletion module is further configured to mark the second target file as a to-be-deleted state, and hide the file in the to-be-deleted state in the transmitted list display component; and after the files which are not in the reserved state in the non-transmission list are transmitted to the local storage one by the migration source terminal, deleting the files which are in the to-be-deleted state.
optionally, in an embodiment, the apparatus further includes a deletion revocation module, configured to receive a deletion revocation instruction input on the transmitted list display component, obtain a third target file marked as a to-be-deleted state corresponding to the deletion revocation instruction, remove the to-be-deleted state of the third target file, and resume displaying the third target file in the transmitted list display component.
Optionally, in an embodiment, the non-transmission list presenting module is further configured to hide operating system files in the non-transmission list in a non-transmission list presenting component preset on the display interface.
the embodiment of the invention has the following beneficial effects:
After the data migration method and the data migration device are adopted, when data migration is carried out between terminals, after connection between a migration terminal and a migration source terminal is established, a file list on the migration source terminal is obtained, an untransmitted list and a transmitted list are respectively displayed on a display interface on the migration source terminal and/or the migration terminal, a user can select transmission or non-transmission according to each file in the untransmitted list, and only a file marked as transmission is transmitted and a file marked as non-transmission is skipped after the data migration is carried out. That is, the invention can improve the flexibility of the operation of the user on whether the file is transmitted or not in the process of data transmission, and after the connection is disconnected, the user can continuously select the file to be transmitted in the next connection. By adopting the method and the device, the flexibility and sustainability of the data transmission process can be improved, and the user experience is improved.
drawings
in order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
FIG. 1 is a flow diagram illustrating a data migration method, according to one embodiment;
FIG. 2 is a schematic diagram of a data migration apparatus according to an embodiment;
fig. 3 is a schematic structural diagram of a computer device for executing the foregoing data migration method in one embodiment.
Detailed Description
the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the technical problems of long data migration time consumption and low data migration speed existing in the data migration scheme of moving a mobile phone in the prior art due to the time consumption of preparation work before migration and the time consumption of a data migration process, in this embodiment, a data migration method is especially provided, and the implementation of the method can depend on a computer program, the computer program can run on a computer system based on a von neumann system, and the computer program can be an application program of data migration based on an Android system, such as mobile phone moving application or data backup migration and restoration application. The computer system may be a terminal device such as a smart phone, a tablet computer, or the like, running the computer program.
Specifically, as shown in fig. 1, the data migration method includes the following steps:
Step S102: and after accessing the migration source terminal, acquiring a file list on the migration source terminal.
In this embodiment, the execution terminal is a migration terminal, that is, in this embodiment, the data on the migration source terminal is transferred to the local migration terminal, for example, in the process of moving the mobile phone, the data on the old mobile phone is copied to the new mobile phone without being changed, the old mobile phone is the migration source terminal, and the new mobile phone is the migration terminal.
Before data migration is performed, a communication connection between the migration terminal and the migration source terminal needs to be established, for example, the communication connection between the migration terminal and the migration source terminal may be bluetooth, wifi, NFC, or a limited connection, that is, data on the migration source terminal may be migrated to the local migration terminal through the communication connection.
For example, in one embodiment, after entering a data migration application such as "mobile phone moving" installed on a terminal, a new mobile phone as a migration terminal and an old mobile phone as a migration source terminal respectively, direct communication connection between the new mobile phone and the old mobile phone may be established.
It should be noted that, in this embodiment, after the communication connection between the migration terminal and the migration source terminal is established, the user may enter the preview interface of the data on the old mobile phone on the new mobile phone. Specifically, after the migration terminal accesses the migration source terminal, the migration terminal obtains a file list on the migration source terminal through a communication connection with the migration source terminal, where the file list is a file list of all files to be migrated.
step S104: and adding the file list into a non-transmission list, displaying the non-transmission list in a non-transmission list display component preset on a display interface, and setting the non-transmission list display component and a transmission list display component in the display area.
In this embodiment, in an operation interface of the migration terminal and/or the migration source terminal and the data migration application such as "moving the mobile phone", a non-transmission list display component and a transmission list display component are displayed, where the non-transmission list display component is used to display a file list of files for which data migration has not been performed, and the transmission list display component is used to display a file list corresponding to files for which data migration has been completed.
Specifically, in this embodiment, after the migration terminal accesses the migration source terminal, the file list in the migration source terminal is obtained, because the data migration has not been started yet, all files included in the file list are files for which data migration has not been performed yet, that is, the file list is an untransmitted list at this time. And then displaying the non-transmission list in a non-transmission list display component arranged on the display interface. It should be noted that, in this embodiment, data migration has not been started yet, that is, the corresponding file that has completed data migration is empty, that is, the corresponding transferred list is empty, that is, the transferred list displayed in the transferred list display component is empty.
Step S106: receiving a first target file selected in the non-transmission list display component, and setting the first target file to be in a reserved state.
step S108: and transmitting the files which are not in the reserved state in the non-transmission list to a local storage one by one from the migration source terminal.
In a specific implementation, for the files in the non-transmission list displayed in the non-transmission list display component, the files in the non-transmission list are transmitted to the local of the migration terminal one by one for storage.
The user can operate on the files in the non-transmission list displayed in the non-transmission list display component, namely, the files in the non-transmission list are determined to be transmitted or not transmitted. Specifically, the user may operate on the file in the non-transmission list display component, for example, select a file in the non-transmission list, and then set the selected file as a file to be migrated, in this embodiment, that is, set the selected file in a retention state. If the file in the non-transmission list displayed in the non-transmission list display component is not set to be in the reserved state, that is, the file is not in the reserved state, the file in the reserved state does not need to be migrated, and the file not in the reserved state needs to be migrated. Therefore, it is necessary to determine all the files to be migrated in the non-transmission list one by one, that is, to determine all the files in the non-transmission list one by one according to the list, if the file is set to be in the reserved state, the file is skipped during data migration, and if the file is not set to be in the reserved state, the file is transmitted from the migration source terminal to the migration terminal for local storage.
Step S110: moving the file transmitted to the local storage from the non-transmitted list to a transmitted list, and displaying the file in the transmitted list display component.
It should be noted that, if a file in the file list is removed from the untransferred list after the file has been locally stored and transferred from the migration source terminal to the migration terminal, the file is added to the transferred list, and the updated transferred list is displayed in the transferred list display component displayed on the display interface.
It should be noted that, in this embodiment, the method further includes: receiving a file deleting instruction input on a transmitted list display component, and acquiring a second target file corresponding to the file deleting instruction; and deleting the second target file.
That is, further operations may be performed on the files that have completed migration, for example, files in the transferred list may be deleted locally from the migration terminal. Specifically, the user may input a corresponding file deletion instruction in the transmitted list presentation component, and when the user inputs the file deletion instruction, the target file corresponding to the file deletion instruction, that is, the second target file, needs to be determined. After detecting that the user inputs a file deleting instruction on the transmitted list showing component, for example, a second target file corresponding to the file deleting instruction is obtained, and the file is deleted. Further, the deletion of the second target file may be performed immediately, or may be performed after all the files have been transferred.
Specifically, the step of deleting the second target file further includes: marking the second target file as a to-be-deleted state, and hiding the file in the to-be-deleted state in the transmitted list display component; and after the files which are not in the reserved state in the non-transmission list are transmitted to the local storage one by the migration source terminal, deleting the files which are in the to-be-deleted state.
That is, after the user inputs, for example, a file deletion instruction, the corresponding second target file needs to be deleted, but since the deletion operation is not performed immediately, the file to be deleted needs to be marked as the file to be deleted first, and when the corresponding deletion operation is triggered again, the deletion operation for the file marked as the file to be deleted needs to be performed, in this embodiment, after the files in the non-transmission list are migrated one by one.
It should be noted that, in this embodiment, for the file corresponding to the file deletion instruction, because the file is deleted in the migration terminal, the file does not exist in the migration terminal, because it is not appropriate to continue to display the file in the transferred list display component, and therefore, the file is hidden in the transferred list display component.
in order to avoid misoperation of the user, after the user performs a deletion operation on a certain file, the corresponding deletion operation can be cancelled. Specifically, the corresponding deletion operation is performed after all the files are migrated, so that the corresponding file is only marked as a to-be-deleted state and is not deleted in the local migration terminal before all the files are migrated.
Specifically, before the end of the one-by-one transmission from the migration source terminal to the local storage of the file that is not in the reserved state in the non-transmission list, the method further includes: receiving a deletion revocation instruction input on a transmitted list display component, acquiring a third target file marked as a to-be-deleted state corresponding to the deletion revocation instruction, removing the to-be-deleted state of the third target file, and restoring to display the third target file in the transmitted list display component.
In a file in the transmitted list displayed in the transmitted list display component, which is marked as a to-be-deleted state due to a user-input file deletion operation, the user may input a deletion revocation instruction for the file, so as to revoke the file deletion instruction before the user. Specifically, after a deletion revocation instruction input by a user is detected, a third target file corresponding to the deletion revocation instruction is acquired, and the third target file must be a file that has been marked as a to-be-deleted state. And after the third target file is determined, removing the to-be-deleted state of the third target file.
further, in the present embodiment, since the corresponding to-be-deleted state has been removed, it is necessary to restore the presentation of the third target file in the transferred list presented in the transferred list presentation component.
it should be noted that, in the process of performing data migration, the migrated file does not include the operating system file, because there may be inconsistency in system configuration or setting between the migration terminal and the migration source terminal, and in order to avoid the incompatibility problem or the existence of the corresponding system configuration file on the migration terminal, data migration is not performed for the corresponding operating system file.
Specifically, in this embodiment, the displaying the non-transmission list in the non-transmission list display component preset on the display interface includes: and hiding the operating system files in the non-transmission list in a non-transmission list display component preset on the display interface.
In specific implementation, when the file list is acquired or the non-transmission list is displayed, the operating system files in the file list are hidden, so that when data migration is performed according to the files in the non-transmission list one by one, migration operation is not performed on the hidden operating system files.
in addition, in order to solve the technical problem of insufficient integrity of data transmission easily caused by too long data transmission time and non-disconnectable connection in the middle of the mobile phone moving process in the prior art, in an embodiment, a data migration apparatus is further provided, as shown in fig. 2, the apparatus includes a file list acquisition module 102, an untransmitted list display module 104, a retention state setting module 106, a migration module 108, and a transmitted list display module 110, wherein:
A file list obtaining module 102, configured to obtain a file list on a migration source terminal after accessing the migration source terminal;
a non-transmission list display module 104, configured to add the file list to a non-transmission list, display the non-transmission list in a non-transmission list display component preset on a display interface, where a non-transmission list display component and a transmission list display component are arranged in the display area;
A reserved state setting module 106, configured to receive a first target file selected in the non-transmission list display component, and set the first target file to be a reserved state;
a migration module 108, configured to transmit the files that are not in the reserved state in the non-transmission list to a local storage one by one from the migration source terminal;
a transmitted list showing module 110, configured to move the file transmitted to the local storage from the non-transmitted list to a transmitted list, and show the file in the transmitted list showing component.
Optionally, in an embodiment, as shown in fig. 2, the apparatus further includes a file deleting module 112, configured to receive a file deleting instruction input on the transmitted list displaying component, and obtain a second target file corresponding to the file deleting instruction; and deleting the second target file.
Optionally, in an embodiment, the file deleting module 112 is further configured to mark the second target file as a to-be-deleted state, and hide the file in the to-be-deleted state in the transmitted list presenting component; and after the files which are not in the reserved state in the non-transmission list are transmitted to the local storage one by the migration source terminal, deleting the files which are in the to-be-deleted state.
Optionally, in an embodiment, as shown in fig. 2, the apparatus further includes a deletion revocation module 114, configured to receive a deletion revocation instruction input on the transmitted list display component, acquire a third target file marked as a to-be-deleted state corresponding to the deletion revocation instruction, remove the to-be-deleted state of the third target file, and resume displaying the third target file in the transmitted list display component.
optionally, in an embodiment, the non-transmission list showing module 104 is further configured to hide operating system files in the non-transmission list in a non-transmission list showing component preset on the display interface.
the embodiment of the invention has the following beneficial effects:
After the data migration method and the data migration device are adopted, when data migration is carried out between terminals, after connection between a migration terminal and a migration source terminal is established, a file list on the migration source terminal is obtained, an untransmitted list and a transmitted list are respectively displayed on a display interface on the migration source terminal and/or the migration terminal, a user can select transmission or non-transmission according to each file in the untransmitted list, and only a file marked as transmission is transmitted and a file marked as non-transmission is skipped after the data migration is carried out. That is, the invention can improve the flexibility of the operation of the user on whether the file is transmitted or not in the process of data transmission, and after the connection is disconnected, the user can continuously select the file to be transmitted in the next connection. By adopting the method and the device, the flexibility and sustainability of the data transmission process can be improved, and the user experience is improved.
in one embodiment, as shown in fig. 3, fig. 3 illustrates a terminal of a computer system based on von neumann architecture running the above-described data migration method. The computer system can be terminal equipment such as a smart phone, a tablet computer, a palm computer and the like. Specifically, an external input interface 1001, a processor 1002, a memory 1003, and an output interface 1004 connected through a system bus may be included. The external input interface 1001 may optionally include at least a network interface 10012. Memory 1003 can include external memory 10032 (e.g., a hard disk, optical or floppy disk, etc.) and internal memory 10034. The output interface 1004 may include at least a display 10042 or the like.
in this embodiment, the method is executed based on a computer program, program files of the computer program are stored in the external memory 10032 of the computer system based on the von neumann system, loaded into the internal memory 10034 at the time of execution, and then compiled into machine code and then transferred to the processor 1002 for execution, so that the logical file list acquiring module 102, the untransmitted list presenting module 104, the retention state setting module 106, the migrating module 108, the transmitted list presenting module 110, the file deleting module 112, and the deletion revoking module 114 are formed in the computer system based on the von neumann system. In the execution process of the data migration method, the input parameters are received through the external input interface 1001, transferred to the memory 1003 for caching, and then input to the processor 1002 for processing, and the processed result data is cached in the memory 1003 for subsequent processing or transferred to the output interface 1004 for outputting.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The units in the terminal of the embodiment of the invention can be merged, divided and deleted according to actual needs. The terminal provided by the embodiment of the invention comprises a terminal with a mounted or other operating system, such as a mobile phone. Other terminals are also possible, such as a laptop or tablet computer or desktop computer with a touch-sensitive surface (e.g., a touch screen display and/or a touch pad).
In the following discussion, a terminal comprising a display and a touch-sensitive surface is presented. It should be understood, however, that the terminal may include one or more other physical user interface devices, such as a physical keyboard, mouse, and/or joystick.
Terminals typically support a variety of applications, such as one or more of the following: a drawing application, a rendering application, a word processing application, a web page creation application, a disc editing application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a digital video camera application, a web browsing application, a digital music player application, and/or a digital video player application.
various applications executable on the terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal may be adjusted and/or varied from one application to the next and/or within the corresponding application. In this way, a common physical architecture of the terminals (such as a touch-sensitive surface) can support various applications with a user interface that is intuitive and clear to the user.
it will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (7)

1. a method of data migration, comprising:
After a migration source terminal is accessed, a file list on the migration source terminal is obtained;
adding the file list into a non-transmission list, displaying the non-transmission list in a non-transmission list display component preset on a display interface, wherein the non-transmission list display component and a transmission list display component are arranged in the display area;
Receiving a first target file selected in the non-transmission list display component, and setting the first target file to be in a reserved state;
Transmitting the files which are not in the reserved state in the non-transmission list to a local storage one by one from the migration source terminal;
Moving the file transmitted to the local storage from the non-transmission list to a transmission list and displaying the file in the transmission list display component;
Receiving a file deleting instruction input on a transmitted list display component, and acquiring a second target file corresponding to the file deleting instruction;
Deleting the second target file after all the files are migrated;
wherein the step of deleting the second target file further comprises:
marking the second target file as a to-be-deleted state, and hiding the file in the to-be-deleted state in the transmitted list display component;
and after the files which are not in the reserved state in the non-transmission list are transmitted to the local storage one by the migration source terminal, deleting the files which are in the to-be-deleted state.
2. The data migration method according to claim 1, further comprising, before the end of the one-by-one transmission from the migration source terminal to the local storage of the files that are not in the reserved state in the untransferred list,:
Receiving a deletion revocation instruction input on a transmitted list display component, acquiring a third target file marked as a to-be-deleted state corresponding to the deletion revocation instruction, removing the to-be-deleted state of the third target file, and restoring to display the third target file in the transmitted list display component.
3. The data migration method according to claim 1, wherein the displaying the non-transmission list in a non-transmission list display component preset on a display interface comprises:
And hiding the operating system files in the non-transmission list in a non-transmission list display component preset on the display interface.
4. A data migration apparatus, comprising:
the file list acquisition module is used for acquiring a file list on a migration source terminal after the migration source terminal is accessed;
the non-transmission list display module is used for adding the file list into a non-transmission list, displaying the non-transmission list in a non-transmission list display component preset on a display interface, and arranging the non-transmission list display component and a transmission list display component in the display area;
The reserved state setting module is used for receiving a first target file selected in the non-transmission list display component and setting the first target file to be in a reserved state;
The migration module is used for transmitting the files which are not in the reserved state in the non-transmission list to a local storage one by one from the migration source terminal;
A transmitted list display module, configured to move the file transmitted to the local storage from the non-transmitted list to a transmitted list, and display the file in the transmitted list display component;
The file deleting module is used for receiving a file deleting instruction input on the transmitted list display assembly and acquiring a second target file corresponding to the file deleting instruction; deleting the second target file after all the files are migrated;
The file deleting module is further configured to mark the second target file as a to-be-deleted state, and hide the file in the to-be-deleted state in the transmitted list displaying component; and after the files which are not in the reserved state in the non-transmission list are transmitted to the local storage one by the migration source terminal, deleting the files which are in the to-be-deleted state.
5. The data migration apparatus according to claim 4, wherein the apparatus further includes a deletion revocation module, configured to receive a deletion revocation instruction input on the transferred list presentation component, obtain a third target file marked as a to-be-deleted state corresponding to the deletion revocation instruction, remove the to-be-deleted state of the third target file, and resume presentation of the third target file in the transferred list presentation component.
6. The data migration apparatus method according to claim 4, wherein the non-transferred list presentation module is further configured to hide operating system files in the non-transferred list in a non-transferred list presentation component preset on the display interface.
7. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein program instructions for causing a computer to perform the method according to any one of claims 1-3 when invoked.
CN201610825677.8A 2016-09-14 2016-09-14 Data migration method and device Active CN106775445B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610825677.8A CN106775445B (en) 2016-09-14 2016-09-14 Data migration method and device
PCT/CN2017/092095 WO2018049880A1 (en) 2016-09-14 2017-07-06 Data migration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610825677.8A CN106775445B (en) 2016-09-14 2016-09-14 Data migration method and device

Publications (2)

Publication Number Publication Date
CN106775445A CN106775445A (en) 2017-05-31
CN106775445B true CN106775445B (en) 2019-12-06

Family

ID=58972155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610825677.8A Active CN106775445B (en) 2016-09-14 2016-09-14 Data migration method and device

Country Status (2)

Country Link
CN (1) CN106775445B (en)
WO (1) WO2018049880A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775445B (en) * 2016-09-14 2019-12-06 Oppo广东移动通信有限公司 Data migration method and device
CN108920658B (en) * 2018-06-29 2022-03-29 北京金山安全软件有限公司 Mobile device desktop moving method and device and electronic device
CN116489645B (en) * 2021-11-05 2024-06-14 荣耀终端有限公司 Data transmission method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007072813A (en) * 2005-09-07 2007-03-22 Hitachi Ltd Storage system, file migration method and computer program
CN101377786A (en) * 2007-08-30 2009-03-04 三星电子株式会社 Image forming apparatus, image forming system and file managing method thereof
CN102957751A (en) * 2012-11-27 2013-03-06 北京金山云科技有限公司 Document transmission method and device between terminal device and network server and terminal device
CN105491113A (en) * 2015-11-25 2016-04-13 小米科技有限责任公司 Migrating method, device and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103124276B (en) * 2011-11-18 2016-03-30 中国移动通信集团公司 A kind of method of expanding communication terminal storage space and communication terminal
EP2648092B1 (en) * 2012-04-04 2019-06-19 Harman Becker Automotive Systems GmbH Updating method and multi-domain embedded system
CN104023410B (en) * 2014-05-14 2018-09-11 北京奇虎科技有限公司 A kind of method and apparatus of the safe transfer data between wireless terminal
CN104156430A (en) * 2014-08-11 2014-11-19 四川效率源信息安全技术有限责任公司 Device and method for fast extracting Android mobile phone data
CN106775445B (en) * 2016-09-14 2019-12-06 Oppo广东移动通信有限公司 Data migration method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007072813A (en) * 2005-09-07 2007-03-22 Hitachi Ltd Storage system, file migration method and computer program
CN101377786A (en) * 2007-08-30 2009-03-04 三星电子株式会社 Image forming apparatus, image forming system and file managing method thereof
CN102957751A (en) * 2012-11-27 2013-03-06 北京金山云科技有限公司 Document transmission method and device between terminal device and network server and terminal device
CN105491113A (en) * 2015-11-25 2016-04-13 小米科技有限责任公司 Migrating method, device and terminal

Also Published As

Publication number Publication date
WO2018049880A1 (en) 2018-03-22
CN106775445A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
US10742694B2 (en) Method for migrating data and terminal
US9728164B2 (en) Moving a tile across multiple workspaces
RU2700188C2 (en) Representing computing environment on multiple devices
US10430047B2 (en) Managing content on an electronic device
US11232066B2 (en) Method for data migration and terminal
CN109471626B (en) Page logic structure, page generation method, page data processing method and device
US10684838B2 (en) Dynamic application deployment
US20120262489A1 (en) Relative and Absolute Screen Rotation Draft Agent
AU2014251190A1 (en) Multiple displays for displaying workspaces
US20170205980A1 (en) Method and an apparatus for providing a multitasking view
CN106775445B (en) Data migration method and device
CN108646962B (en) Editing method and device for terminal desktop layout, storage medium and mobile terminal
CN112612853A (en) Data processing method and device based on database cluster and electronic equipment
AU2015376591A1 (en) Desktop sharing method and mobile terminal
CN106484779B (en) File operation method and device
US9836469B2 (en) Techniques for processing digital assets for editing in a digital asset editing computer program
CN113282546A (en) File processing method and device
US20150293679A1 (en) Method and Device for Controlling Switching of Virtual Navigation Bar
CN109298956B (en) File transmission method and device and terminal equipment
CN109669589B (en) Document editing method and device
CN106547485B (en) Data migration method and device
WO2022194077A1 (en) Application program icon management method and apparatus, and electronic device
CN114026540B (en) System and method for supporting and negotiating multiple API versions across multiple products
CN112306373B (en) Cluster capacity expansion method and system, electronic equipment and storage medium
CN112783860B (en) Method, device, storage medium and computer equipment for constructing mirror image database

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant