CN106547486A - A kind of data migration method and device - Google Patents

A kind of data migration method and device Download PDF

Info

Publication number
CN106547486A
CN106547486A CN201610915945.5A CN201610915945A CN106547486A CN 106547486 A CN106547486 A CN 106547486A CN 201610915945 A CN201610915945 A CN 201610915945A CN 106547486 A CN106547486 A CN 106547486A
Authority
CN
China
Prior art keywords
store path
file destination
target
data type
data
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
CN201610915945.5A
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.)
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 CN201610915945.5A priority Critical patent/CN106547486A/en
Publication of CN106547486A publication Critical patent/CN106547486A/en
Pending legal-status Critical Current

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/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
    • 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/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • 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/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device

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)

Abstract

The embodiment of the invention discloses a kind of data migration method, including:The file destination that migration source terminal sends is received, the corresponding data type of the file destination is determined;Judge whether the corresponding data type of the file destination belongs to default flag data type;If so, then determine data type corresponding with the file destination as target store path corresponding with the file destination according to default data type and the corresponding relation of store path;The file destination of the reception is written to by memory area corresponding with the target store path according to the target store path.Additionally, a kind of the embodiment of the invention also discloses data migration device.Using the embodiment of the present invention, the motility that the store path of migrating data is arranged can be improved.

Description

A kind of data migration method and device
Technical field
The present invention relates to field of computer technology, more particularly to a kind of data migration method and device.
Background technology
As the speed that the intelligent terminal such as the development of terminal technology, smart mobile phone, panel computer are updated more comes happy, User is during mobile phone is changed, it is undesirable to which all data on old mobile phone originally all disappear not with the replacing of mobile phone See, it is desirable to which originally storage part information on the old handsets continues normal use on new cell-phone, therefore, many mobile phones are supplied at present Answer business and application market both provide the correlation functions such as data backup, Data Migration, i.e. user can by the data on old mobile phone, The intact backrest of the data such as software, setting is gone on new cell-phone, is user's provides convenient during changing planes.
The content of the invention
The embodiment of the present invention proposes a kind of data migration method, it is possible to resolve because directly multiple during Data Migration Made it is former migration source terminal on store path and caused target migration terminal on migrating data store path arrange spirit Active not enough technical problem.
A kind of data migration method, including:
The file destination that migration source terminal sends is received, the corresponding data type of the file destination is determined;
Judge whether the corresponding data type of the file destination belongs to default flag data type;
If so, then determined according to default data type and the corresponding relation of store path corresponding with the file destination Data type is used as target store path corresponding with the file destination;
The file destination of the reception is written to according to the target store path corresponding with the target store path Memory area.
Optionally, it is wherein in one embodiment, described to judge whether the corresponding data type of the file destination belongs to Also include after the step of default flag data type:
When the corresponding data type of the file destination is not belonging to the default flag data type, the mesh is obtained The store path that mark file is stored in the migration source terminal is used as target store path, and performs described according to the target The step of file destination of the reception is written to memory area corresponding with the target store path by store path.
Optionally, it is wherein in one embodiment, described the target of the reception is literary according to the target store path Also include before the step of part is written to memory area corresponding with the target store path:
Show the target store path in the form of store path selects component;
The store path for receiving the store path selection component input in the displaying confirms instruction, and performs the basis The file destination of the reception is written to memory area corresponding with the target store path by the target store path Step.
Optionally, it is wherein in one embodiment, described to show that the target is deposited in the form of store path selects component Storage also includes after path:
The store path change directive of the store path selection component input in the displaying is received, is obtained and the storage Path change instructs corresponding store path as target store path, and perform it is described according to the target store path by institute The step of stating the file destination of reception and be written to memory area corresponding with the target store path.
Optionally, wherein in one embodiment, it is application data type in the corresponding data type of the file destination When, the target store path corresponding with the file destination is corresponding with the internal storage areas of the terminal.
In addition, it is also proposed that a kind of data migration device.
A kind of data migration device, including:
File destination receiver module, for receiving the file destination that migration source terminal sends, determines the file destination pair The data type answered;
Judge module, for judging whether the corresponding data type of the file destination belongs to default flag data class Type;
First object store path determining module, for belonging to default mark in the corresponding data type of the file destination During note data type, number corresponding with the file destination is determined with the corresponding relation of store path according to default data type According to type as target store path corresponding with the file destination;
File destination writing module, for according to the target store path by the file destination of the reception be written to The corresponding memory area of the target store path.
Optionally, wherein in one embodiment, described device also includes the second target store path determining module, is used for When the corresponding data type of the file destination is not belonging to the default flag data type, obtains the file destination and exist The store path stored in the migration source terminal is used as target store path, and calls the file destination writing module.
Optionally, wherein in one embodiment, described device also includes that target store path confirms module, for depositing The form of storage Path selection component shows the target store path;Receive the store path selection component input in the displaying Store path confirm instruction, and call the file destination writing module.
Optionally, wherein in one embodiment, described device also includes that store path changes module, for receiving in institute The store path for stating displaying selects the store path change directive of component input, obtains corresponding with the store path change directive Store path as target store path, and call the file destination writing module.
Optionally, wherein in one embodiment, it is application data type in the corresponding data type of the file destination When, the target store path corresponding with the file destination is corresponding with the internal storage areas of the terminal.
After employing above-mentioned data migration method and device, during Data Migration is carried out, if to be migrated Target data is the default data type for needing to change store path, then determine which in data according to its corresponding data type Store path in the target migration terminal of migration, rather than using the original storage road on migration source terminal of the file destination Footpath, that is to say, that be not directly, by the direct replication band target migration terminal of store path in migration source terminal, to increase The data motility that storage location is selected in target migrates terminal in data migration process.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Wherein:
Fig. 1 is a kind of schematic flow sheet of data migration method in one embodiment;
Fig. 2 is a kind of Data Migration in one embodiment. the structural representation of device;
Fig. 3 is the structural representation of the computer equipment of operation aforementioned data moving method in one embodiment.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Inventor it has been investigated that, in related technical scheme, by the data copy on old mobile phone to new cell-phone During, the data of copy not only include the data for needing to be shifted, and have also copied that corresponding data are corresponding to deposit Storage path, for example, if some file store path on the old handsets is C:Users Photo ScreenShot, this Have led to the store path corresponding to the data that store on new cell-phone to be as good as with old mobile phone.And inventor is in the process of research Middle discovery, in above-mentioned technical proposal, because what is replicated during Data Migration is carried out is not only data, further comprises The original store path of the data, which results in user in any operation subsequently for file, can only be according to former handss On machine, corresponding store path is operated, and result in the not enough problem of the motility of the store path setting of the data of migration.
Based on this, in the present embodiment, it is proposed that a kind of data migration method, the realization of the method can be dependent on computer Program, the computer program are can run on the computer system based on von Neumann system, and the computer program can be Based on the application program of the Data Migration under the system such as android system or IOS systems, such as mobile phone removal of home is applied, is changed planes Using or data backup migration application etc..The computer system can be run above computer program such as smart mobile phone, The servers such as panel computer, PC or terminal.
Specifically, as shown in figure 1, above-mentioned data migration method comprises the steps S102-S110:
Step S102:The file destination that migration source terminal sends is received, the corresponding data type of the file destination is determined.
In the present embodiment, it is that target migrates terminal to perform terminal, that is to say, that in the present embodiment, will migration source end Data conversion storage on end to local target migration terminal, for example, during Data Migration is carried out, is using as migration On the old mobile phone of source terminal data it is intact copy to as target migrate terminal new cell-phone up.
Before Data Migration is carried out, it is necessary first to set up logical between local target migration terminal and migration source terminal Letter connection, for example, the communication connection between target migration terminal and migration source terminal can be bluetooth, wifi, NFC or wired Connection, that is to say, that can be whole to local target migration by the Data Migration migrated on source terminal by above-mentioned communication connection Get at end.
For example, in one embodiment, in the new cell-phone that terminal is migrated as target and as the old of migration source terminal In mobile phone, after having respectively entered in such as " mobile phone removal of home ", " changing planes " etc. the Data Migration application installed in terminal, Ke Yijian Found new and old mobile phone directly to communicate to connect.
After establishing and migrating the communication connection between terminal with target, you can carry out migrating source terminal and target migrating Data Migration between terminal, it should be noted that in the present embodiment, the data for carrying out Data Migration can be migration source end The partial data in total data, or migration source terminal on end, for example, some applies corresponding application data.
It is to migrate the whole on source terminal no matter to carry out Data Migration between migration source terminal and target migration terminal Partial data or individual data in data, or migration source terminal, is all to carry out one by one during Data Migration is carried out Migration.The data is activation for needing migration is moved by the communication connection that migration source terminal is migrated by target between terminal to target Terminal is moved, target migration terminal can detect the data of migration source terminal transmission and receive the data that migration source terminal sends, should The data for receiving are file destination.
In the present embodiment, it is thus necessary to determine that the data type of the file destination sent with the migration source terminal for receiving, example Such as, video file data type, address list file data type, picture file data type, application data type etc..Namely Say, according to the file destination for receiving, determine the data type corresponding to the file destination.
Step S104:Judge whether the corresponding data type of the file destination belongs to default flag data type;If It is, then execution step S106:Determined and the file destination pair according to corresponding relation of the default data type with store path The data type answered is used as target store path corresponding with the file destination;If it is not, then execution step S108:Obtain described The store path that file destination is stored in the migration source terminal is used as target store path.
In the present embodiment, road is specifically stored in the file destination for considering to receive in local target migration terminal When footpath or storage location, need to consider the corresponding data type of file destination, for example, in order to save terminal inner memory area The file of the data types such as picture, video is stored in outer memory area (i.e. SD card) by storage resource, rather than in being stored in In portion's memory area.
Therefore, in the present embodiment, the data type of the migrating data for needing to be specified to memory area is preset, That is, the data type that flag data type is specifically included is preset, also, above-mentioned each default flag data class is set Store path corresponding to type, that is, arrange the corresponding relation of data type and store path.
For example, in one embodiment, in order to avoid the storage speed because of SD card during application operation is not enough The all of application data for carrying out Data Migration is stored in the internal storage region of terminal by the phenomenons such as caused interim card, exception In domain (i.e. in mobile phone EMS memory).
Specifically, it is when the corresponding data type of the file destination is application data type, described literary with the target The corresponding target store path of part is corresponding with the internal storage areas of the terminal.
Further, for example, in android system, store path corresponding with application data type is set to into C:\ Data, because in general, the access speed of SD card is the access speed for being greatly less than tag memory, that is, Say, if if the corresponding file of application program is stored in SD card, probably due to the access speed of SD card causes applying journey slowly Occur the phenomenons such as interim card, exception in the running of sequence, therefore, its corresponding storage road of file corresponding with application data type During footpath is tag memory, i.e., in the internal storage areas that target migrates terminal.
Further, the store path corresponding to file corresponding with the data type such as picture, video is external memory area Domain.
If that is, the corresponding data type of preceding aim file is default flag data type, according to the number Make with determination store path corresponding with the data type in the corresponding relation of store path in default data type according to type It is data type corresponding with file destination;If conversely, the corresponding data type of preceding aim file is not default reference numerals According to type, then explanation need not be configured in the storage location or store path that target is migrated in terminal to the file destination Or change, when directly being stored in source terminal is migrated using the file destination, corresponding store path is used as target store path.
It should be noted that in the present embodiment, migrate source terminal and file destination is being sent to into local target migration During terminal, the store path on migration source terminal corresponding with the file destination is sent to into target migration terminal in the lump.
Step S110:The file destination of the reception is written to according to the target store path and is stored with the target The corresponding memory area in path.
After receiving the file destination of migration source transmission in step s 102, and determine in step S106 or S108 After target store path corresponding with the file destination, you can the target in will be stored in caching according to the target store path File is written in local target migration terminal memory area corresponding with target store path to complete the file destination Migration.
It should be noted that in the present embodiment, the mesh that user is determined in can also be for above-mentioned steps S106 or S108 Mark store path further confirmed or changed, so as to avoid occurring during Data Migration store path mistake or Person's maloperation, so as to user for the target store path in data migration process confirms, it is to avoid maloperation occur.
Specifically, above-mentioned being written to the file destination of the reception according to the target store path is deposited with the target Also include before the step of storage corresponding memory area in path:Show the target storage in the form of store path selects component Path;The store path for receiving the store path selection component input in the displaying confirms instruction, and performs described according to institute State the step that the file destination of the reception is written to target store path memory area corresponding with the target store path Suddenly that is, it is determined that after target store path corresponding with file destination, before Data Migration is carried out, will also determine Target store path show user, so that user is confirmed to the target store path for determining, also, only in user Data Migration can just be proceeded in the case of being confirmed, conversely, not carrying out the Data Migration in step S108.
It should be noted that in the present embodiment, the exhibition method of target store path is to select component with store path Mode be shown, that is to say, that user can above-mentioned store path select component in be input into store path confirm instruction, Specific store path can also be selected in above-mentioned store path selects component.
Further, in order to further increase migrating data target migrate terminal in storage location arrange it is flexible Property, user can also be modified to the target store path for determining, and carries out data according to the store path after change Storage.
Specifically, it is described also to include after the displaying target store path in the form of store path selection component:Connect The store path for being received in the displaying selects the store path change directive of component input, obtains and refers to store path change Corresponding store path is made as target store path, and perform it is described according to the target store path by the mesh of the reception The step of mark file is written to memory area corresponding with the target store path.
User can reselect the store path of file destination in the store path of above-mentioned displaying selects component, i.e., right The target store path for finally carrying out Data Migration is modified, for example, by text box or the input storage of drop-down choice box Path, the store path current file destination that as user selectes migrate the storage road in terminal in target.User is in exhibition The store path for showing reselects the store path of file destination i.e. equivalent to input such as store path change in selecting component Instruction, and user input or selected store path are store path corresponding with store path change directive;In user After have input store path change directive, that is, obtain the corresponding store path of store path change directive and road is stored as target Footpath, and perform in above-mentioned steps S110 according to the target store path by the file destination of the reception be written to it is described The step of target store path corresponding memory area.
, it is also proposed that a kind of data migration device, including file destination connects additionally, in one embodiment, as shown in Figure 2 Module 102, judge module 104, first object store path determining module 106 and file destination writing module 108 are received, its In:
File destination receiver module 102, for receiving the file destination that migration source terminal sends, determines the file destination Corresponding data type;
Judge module 104, for judging whether the corresponding data type of the file destination belongs to default flag data Type;
First object store path determining module 106, for belonging to default in the corresponding data type of the file destination Flag data type when, determined according to default data type and the corresponding relation of store path corresponding with the file destination Data type as target store path corresponding with the file destination;
File destination writing module 108, for being write the file destination of the reception according to the target store path To memory area corresponding with the target store path.
Optionally, in one embodiment, as shown in Fig. 2 said apparatus also determine mould including the second target store path Block 110, for when the corresponding data type of the file destination is not belonging to the default flag data type, obtaining described The store path that file destination is stored in the migration source terminal is used as target store path, and calls the file destination to write Enter module 108.
Optionally, in one embodiment, as shown in Fig. 2 said apparatus also include that target store path confirms module 112, for showing the target store path in the form of selecting component with store path;Receive the store path in the displaying Select the store path of component input to confirm instruction, and call the file destination writing module 108.
Optionally, in one embodiment, as shown in Fig. 2 said apparatus also include that store path changes module 114, uses In the store path change directive that the store path in the displaying selects component to be input into is received, obtain with the store path more Change the corresponding store path of instruction as target store path, and call the file destination writing module 108.
Optionally, in one embodiment, when the corresponding data type of the file destination is application data type, institute It is corresponding that target store path corresponding with the file destination is stated with the internal storage areas of the terminal.
After employing above-mentioned data migration method and device, during Data Migration is carried out, if to be migrated Target data is the default data type for needing to change store path, then determine which in data according to its corresponding data type Store path in the target migration terminal of migration, rather than using the original storage road on migration source terminal of the file destination Footpath, that is to say, that in being not the direct replication band target migration terminal of store path in traditional direct source terminal by migration Go, increased the data motility that storage location is selected in target migrates terminal in data migration process.
In one embodiment, as shown in figure 3, Fig. 3 illustrate a kind of above-mentioned data migration method of operation based on Feng Nuo According to the terminal of the computer system of graceful system.The computer system can be smart mobile phone, panel computer, palm PC, notes The terminal unit such as this computer or PC.Specifically, it may include by the outer input interface 1001 of system bus connection, place Reason device 1002, memorizer 1003 and output interface 1004.Wherein, outer input interface 1001 optionally at least can be connect including network Mouth 10012.Memorizer 1003 may include external memory 10032 (such as hard disk, CD or floppy disk etc.) and built-in storage 10034. Output interface 1004 can at least include 10042 grade equipment of display screen.
In the present embodiment, the operation of this method is based on computer program, and the program file of the computer program is stored in In the external memory 10032 of the aforementioned computer system based on von Neumann system, built-in storage is operationally loaded into In 10034, perform during processor 1002 is transferred to after being then compiled as machine code, so that being based on von Neumann system Computer system in form file destination receiver module 102 in logic, judge module 104, first object store path true Cover half block 106, file destination writing module 108, the second target store path determining module 110, target store path confirm mould Block 112 and store path change module 114.And in above-mentioned data migration method implementation procedure, the parameter of input passes through Outer input interface 1001 is received, and is cached in being transferred to memorizer 1003, is processed in being then input to processor 1002, The result data of process is subsequently processed in being cached in memorizer 1003, or be passed to output interface 1004 carry out it is defeated Go out.
Specifically, in the present embodiment, input interface 1001 is used to receive the file destination that migration source terminal sends, and processes Device 1002 is used to determine the corresponding data type of the file destination;Judge whether the corresponding data type of the file destination belongs to In default flag data type;If so, then according to default data type and the corresponding relation of store path determine with it is described The corresponding data type of file destination is used as target store path corresponding with the file destination;Memorizer 1003 is according to described The file destination of the reception is written to memory area corresponding with the target store path by target store path.
In an alternate embodiment of the invention, judge whether the corresponding data type of the file destination belongs to pre- in processor 1002 If flag data type after, be not belonging to the default flag data type in the corresponding data type of the file destination When, processor 1002 is additionally operable to obtain the store path that the file destination stored in the migration source terminal and deposits as target Storage path.
In an alternate embodiment of the invention, in memorizer 1003 according to the target store path by the file destination of the reception Before being written to memory area corresponding with the target store path, output interface 1004 is additionally operable to store path selection group The form of part shows the target store path;Input interface 1001 receives the store path selection component input in the displaying Store path confirm instruction, input interface 1002 receive store path confirm instruction when, memorizer 1003 is according to described The file destination of the reception is written to memory area corresponding with the target store path by target store path.
In an alternate embodiment of the invention, show that the target is deposited in the form of output interface 1004 selects component with store path After storage path, input interface 1001 receives the store path change of the store path selection component input in the displaying and refers to Order, processor 1002 obtain store path corresponding with the store path change directive as target store path, memorizer The file destination of the reception is written to deposit corresponding with the target store path according to the target store path by 1003 Storage area domain.
Above disclosed is only present pre-ferred embodiments, and the right model of the present invention can not be limited certainly with this Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope covered by the present invention.

Claims (10)

1. a kind of data migration method, it is characterised in that include:
The file destination that migration source terminal sends is received, the corresponding data type of the file destination is determined;
Judge whether the corresponding data type of the file destination belongs to default flag data type;
If so, data corresponding with the file destination are determined with the corresponding relation of store path according to default data type then Type is used as target store path corresponding with the file destination;
The file destination of the reception is written to by deposit corresponding with the target store path according to the target store path Storage area domain.
2. data migration method according to claim 1, it is characterised in that the corresponding number of the judgement file destination Also include after the step of whether belonging to default flag data type according to type:
When the corresponding data type of the file destination is not belonging to the default flag data type, the target text is obtained The store path that part is stored in the migration source terminal is used as target store path, and performs described according to target storage The step of file destination of the reception is written to memory area corresponding with the target store path by path.
3. data migration method according to claim 1, it is characterised in that it is described according to the target store path by institute Also include before stating the step of the file destination of reception is written to memory area corresponding with the target store path:
Show the target store path in the form of store path selects component;
The store path for receiving the store path selection component input in the displaying confirms instruction, and performs described in the basis The step of file destination of the reception is written to memory area corresponding with the target store path by target store path.
4. data migration method according to claim 3, it is characterised in that described in the form of store path selects component Also include after showing the target store path:
The store path change directive of the store path selection component input in the displaying is received, is obtained and the store path The corresponding store path of change directive is used as target store path, and performs and described connect described according to the target store path The step of file destination of receipts is written to memory area corresponding with the target store path.
5. data migration method according to claim 1 and 2, it is characterised in that in the corresponding data of the file destination When type is application data type, the storage inside of the target store path corresponding with the file destination and the terminal Region is corresponding.
6. a kind of data migration device, it is characterised in that include:
File destination receiver module, for receiving the file destination that migration source terminal sends, determines that the file destination is corresponding Data type;
Judge module, for judging whether the corresponding data type of the file destination belongs to default flag data type;
First object store path determining module, for belonging to default reference numerals in the corresponding data type of the file destination During according to type, data class corresponding with the file destination is determined with the corresponding relation of store path according to default data type Type is used as target store path corresponding with the file destination;
File destination writing module, for according to the target store path by the file destination of the reception be written to it is described The corresponding memory area of target store path.
7. data migration device according to claim 6, it is characterised in that described device also includes that the second target stores road Footpath determining module, for when the corresponding data type of the file destination is not belonging to the default flag data type, obtaining Take file destination store path for storing in the migration source terminal and, as target store path, and call the target File writing module.
8. data migration device according to claim 6, it is characterised in that described device also includes that target store path is true Recognize module, for showing the target store path in the form of component being selected with store path;Receive the storage in the displaying The store path of Path selection component input confirms instruction, and calls the file destination writing module.
9. data migration device according to claim 8, it is characterised in that described device also includes that store path changes mould Block, the store path for receiving in the displaying select the store path change directive of component input, obtain and the storage Path change instructs corresponding store path as target store path, and calls the file destination writing module.
10. the data migration device according to claim 6 or 7, it is characterised in that in the corresponding data of the file destination When type is application data type, the storage inside of the target store path corresponding with the file destination and the terminal Region is corresponding.
CN201610915945.5A 2016-10-20 2016-10-20 A kind of data migration method and device Pending CN106547486A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610915945.5A CN106547486A (en) 2016-10-20 2016-10-20 A kind of data migration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610915945.5A CN106547486A (en) 2016-10-20 2016-10-20 A kind of data migration method and device

Publications (1)

Publication Number Publication Date
CN106547486A true CN106547486A (en) 2017-03-29

Family

ID=58392021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610915945.5A Pending CN106547486A (en) 2016-10-20 2016-10-20 A kind of data migration method and device

Country Status (1)

Country Link
CN (1) CN106547486A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577428A (en) * 2017-08-31 2018-01-12 郑州云海信息技术有限公司 A kind of date storage method and device
CN108388487A (en) * 2018-03-01 2018-08-10 上海达梦数据库有限公司 A kind of data loading process, device, equipment and storage medium
CN113568784A (en) * 2021-08-11 2021-10-29 深圳万兴软件有限公司 Method and device for Android end backup and IOS end data reduction and related components
CN113905357A (en) * 2021-12-09 2022-01-07 深圳软牛科技有限公司 Data migration method, device, equipment and storage medium based on WiFi direct connection
CN115017096A (en) * 2021-12-30 2022-09-06 荣耀终端有限公司 Data migration method, readable medium and electronic device
CN115080505A (en) * 2021-09-08 2022-09-20 荣耀终端有限公司 Data migration method, terminal, storage medium, and program product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615761A (en) * 2015-02-13 2015-05-13 深圳市欧珀通信软件有限公司 Downloading method and downloading device for data of bookmark of mobile terminal
CN105100195A (en) * 2015-05-29 2015-11-25 努比亚技术有限公司 Data transmission method and device thereof
EP2990947A1 (en) * 2014-08-15 2016-03-02 Xiaomi Inc. Method and apparatus for backing up data and electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2990947A1 (en) * 2014-08-15 2016-03-02 Xiaomi Inc. Method and apparatus for backing up data and electronic device
CN104615761A (en) * 2015-02-13 2015-05-13 深圳市欧珀通信软件有限公司 Downloading method and downloading device for data of bookmark of mobile terminal
CN105100195A (en) * 2015-05-29 2015-11-25 努比亚技术有限公司 Data transmission method and device thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577428A (en) * 2017-08-31 2018-01-12 郑州云海信息技术有限公司 A kind of date storage method and device
CN108388487A (en) * 2018-03-01 2018-08-10 上海达梦数据库有限公司 A kind of data loading process, device, equipment and storage medium
CN113568784A (en) * 2021-08-11 2021-10-29 深圳万兴软件有限公司 Method and device for Android end backup and IOS end data reduction and related components
CN115080505A (en) * 2021-09-08 2022-09-20 荣耀终端有限公司 Data migration method, terminal, storage medium, and program product
CN113905357A (en) * 2021-12-09 2022-01-07 深圳软牛科技有限公司 Data migration method, device, equipment and storage medium based on WiFi direct connection
CN115017096A (en) * 2021-12-30 2022-09-06 荣耀终端有限公司 Data migration method, readable medium and electronic device
CN115017096B (en) * 2021-12-30 2023-10-31 荣耀终端有限公司 Data migration method, readable medium and electronic device

Similar Documents

Publication Publication Date Title
CN106547486A (en) A kind of data migration method and device
CN106445663A (en) Application data migration method and device
CN107438814A (en) Entity action suggestion on mobile device
EP2587771A1 (en) Improved handling and configuration of a mobile communications terminal
CN105453017A (en) Method and apparatus for providing graphic user interface
CN105867714A (en) Application downloading method, apparatus and system
CN107480001A (en) System recovery method and device
CN108431763A (en) Pass through the multiple cloud storage devices of network service management
CN104820683A (en) Terminal
CN103188321A (en) Information synchronizing method and system based on cloud server
US11232066B2 (en) Method for data migration and terminal
CN107491324A (en) A kind of method and terminal for installing application program
CN106354570A (en) Account information copying and pasting method and device
CN106202578A (en) A kind of browser local information synchronization processing method and device
CN107632872B (en) Desktop layout processing method, user data processing method and device and computer storage medium
CN107645582A (en) A kind of information variation, terminal device and computer-readable medium
CN104834687A (en) Picture display method
CN104615662A (en) Data processing method and device and terminal device
CN109246467A (en) Label is to the method, apparatus of sharing video frequency, video camera and smart phone
CN104168536A (en) Method and system for copying data between mobile terminals
CN106527979B (en) Data migration method and device
CN106598617A (en) Method for setting webpage shortcut, and electronic equipment
CN109361806A (en) Black number storage method, black number mark method, system and device
CN106775445B (en) Data migration method and device
CN108241515A (en) Application shortcut method for building up and terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170329