CN106488391A - A kind of data migration method and terminal device - Google Patents

A kind of data migration method and terminal device Download PDF

Info

Publication number
CN106488391A
CN106488391A CN201610825483.8A CN201610825483A CN106488391A CN 106488391 A CN106488391 A CN 106488391A CN 201610825483 A CN201610825483 A CN 201610825483A CN 106488391 A CN106488391 A CN 106488391A
Authority
CN
China
Prior art keywords
data
migrated
application
data set
terminal equipment
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
CN201610825483.8A
Other languages
Chinese (zh)
Other versions
CN106488391B (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 CN201610825483.8A priority Critical patent/CN106488391B/en
Publication of CN106488391A publication Critical patent/CN106488391A/en
Priority to PCT/CN2017/092865 priority patent/WO2018049901A1/en
Application granted granted Critical
Publication of CN106488391B publication Critical patent/CN106488391B/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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/64Details of telephonic subscriber devices file transfer between terminals

Abstract

The invention discloses a kind of data migration method, including:By the Quick Response Code of scanning second terminal equipment, to connect the focus of second terminal equipment foundation, the Quick Response Code is generated based on the hotspot name and focus connection password to first terminal equipment;If all size of data of application to be migrated and first data set are sent to the second terminal equipment more than or equal to predetermined threshold value, the master data of application to be migrated described in the first terminal device backup to obtain the first data set.The embodiment of the present invention additionally provides a kind of terminal device.Can avoid bringing unnecessary EMS memory occupation problem to new cell-phone using the embodiment of the present invention.

Description

A kind of data migration method and terminal device
Technical field
The present invention relates to electronic technology field, more particularly to a kind of data migration method and terminal device.
Background technology
The frequency more and more higher of the current hand-off machine of people, but for lazy cancer patient and science and technology little Bai, change planes and be equal to All restart, APP used in everyday, and important chat record, document, in these old machines such as all WiFi passwords for connecting Drop custom all without it is all glad 10 minutes to change planes each time, worried 10 hours.In order to solve the problem, occur in that Data Migration, Data Migration are old mobile phone Backup Datas, and being then passed to new cell-phone carries out data recovery to reach the purpose that changes planes.
At present, Data Migration is typically old mobile phone and all of data is backed up (such as contact person, note, application journey Sequence etc.), then all data for having backed up are passed to new cell-phone carries out data recovery.Old mobile phone due to using time compare Long, meeting being continuously increased with the use time of mobile phone of each application in old mobile phone, the size of each application constantly increase, All data of old mobile phone are passed to new cell-phone, it is not that user wants to move new hand to that may there are some data in old mobile phone On machine, and then unnecessary EMS memory occupation is brought to new cell-phone.
Content of the invention
The embodiment of the present invention provides a kind of data migration method and terminal device, unnecessary to avoiding bringing to new cell-phone EMS memory occupation problem.
In a first aspect, the embodiment of the present invention provides a kind of data migration method, including:
First terminal equipment passes through to scan the Quick Response Code of second terminal equipment, to connect second terminal equipment foundation Focus, the Quick Response Code are generated based on the hotspot name and focus connection password;
If all size of data of application to be migrated are more than or equal to predetermined threshold value, described in the first terminal device backup The master data of application to be migrated, to obtain the first data set, and first data set is sent to the second terminal Equipment.
Second aspect, embodiments provides a kind of terminal device, including:
Focus link block, for the Quick Response Code by scanning second terminal equipment, to connect the second terminal equipment The focus of foundation, the Quick Response Code are generated based on the hotspot name and focus connection password;
Data backup module, if being more than or equal to predetermined threshold value for all size of data of application to be migrated, described the One terminal device backs up the master data of the application to be migrated, to obtain the first data set;
Data transmitting module, for sending first data set to the second terminal equipment.
The third aspect, embodiments provides a kind of terminal device, including:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes such as the embodiment of the present invention Part or all of step described in first aspect.
Fourth aspect, the present invention provide a kind of computer-readable storage medium, for saving as embodiment of the present invention second aspect Computer software instructions used by the terminal device of offer, its include for executing the program designed by above-mentioned aspect.
In this programme, before first terminal equipment carries out data backup, first terminal equipment first determines to be migrated answering The size of all data, if all size of data of application to be migrated are more than or equal to predetermined threshold value, first terminal equipment Only the rank data of application to be migrated are sent to second terminal equipment, can so avoid because of application making with used equipment to be migrated Some the unnecessary Data Migrations produced with the elongated of time are on new equipment, and bring unnecessary internal memory to new cell-phone Occupation problem.
The aspects of the invention or other in terms of can more straightforward in the following description.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for technology description is had to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic diagram of communication system provided in an embodiment of the present invention;
A kind of schematic flow sheet of data migration method that Fig. 2 is provided for first embodiment of the invention;
A kind of schematic flow sheet of data migration method that Fig. 3 is provided for second embodiment of the invention;
A kind of structural representation of terminal device that Fig. 4 is provided for first embodiment of the invention;
A kind of structural representation of terminal device that Fig. 5 is provided for second embodiment of the invention;
A kind of structural representation of terminal device that Fig. 6 is provided for third embodiment of the invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only The embodiment of a present invention part, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment obtained under the premise of creative work is not made by member, should all belong to the model of present invention protection Enclose.
It is described in detail individually below.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and " Four " be etc. for distinguishing different objects, rather than for describing particular order.Additionally, term " comprising " and " having " and it Any deformation, it is intended that cover and non-exclusive include.For example contain the process of series of steps or unit, method, be System, product or equipment are not limited to the step of listing or unit, but alternatively also include the step of not listing or list Unit, or alternatively also include other steps intrinsic for these processes, method, product or 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.Each position in the description occur the phrase might not each mean identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly it is understood by, embodiment described herein can be combined with other embodiments.
Hereinafter, the part term in the application is explained, in order to skilled artisan understands that.
1), terminal device, also referred to as user equipment (User Equipment, UE), are that one kind provides a user with voice And/or the equipment of data connectivity, for example, portable equipment with wireless connecting function, mobile unit etc..Common terminal For example include:Mobile phone, panel computer, notebook computer, palm PC, mobile internet device (mobile internet Device, MID), wearable device, such as intelligent watch, Intelligent bracelet, pedometer etc..
2) focus refers to that reception GPRS, 3G, 4G or 5G signal of terminal device is converted into WIFI signal to be sent out again, this Sample terminal device has just become a WIFI hot spot.The terminal device of focus can be set up, and require must be with WAP (Access point, AP) function.
3) data set is also called data set, data acquisition system or data acquisition system, is a kind of set being made up of data.
4) thread, sometimes referred to as Lightweight Process (Lightweight Process, LWP), be program performing stream most Junior unit.
5) serial executes that to specify be action A and action B is priority execution relation, such as, first carries out action A and executes action again B, or, first carry out action B and execute action A again.
6) executed in parallel is execution action A and action B respectively in two lines journey, such as, executes dynamic in first thread Make A, execution action B on the second thread, the two can be and meanwhile carrying out, or execute an action during Execute another action.
7), " multiple " refer to two or more."and/or", describes the incidence relation of affiliated partner, and expression can be deposited In three kinds of relations, for example, A and/or B, can represent:Individualism A, while there is A and B, these three situations of individualism B. Character "/" typicallys represent forward-backward correlation to liking a kind of relation of "or".
Below in conjunction with the accompanying drawings embodiments herein is described.
It is a kind of schematic diagram of communication system disclosed in the embodiment of the present invention to refer to Fig. 1, Fig. 1.Communication system shown in Fig. 1 System includes first terminal equipment 110 and second terminal equipment 120, and first terminal equipment 110 is by scanning second terminal equipment 120 Quick Response Code, with connect second terminal equipment 120 foundation focus, during above-mentioned Quick Response Code based on hotspot name focus connect password Generate, if all size of data of application to be migrated are more than or equal to predetermined threshold value, first terminal equipment 110 backs up to be migrated The master data of application, to obtain the first data set, and the first data set is sent to second terminal equipment 120.So may be used Some the unnecessary Data Migrations produced because of application to be migrated are avoided with use time elongated of used equipment to new equipment On, and unnecessary EMS memory occupation problem is brought to new cell-phone.
Refer to the schematic flow sheet that Fig. 2, Fig. 2 are a kind of data migration method provided in an embodiment of the present invention, including with Lower step:
S201, first terminal equipment pass through to scan the Quick Response Code of second terminal equipment, to connect the second terminal equipment The focus of foundation, the Quick Response Code are generated based on the hotspot name and focus connection password.
If all size of data of S202 application to be migrated are more than or equal to predetermined threshold value, the first terminal equipment is standby The master data of part described application to be migrated, to obtain the first data set, and first data set is sent to described the Two terminal devices.
Wherein, predetermined threshold value can be for example 200mb, 230mb, 300mb, 400mb or other values.
Wherein, the master data of application to be migrated can be for example the installation kit of application to be migrated, quilt in application to be migrated The data of collection, the logon account of application to be migrated and login password etc..
Alternatively, the usage frequency that applies in the preset period of time to be migrated higher than predeterminated frequency and/or described is waited to move The duration of the time gap present system time that application the last time uses is moved less than or equal to preset duration.
Wherein, preset period of time can be for example in 1 month of present system time, in 1 week, 2 weeks interior, in 10 days etc. Deng.
Where it is assumed that preset period of time is in present system time 1 week, predeterminated frequency can be for example to use 5 in 1 week Secondary, 6 times, 8 times, 10 times, 11 times or other values.
Wherein, preset duration can be for example 1 day, 2 days, 3 days, 5 days, 6 days or other values.
Wherein, the time that application the last time to be migrated uses represents apart from applications distances present system time to be migrated most Nearly use time once, such as, it is assumed that application to be migrated is QQ, present system time is in September, 16 No. 10 21:32, QQ away from The time used from present system time the last time is in September, 16 No. 10 18:32, i.e., the time that QQ the last time uses is 16 Year September No. 10 18:32.
In this programme, before first terminal equipment carries out data backup, first terminal equipment first determines to be migrated answering The size of all data, if all size of data of application to be migrated are more than or equal to predetermined threshold value, first terminal equipment Only the rank data of application to be migrated are sent to second terminal equipment, can so avoid because of application making with used equipment to be migrated Some the unnecessary Data Migrations produced with the elongated of time are on new equipment, and bring unnecessary internal memory to new cell-phone Occupation problem.
Alternatively, if all size of data of the application to be migrated are less than the predetermined threshold value, the first terminal sets All data of the backup application to be migrated, to obtain the second data set, and second data set are sent to institute State second terminal equipment.
Alternatively, after the first terminal equipment sends first data set to the second terminal equipment, institute Stating method also includes:The remaining data of application to be migrated described in the first terminal device backup, to obtain the 3rd data set, with And the 3rd data set is sent to the webserver.
Wherein, the remaining data of application to be migrated represents the basic number of all data-application to be migrated of application to be migrated According to.
As when all data of application to be migrated are larger, first terminal equipment only gives second terminal equipment transportation base Notebook data, using the remaining data of application to be migrated, first terminal equipment can be by these remaining datas for subsequent user for convenience Backup in the webserver.In addition, the remaining data of application to be migrated can also be in the master data for backing up data to be migrated During backed up parallel, without the need for after the first data set is sent completely, then back up.
Alternatively, the application to be migrated is social communication applications, described sends first data set to described the After two terminal devices, methods described also includes:
Whether the first terminal device prompts user migrates the data of association important relation people;Migration is confirmed detecting In the case of the data of association important relation people, the first terminal device backup associates the data of important relation people, to obtain 4th data set, and the 4th data set is sent to the second terminal equipment.
Wherein, important relation people can be user in advance to be migrated application defined in, or, first terminal equipment root Self-defining (such as, it is assumed that application to be migrated is QQ, and first terminal equipment is with certain within a very long time according to chat record When the communication frequency of contact person is higher, using this certain contact person as important relation people, such as, first terminal equipment in 1 year With the communication up to 1 year more than 300 time of contact person A, then contact person A is important contact person), or, first terminal equipment is according to dividing Group name determine (group names include household, colleague, boudoir honey etc., such as, it is assumed that application to be migrated be QQ, QQ packet join It is that people is named as " household " packet, then the All Contacts in this " household " packet are set to important relation people), etc..
Wherein, if above-mentioned important relation people quantity is multiple, above-mentioned prompting mode can be that first terminal equipment passes through The mode for selecting form is ejected, to prompt the user whether the data of association important relation people are migrated, if user only wants to migrate this The data of some contact persons in a little important relation people, user only need to choose in the table needs the contact person of migration confirming i.e. Can, if user wants the data of the important relation people for migrating whole, directly confirm.
Alternatively, the application to be migrated is audio/video application, described sends first data set to described second After terminal device, methods described also includes:
Whether the first terminal device prompts user migrates target sound/video file, the target audio file be In preset period of time, broadcasting time exceedes the local cache audio file of preset times, and the target video file is not for watching video File and/or video file of the duration not less than preset duration is watched;Migration target sound/video file is confirmed detecting In the case of, target sound/video file described in the first terminal device backup, to obtain the 5th data set, and by described Five data sets send the second terminal equipment to.
The embodiment of the present invention additionally provides another more detailed method flow, as shown in figure 3, including:
S301, second terminal equipment set up focus, and are generated based on the hotspot name and focus connection password The Quick Response Code of the second terminal equipment.
S302, first terminal equipment pass through to scan the Quick Response Code of second terminal equipment, to connect the second terminal equipment The focus of foundation, the Quick Response Code are generated based on the hotspot name and focus connection password.
Whether S303, first terminal equipment determine all size of data of application to be migrated more than or equal to predetermined threshold value.
If so, then execution step S304.
If it is not, then execution step S306.
S304, the master data of application to be migrated described in the first terminal device backup, to obtain the first data set.
S305, the first terminal equipment send first data set to the second terminal equipment, so that institute State second terminal equipment and receive the first data set that the first terminal equipment sends.Execution step after execution of step S305 S308.
S306, all data of application to be migrated described in the first terminal device backup, to obtain the second data set.
S307, the first terminal equipment send second data set to the second terminal equipment, so that institute State second terminal equipment and receive second data set that the first terminal equipment sends.
S308, the application to be migrated are social communication applications, and whether the first terminal device prompts user migrates pass The data of connection important relation people.
S309, detect confirm migration association important relation people data in the case of, the first terminal equipment is standby The data of part association important relation people, to obtain the 4th data set.
S310, the first terminal equipment send the 4th data set to the second terminal equipment, so that the Two terminal devices receive the 4th data set that the first terminal equipment sends.
S311, the remaining data of application to be migrated described in the first terminal device backup, to obtain the 3rd data set.
S312, the first terminal equipment send the 3rd data set to the webserver, so that the network Server receives the 3rd data set.
It should be noted that the process that implements of each step of method shown in Fig. 3 is can be found in described in said method Implement process, here is no longer described.
The embodiment of the present invention additionally provides a kind of terminal device 400, as shown in figure 4, including:
Focus link block 401, for the Quick Response Code by scanning second terminal equipment, is set with connecting the second terminal The standby focus that sets up, the Quick Response Code are generated based on the hotspot name and focus connection password;
Data backup module 402, if being more than or equal to predetermined threshold value for all size of data of application to be migrated, described The master data of application to be migrated described in first terminal device backup, to obtain the first data set;
Data transmitting module 403, for sending first data set to the second terminal equipment.
Alternatively, the data backup module 402, if be additionally operable to all size of data of the application to be migrated less than institute Predetermined threshold value is stated, all data of the application to be migrated is backed up, to obtain the second data set;
The data transmitting module 403, is additionally operable to send second data set to the second terminal equipment.
Alternatively, after data transmitting module 403 sends first data set to the second terminal equipment, institute Data backup module 402 is stated, is additionally operable to the remaining data of the application to be migrated is backed up, to obtain the 3rd data set;
The data transmitting module 403, is additionally operable to send the 3rd data set to the webserver.
Alternatively, the application to be migrated is social communication applications, in data transmitting module 403 by first data set After sending the second terminal equipment to, the terminal device also includes:
Whether reminding module 404, migrate the data of association important relation people for user;
The data backup module 402, is additionally operable to detecting the situation of the data for confirming migration association important relation people Under, the data of backup association important relation people, to obtain the 4th data set;
The data transmitting module 403, is additionally operable to send the 4th data set to the second terminal equipment.
Alternatively, the usage frequency that applies in the preset period of time to be migrated higher than predeterminated frequency and/or described is waited to move The duration of the time gap present system time that application the last time uses is moved less than or equal to preset duration.
It should be noted that above-mentioned each module (focus link block 401, data backup module 402, data transmitting module 403 and reminding module 404) for executing the correlation step of said method.
In the present embodiment, terminal device 400 is in modular form presenting.Here " module " can refer to specific answering With integrated circuit (application-specific integrated circuit, ASIC), execute one or more softwares or The processor of firmware program and memory, integrated logic circuit, and/or other can provide the device of above-mentioned functions.Additionally, with Upper focus link block 401, data backup module 402, data transmitting module 403 and reminding module 404 can be by shown in Fig. 5 Terminal device processor 501 realizing.
As shown in figure 5, terminal device 500 can be realized with the structure in Fig. 5, the terminal device 500 includes at least one Individual processor 501, at least one memory 502 and at least one communication interface 503.The processor 501, the memory 502 and the communication interface 503 connect and complete mutual communication by the communication bus.
Processor 501 can be general central processor (CPU), microprocessor, ASIC (application-specific integrated circuit, ASIC), or one or more for controlling above scheme journey The integrated circuit that sequence is executed.
Communication interface 503, for other equipment or communication, such as Ethernet, wireless access network (RAN), no Line LAN (Wireless Local Area Networks, WLAN) etc..
Memory 502 can be read-only storage (read-only memory, ROM) or can store static information and instruction Other kinds of static storage device, random access memory (random access memory, RAM) can store letter The other kinds of dynamic memory, or EEPROM (Electrically of breath and instruction Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read- Only Memory, CD-ROM) or other optical disc storage, laser disc storage (including compress laser disc, laser disc, laser disc, digital universal Laser disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store with finger The desired program code of order or data structure form simultaneously can be by any other medium of computer access, but not limited to this. Memory can be individually present, and be connected with processor by bus.Memory can also be integrated with processor.
Wherein, the memory 502 is used for storing the application code for executing above scheme, and by processor 501 Control is executed.The processor 501 is used for executing the application code stored in the memory 502.
The code that memory 502 is stored can perform the above-mentioned data migration method that terminal device provided above is executed, than Such as by the Quick Response Code of scanning second terminal equipment, to connect the focus of second terminal equipment foundation, the Quick Response Code is Generated based on the hotspot name and focus connection password;If all size of data of application to be migrated are more than or equal to Predetermined threshold value, the master data of the standby backup application to be migrated, to obtain the first data set, and by first data set Send the second terminal equipment to.
The embodiment of the present invention additionally provides more specifically application scenarios, as follows:Above-mentioned terminal device is mobile phone, under Face is specifically introduced to each component parts of mobile phone with reference to Fig. 6:
RF circuit 610 can be used to receiving and sending messages or communication process in, the reception of signal and transmission, especially, by base station After downlink information is received, process to processor 680;In addition, up data is activation will be designed to base station.Generally, RF circuit 610 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuit 610 can also be communicated with network and other equipment by radio communication. Above-mentioned radio communication can be using arbitrary communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 620 can be used to store software program and module, and processor 680 is stored in memory 620 by operation Software program and module, so as to execute various function application and the data processing of mobile phone.Memory 620 mainly can include Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function Sequence (such as data backup function, two-dimensional code scanning function, data set transmitting function) etc.;Storage data field can be stored according to mobile phone Use created data (the first data set, the second data set, the 3rd data set and the 4th data set that such as back up) Deng.Additionally, memory 620 can include high-speed random access memory, nonvolatile memory can also be included, for example, at least One disk memory, flush memory device or other volatile solid-state parts.
Input block 630 can be used for the numeral of receives input or character information, and produce with the user setup of mobile phone with And the key signals input that function control is relevant.Specifically, input block 630 may include contact panel 631, other input equipments 632.Contact panel 631, also referred to as touch-screen, user can be collected thereon or neighbouring touch operation (such as user uses hand The operation of any suitable object such as finger, stylus or annex on contact panel 631 or near the contact panel 631), and according to Formula set in advance drives corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touch control Two parts of device processed.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation brings is detected, will Signal sends touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact Coordinate, then give processor 680, and the order sent of receiving processor 680 can be executed.Furthermore, it is possible to adopt resistance The polytypes such as formula, condenser type, infrared ray and surface acoustic wave realize contact panel 631.Divided by contact panel 631, it is input into Unit 630 can also include other input equipments 632.Specifically, other input equipments 632 can include but is not limited to secondary or physical bond At least one in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 640 can be used to showing by the information of user input or be supplied to the various of the information of user and mobile phone Menu.Display unit 640 may include display floater 641, optionally, can adopt liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) aobvious to configure Show panel 641.Further, contact panel 631 can cover display floater 641, when contact panel 631 detect thereon or attached After near touch operation, processor 680 is sent to determine the type of touch event, with preprocessor 680 according to touch event Type corresponding visual output is provided on display floater 641.Although in figure 6, contact panel 631 and display floater 641 It is the part independent as two realizing input and the input function of mobile phone, but in some embodiments it is possible to by touch-control Panel 631 is integrated with display floater 641 and realizes mobile phone input and output function.
Mobile phone may also include at least one sensor 650, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light Light and shade adjusting the brightness of display floater 641, proximity transducer can cut out display floater 641 when mobile phone is moved in one's ear And/or backlight.Used as one kind of motion sensor, accelerometer sensor can detect (generally three axles) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as the gyroscope of configuration, barometer, hygrometer, thermometer, infrared ray sensor, will not be described here.
Voicefrequency circuit 660, loudspeaker 661, microphone 662 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data for receiving conversion can be transferred to loudspeaker 661, is converted to sound by loudspeaker 661 by road 660 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 662, is turned after being received by voicefrequency circuit 660 Voice data is changed to, then after voice data output processor 680 is processed, through RF circuit 610 to be sent to such as another mobile phone, Or export to memory 620 voice data to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 670 Part, browse webpage and streaming video etc. is accessed, it has provided the user wireless broadband internet and has accessed.Although Fig. 6 shows WiFi module 670, but it is understood that, which is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Omit in the scope of the essence for becoming invention.
Processor 680 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, leads to Cross operation or the software program and/or the module that are stored in memory 620 is executed, and call and be stored in memory 620 Data, execute various functions and the processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 680 can be wrapped Include one or more processing units;Preferably, processor 680 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 680.
Mobile phone also includes the power supply 690 (such as battery) that powers to all parts, it is preferred that power supply can pass through power supply pipe Reason system is logically contiguous with processor 680, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be described here.
In previous embodiment, each step method flow process can be realized based on the structure of the terminal device shown in Fig. 6.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, the 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 the program performing Suddenly.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore which is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps using other orders or while can be carried out.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, involved action and the module not necessarily present invention Necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion that describes in detail in certain embodiment Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only the schematically division of for example described unit, is only one kind Division of logic function, can have when actually realizing other dividing mode, for example multiple units or component can in conjunction with or can To be integrated into another system, or some features can be ignored, or not execute.Another, shown or discussed each other Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication connection of device or unit by some interfaces, Can be electrical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit When, can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or Person says that all or part of the part or technical scheme contributed by prior art can be with body in the form of software product Reveal and, the computer software product is stored in a memory, use so that a computer equipment including some instructions (can be personal computer, server or network equipment etc.) executes all or part of each embodiment methods described of the present invention Step.And aforesaid memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable memory, memory Can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English: Random Access Memory, referred to as:RAM), disk or CD etc..
Above the embodiment of the present invention is described in detail, specific case used herein to the principle of the present invention and Embodiment is set forth, and the explanation of above example is only intended to help and understands the method for the present invention and its core concept; Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all can in specific embodiments and applications There is change part, to sum up above-mentioned, this specification content should not be construed as limiting the invention.

Claims (11)

1. a kind of data migration method, it is characterised in that include:
First terminal equipment passes through to scan the Quick Response Code of second terminal equipment, to connect the heat of second terminal equipment foundation Point, the Quick Response Code are generated based on the hotspot name and focus connection password;
If all size of data of application to be migrated are more than or equal to predetermined threshold value, wait to move described in the first terminal device backup The master data of application is moved, so that the first data set is obtained, and first data set is sent to the second terminal equipment.
2. method according to claim 1, it is characterised in that methods described also includes:
If all size of data of the application to be migrated are less than the predetermined threshold value, treat described in the first terminal device backup All data of migration application, to obtain the second data set, and second data set are sent to the second terminal set Standby.
3. method according to claim 1 and 2, it is characterised in that described send first data set to described After two terminal devices, methods described also includes:
The remaining data of application to be migrated described in the first terminal device backup, to obtain the 3rd data set, and will be described 3rd data set sends the webserver to.
4. the method according to any one of claim 1-3, it is characterised in that the application to be migrated should for social communication With, described first data set is sent to the second terminal equipment after, methods described also includes:
Whether the first terminal device prompts user migrates the data of association important relation people;
In the case of the data for confirming migration association important relation people are detected, the first terminal device backup association is important The data of contact person, to obtain the 4th data set, and the 4th data set are sent to the second terminal equipment.
5. the method according to any one of claim 1-4, it is characterised in that described to be migrated apply in preset period of time Usage frequency higher than predeterminated frequency and/or described to be migrated application the last time use time gap present system time when Length is less than or equal to preset duration.
6. a kind of terminal device, it is characterised in that include:
Focus link block, for the Quick Response Code by scanning second terminal equipment, to connect second terminal equipment foundation Focus, the Quick Response Code be based on the hotspot name and the focus connection password generate;
Data backup module, if being more than or equal to predetermined threshold value for all size of data of application to be migrated, described first eventually End equipment backs up the master data of the application to be migrated, to obtain the first data set;
Data transmitting module, for sending first data set to the second terminal equipment.
7. terminal device according to claim 6, it is characterised in that
The data backup module, if being additionally operable to all size of data of the application to be migrated less than the predetermined threshold value, standby All data of part application to be migrated, to obtain the second data set;
The data transmitting module, is additionally operable to send second data set to the second terminal equipment.
8. the terminal device according to claim 6 or 7, it is characterised in that
The data backup module, is additionally operable to back up the remaining data of the application to be migrated, to obtain the 3rd data set;
The data transmitting module, is additionally operable to send the 3rd data set to the webserver.
9. the terminal device according to any one of claim 6-8, it is characterised in that the application to be migrated is social communication Application, the terminal device also include:
Whether reminding module, migrate the data of association important relation people for user;
The data backup module, is additionally operable in the case of the data for confirming migration association important relation people are detected, backup The data of association important relation people, to obtain the 4th data set;
The data transmitting module, is additionally operable to send the 4th data set to the second terminal equipment.
10. the terminal device according to any one of claim 6-9, it is characterised in that described to be migrated apply when default When usage frequency in section is higher than the time gap current system that predeterminated frequency and/or described application the last time to be migrated are used Between duration be less than or equal to preset duration.
11. a kind of terminal devices, it is characterised in that include:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes such as claim 1 to 5 arbitrary Method described in.
CN201610825483.8A 2016-09-14 2016-09-14 A kind of data migration method and terminal device Active CN106488391B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610825483.8A CN106488391B (en) 2016-09-14 2016-09-14 A kind of data migration method and terminal device
PCT/CN2017/092865 WO2018049901A1 (en) 2016-09-14 2017-07-13 Data migration method and related devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610825483.8A CN106488391B (en) 2016-09-14 2016-09-14 A kind of data migration method and terminal device

Publications (2)

Publication Number Publication Date
CN106488391A true CN106488391A (en) 2017-03-08
CN106488391B CN106488391B (en) 2019-10-25

Family

ID=58273689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610825483.8A Active CN106488391B (en) 2016-09-14 2016-09-14 A kind of data migration method and terminal device

Country Status (2)

Country Link
CN (1) CN106488391B (en)
WO (1) WO2018049901A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107295493A (en) * 2017-08-10 2017-10-24 广东欧珀移动通信有限公司 Information uploading method, device, terminal and computer-readable recording medium
CN107608713A (en) * 2017-08-22 2018-01-19 维沃移动通信有限公司 A kind of application program transfer method and mobile terminal
WO2018049901A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Data migration method and related devices
CN113259523A (en) * 2021-05-31 2021-08-13 Oppo广东移动通信有限公司 Connection method, device to be migrated, system and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110313974A1 (en) * 2010-06-17 2011-12-22 Computer Associates Think, Inc. Prioritized data backup
CN103929480A (en) * 2014-04-11 2014-07-16 北京智谷睿拓技术服务有限公司 Data backup method and device based on tasks
CN105282824A (en) * 2014-06-03 2016-01-27 中兴通讯股份有限公司 File sharing method based on wireless communication and wireless communication terminal
CN103220822B (en) * 2013-04-08 2016-03-02 小米科技有限责任公司 Data transmission method, device and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793270B (en) * 2012-10-26 2018-09-07 百度在线网络技术(北京)有限公司 Moving method, device and the terminal of end application
CN104981027B (en) * 2014-05-12 2018-10-02 腾讯科技(深圳)有限公司 Mobile terminal application synchronous method and system
CN104602238B (en) * 2014-05-29 2019-07-16 腾讯科技(深圳)有限公司 A kind of wireless network connecting method, device and system
CN105491113B (en) * 2015-11-25 2019-03-12 小米科技有限责任公司 Moving method, device and terminal
CN106488391B (en) * 2016-09-14 2019-10-25 Oppo广东移动通信有限公司 A kind of data migration method and terminal device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110313974A1 (en) * 2010-06-17 2011-12-22 Computer Associates Think, Inc. Prioritized data backup
CN103220822B (en) * 2013-04-08 2016-03-02 小米科技有限责任公司 Data transmission method, device and mobile terminal
CN103929480A (en) * 2014-04-11 2014-07-16 北京智谷睿拓技术服务有限公司 Data backup method and device based on tasks
CN105282824A (en) * 2014-06-03 2016-01-27 中兴通讯股份有限公司 File sharing method based on wireless communication and wireless communication terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018049901A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Data migration method and related devices
CN107295493A (en) * 2017-08-10 2017-10-24 广东欧珀移动通信有限公司 Information uploading method, device, terminal and computer-readable recording medium
CN107295493B (en) * 2017-08-10 2020-01-14 Oppo广东移动通信有限公司 Information reporting method, device, terminal and computer readable storage medium
CN107608713A (en) * 2017-08-22 2018-01-19 维沃移动通信有限公司 A kind of application program transfer method and mobile terminal
CN113259523A (en) * 2021-05-31 2021-08-13 Oppo广东移动通信有限公司 Connection method, device to be migrated, system and medium
CN113259523B (en) * 2021-05-31 2023-09-29 Oppo广东移动通信有限公司 Connection method, equipment to be migrated, system and medium

Also Published As

Publication number Publication date
WO2018049901A1 (en) 2018-03-22
CN106488391B (en) 2019-10-25

Similar Documents

Publication Publication Date Title
EP3242461B1 (en) Intelligent device control method and device
CN106714103B (en) A kind of network locating method and terminal device
CN103941982A (en) Method for sharing interface processing and terminal
CN106507482B (en) A kind of network locating method and terminal device
CN106507269B (en) Data migration method and terminal equipment
CN104636047A (en) Method and device for operating objects in list and touch screen terminal
CN104598476A (en) Message aggregation display method and information display method and relevant device
CN106658753B (en) Data migration method and terminal equipment
CN107949826A (en) A kind of message display method, user terminal and graphical user interface
CN106445739B (en) Data migration method and terminal equipment
CN106714207A (en) Information processing method and terminal device
CN103744592A (en) Information processing method and terminal
CN106488391B (en) A kind of data migration method and terminal device
CN106658353A (en) Data migration method and mobile equipment
CN106790981A (en) A kind of terminal device method to set up and terminal device
CN106055960A (en) Unlocking control method and terminal equipment
CN106209608A (en) The method and device that the difference of a kind of chat message synchronizes
CN106484563A (en) A kind of data migration method and terminal unit
CN103488421A (en) Method and device for processing call record and mobile terminal
CN106332023A (en) Unread information display method and device, and mobile terminal
CN106066769B (en) A kind of processing method and mobile terminal of mobile terminal
CN103200077B (en) The method of data interaction during a kind of voice call, Apparatus and system
CN103533411A (en) Method and device for controlling motion of selection cursor
CN103412722A (en) Method and device for selecting multiple objects and terminal equipment
CN105391870A (en) Timing reminding method and device

Legal Events

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

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

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

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

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant