CN106488391B - A kind of data migration method and terminal device - Google Patents
A kind of data migration method and terminal device Download PDFInfo
- Publication number
- CN106488391B CN106488391B CN201610825483.8A CN201610825483A CN106488391B CN 106488391 B CN106488391 B CN 106488391B CN 201610825483 A CN201610825483 A CN 201610825483A CN 106488391 B CN106488391 B CN 106488391B
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/64—Details of telephonic subscriber devices file transfer between terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of data migration methods, it include: two dimensional code of the first terminal equipment by scanning second terminal equipment, to connect the hot spot that the second terminal equipment is established, the two dimensional code is generated based on the hotspot name and the hot spot connection password;If all size of data of application to be migrated are greater than or equal to preset threshold, the master data of application to be migrated described in the first terminal device backup to obtain the first data set, and sends first data set to the second terminal equipment.The embodiment of the invention also provides a kind of terminal devices.It can avoid bringing unnecessary EMS memory occupation problem to new cell-phone using the embodiment of the present invention.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of data migration methods and terminal device.
Background technique
The frequency of the hand-off machine of people is higher and higher at present, but for lazy cancer patient and science and technology little Bai, changes planes and be equal to
All restart, APP used in everyday, important chat record, document, in these old machines such as all WiFi passwords connected
Drop habit all without changing planes each time all is glad 10 minutes, 10 hours worried.In order to solve this problem, occur
Data Migration, Data Migration are old mobile phone Backup Datas, are then passed to new cell-phone and carry out data recovery to achieve the purpose that change planes.
Currently, Data Migration is usually old mobile phone is backed up all data (such as contact person, short message, using journey
Sequence etc.), all data backed up are then transmitted to new cell-phone and carry out data recovery.Old mobile phone is compared due to the time used
Long, with being continuously increased using the time of mobile phone, the size of each application constantly increases for the meeting of each application in old mobile phone,
All data of old mobile phone are transmitted to new cell-phone, there may be certain data in old mobile phone is not that user wants to move new hand to
On machine, and then unnecessary EMS memory occupation is brought to new cell-phone.
Summary of the invention
The embodiment of the present invention provides a kind of data migration method and terminal device, unnecessary to avoid 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, comprising:
First terminal equipment passes through the two dimensional code of scanning second terminal equipment, to connect the second terminal equipment foundation
Hot spot, the two dimensional code are generated based on the hotspot name and the hot spot connection password;
If all size of data of application to be migrated are greater than or equal to preset threshold, described in the first terminal device backup
The master data of application to be migrated to obtain the first data set, and sends first data set to the second terminal
Equipment.
Second aspect, the embodiment of the invention provides a kind of terminal devices, comprising:
Hot spot link block, for the two dimensional code by scanning second terminal equipment, to connect the second terminal equipment
The hot spot of foundation, the two dimensional code are generated based on the hotspot name and the hot spot connection password;
Data backup module, if all size of data for application to be migrated are greater than or equal to preset threshold, 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, the embodiment of the invention provides a kind of terminal devices, comprising:
It is 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
Step some or all of described in first aspect.
Fourth aspect, the present invention provide a kind of computer storage medium, for being stored as second aspect of the embodiment of the present invention
Computer software instructions used in the terminal device of offer, it includes for executing program designed by above-mentioned aspect.
In the present solution, first terminal equipment first determines to be migrated answer before first terminal equipment carries out data backup
The size of all data, if all size of data of application to be migrated are greater than or equal to preset threshold, first terminal equipment
It only sends the rank data of application to be migrated to second terminal equipment, can avoid making because of application to be migrated with used equipment in this way
On some unnecessary Data Migrations to new equipment generated with the elongated of time, and unnecessary memory is brought to new cell-phone
Occupation problem.
The aspects of the invention or other aspects can more straightforwards in the following description.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram of communication system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram for data migration method that first embodiment of the invention provides;
Fig. 3 is a kind of flow diagram for data migration method that second embodiment of the invention provides;
Fig. 4 is a kind of structural schematic diagram for terminal device that first embodiment of the invention provides;
Fig. 5 is a kind of structural schematic diagram for terminal device that second embodiment of the invention provides;
Fig. 6 is a kind of structural schematic diagram for terminal device that third embodiment of the invention provides.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It is described in detail separately below.
Description and claims of this specification and term " first ", " second ", " third " and " in the attached drawing
Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it
Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be
System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list
Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Hereinafter, the part term in the application is explained, in order to those skilled in the art understand that.
1), terminal device, also referred to as user equipment (User Equipment, UE), are that one kind provides a user voice
And/or the equipment of data connectivity, for example, handheld device, mobile unit etc. with wireless connecting function.Common terminal
For example, mobile phone, tablet computer, laptop, palm PC, mobile internet device (mobile internet
Device, MID), wearable device, such as smartwatch, Intelligent bracelet, pedometer etc..
2) hot spot 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 is just at a WIFI hot spot.The terminal device requirement that hot spot can be established must have wireless access point
(Access point, AP) function.
3) data set is also known as data set, data acquisition system or data acquisition system, is a kind of set as composed by data.
4) thread, sometimes referred to as Lightweight Process (Lightweight Process, LWP) are that program executes stream most
Junior unit.
5) it is movement A that serial execution is specified and movement B is successive execution relationship, executes movement again for example, first carrying out and acting A
B, alternatively, first carry out movement B executes movement A again.
6) parallel execute is that execution acts A and movement B respectively in two lines journey, for example, executing in first thread dynamic
Make A, execution acts B on the second thread, and the two can be while carry out, is also possible to during executing a movement
Execute another movement.
7), " multiple " refer to two or more."and/or", describes the incidence relation of affiliated partner, and expression can deposit
In three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.
Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Embodiments herein is described with reference to the accompanying drawing.
Referring to Fig. 1, Fig. 1 is a kind of schematic diagram of communication system disclosed by the embodiments of the present invention.Communication system shown in FIG. 1
System includes first terminal equipment 110 and second terminal equipment 120, and first terminal equipment 110 passes through scanning second terminal equipment 120
Two dimensional code hotspot name hot spot connection password is based on when above-mentioned two dimensional code to connect the hot spot of the foundation of second terminal equipment 120
It generates, if all size of data of application to be migrated are greater than or equal to preset threshold, first terminal equipment 110 backs up to be migrated
The master data of application to obtain the first data set, and sends the first data set to second terminal equipment 120.In this way may be used
Avoid because application to be migrated with used equipment using the time it is elongated due to some unnecessary Data Migrations that generate to new equipment
On, and unnecessary EMS memory occupation problem is brought to new cell-phone.
Fig. 2 is referred to, Fig. 2 is a kind of flow diagram of data migration method provided in an embodiment of the present invention, including with
Lower step:
S201, first terminal equipment pass through the two dimensional code of scanning second terminal equipment, to connect the second terminal equipment
The hot spot of foundation, the two dimensional code are generated based on the hotspot name and the hot spot connection password.
If all size of data of S202, application to be migrated are greater than or equal to preset threshold, the first terminal equipment is standby
The master data of part described application to be migrated to obtain the first data set, and sends first data set to described the
Two terminal devices.
Wherein, preset threshold for example can be 200mb, 230mb, 300mb, 400mb or other values.
Wherein, the master data of application to be migrated for example can be 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..
Optionally, the frequency of use to be migrated applied in preset period of time is higher than predeterminated frequency and/or described wait move
It moves and is less than or equal to preset duration using the duration of the last time gap present system time used.
Wherein, preset period of time for example can be in 1 month of present system time, in 1 week, in 2 weeks, in 10 days etc.
Deng.
Where it is assumed that preset period of time is in present system time 1 week, predeterminated frequency, which for example can be, uses 5 in 1 week
Secondary, 6 times, 8 times, 10 times, 11 times or other values.
Wherein, preset duration for example can be 1 day, 2 days, 3 days, 5 days, 6 days or other values.
Wherein, the application to be migrated the last time used indicates apart from applications distances present system time to be migrated most
It is close it is primary use the time, such as, it is assumed that application to be migrated is QQ, present system time be in September, 16 No. 10 21:32, QQ away from
The time used from present system time the last time is No. 10 18:32 of in September, 16, i.e., time for using QQ the last time is 16
Year No. 10 18:32 of September.
In the present solution, first terminal equipment first determines to be migrated answer before first terminal equipment carries out data backup
The size of all data, if all size of data of application to be migrated are greater than or equal to preset threshold, first terminal equipment
It only sends the rank data of application to be migrated to second terminal equipment, can avoid making because of application to be migrated with used equipment in this way
On some unnecessary Data Migrations to new equipment generated with the elongated of time, and unnecessary memory is brought to new cell-phone
Occupation problem.
Optionally, if all size of data of the application to be migrated are less than the preset threshold, the first terminal is set
The standby all data for backing up the application to be migrated to obtain the second data set, and send second data set to institute
State second terminal equipment.
Optionally, after the first terminal equipment sends first data set to the second terminal equipment, institute
State method further include: the remaining data of application to be migrated described in the first terminal device backup, to obtain third data set, with
And send the third data set to network server.
Wherein, the remaining data of application to be migrated indicates the basic number of all data-application to be migrated of application to be migrated
According to.
Since when all data of application to be migrated are larger, first terminal equipment only gives second terminal equipment transportation base
Notebook data uses the remaining data of application to be migrated in order to facilitate subsequent user, and first terminal equipment can be by these remaining datas
It backups in network server.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, after being sent completely until the first data set, then back up.
Optionally, the application to be migrated is social communication applications, described to send first data set to described the
After two terminal devices, the method also includes:
Whether the first terminal device prompts user migrates the data of association important relation people;Detecting confirmation migration
In the case where the data for being associated with important relation people, the data of the first terminal device backup association important relation people, to obtain
4th data set, and send the 4th data set to the second terminal equipment.
Wherein, important relation people can be user in advance defined in the application to be migrated, alternatively, first terminal equipment root
According to chat record it is customized (such as, it is assumed that application to be migrated be QQ, first terminal equipment is within a very long time with some
When the communication frequency of contact person is higher, using this some contact person as important relation people, for example, the first terminal equipment in 1 year
Communication with contact person A is up to 1 year more than 300 times, then contact person A is important contact person), alternatively, 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 is QQ, QQ grouping connection
It is that people is named as " household " grouping, then the All Contacts in this " household " grouping are set as important relation people), etc..
Wherein, if above-mentioned important relation people quantity is multiple, above-mentioned prompting mode can be first terminal equipment and pass through
The mode of pop-up selection table, to prompt the user whether the data of migration association important relation people, if user only wants to migrate this
The data of certain contact persons in a little important relation people, user need to only choose in the table the contact person that needs to migrate confirmation i.e.
Can, if user wants the data of the whole important relation people of migration, directly confirm.
Optionally, the application to be migrated is audio/video application, described to send first data set to described second
After terminal device, the method also includes:
Whether the first terminal device prompts user migrates target sound/video file, the target audio file be
Broadcasting time is more than the local cache audio file of preset times in preset period of time, and the target video file is not watch video
File and/or watched duration are less than the video file of preset duration;Detecting confirmation migration target sound/video file
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 invention also provides another more detailed method flows, as shown in Figure 3, comprising:
S301, second terminal equipment establish hot spot, and are generated based on the hotspot name and the hot spot connection password
The two dimensional code of the second terminal equipment.
S302, first terminal equipment pass through the two dimensional code of scanning second terminal equipment, to connect the second terminal equipment
The hot spot of foundation, the two dimensional code are generated based on the hotspot name and the hot spot connection password.
S303, first terminal equipment determine whether all size of data of application to be migrated are greater than or equal to preset threshold.
If so, thening follow the steps S304.
If it is not, thening follow the steps S306.
The master data of application to be migrated described in S304, 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
It states second terminal equipment and receives the first data set that the first terminal equipment is sent.Step is executed after executing the step S305
S308。
All data of application to be migrated described in S306, 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
It states second terminal equipment and receives second data set that the first terminal equipment is sent.
S308, the application to be migrated are social communication applications, and whether the first terminal device prompts user migrates pass
Join the data of important relation people.
S309, detect confirmation migration association important relation people data in the case where, 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 is sent.
The remaining data of application to be migrated described in S311, the first terminal device backup, to obtain third data set.
S312, the first terminal equipment send the third data set to network server, so that the network
Server receives the third data set.
It should be noted that the specific implementation process of each step of method shown in Fig. 3 can be found in described in the above method
Specific implementation process, no longer describe herein.
The embodiment of the invention also provides a kind of terminal devices 400, as shown in Figure 4, comprising:
Hot spot link block 401 is set for the two dimensional code by scanning second terminal equipment with connecting the second terminal
The standby hot spot established, the two dimensional code is generated based on the hotspot name and the hot spot connection password;
Data backup module 402, it is described if all size of data for application to be migrated are greater than or equal to preset threshold
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.
Optionally, the data backup module 402, if all size of data for being also used to the application to be migrated are less than institute
Preset threshold is stated, all data of the application to be migrated are backed up, to obtain the second data set;
The data transmitting module 403 is also used to send second data set to the second terminal equipment.
Optionally, after data transmitting module 403 sends first data set to the second terminal equipment, institute
Data backup module 402 is stated, is also used to back up the remaining data of the application to be migrated, to obtain third data set;
The data transmitting module 403 is also used to send the third data set to network server.
Optionally, 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 further include:
Whether cue module 404 migrates the data of association important relation people for user;
The data backup module 402 is also used to the case where detecting the data of confirmation 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 also used to send the 4th data set to the second terminal equipment.
Optionally, the frequency of use to be migrated applied in preset period of time is higher than predeterminated frequency and/or described wait move
It moves and is less than or equal to preset duration using the duration of the last time gap present system time used.
It should be noted that above-mentioned each module (hot spot link block 401, data backup module 402, data transmitting module
403 and cue module 404) for executing the correlation step of the above method.
In the present embodiment, terminal device 400 is to present in modular form.Here " module " can refer to specific answer
With integrated circuit (application-specific integrated circuit, ASIC), execute one or more softwares or
The processor and memory of firmware program, integrated logic circuit and/or other device of above-mentioned function can be provided.In addition, with
Upper hot spot link block 401, data backup module 402, data transmitting module 403 and cue module 404 can be by shown in Fig. 5
The processor 501 of terminal device realize.
As shown in figure 5, terminal device 500 can be realized with the structure in Fig. 5, which includes at least one
A processor 501, at least one processor 502 and at least one communication interface 503.The processor 501, the memory
502 are connected by the communication bus with the communication interface 503 and complete mutual communication.
Processor 501 can be general central processor (CPU), microprocessor, application-specific integrated circuit
(application-specific integrated circuit, ASIC), or it is one or more for controlling above scheme journey
The integrated circuit that sequence executes.
Communication interface 503 is used for and other equipment or communication, such as Ethernet, wireless access network (RAN), nothing
Line local area network (Wireless Local Area Networks, WLAN) etc..
Memory 502 can be read-only memory (read-only memory, ROM) or can store static information and instruction
Other kinds of static storage device, random access memory (random access memory, RAM) or letter can be stored
The other kinds of dynamic memory of breath and instruction, is also possible to Electrically Erasable Programmable Read-Only Memory (Electrically
Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-
Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, optical disc, digital universal
Optical disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store to have referring to
Enable or data structure form desired program code and can by any other medium of computer access, but not limited to this.
Memory, which can be, to be individually present, and is connected by bus with processor.Memory can also be integrated with processor.
Wherein, the memory 502 be used for store execution above scheme application code, and by processor 501
Control executes.The processor 501 is for executing the application code stored in the memory 502.
The above-mentioned data migration method that terminal device provided above executes can be performed in the code that memory 502 stores, than
Such as by the two dimensional code of scanning second terminal equipment, to connect the hot spot that the second terminal equipment is established, the two dimensional code is
It is generated based on the hotspot name and the hot spot connection password;If all size of data of application to be migrated are greater than or equal to
Preset threshold, the standby master data for backing up the application to be migrated, to obtain the first data set, and by first data set
Send the second terminal equipment to.
As follows the embodiment of the invention also provides more specifically application scenarios: above-mentioned terminal device is mobile phone, under
Face combines Fig. 6 specifically to introduce each component parts of mobile phone:
RF circuit 610 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, handled to processor 680;In addition, the data for designing uplink are sent to base station.In general, RF circuit 610
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..In addition, RF circuit 610 can also be communicated with network and other equipment by wireless communication.
Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access
(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 for storing software program and module, and processor 680 is stored in memory 620 by operation
Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 620 can mainly include
Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function
Sequence (such as data backup function, two-dimensional code scanning function, data set transmitting function) etc.;Storage data area can be stored according to mobile phone
Use created data (such as the first data set, the second data set, third data set and the 4th data set backed up)
Deng.In addition, memory 620 may include high-speed random access memory, it can also include nonvolatile memory, for example, at least
One disk memory, flush memory device or other volatile solid-state parts.
Input unit 630 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with
And the related key signals input of function control.Specifically, input unit 630 may include touch panel 631, other input equipments
632.Touch panel 631, also referred to as touch screen, collect user on it or nearby touch operation (such as user use hand
The operation of any suitable object or attachment such as finger, stylus on touch panel 631 or near touch panel 631), and according to
Preset formula drives corresponding attachment device.Optionally, touch 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 touch operation bring signal is detected, it 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 order that processor 680 is sent can be received and executed.Furthermore, it is possible to using resistance
The multiple types such as formula, condenser type, infrared ray and surface acoustic wave realize touch panel 631.Divided by touch panel 631, input
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 of disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc..
Display unit 640 can be used for showing information input by user or be supplied to user information and mobile phone it is various
Menu.Display unit 640 may include display panel 641, optionally, can use liquid crystal display (Liquid Crystal
Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure
Show panel 641.Further, touch panel 631 can cover display panel 641, when touch panel 631 detect it is on it or attached
After close touch operation, processor 680 is sent to determine the type of touch event, is followed by subsequent processing device 680 according to touch event
Type corresponding visual output is provided on display panel 641.Although in Fig. 6, touch panel 631 and display panel 641
It is that the input and input function of mobile phone are realized as two independent components, but in some embodiments it is possible to by touch-control
Panel 631 and display panel 641 are integrated and that realizes mobile phone output and input 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 sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 641, proximity sensor can close display panel 641 when mobile phone is moved in one's ear
And/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three axis) acceleration in all directions
Size, can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture, (for example 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 gyroscope, barometer, hygrometer, thermometer, the infrared sensor of configuration, details are not described herein.
Voicefrequency circuit 660, loudspeaker 661, microphone 662 can provide the audio interface between user and mobile phone.Audio-frequency electric
Electric signal after the audio data received conversion can be transferred to loudspeaker 661, be 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
It is changed to audio data, then by after the processing of audio data output processor 680, such as another mobile phone is sent to through RF circuit 610,
Or audio data is exported to memory 620 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 670
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 6 is shown
WiFi module 670, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely
Become in the range of the essence of invention and omits.
Processor 680 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to
It crosses operation or executes the software program and/or module being stored in memory 620, and call and be stored in memory 620
Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 680 can wrap
Include one or more processing units;Preferably, processor 680 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 680.
Mobile phone further includes the power supply 690 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe
Reason system and processor 680 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system
Etc. functions.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In previous embodiment, each step method process can be realized based on the structure of terminal device shown in fig. 6.
The embodiment of the present invention also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey
Sequence, the program include some or all of any data migration method recorded in above method embodiment step when executing
Suddenly.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer-readable access to memory.Based on this understanding, technical solution of the present invention substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the present invention
Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory
May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English:
Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present invention has been described in detail above, specific case used herein to the principle of the present invention and
Embodiment is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;
At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the present invention
There is change place, to sum up above-mentioned, the contents of this specification are not to be construed as limiting the invention.
Claims (9)
1. a kind of data migration method characterized by comprising
First terminal equipment passes through the two dimensional code of scanning second terminal equipment, to connect the heat that the second terminal equipment is established
Point, the two dimensional code are generated based on the hotspot name and the hot spot connection password;
If all size of data of application to be migrated are greater than or equal to preset threshold, wait move described in the first terminal device backup
The master data of application is moved, to obtain the first data set, and sends first data set to the second terminal equipment;
If all size of data of the application to be migrated are less than the preset threshold, described in the first terminal device backup to
All data for migrating application, to obtain the second data set, and send second data set to the second terminal and set
It is standby.
2. the method according to claim 1, wherein described send first data set to described second eventually
After end equipment, the method also includes:
The remaining data of application to be migrated described in the first terminal device backup, to obtain third data set, and will be described
Third data set sends network server to.
3. method according to claim 1 or 2, which is characterized in that the application to be migrated is social communication applications, described
After sending first data set to the second terminal equipment, the method also includes:
Whether the first terminal device prompts user migrates the data of association important relation people;
In the case where detecting the data of confirmation migration association important relation people, the first terminal device backup association is important
The data of contact person to obtain the 4th data set, and send the 4th data set to the second terminal equipment.
4. method according to claim 1 or 2, which is characterized in that the use to be migrated applied in preset period of time
Frequency is higher than predeterminated frequency, alternatively, the duration of the last time gap present system time used of application to be migrated
Less than or equal to preset duration.
5. a kind of terminal device characterized by comprising
Hot spot link block is established for the two dimensional code by scanning second terminal equipment with connecting the second terminal equipment
Hot spot, the two dimensional code is generated based on the hotspot name and the hot spot connection password;
Data backup module, if all size of data for application to be migrated are greater than or equal to preset threshold, described first eventually
End equipment backs up the master data of the application to be migrated, to obtain the first data set;The data backup module, if being also used to
All size of data of the application to be migrated are less than the preset threshold, back up all data of the application to be migrated, with
Obtain the second data set;
Data transmitting module, for sending first data set to the second terminal equipment;The data transmitting module,
It is also used to send second data set to the second terminal equipment.
6. terminal device according to claim 5, which is characterized in that
The data backup module is also used to back up the remaining data of the application to be migrated, to obtain third data set;
The data transmitting module is also used to send the third data set to network server.
7. terminal device according to claim 5 or 6, which is characterized in that the application to be migrated is social communication applications,
The terminal device further include:
Whether cue module migrates the data of association important relation people for user;
The data backup module is also used to the backup in the case where detecting the data of confirmation migration association important relation people
The data of important relation people are associated with, to obtain the 4th data set;
The data transmitting module is also used to send the 4th data set to the second terminal equipment.
8. according to the described in any item terminal devices of claim 5 or 6, which is characterized in that described to be migrated to apply when default
Frequency of use in section is higher than predeterminated frequency, alternatively, the last time gap current system used of application to be migrated
The duration of time is less than or equal to preset duration.
9. a kind of terminal device characterized by comprising
It is 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 as Claims 1-4 is any
Method described in.
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 CN106488391A (en) | 2017-03-08 |
CN106488391B true 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) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106488391B (en) * | 2016-09-14 | 2019-10-25 | Oppo广东移动通信有限公司 | A kind of data migration method and terminal device |
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 |
CN113259523B (en) * | 2021-05-31 | 2023-09-29 | Oppo广东移动通信有限公司 | Connection method, equipment to be migrated, system and medium |
CN115665470B (en) * | 2022-10-21 | 2024-07-09 | 四川长虹电器股份有限公司 | Method for quick change of intelligent television through data migration |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110313974A1 (en) * | 2010-06-17 | 2011-12-22 | Computer Associates Think, Inc. | Prioritized data backup |
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 |
-
2016
- 2016-09-14 CN CN201610825483.8A patent/CN106488391B/en active Active
-
2017
- 2017-07-13 WO PCT/CN2017/092865 patent/WO2018049901A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN106488391A (en) | 2017-03-08 |
WO2018049901A1 (en) | 2018-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10326861B2 (en) | Method for controlling cooperation of multiple intelligent devices and apparatus thereof | |
CN106488391B (en) | A kind of data migration method and terminal device | |
CN106714103B (en) | A kind of network locating method and terminal device | |
CN106059894B (en) | Message processing method and device | |
CN106507482B (en) | A kind of network locating method and terminal device | |
CN106714207B (en) | A kind of information processing method and terminal device | |
CN104954149B (en) | The method, apparatus and system of data sharing are carried out in Web conference | |
CN107949826A (en) | A kind of message display method, user terminal and graphical user interface | |
CN103941982A (en) | Method for sharing interface processing and terminal | |
CN104598476A (en) | Message aggregation display method and information display method and relevant device | |
CN106020962B (en) | A kind of course control method and terminal device | |
CN106507269B (en) | Data migration method and terminal equipment | |
US20200168211A1 (en) | Information Processing Method, Server, Terminal, and Information Processing System | |
CN104991699B (en) | A kind of method and apparatus of video display control | |
CN106658753A (en) | Data migration method and terminal equipment | |
CN103488392A (en) | Editing method and device used for editable content of touch screen, and terminal | |
CN106658353A (en) | Data migration method and mobile equipment | |
WO2018049904A1 (en) | Data migration method and related devices | |
CN103491421B (en) | Content displaying method, device and intelligent television | |
CN108932094A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
CN104660769B (en) | A kind of methods, devices and systems for adding associated person information | |
CN104199596A (en) | Scene interface switching method and device | |
CN106209608A (en) | The method and device that the difference of a kind of chat message synchronizes | |
CN106332023A (en) | Unread information display method and device, and mobile terminal | |
CN106484563B (en) | Data migration method and terminal equipment |
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 | ||
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. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |