CN106375465A - Data migration method and server - Google Patents

Data migration method and server Download PDF

Info

Publication number
CN106375465A
CN106375465A CN201610826548.0A CN201610826548A CN106375465A CN 106375465 A CN106375465 A CN 106375465A CN 201610826548 A CN201610826548 A CN 201610826548A CN 106375465 A CN106375465 A CN 106375465A
Authority
CN
China
Prior art keywords
data
terminal unit
migrated
server
unit
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.)
Granted
Application number
CN201610826548.0A
Other languages
Chinese (zh)
Other versions
CN106375465B (en
Inventor
周璇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610826548.0A priority Critical patent/CN106375465B/en
Publication of CN106375465A publication Critical patent/CN106375465A/en
Application granted granted Critical
Publication of CN106375465B publication Critical patent/CN106375465B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration 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 data migration method. The method comprises the following steps: receiving to-be-migrated data and a two-dimensional code sent by a mobile terminal; establishing the connection between a server and the terminal equipment after detecting that the terminal equipment scans the two-dimensional code; and migrating the to-be-migrated data to the terminal equipment. The embodiment of the invention further provides a server. Through the adoption of the method disclosed by the embodiment of the invention, the data migration can be realized without being limited by the distance.

Description

A kind of data migration method and server
Technical field
The present invention relates to Internet technical field is and in particular to a kind of data migration method and server.
Background technology
Fast-developing with information technology, mobile terminal (as mobile phone, panel computer etc.) updates more and more frequent. At present, when market being supplied to the hand-off machine of user, using the function of mobile phone removal of home.This function can by entirely old hand-set data, Software etc. is all intact to copy new cell-phone to, thus, it is that user changes planes provides convenient, but, the method is only limitted to Carry out Data Migration between two mobile terminals, thus, data migration process is easily subject to distance limit, thus, reduce Consumer's Experience.
Content of the invention
Embodiments provide a kind of data migration method and server, can be in the situation not being subject to distance limit Under, realize Data Migration.
Embodiment of the present invention first aspect provides a kind of data migration method, comprising:
Receive the data to be migrated being sent by mobile terminal and Quick Response Code;
After Quick Response Code described in terminal device scans is detected, set up the company between server and described terminal unit Connect;
Migrate described data to be migrated to described terminal unit.
Embodiment of the present invention second aspect provides a kind of server, comprising:
Receiving unit, for receiving the data to be migrated being sent by mobile terminal and Quick Response Code;
Set up unit, for after Quick Response Code described in terminal device scans is detected, setting up server and described terminal Connection between equipment;
Migration units, for migrating described data to be migrated to described terminal unit.
The embodiment of the present invention third aspect provides a kind of server, comprising:
Processor and memorizer;Wherein, described processor is executed by calling code in described memorizer or instruction The some or all of step of the method described by first aspect.
Implement the embodiment of the present invention, have the advantages that
The data to be migrated being sent by mobile terminal and Quick Response Code are received by the embodiment of the present invention, sets terminal is detected After standby scanning Quick Response Code, set up the connection between server and terminal unit, migrate data to be migrated to terminal unit.From And, available server completes the Data Migration between mobile terminal and terminal unit, and, due to terminal unit by with clothes Business device is communicated, thus, Data Migration can be realized in the case of not being subject to distance limit.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below Accompanying drawing be briefly described it should be apparent that, drawings in the following description are some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, can also be obtained other attached according to these accompanying drawings 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 schematic flow sheet of data migration method provided in an embodiment of the present invention;
Fig. 3 is a kind of second embodiment schematic flow sheet of data migration method provided in an embodiment of the present invention;
Fig. 4 is a kind of 3rd embodiment schematic flow sheet of data migration method provided in an embodiment of the present invention;
Fig. 5 is a kind of fourth embodiment schematic flow sheet of data migration method provided in an embodiment of the present invention;
Fig. 6 a is a kind of first embodiment structural representation of server provided in an embodiment of the present invention;
Fig. 6 b is the structural representation of the migration units of server described by Fig. 6 a provided in an embodiment of the present invention;
Fig. 6 c is the another structural representation of server described by Fig. 6 a provided in an embodiment of the present invention;
Fig. 6 d is the another structural representation of server described by Fig. 6 a provided in an embodiment of the present invention;
Fig. 6 e is the another structural representation of server described by Fig. 6 a provided in an embodiment of the present invention;
Fig. 7 is a kind of second embodiment structural representation of server provided in an embodiment of the present invention.
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 description is it is clear that described embodiment a part of embodiment that is the present invention, rather than whole embodiments.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
Term " first " in description and claims of this specification and described accompanying drawing, " second ", " the 3rd " and " Four " it is etc. for distinguishing different objects, rather than be used for describing particular order.Additionally, term " comprising " and " having " and it Any deformation it is intended that cover non-exclusive comprising.For example contain the process of series of steps or unit, method, be System, product or equipment are not limited to step or the unit listed, but alternatively also include step or the list do not listed Unit, or alternatively also include for these processes, method, product or the intrinsic other steps of equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments It is contained at least one embodiment of the present invention.It is identical that each position in the description shows that this phrase might not each mean Embodiment, be not and the independent of other embodiments mutual exclusion or alternative embodiment.Those skilled in the art explicitly and Implicitly it is understood by, embodiment described herein can be combined with other embodiments.
Data described by the embodiment of the present invention can include application (such as social networking application, Video Applications, application of taking pictures, trip Play application etc.), file, file (as text, video file, audio file, photo etc.), data cached, secret number According to etc., above-mentioned data is only citing, and non exhaustive, including but not limited to above-mentioned data.
Mobile terminal described by the embodiment of the present invention or terminal unit can include smart mobile phone (as android handss Machine, ios mobile phone, windows phone mobile phone etc.), panel computer, palm PC, notebook computer, mobile internet device (mid, mobile internet devices) or Wearable etc., above-mentioned is only citing, and non exhaustive, comprises but does not limit In above-mentioned mobile terminal or terminal unit.Certainly, mentioned terminal unit in the embodiment of the present invention can be with mobile terminal phase With for example, terminal unit is mobile phone, and mobile terminal is another mobile phone;Terminal unit also can be differed with mobile terminal, for example, Terminal unit is mobile phone, and mobile terminal is panel computer.
Refer to Fig. 1, Fig. 1 is to embodiments provide a kind of network architecture of data mover system, this network structure Frame mays include: mobile terminal, server and at least one terminal unit, and 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 (as 2g, 3g, 4g, 5g etc.), cable network set up communication connection;Between terminal and server Can by Wireless Fidelity (wireless fidelity, wi-fi) network, mobile communications network (as 2g, 3g, 4g, 5g etc.), Cable network sets up communication connection.For example, server can receive the migrating data being sent by mobile terminal and Quick Response Code, server After terminal device scans Quick Response Code is detected, set up the connection between this server and terminal unit, and to terminal unit Migrate this data to be migrated.
Based on the network architecture of the data mover system described by Fig. 1, refer to Fig. 2, be provided in an embodiment of the present invention A kind of first embodiment schematic flow sheet of data migration method.Data migration method described in the present embodiment, including with Lower step:
201st, the data to be migrated being sent by mobile terminal and Quick Response Code are received.
Wherein, server can receive the data to be migrated being sent by mobile terminal and Quick Response Code, and server can be by two dimension Code generates the account logging in this server and password.
Alternatively, before step 201, can also comprise the steps of:
The Quick Response Code of this mobile terminal of acquisition for mobile terminal;
By the data to be migrated in described mobile terminal and described Quick Response Code to server.
Wherein, after mobile terminal receives migration instruction, Quick Response Code can be generated, now, mobile terminal can get two dimension Code, can be by this Quick Response Code and data is activation to be migrated to server, and this Quick Response Code can be converted into this server of login by server Account and password.Certainly, this Quick Response Code can supply Quick Response Code described in other-end device scan.This other-end equipment can be The terminal unit that any terminal equipment or user specify.This Quick Response Code can be sent to other-end and set by mobile terminal Standby, this other-end equipment can scan this Quick Response Code.Alternatively, mobile terminal can be by setting up focus, and terminal unit connects should Mobile terminal, then, Quick Response Code is sent to terminal unit;Or, mobile terminal can open bluetooth, and terminal unit connects should Mobile terminal, Quick Response Code will be sent to terminal unit by bluetooth by mobile terminal.
202nd, after Quick Response Code described in terminal device scans is detected, set up between server and described terminal unit Connect.
Wherein, in terminal unit after scanning this Quick Response Code, can be converted into for the account of login service device and close Code, server is verified to this account and password, after being verified, can set up the company between server and terminal unit Connect.
Alternatively, can set up between mobile terminal and terminal unit and be connected it is also possible to not set up connection, between build After vertical connection, above-mentioned Quick Response Code can be sent to terminal unit by mobile terminal, when between not setting up connection, mobile terminal Quick Response Code can be shown, this Quick Response Code of terminal device scans.
203rd, migrate described data to be migrated to described terminal unit.
Alternatively, data to be migrated can be migrated to terminal unit using multithreading or multi-process.For example, by number to be migrated According to being divided into multiple data sets, each data set all can adopt a thread or process, comes for transmitting this number to terminal unit According to collection, so, data migration efficiency can be lifted.
Alternatively, above-mentioned to described terminal unit migrate described data to be migrated can comprise the steps of:
31), described data to be migrated is divided into k according to collection, wherein, described k is the integer more than 1;
32), determine usage frequency according to collection in described mobile terminal for the described k;
33), described k is migrated according to collection to described terminal unit according to usage frequency high priority migration principle.
Wherein, in step 31, mobile terminal can display data list, user can be chosen in data list, choose The data needing transmission is as data to be migrated, and further, this data to be migrated can be divided into k according to collection, wherein, k It is the integer more than 1, wherein, k can be specified by system statisticses (as k is applied, can be denoted as k according to collection) or by user.Can Determine the usage frequency according to each data set concentrated for this k respectively, can determine according to usage frequency order from high to low According to the migration order of collection, that is, the higher data set of usage frequency then more first migrates this k, and the lower data set of usage frequency is then Migrate more afterwards, then according to this migration order, data to be migrated can be transferred to terminal unit.
Alternatively, in implementing, the Data Migration between mobile terminal and multiple terminal devices can also be realized, mobile Terminal can be by Quick Response Code and data is activation to be migrated to server, and server can generate login account and password, and multiple terminals set Any terminal equipment in standby can scan Quick Response Code and generate login account and password, the login account that server generates according to it and Password to this any terminal equipment, verify by the login account generating and password, if being verified, allows this terminal unit Login service device, after multiple terminal devices login service device, this multiple stage terminal unit can be marked by server respectively, example As being labeled as: terminal unit 1, terminal unit 2, terminal unit 3 etc..So, server can to Data Migration to be migrated at most Any terminal equipment in individual terminal unit, thus, realize the Data Migration between mobile terminal and multiple terminal devices, improve Data migration efficiency.
The data to be migrated being sent by mobile terminal and Quick Response Code are received by the embodiment of the present invention, sets terminal is detected After standby scanning Quick Response Code, set up the connection between server and terminal unit, migrate data to be migrated to terminal unit.From And, available server completes the Data Migration between mobile terminal and terminal unit, and, due to terminal unit by with clothes Business device is communicated, thus, Data Migration can be realized in the case of not being subject to distance limit.
Consistent with the abovely, refer to Fig. 3, be a kind of the second enforcement of data migration method provided in an embodiment of the present invention Example schematic flow sheet.Data migration method described in the present embodiment, comprises the following steps:
301st, the data to be migrated being sent by mobile terminal and Quick Response Code are received.
302nd, after Quick Response Code described in terminal device scans is detected, set up between server and described terminal unit Connect.
303rd, the identity information of described terminal unit is verified.
Alternatively, the identity information of terminal unit may include but is not limited only 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 being inputted from terminal unit by user, red evil spirit information, finger print information, face letter Breath etc..
Alternatively, the above-mentioned identity information to described terminal unit is verified, it may include:
Obtain the identity information of terminal unit;This identity information is mated with default identity information, if the match is successful, Then can perform step 304.Wherein, default identity information can be pre-set by user.For example, the identity information of terminal unit is to refer to Stricture of vagina information, then, when this finger print information is verified, mainly finger print information is mated with preset fingerprint information.
304th, after the identity information of described terminal unit is verified, migrate described to be migrated to described terminal unit Data.
Wherein, the identity information in terminal unit is verified by rear, can migrate data to be migrated to terminal unit, such as This, can improve safety in transition process for the data to be migrated, to prevent undelegated terminal unit to be connected with server, from And, lead to leaking data.
The data to be migrated being sent by mobile terminal and Quick Response Code are received by the embodiment of the present invention, sets terminal is detected After standby scanning Quick Response Code, set up the connection between server and terminal unit, and after the authentication of terminal unit is passed through, Migrate data to be migrated to terminal unit.Thus, the data that available server completes between mobile terminal and terminal unit is moved Move, and, because terminal unit is by being communicated with server, thus, number can be realized in the case of not being subject to distance limit According to migration, and, before migration, the identity of terminal unit can be verified, can further improve the safety of Data Migration.
Consistent with the abovely, refer to Fig. 4, be a kind of the 3rd enforcement of data migration method provided in an embodiment of the present invention Example schematic flow sheet.Data migration method described in the present embodiment, comprises the following steps:
401st, the data to be migrated being sent by mobile terminal and Quick Response Code are received.
402nd, after Quick Response Code described in terminal device scans is detected, set up between server and described terminal unit Connect.
403rd, determine the free memory space of described terminal unit.
Alternatively, server can send free memory space to terminal unit and obtain request, thus, obtain terminal unit Free memory space.
404th, described data to be migrated is migrated to described terminal unit according to described free memory space.
Alternatively, described data to be migrated is migrated to described terminal unit according to described free memory space, comprise as follows Step:
41), when described free memory space is more than the memory space of described data to be migrated, move to described terminal unit Move described data to be migrated;
42), when described free memory space is less than the memory space of described data to be migrated, choose described number to be migrated According in target data, and migrate described target data to described terminal unit, the memory space of described target data is less than institute State free memory storage space.
Wherein, when free memory space is more than the memory space of data to be migrated, can directly be somebody's turn to do to terminal unit migration Data to be migrated, and free memory space be less than data to be migrated memory space when, can only selection portion from data to be migrated Divided data is less than this residual memory space as target data, the memory space shared by this target data.Above-mentioned how to choose mesh Mark data, can refer to following manner: pending data is divided into k according to collection, wherein, and the integer that k is more than 1, can be from k evidence Concentrate and choose at least one data set, if the memory space of this at least one data set is less than residual memory space, then, should At least one data set is as target data.
The data to be migrated being sent by mobile terminal and Quick Response Code are received by the embodiment of the present invention, sets terminal is detected After standby scanning Quick Response Code, set up the connection between server and terminal unit, can be according to the free memory space of terminal unit Migrate data to be migrated to terminal unit.Thus, the data that available server completes between mobile terminal and terminal unit is moved Move, and, because terminal unit is by being communicated with server, thus, number can be realized in the case of not being subject to distance limit According to migration.
Consistent with the abovely, refer to Fig. 5, be a kind of the 4th enforcement of data migration method provided in an embodiment of the present invention Example schematic flow sheet.Data migration method described in the present embodiment, comprises the following steps:
501st, the data to be migrated being sent by mobile terminal and Quick Response Code are received.
502nd, after Quick Response Code described in terminal device scans is detected, set up between server and described terminal unit Connect.
503rd, determine n application being currently running in described terminal unit, described n is the integer more than 1.
Wherein, server can determine that n application being currently running in terminal unit, and certainly, this n application can comprise System is applied, or, general application, such as: application of taking pictures, shopping application etc. is it is generally the case that n is the integer more than 1.
Alternatively, server can be monitored to the application of each unlatching in terminal unit, thus, can directly determine this N application being currently running in terminal unit.
It is understood that necessarily comprising system application in n application and driving application, system application is to ensure that behaviour Make system normally to run, drive application to be that driver is run, certainly, in n application, also include other routine applications, This, conventional application is regarded as, after closing this application, do not interfere with the application of the running of operating system it is understood that For third-party application.
504th, described n application is mated with default list of application.
Wherein, default list of application can be configured in advance in the server, can comprise in this default list of application to A few conventional application.N application can be mated one by one with default list of application, that is, first by n apply in arbitrary should With being mated with default list of application, then, the Another Application in then n being applied is mated with default list of application, By that analogy it may be determined that going out which application in n application is present in default list of application, which is not present in default application In list.
For example, n application includes: qq, wechat, Taobao, Baidu map, and default list of application includes: Taobao, Baidu ground Figure, U.S. group, U.S. face camera, then, when being mated this n application with default list of application, can get Taobao, Baidu ground Figure is present in default list of application, and qq, wechat are not present in default list of application.
If 505 match in described n application and comprise m application when being present in described default list of application, described in instruction Terminal unit close described m application, wherein, described m be more than 0 and be less than described n integer.
Alternatively, if n application mate with default list of application after, obtain this n apply in m application be present in In default list of application, then can close this m application, this m be more than 0 and less than n integer.So, it is possible to decrease mobile terminal Load, improve mobile terminal treatment effeciency, transport efficiency can be lifted.
506th, migrate described data to be migrated to described terminal unit.
Wherein, after closing m application, due to improve the core utilization of terminal unit, then treat to terminal unit During migrating data, data migration efficiency can be improved.
The data to be migrated being sent by mobile terminal and Quick Response Code are received by the embodiment of the present invention, sets terminal is detected After standby scanning Quick Response Code, set up the connection between server and terminal unit, may indicate that terminal unit closes terminal unit In be currently running and belong to the application of default list of application, and migrate data to be migrated to terminal unit.Thus, service can be utilized Device completes the Data Migration between mobile terminal and terminal unit, and, because terminal unit is by being communicated with server, Thus, Data Migration can be realized in the case of not being subject to distance limit.Simultaneously as the part in terminal unit can be closed Application, can lift data migration efficiency.
Consistent with the abovely, below for implementing the device of above-mentioned data migration method, specific as follows:
Refer to Fig. 6 a, be a kind of first embodiment structural representation of server provided in an embodiment of the present invention.This reality Apply the server described in example, comprising: receiving unit 601, set up unit 602 and migration units 603, specific as follows:
Receiving unit 601, for receiving the data to be migrated being sent by mobile terminal and Quick Response Code;
Set up unit 602, for after Quick Response Code described in terminal device scans is detected, setting up server and described end Connection between end equipment;
Migration units 603, for migrating described data to be migrated to described terminal unit.
Alternatively, as Fig. 6 b, the migration units 603 of the server described in Fig. 6 a include:
Division module 6031, for described data to be migrated is divided into k according to collection, wherein, described k is whole more than 1 Number;
Determining module 6032, for determining usage frequency according to collection in described mobile terminal for the described k;
Transferring module 6033, for migrating described k according to usage frequency high priority migration principle to described terminal unit Data set.
Alternatively, as Fig. 6 c, Fig. 6 c is a kind of modification structures of Fig. 6 a, and the server described in Fig. 6 c may also include that Authentication unit 604, specific as follows:
Authentication unit 604, for described set up unit 602 set up connection between server and described terminal unit it Afterwards, the identity information of described terminal unit is verified, and after the identity information of described terminal unit is verified, by institute State migration units 603 and migrate described data to be migrated to described terminal unit.
Alternatively, as Fig. 6 d, Fig. 6 d is a kind of modification structures of Fig. 6 a, and the server described in Fig. 6 d also includes: the One determining unit 605, specific as follows:
First determining unit 605, for setting up the company between server and described terminal unit in described unit 602 of setting up After connecing, determine the free memory space of described terminal unit;
Described migration units 603 specifically for:
When described free memory space is more than the memory space of described data to be migrated, migrate institute to described terminal unit State data to be migrated;
When described free memory space is less than the memory space of described data to be migrated, choose in described data to be migrated Target data, and migrate described target data to described terminal unit, the memory space of described target data is less than described surplus Remaining memory space.
Alternatively, as Fig. 6 e, Fig. 6 e is a kind of modification structures of Fig. 6 a, and the server described in Fig. 6 e also includes: the Two determining units 606, matching unit 607 and indicating member 608, specific as follows:
Second determining unit 606, for setting up the company between server and described terminal unit in described unit 602 of setting up After connecing, determine n application being currently running in described terminal unit, described n is the integer more than 1;
Matching unit 607, for being mated described n application with default list of application;
Indicating member 608, is present in if matching for described matching unit 607 and comprising m application in described n application During described default list of application, the described terminal unit of instruction closes described m application, from described migration units 603 to described end End equipment migrate described data to be migrated, wherein, described m be more than 0 and less than described n integer.
By the server described by the embodiment of the present invention, the data to be migrated being sent by mobile terminal and two dimension can be received Code, after terminal device scans Quick Response Code is detected, sets up the connection between server and terminal unit, moves to terminal unit Move data to be migrated.Thus, available server completes the Data Migration between mobile terminal and terminal unit, and, due to Terminal unit by being communicated with server, thus, Data Migration can be realized in the case of not being subject to distance limit.
Refer to Fig. 7, be a kind of second embodiment structural representation of server provided in an embodiment of the present invention.This enforcement Server described in example, comprising: at least one input equipment 1000;At least one outut device 2000;At at least one Reason device 3000, such as cpu;With memorizer 4000, above-mentioned input equipment 1000, outut device 2000, processor 3000 and storage Device 4000 is connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel, physical button or mouse.
Above-mentioned outut device 2000 concretely display screen.
Above-mentioned memorizer 4000 can be high speed ram memorizer, alternatively nonvolatile storage (non-volatile Memory), such as disk memory.Above-mentioned memorizer 4000 is used for storing batch processing code, above-mentioned input equipment 1000, defeated Go out equipment 2000 and processor 3000 be used for calling the program code of storage in memorizer 4000, execution is following to be operated:
Above-mentioned processor 3000, is used for:
Receive the data to be migrated being sent by mobile terminal and Quick Response Code;
After Quick Response Code described in terminal device scans is detected, set up the company between server and described terminal unit Connect;
Migrate described data to be migrated to described terminal unit.
Alternatively, above-mentioned processor 3000 migrates described data to be migrated to described terminal unit, comprising:
Described data to be migrated is divided into k according to collection, wherein, described k is the integer more than 1;
Determine usage frequency according to collection in described mobile terminal for the described k;
Described k is migrated according to collection to described terminal unit according to usage frequency high priority migration principle.
Alternatively, above-mentioned processor 3000 is after the described connection set up between server and described terminal unit, with And described to described terminal unit migrate described data to be migrated before, also particularly useful for:
The identity information of described terminal unit is verified, and the identity information in described terminal unit is verified Afterwards, execution is described migrates described data to be migrated to described terminal unit.
Alternatively, above-mentioned processor 3000, after the described connection set up between server and described terminal unit, is gone back Specifically for:
Determine the free memory space of described terminal unit;
Described to described terminal unit migrate described data to be migrated, comprising:
When described free memory space is more than the memory space of described data to be migrated, migrate institute to described terminal unit State data to be migrated;
When described free memory space is less than the memory space of described data to be migrated, choose in described data to be migrated Target data, and migrate described target data to described terminal unit, the memory space of described target data is less than described surplus Remaining memory space.
Alternatively, above-mentioned processor 3000 is after the described connection set up between server and described terminal unit, with And described to described terminal unit migrate described data to be migrated before, also particularly useful for:
Determine n application being currently running in described terminal unit, described n is the integer more than 1;
Described n application is mated with default list of application;
If matching in described n application and comprising m application when being present in described default list of application, the described terminal of instruction Equipment close described m application, execution described to described terminal unit migration described data to be migrated, wherein, described m be more than 0 and less than described n integer.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can be stored with journey Sequence, includes the part or all of step of any data migration method described in said method embodiment during this program performing Suddenly.
Although here combines each embodiment, and invention has been described, however, implementing the present invention for required protection During, those skilled in the art are by checking described accompanying drawing, disclosure and appended claims it will be appreciated that and real Other changes of existing described open embodiment.In the claims, " include " (comprising) one word and be not excluded for other compositions Part or step, "a" or "an" is not excluded for multiple situations.Single processor or other units can realize claim In some functions enumerating.Mutually different has been recited in mutually different dependent some measures, it is not intended that these are arranged Applying to combine produces good effect.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment) or computer journey Sequence product.Therefore, the present invention using complete hardware embodiment, complete software embodiment or can combine software and hardware aspect The form of embodiment.And, the present invention can be using in one or more calculating wherein including computer usable program code The upper computer program implemented of machine usable storage medium (including but not limited to disk memory, cd-rom, optical memory etc.) The form of product.Computer program is stored/distributed in suitable medium, provides or as hardware one together with other hardware Part, it would however also be possible to employ other distribution forms, such as by the wired or wireless telecommunication system of internet or other.
The present invention be with reference to the embodiment of the present invention the flow chart of method, device (equipment) and computer program with/ Or block diagram is describing.It should be understood that can by each flow process in computer program instructions flowchart and/or block diagram and/ Or the combination of the flow process in square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided To general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device processor to produce one Individual machine is so that produced for realizing by the instruction of computer or the computing device of other programmable data processing device The device of the function of specifying in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device with spy Determine in the computer-readable memory that mode works so that the instruction generation inclusion being stored in this computer-readable memory refers to Make the manufacture of device, this command device realize in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that counting On calculation machine or other programmable devices, execution series of operation steps to be to produce computer implemented process, thus in computer or On other programmable devices, the instruction of execution is provided for realizing in one flow process of flow chart or multiple flow process and/or block diagram one The step of the function of specifying in individual square frame or multiple square frame.
Although in conjunction with specific features and embodiment invention has been described it is clear that, without departing from this In the case of bright spirit and scope, it can be carried out with various modifications and combine.Correspondingly, the specification and drawings are only institute The exemplary illustration of the present invention that attached claim is defined, and be considered as covering arbitrarily repairing in the scope of the invention with all Change, change, combining or equivalent.Obviously, those skilled in the art the present invention can be carried out various change and modification and not Depart from the spirit and scope of the present invention.So, if the present invention these modification and modification belong to the claims in the present invention and its Within the scope of equivalent technologies, then the present invention is also intended to comprise these changes and modification.

Claims (11)

1. a kind of data migration method is it is characterised in that include:
Receive the data to be migrated being sent by mobile terminal and Quick Response Code;
After Quick Response Code described in terminal device scans is detected, set up the connection between server and described terminal unit;
Migrate described data to be migrated to described terminal unit.
2. method according to claim 1 is it is characterised in that described migrate described number to be migrated to described terminal unit According to, comprising:
Described data to be migrated is divided into k according to collection, wherein, described k is the integer more than 1;
Determine usage frequency according to collection in described mobile terminal for the described k;
Described k is migrated according to collection to described terminal unit according to usage frequency high priority migration principle.
3. the method according to claim 1 or 2 any one is it is characterised in that set up server and described terminal described After connection between equipment, and before the described described data to be migrated of migration to described terminal unit, methods described is also wrapped Include:
The identity information of described terminal unit is verified, and after the identity information of described terminal unit is verified, holds Row is described to migrate described data to be migrated to described terminal unit.
4. the method according to claim 1 or 2 any one is it is characterised in that set up server and described terminal described After connection between equipment, methods described also includes:
Determine the free memory space of described terminal unit;
Described to described terminal unit migrate described data to be migrated, comprising:
When described free memory space is more than the memory space of described data to be migrated, treat to described in the migration of described terminal unit Migrating data;
When described free memory space is less than the memory space of described data to be migrated, choose the mesh in described data to be migrated Mark data, and migrate described target data to described terminal unit, the memory space of described target data is less than in described residue Memory space.
5. the method according to claim 1 or 2 any one is it is characterised in that set up server and described terminal described After connection between equipment, and before the described described data to be migrated of migration to described terminal unit, methods described is also wrapped Include:
Determine n application being currently running in described terminal unit, described n is the integer more than 1;
Described n application is mated with default list of application;
If matching in described n application and comprising m application when being present in described default list of application, the described terminal unit of instruction Close described m application, execution described to described terminal unit migrate described data to be migrated, wherein, described m be more than 0 and Integer less than described n.
6. a kind of server is it is characterised in that include:
Receiving unit, for receiving the data to be migrated being sent by mobile terminal and Quick Response Code;
Set up unit, for after Quick Response Code described in terminal device scans is detected, setting up server and described terminal unit Between connection;
Migration units, for migrating described data to be migrated to described terminal unit.
7. server according to claim 6 is it is characterised in that described migration units include:
Division module, for described data to be migrated is divided into k according to collection, wherein, described k is the integer more than 1;
Determining module, for determining usage frequency according to collection in described mobile terminal for the described k;
Transferring module, for migrating described k according to collection according to usage frequency high priority migration principle to described terminal unit.
8. the server according to claim 6 or 7 any one is it is characterised in that described server also includes:
Authentication unit, for described set up the connection that unit is set up between server and described terminal unit after, to described The identity information of terminal unit is verified, and after the identity information of described terminal unit is verified, single by described migration Unit migrates described data to be migrated to described terminal unit.
9. the server according to claim 6 or 7 any one is it is characterised in that described server also includes:
First determining unit, for described set up the connection that unit is set up between server and described terminal unit after, really The free memory space of fixed described terminal unit;
Described migration units specifically for:
When described free memory space is more than the memory space of described data to be migrated, treat to described in the migration of described terminal unit Migrating data;
When described free memory space is less than the memory space of described data to be migrated, choose the mesh in described data to be migrated Mark data, and migrate described target data to described terminal unit, the memory space of described target data is less than in described residue Memory space.
10. the server according to claim 6 or 7 any one is it is characterised in that described server also includes:
Second determining unit, for described set up the connection that unit is set up between server and described terminal unit after, really N application being currently running in fixed described terminal unit, described n is the integer more than 1;
Matching unit, for being mated described n application with default list of application;
Indicating member, is present in described default answer if matching for described matching unit and comprising m application in described n application When using list, the described terminal unit of instruction closes described m application, described to the migration of described terminal unit from described migration units Data to be migrated, wherein, described m be more than 0 and less than described n integer.
A kind of 11. servers are it is characterised in that include:
Processor and memorizer;Wherein, described processor is executed as power by calling code in described memorizer or instruction Profit requires the method described in 1 to 5 any one.
CN201610826548.0A 2016-09-14 2016-09-14 A kind of data migration method and server Active CN106375465B (en)

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 true CN106375465A (en) 2017-02-01
CN106375465B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291518A (en) * 2017-07-28 2017-10-24 维沃移动通信有限公司 Using 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
CN109802884A (en) * 2018-12-29 2019-05-24 论客科技(广州)有限公司 A kind of moving method and device of campus mail
CN110971592A (en) * 2019-11-18 2020-04-07 上海擎感智能科技有限公司 Creation/data sharing method/system, medium, service/client
CN111798856A (en) * 2020-07-07 2020-10-20 云知声智能科技股份有限公司 Voice input method and device based on mobile terminal, server and storage medium
CN113515498A (en) * 2020-04-10 2021-10-19 中兴通讯股份有限公司 Data migration method, terminal and computer readable storage medium
CN114401278A (en) * 2021-12-27 2022-04-26 深圳软牛科技有限公司 Cross-platform transmission method, system, equipment and storage medium of Line App data
CN116089358A (en) * 2022-06-02 2023-05-09 荣耀终端有限公司 Data migration method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
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
US20150248394A1 (en) * 2013-06-28 2015-09-03 Quickmii Corporation Automatically uploading user profile information

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
US20150248394A1 (en) * 2013-06-28 2015-09-03 Quickmii Corporation Automatically uploading user profile information
CN103699429A (en) * 2013-12-31 2014-04-02 华为技术有限公司 Virtual machine migration method and virtual machine migration device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291518B (en) * 2017-07-28 2020-10-02 维沃移动通信有限公司 Application installation method, mobile terminal and server
CN107291518A (en) * 2017-07-28 2017-10-24 维沃移动通信有限公司 Using 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
CN109802884A (en) * 2018-12-29 2019-05-24 论客科技(广州)有限公司 A kind of moving method and device of campus mail
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
CN114401278A (en) * 2021-12-27 2022-04-26 深圳软牛科技有限公司 Cross-platform transmission method, system, equipment and storage medium of Line App data
CN114401278B (en) * 2021-12-27 2023-11-17 深圳软牛科技有限公司 Cross-platform transmission method, system, equipment and storage medium for Line App data
CN116089358A (en) * 2022-06-02 2023-05-09 荣耀终端有限公司 Data migration method and electronic equipment
CN116089358B (en) * 2022-06-02 2023-11-24 荣耀终端有限公司 Data migration method and electronic equipment

Also Published As

Publication number Publication date
CN106375465B (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN106375465A (en) Data migration method and server
CN107249004B (en) Identity authentication method, device and client
CN112733107A (en) Information verification method, related device, equipment and storage medium
CN110011978B (en) Method, system, device and computer equipment for modifying block chain network configuration
CN106341811A (en) Data migration method and server
CN103984579B (en) More equipment rooms share the method for current application program real-time running state
CN103455349B (en) Application program accesses the method and apparatus of smart card
CN112883435B (en) Method and equipment for realizing safe communication with intelligent contract
CN103327184A (en) Function switching method and user terminal
CN106851779A (en) A kind of method and mobile terminal for recognizing access point and focus
CN111971943A (en) Trusted platform module based prepaid access token for commercial IoT online services
CN104298910A (en) Portable electronic device and interactive face login method
CN106020909B (en) The control device and method of application process
CN107533596A (en) Fingerprint identification method and mobile terminal
CN107548083B (en) Wireless access point function test method and device
CN105577375A (en) Identity authentication method and device
CN106383731A (en) Data migration method and mobile terminal
CN110351225A (en) A kind of networking method of hardware device, device, system and storage medium
US20220075855A1 (en) Identity verification method and apparatus
CN106484325A (en) A kind of data migration method and mobile terminal
CN106445582A (en) Application copy deletion method and terminal
CN106357639A (en) Data migration method and mobile terminal
CN106940776A (en) A kind of sensitive data operating method and mobile terminal
CN111783643B (en) Face recognition method and device, electronic equipment and storage medium
CN101770553A (en) Mobile terminal and calling method for root certificate in mobile terminal

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.