CN106375465B - A kind of data migration method and server - Google Patents
A kind of data migration method and server Download PDFInfo
- Publication number
- CN106375465B CN106375465B CN201610826548.0A CN201610826548A CN106375465B CN 106375465 B CN106375465 B CN 106375465B CN 201610826548 A CN201610826548 A CN 201610826548A CN 106375465 B CN106375465 B CN 106375465B
- Authority
- CN
- China
- Prior art keywords
- terminal device
- data
- migrated
- server
- terminal
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/563—Data redirection of data network streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/148—Migration or transfer of sessions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention provides a kind of data migration methods, which comprises receives the data to be migrated sent by mobile terminal and two dimensional code;After detecting two dimensional code described in terminal device scans, the connection between server and the terminal device is established;The data to be migrated are migrated to the terminal device.The embodiment of the invention also provides a kind of servers.Through the embodiment of the present invention Data Migration can be realized in the case where not limited by distance.
Description
Technical field
The present invention relates to Internet technical fields, and in particular to a kind of data migration method and server.
Background technique
With information technology fast development, mobile terminal (such as mobile phone, tablet computer) updates more and more frequent.
Currently, when being supplied to the hand-off machine of user in the market, the function that uses mobile phone to move.The function can incite somebody to action entire old hand-set data,
Software etc. is all intact to copy new cell-phone to, thus, it changes planes and is provided conveniently for user, still, this method is only limitted to
Data Migration is carried out between two mobile terminals, thus, it is easy to be limited by distance in data migration process, thus, it reduces
User experience.
Summary of the invention
The embodiment of the invention provides a kind of data migration method and servers, can be the case where not limited by distance
Under, realize Data Migration.
First aspect of the embodiment of the present invention provides a kind of data migration method, comprising:
Receive the data to be migrated sent by mobile terminal and two dimensional code;
After detecting two dimensional code described in terminal device scans, the company between server and the terminal device is established
It connects;
The data to be migrated are migrated to the terminal device.
Second aspect of the embodiment of the present invention provides a kind of server, comprising:
Receiving unit, for receiving by the data to be migrated and two dimensional code of mobile terminal transmission;
Unit is established, for after detecting two dimensional code described in terminal device scans, establishing server and the terminal
Connection between equipment;
Migration units, for migrating the data to be migrated to the terminal device.
The third aspect of the embodiment of the present invention provides a kind of server, comprising:
Processor and memory;Wherein, the processor is by calling the code in the memory or instructing to execute
The some or all of step of method described in first aspect.
The implementation of the embodiments of the present invention has the following beneficial effects:
The data to be migrated sent by mobile terminal and two dimensional code are received through the embodiment of the present invention, are detecting that terminal sets
After scanning the two-dimensional code, the connection between server and terminal device is established, migrates data to be migrated to terminal device.From
And complete the Data Migration between mobile terminal and terminal device using server, also, due to terminal device by with clothes
Business device is communicated, thus, Data Migration can be realized in the case where not limited by distance.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of network architecture schematic diagram of data mover system provided in an embodiment of the present invention;
Fig. 2 is a kind of first embodiment flow diagram of data migration method provided in an embodiment of the present invention;
Fig. 3 is a kind of second embodiment flow diagram of data migration method provided in an embodiment of the present invention;
Fig. 4 is a kind of 3rd embodiment flow diagram of data migration method provided in an embodiment of the present invention;
Fig. 5 is a kind of fourth embodiment flow diagram of data migration method provided in an embodiment of the present invention;
Fig. 6 a is a kind of schematic structural diagram of the first embodiment of server provided in an embodiment of the present invention;
Fig. 6 b is the structural schematic diagram of the migration units of server described in Fig. 6 a provided in an embodiment of the present invention;
Fig. 6 c is the another structural schematic diagram of server described in Fig. 6 a provided in an embodiment of the present invention;
Fig. 6 d is the another structural schematic diagram of server described in Fig. 6 a provided in an embodiment of the present invention;
Fig. 6 e is the another structural schematic diagram of server described in Fig. 6 a provided in an embodiment of the present invention;
Fig. 7 is a kind of schematic structural diagram of the second embodiment of server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third " and " in the attached drawing
Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it
Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be
System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list
Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
Containing at least one embodiment of the present invention.It is identical that each position in the description shows that the phrase might not be each meant
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Data described in the embodiment of the present invention may include using (such as social application, Video Applications, application of taking pictures, trip
Play application etc.), file, file (such as text file, video file, audio file, photo), data cached, secret number
According to etc., above-mentioned data are only citings, and non exhaustive, including but not limited to above-mentioned data.
Mobile terminal or terminal device described in the embodiment of the present invention may include smart phone (such as Android hand
Machine, iOS mobile phone, Windows Phone mobile phone etc.), tablet computer, palm PC, laptop, mobile internet device
(MID, Mobile Internet Devices) or wearable device etc., above-mentioned is only citing, and non exhaustive, includes but unlimited
In above-mentioned mobile terminal or terminal device.Certainly, the terminal device mentioned in the embodiment of the present invention can be with mobile terminal phase
Together, for example, terminal device is mobile phone, mobile terminal is another mobile phone;Terminal device can also be not identical as mobile terminal, for example,
Terminal device is mobile phone, and mobile terminal is tablet computer.
Referring to Figure 1, Fig. 1 is that the embodiment of the invention provides a kind of network architecture of data mover system, the network structures
Frame can include: mobile terminal, server and at least one terminal device, wherein server can be the clothes of mobile terminal manufacturer
Business device, Cloud Server etc., can pass through Wireless Fidelity (Wireless Fidelity, Wi-Fi) between mobile terminal and server
Network, mobile communications network (such as 2G, 3G, 4G, 5G), cable network establish communication connection;Between terminal and server
Can by Wireless Fidelity (Wireless Fidelity, Wi-Fi) network, mobile communications network (such as 2G, 3G, 4G, 5G),
Cable network establishes communication connection.For example, the receivable migrating data sent by mobile terminal of server and two dimensional code, server
After detecting terminal device scans two dimensional code, the connection between the server and terminal device is established, and to terminal device
Migrate the data to be migrated.
Based on the network architecture of data mover system described in Fig. 1, referring to Fig. 2, being provided in an embodiment of the present invention
A kind of first embodiment flow diagram of data migration method.Data migration method as described in this embodiment, including with
Lower step:
201, the data to be migrated sent by mobile terminal and two dimensional code are received.
Wherein, server, which can receive the data to be migrated sent by mobile terminal and two dimensional code, server, can pass through two dimension
Code generates the account and password for logging in the server.
Optionally, it before step 201, can also comprise the following steps:
The two dimensional code of the acquisition for mobile terminal mobile terminal;
By in the mobile terminal data to be migrated and the two dimensional code to server.
Wherein, after mobile terminal receives migration instruction, two dimensional code is produced, at this point, two dimension can be obtained in mobile terminal
The two dimensional code and data to be migrated can be sent to server by code, and server, which can convert the two dimensional code to, logs in the server
Account and password.Certainly, which can be for two dimensional code described in other terminal device scans.Other terminal devices can be
Any terminal equipment, or the terminal device that user specifies.The two dimensional code can be sent to other terminals and set by mobile terminal
Standby, which can scan the two dimensional code.Optionally, mobile terminal can be by establishing hot spot, and terminal device connection should
Then two dimensional code is sent to terminal device by mobile terminal;Alternatively, mobile terminal can open bluetooth, terminal device connection should
Two dimensional code will be sent to terminal device by bluetooth by mobile terminal, mobile terminal.
202, it after detecting two dimensional code described in terminal device scans, establishes between server and the terminal device
Connection.
Wherein, it in terminal device after scanning the two dimensional code, can be converted into for the account of login service device and close
Code, server verifies the account and password, after being verified, can establish the company between server and terminal device
It connects.
Optionally, connection can be established between mobile terminal and terminal device, can not also be established connection, be built therebetween
After vertical connection, above-mentioned two dimensional code can be sent to terminal device by mobile terminal, when not setting up connection therebetween, mobile terminal
It can show two dimensional code, the terminal device scans two dimensional code.
203, Xiang Suoshu terminal device migrates the data to be migrated.
Optionally, multithreading or multi-process can be used and migrate data to be migrated to terminal device.For example, by number to be migrated
According to multiple data sets are divided into, a thread or process is can be used in each data set, come for transmitting the number to terminal device
According to collection, in this way, data migration efficiency can be promoted.
It is optionally, above-mentioned that migrate the data to be migrated to the terminal device may include following steps:
31) data to be migrated, are divided into K data set, wherein the K is the integer greater than 1;
32) frequency of use of the K data set in the mobile terminal, is determined;
33) the K data set, is migrated to the terminal device according to the high priority migration principle of frequency of use.
Wherein, in step 31, mobile terminal can display data list, user can choose in data list, choose
The data to be migrated can be divided into K data set, wherein K as data to be migrated, and further by the data for needing to transmit
For the integer greater than 1, wherein K can be specified by system statistics (such as K application, can be denoted as K data set) or by user.It can
The frequency of use for each data set that the K data are concentrated is determined respectively, can be determined according to the sequence of frequency of use from high to low
The migration sequence of the K data set, the i.e. higher data set of frequency of use then more first migrate, and the lower data set of frequency of use is then
It migrates more afterwards, then data to be migrated can be transferred to terminal device according to migration sequence.
Optionally, mobile in the specific implementation, the Data Migration between mobile terminal and multiple terminal devices can also be realized
Two dimensional code and data to be migrated can be sent to server by terminal, and server produces login account and password, multiple terminals are set
Any terminal equipment in standby, which can scan the two-dimensional code, generates login account and password, login account that server is generated according to it and
The login account and password that password generates any terminal equipment are verified, if being verified, allow the terminal device
Login service device, after multiple terminal devices login service device, the more terminal devices can be marked respectively for server, example
Such as, it marks are as follows: terminal device 1, terminal device 2, terminal device 3 etc..In this way, server can be to Data Migration to be migrated at most
Any terminal equipment in a terminal device, thus, it realizes the Data Migration between mobile terminal and multiple terminal devices, improves
Data migration efficiency.
The data to be migrated sent by mobile terminal and two dimensional code are received through the embodiment of the present invention, are detecting that terminal sets
After scanning the two-dimensional code, the connection between server and terminal device is established, migrates data to be migrated to terminal device.From
And complete the Data Migration between mobile terminal and terminal device using server, also, due to terminal device by with clothes
Business device is communicated, thus, Data Migration can be realized in the case where not limited by distance.
Consistent with the abovely, referring to Fig. 3, for a kind of second implementation of data migration method provided in an embodiment of the present invention
Example flow diagram.Data migration method as described in this embodiment, comprising the following steps:
301, the data to be migrated sent by mobile terminal and two dimensional code are received.
302, it after detecting two dimensional code described in terminal device scans, establishes between server and the terminal device
Connection.
303, the identity information of the terminal device is verified.
Optionally, the identity information of terminal device may include, but are not limited to: integrated circuit card identification code (Integrate
Circuit Card Identity, ICCID), international mobile device mark (International Mobile Equipment
Identity, IMEI), telephone number, the character string inputted by user from terminal device, iris information, finger print information, face
Information etc..
Optionally, the above-mentioned identity information to the terminal device is verified, it may include:
Obtain the identity information of terminal device;The identity information is matched with default identity information, if successful match,
Step 304 then can be performed.Wherein, default identity information can be preset by user.For example, the identity information of terminal device is to refer to
Line information, then, when the finger print information is verified, mainly finger print information is matched with preset fingerprint information.
304, after the identity information of the terminal device is verified, the migration of Xiang Suoshu terminal device is described to be migrated
Data.
Wherein, it is verified in the identity information of terminal device by rear, data to be migrated can be migrated to terminal device, such as
This, can be improved safety of the data to be migrated in transition process, to prevent the terminal device of unauthorized from connecting with server, from
And lead to leaking data.
The data to be migrated sent by mobile terminal and two dimensional code are received through the embodiment of the present invention, are detecting that terminal sets
After scanning the two-dimensional code, the connection between server and terminal device is established, and after the authentication of terminal device passes through,
Data to be migrated are migrated to terminal device.To complete the data between mobile terminal and terminal device using server and move
It moves, also, since terminal device with server by being communicated, thus, number can be realized in the case where not limited by distance
According to migration, also, before migration, the identity of terminal device can be verified, can further improve the safety of Data Migration.
Consistent with the abovely, referring to Fig. 4, for a kind of third implementation of data migration method provided in an embodiment of the present invention
Example flow diagram.Data migration method as described in this embodiment, comprising the following steps:
401, the data to be migrated sent by mobile terminal and two dimensional code are received.
402, it after detecting two dimensional code described in terminal device scans, establishes between server and the terminal device
Connection.
403, the free memory space of the terminal device is determined.
Optionally, server can send free memory space acquisition request to terminal device, thus, obtain terminal device
Free memory space.
404, the data to be migrated are migrated to the terminal device according to the free memory space.
Optionally, the data to be migrated are migrated to the terminal device according to the free memory space, comprising as follows
Step:
41), when the free memory space is greater than the memory space of the data to be migrated, Xiang Suoshu terminal device is moved
Move the data to be migrated;
42), when the free memory space is less than the memory space of the data to be migrated, the number to be migrated is chosen
Target data in, and the target data is migrated to the terminal device, the memory space of the target data is less than institute
State free memory storage space.
Wherein, it when free memory space is greater than the memory space of data to be migrated, can be directly somebody's turn to do to terminal device migration
Data to be migrated, and free memory space be less than data to be migrated memory space when, can only from data to be migrated selection portion
For divided data as target data, memory space shared by the target data is less than the residual memory space.It is above-mentioned how to choose mesh
Data are marked, can refer to such as under type: pending data is divided into K data set, wherein K is greater than 1 integer, can be from K number
At least one data set is chosen according to concentrating, if the memory space of at least one data set is less than residual memory space, then, it will
At least one data set is as target data.
The data to be migrated sent by mobile terminal and two dimensional code are received through the embodiment of the present invention, are detecting that terminal sets
After scanning the two-dimensional code, the connection between server and terminal device is established, it can be according to the free memory space of terminal device
Data to be migrated are migrated to terminal device.To complete the data between mobile terminal and terminal device using server and move
It moves, also, since terminal device with server by being communicated, thus, number can be realized in the case where not limited by distance
According to migration.
Consistent with the abovely, referring to Fig. 5, for a kind of 4th implementation of data migration method provided in an embodiment of the present invention
Example flow diagram.Data migration method as described in this embodiment, comprising the following steps:
501, the data to be migrated sent by mobile terminal and two dimensional code are received.
502, it after detecting two dimensional code described in terminal device scans, establishes between server and the terminal device
Connection.
503, the N number of application being currently running in the terminal device is determined, the N is the integer greater than 1.
Wherein, server can determine the N number of application being currently running in terminal device, and certainly, which may include
System application, alternatively, general application, such as: application of taking pictures, shopping application etc., it is generally the case that N is the integer greater than 1.
Optionally, server can monitor the application of each unlatching in terminal device, thus, this can be directly determined
The N number of application being currently running in terminal device.
It is understood that necessarily applying and driving application in N number of application comprising system, system application is to guarantee to grasp
Make system normal operation, it further includes that other are routinely applied that driving application is that driver is run certainly, in N number of application,
This, conventional application is regarded as, and after closing the application, does not interfere with the application of the running of operating system, it is understood that
For third-party application.
504, N number of application is matched with default list of application.
Wherein, default list of application can be configured in the server in advance, may include in the default list of application to
A few conventional application.N number of application can be matched with default list of application one by one, i.e., first be answered any in N number of application
It is matched with default list of application, then, then the another application in N number of application is matched with default list of application,
And so on, can determine which application is present in default list of application in N number of application, which is not present in default application
In list.
For example, N number of application includes: QQ, wechat, Taobao, Baidu map, default list of application includes: Taobao, Baidu
Figure, Meituan, beauty Yan Xiangji, then, when being matched N number of application with default list of application, Taobao, Baidu can be obtained
Figure is present in default list of application, and QQ, wechat are not present in default list of application.
It is applied in N number of application comprising M when being present in the default list of application if 505, matching, described in instruction
Terminal device closes the M application, wherein the M is the integer greater than 0 and less than the N.
Optionally, it if after N number of application match with default list of application, obtains M in N number of application and applies to be present in
In default list of application, then this M application can be closed, which is the integer greater than 0 and less than N.In this way, mobile terminal can be reduced
Load, improve the treatment effeciency of mobile terminal, transport efficiency can be promoted.
506, Xiang Suoshu terminal device migrates the data to be migrated.
Wherein, it after closing M application, is waited for due to improving the core utilization of terminal device, then to terminal device
When migrating data, data migration efficiency can be improved.
The data to be migrated sent by mobile terminal and two dimensional code are received through the embodiment of the present invention, are detecting that terminal sets
After scanning the two-dimensional code, the connection between server and terminal device is established, can indicate that terminal device closes terminal device
In be currently running and belong to the application of default list of application, and migrate data to be migrated to terminal device.To using service
Device completes the Data Migration between mobile terminal and terminal device, also, since terminal device with server by being communicated,
Thus, Data Migration can be realized in the case where not limited by distance.Simultaneously as the part in terminal device can be closed
Using data migration efficiency can be promoted.
Consistent with the abovely, specific as follows the following are the device for implementing above-mentioned data migration method:
Fig. 6 a is please referred to, is a kind of schematic structural diagram of the first embodiment of server provided in an embodiment of the present invention.This reality
Apply server described in example, comprising: receiving unit 601 establishes unit 602 and migration units 603, specific as follows:
Receiving unit 601, for receiving by the data to be migrated and two dimensional code of mobile terminal transmission;
Unit 602 is established, for after detecting two dimensional code described in terminal device scans, establishing server and the end
Connection between end equipment;
Migration units 603, for migrating the data to be migrated to the terminal device.
Optionally, such as Fig. 6 b, the migration units 603 of server described in Fig. 6 a include:
Division module 6031, for the data to be migrated to be divided into K data set, wherein the K is whole greater than 1
Number;
Determining module 6032, for determining frequency of use of the K data set in the mobile terminal;
Transferring module 6033, it is K described for being migrated according to the high priority migration principle of frequency of use to the terminal device
Data set.
Optionally, such as Fig. 6 c, Fig. 6 c is a kind of modification structures of Fig. 6 a, and server described in Fig. 6 c may also include that
Authentication unit 604, specific as follows:
Authentication unit 604, for it is described establish connection that unit 602 is established between server and the terminal device it
Afterwards, the identity information of the terminal device is verified, and after the identity information of the terminal device is verified, by institute
It states migration units 603 and migrates the data to be migrated to the terminal device.
Optionally, if Fig. 6 d, Fig. 6 d are a kind of modification structures of Fig. 6 a, server described in Fig. 6 d further include: the
One determination unit 605, specific as follows:
First determination unit 605, in the company for establishing unit 602 and establishing between server and the terminal device
After connecing, the free memory space of the terminal device is determined;
The migration units 603 are specifically used for:
When the free memory space is greater than the memory space of the data to be migrated, Xiang Suoshu terminal device migrates institute
State data to be migrated;
When the free memory space is less than the memory space of the data to be migrated, choose in the data to be migrated
Target data, and migrate the target data to the terminal device, the memory space of the target data is less than described surplus
Remaining memory space.
Optionally, if Fig. 6 e, Fig. 6 e are a kind of modification structures of Fig. 6 a, server described in Fig. 6 e further include: the
Two determination units 606, matching unit 607 and indicating unit 608, specific as follows:
Second determination unit 606, in the company for establishing unit 602 and establishing between server and the terminal device
After connecing, the N number of application being currently running in the terminal device is determined, the N is the integer greater than 1;
Matching unit 607, for matching N number of application with default list of application;
Indicating unit 608 is present in if matching in N number of application for the matching unit 607 comprising M application
When the default list of application, indicate that the terminal device is closed described M and applied, from the migration units 603 to the end
End equipment migrates the data to be migrated, wherein the M is the integer greater than 0 and less than the N.
Described server through the embodiment of the present invention can receive the data and two dimension to be migrated sent by mobile terminal
Code, after detecting terminal device scans two dimensional code, establishes the connection between server and terminal device, moves to terminal device
Move data to be migrated.To, using the Data Migration between server completion mobile terminal and terminal device, also, due to
Terminal device by being communicated with server, thus, can in the case where not limited by distance, realize Data Migration.
Referring to Fig. 7, being a kind of schematic structural diagram of the second embodiment of server provided in an embodiment of the present invention.This implementation
Server described in example, comprising: at least one input equipment 1000;At least one output equipment 2000;At at least one
Manage device 3000, such as CPU;With memory 4000, above-mentioned input equipment 1000, output equipment 2000, processor 3000 and storage
Device 4000 is connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely touch panel, physical button or mouse.
Above-mentioned output equipment 2000 concretely display screen.
Above-mentioned memory 4000 can be high speed RAM memory, can also be nonvolatile storage (non-volatile
), such as magnetic disk storage memory.Above-mentioned memory 4000 is used to store a set of program code, above-mentioned input equipment 1000, defeated
Equipment 2000 and processor 3000 are used to call the program code stored in memory 4000 out, perform the following operations:
Above-mentioned processor 3000, is used for:
Receive the data to be migrated sent by mobile terminal and two dimensional code;
After detecting two dimensional code described in terminal device scans, the company between server and the terminal device is established
It connects;
The data to be migrated are migrated to the terminal device.
Optionally, above-mentioned processor 3000 migrates the data to be migrated to the terminal device, comprising:
The data to be migrated are divided into K data set, wherein the K is the integer greater than 1;
Determine frequency of use of the K data set in the mobile terminal;
The K data set is migrated to the terminal device according to the high priority migration principle of frequency of use.
Optionally, above-mentioned processor 3000 it is described establish the connection between server and the terminal device after, with
And before the data to be migrated to terminal device migration, also particularly useful for:
The identity information of the terminal device is verified, and is verified in the identity information of the terminal device
Afterwards, it executes described to the terminal device migration data to be migrated.
Optionally, above-mentioned processor 3000 it is described establish the connection between server and the terminal device after, also
It is specifically used for:
Determine the free memory space of the terminal device;
It is described to migrate the data to be migrated to the terminal device, comprising:
When the free memory space is greater than the memory space of the data to be migrated, Xiang Suoshu terminal device migrates institute
State data to be migrated;
When the free memory space is less than the memory space of the data to be migrated, choose in the data to be migrated
Target data, and migrate the target data to the terminal device, the memory space of the target data is less than described surplus
Remaining memory space.
Optionally, above-mentioned processor 3000 it is described establish the connection between server and the terminal device after, with
And before the data to be migrated to terminal device migration, also particularly useful for:
Determine the N number of application being currently running in the terminal device, the N is the integer greater than 1;
N number of application is matched with default list of application;
If matching in N number of application includes M using when being present in the default list of application, the terminal is indicated
Equipment closes the M application, executes and described migrates the data to be migrated to the terminal device, wherein the M for greater than
0 and be less than the N integer.
The embodiment of the present invention also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey
Sequence, the program include some or all of any data migration method recorded in above method embodiment step when executing
Suddenly.
Although combining each embodiment herein, invention has been described, however, implementing the claimed invention
In the process, those skilled in the art are by checking the attached drawing, disclosure and the appended claims, it will be appreciated that and it is real
Other variations of the existing open embodiment.In the claims, " comprising " (comprising) word is not excluded for other compositions
Part or step, "a" or "an" are not excluded for multiple situations.Claim may be implemented in single processor or other units
In several functions enumerating.Mutually different has been recited in mutually different dependent certain measures, it is not intended that these are arranged
It applies to combine and generates good effect.
It will be understood by those skilled in the art that the embodiment of the present invention can provide as method, apparatus (equipment) or computer journey
Sequence product.Therefore, complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in the present invention
The form of embodiment.Moreover, it wherein includes the calculating of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.Computer program is stored/distributed in suitable medium, is provided together with other hardware or as hardware
A part can also use other distribution forms, such as pass through the wired or wireless telecommunication system of Internet or other.
The present invention be referring to the embodiment of the present invention method, apparatus (equipment) and computer program product flow chart with/
Or block diagram describes.It should be understood that each process that can be realized by computer program instructions in flowchart and/or the block diagram and/
Or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer program instructions
To general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor to generate one
A machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing
The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although in conjunction with specific features and embodiment, invention has been described, it is clear that, do not departing from this hair
In the case where bright spirit and scope, it can be carry out various modifications and is combined.Correspondingly, the specification and drawings are only institute
The exemplary illustration of the invention that attached claim is defined, and be considered as covered in the scope of the invention any and all and repair
Change, change, combining or equivalent.Obviously, those skilled in the art various changes and modifications can be made to the invention without
It is detached from the spirit and scope of the present invention.If in this way, these modifications and changes of the present invention belong to the claims in the present invention and its
Within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.
Claims (11)
1. a kind of data migration method characterized by comprising
Server receives the data to be migrated sent by mobile terminal and two dimensional code, and server passes through two dimensional code generation login
The account and password of the server;
The two dimensional code is sent to terminal device by mobile terminal, wherein the two dimensional code is sent to end by the mobile terminal
End equipment includes: that mobile terminal establishes hot spot, and terminal device connects the mobile terminal, and mobile terminal passes through hot spot for two dimensional code
It is sent to terminal device, alternatively, mobile terminal opens bluetooth, terminal device connects the mobile terminal, and mobile terminal passes through indigo plant
Two dimensional code is sent to terminal device by tooth;
Server is after detecting two dimensional code described in terminal device scans, and to terminal device scans, the two dimensional code is converted to later
Login service device account and password verified, established after being verified between server and the terminal device
Connection;
Server migrates the data to be migrated to the terminal device.
2. the method according to claim 1, wherein described migrate the number to be migrated to the terminal device
According to, comprising:
The data to be migrated are divided into K data set, wherein the K is the integer greater than 1;
Determine frequency of use of the K data set in the mobile terminal;
The K data set is migrated to the terminal device according to the high priority migration principle of frequency of use.
3. the method according to any one of claims 1 and 2, which is characterized in that establish server and the terminal described
After connection between equipment and before the data to be migrated to terminal device migration, the method is also wrapped
It includes:
The identity information of the terminal device is verified, and after the identity information of the terminal device is verified, is held
Row is described to migrate the data to be migrated to the terminal device.
4. the method according to any one of claims 1 and 2, which is characterized in that establish server and the terminal described
After connection between equipment, the method also includes:
Determine the free memory space of the terminal device;
It is described to migrate the data to be migrated to the terminal device, comprising:
When the free memory space is greater than the memory space of the data to be migrated, the migration of Xiang Suoshu terminal device it is described to
Migrating data;
When the free memory space is less than the memory space of the data to be migrated, the mesh in the data to be migrated is chosen
Data are marked, and migrate the target data to the terminal device, the memory space of the target data is less than in the residue
Memory space.
5. the method according to any one of claims 1 and 2, which is characterized in that establish server and the terminal described
After connection between equipment and before the data to be migrated to terminal device migration, the method is also wrapped
It includes:
Determine the N number of application being currently running in the terminal device, the N is the integer greater than 1;
N number of application is matched with default list of application;
If matching in N number of application includes M using when being present in the default list of application, the terminal device is indicated
Close the M application, execute and described migrate the data to be migrated to the terminal device, wherein the M be greater than 0 and
Less than the integer of the N.
6. a kind of server characterized by comprising
Receiving unit, for receiving by the data to be migrated and two dimensional code of mobile terminal transmission;
Unit is established, for after detecting two dimensional code described in terminal device scans, establishing server and the terminal device
Between connection;Wherein, the two dimensional code is sent to the terminal device by mobile terminal, wherein the two dimensional code is by described
It includes: that mobile terminal establishes hot spot that mobile terminal, which is sent to the terminal device, and terminal device connects the mobile terminal, mobile
Two dimensional code is sent to terminal device by hot spot by terminal, alternatively, mobile terminal opens bluetooth, terminal device connects the movement
Two dimensional code is sent to terminal device by bluetooth by terminal, mobile terminal;
Migration units, for migrating the data to be migrated to the terminal device.
7. server according to claim 6, which is characterized in that the migration units include:
Division module, for the data to be migrated to be divided into K data set, wherein the K is the integer greater than 1;
Determining module, for determining frequency of use of the K data set in the mobile terminal;
Transferring module, for migrating the K data set to the terminal device according to the high priority migration principle of frequency of use.
8. the described in any item servers of according to claim 6 or 7, which is characterized in that the server further include:
Authentication unit, for being established after unit establishes the connection between server and the terminal device described, to described
The identity information of terminal device is verified, and after the identity information of the terminal device is verified, single by the migration
Member migrates the data to be migrated to the terminal device.
9. the described in any item servers of according to claim 6 or 7, which is characterized in that the server further include:
First determination unit, for being established after unit establishes the connection between server and the terminal device described, really
The free memory space of the fixed terminal device;
The migration units are specifically used for:
When the free memory space is greater than the memory space of the data to be migrated, the migration of Xiang Suoshu terminal device it is described to
Migrating data;
When the free memory space is less than the memory space of the data to be migrated, the mesh in the data to be migrated is chosen
Data are marked, and migrate the target data to the terminal device, the memory space of the target data is less than in the residue
Memory space.
10. the described in any item servers of according to claim 6 or 7, which is characterized in that the server further include:
Second determination unit, for being established after unit establishes the connection between server and the terminal device described, really
The N number of application being currently running in the fixed terminal device, the N are the integer greater than 1;
Matching unit, for matching N number of application with default list of application;
Indicating unit is answered if matching for the matching unit and being present in described preset comprising M application in N number of application
When with list, indicate that the terminal device closes the M application, from the migration units to described in terminal device migration
Data to be migrated, wherein the M is the integer greater than 0 and less than the N.
11. a kind of server characterized by comprising
Processor and memory;Wherein, the processor is by calling the code in the memory or instructing to execute such as power
Benefit requires method described in 1 to 5 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610826548.0A CN106375465B (en) | 2016-09-14 | 2016-09-14 | A kind of data migration method and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610826548.0A CN106375465B (en) | 2016-09-14 | 2016-09-14 | A kind of data migration method and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106375465A CN106375465A (en) | 2017-02-01 |
CN106375465B true CN106375465B (en) | 2019-08-20 |
Family
ID=57897017
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610826548.0A Active CN106375465B (en) | 2016-09-14 | 2016-09-14 | A kind of data migration method and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106375465B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107291518B (en) * | 2017-07-28 | 2020-10-02 | 维沃移动通信有限公司 | Application installation method, mobile terminal and server |
CN108093025A (en) * | 2017-11-16 | 2018-05-29 | 维沃移动通信有限公司 | A kind of method and apparatus of data synchronization |
CN109067823A (en) * | 2018-06-11 | 2018-12-21 | 中国平安人寿保险股份有限公司 | A kind of data migration method, device, computer equipment and storage medium |
CN109802884B (en) * | 2018-12-29 | 2021-09-07 | 论客科技(广州)有限公司 | Campus mail migration method and device |
CN110971592A (en) * | 2019-11-18 | 2020-04-07 | 上海擎感智能科技有限公司 | Creation/data sharing method/system, medium, service/client |
CN113515498A (en) * | 2020-04-10 | 2021-10-19 | 中兴通讯股份有限公司 | Data migration method, terminal and computer readable storage medium |
CN111798856A (en) * | 2020-07-07 | 2020-10-20 | 云知声智能科技股份有限公司 | Voice input method and device based on mobile terminal, server and storage medium |
CN114401278B (en) * | 2021-12-27 | 2023-11-17 | 深圳软牛科技有限公司 | Cross-platform transmission method, system, equipment and storage medium for Line App data |
CN116089358B (en) * | 2022-06-02 | 2023-11-24 | 荣耀终端有限公司 | Data migration method and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103699429A (en) * | 2013-12-31 | 2014-04-02 | 华为技术有限公司 | Virtual machine migration method and virtual machine migration device |
CN103841140A (en) * | 2012-11-22 | 2014-06-04 | 北京百度网讯科技有限公司 | Inter-terminal information mutual-transmission method, system and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014210612A1 (en) * | 2013-06-28 | 2014-12-31 | Quickmii Corporation | Automatically uploading user profile information |
-
2016
- 2016-09-14 CN CN201610826548.0A patent/CN106375465B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103841140A (en) * | 2012-11-22 | 2014-06-04 | 北京百度网讯科技有限公司 | Inter-terminal information mutual-transmission method, system and device |
CN103699429A (en) * | 2013-12-31 | 2014-04-02 | 华为技术有限公司 | Virtual machine migration method and virtual machine migration device |
Also Published As
Publication number | Publication date |
---|---|
CN106375465A (en) | 2017-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106375465B (en) | A kind of data migration method and server | |
CN112733107A (en) | Information verification method, related device, equipment and storage medium | |
CN104065653B (en) | A kind of interactive auth method, device, system and relevant device | |
CN107249004B (en) | Identity authentication method, device and client | |
CN110011978B (en) | Method, system, device and computer equipment for modifying block chain network configuration | |
CN103873692B (en) | Method, device and system for resource sharing | |
CN112287372B (en) | Method and apparatus for protecting clipboard privacy | |
CN108920366A (en) | One seed application adjustment method, apparatus and system | |
CN104967597A (en) | Third-party application message authentication method and system based on secure channel | |
CN106375478B (en) | A kind of synchronous method of mobile terminal data, apparatus and system | |
CN104063650B (en) | A kind of key storage device and using method thereof | |
CN106341811A (en) | Data migration method and server | |
CN106254323A (en) | The exchange method of a kind of TA and SE, TA, SE and TSM platform | |
CN106851779A (en) | A kind of method and mobile terminal for recognizing access point and focus | |
CN111061524A (en) | Application data processing method and related device | |
CN106792699A (en) | A kind of Wireless Fidelity Wi Fi connection methods and mobile terminal | |
CN105550934A (en) | System and method for pushing WeChat soft advertisement in virtual reality | |
CN112165704A (en) | Information sharing method, earphone box and computer readable storage medium | |
CN105577375A (en) | Identity authentication method and device | |
CN107548083B (en) | Wireless access point function test method and device | |
CN112417485A (en) | Model training method, system and device based on trusted execution environment | |
CN110351225A (en) | A kind of networking method of hardware device, device, system and storage medium | |
CN111371737A (en) | Internet of things security access system based on NB-IoT | |
CN107111707A (en) | Smart card, mobile terminal and the method that network ID authentication is carried out using smart card | |
EP2993856B1 (en) | Establishment of communication connection between mobile device and secure element |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |