技术领域technical field
本发明涉及电子技术领域,尤其涉及一种数据迁移方法及终端设备。The present invention relates to the field of electronic technology, in particular to a data migration method and terminal equipment.
背景技术Background technique
目前人们换手机的频率越来越高,但是对于懒癌患者和科技小白来说,换机等于一切重新开始,日常使用的APP,重要的聊天记录、文档,连过的所有WiFi密码等这些旧机里的点滴习惯都没有了,每一次换机都是高兴10分钟,烦恼10小时。为了解决该问题,出现了数据迁移,数据迁移是旧手机备份数据,然后传给新手机进行数据恢复以达到换机的目的。At present, people change their mobile phones more and more frequently, but for lazy cancer patients and technology noobs, changing phones is equivalent to starting all over again, such as daily APPs, important chat records, documents, all connected WiFi passwords, etc. The habit of the old phone is gone. Every time I change the phone, I am happy for 10 minutes and worry for 10 hours. In order to solve this problem, data migration has appeared. Data migration is to back up the data of the old mobile phone, and then transfer it to the new mobile phone for data recovery to achieve the purpose of replacement.
目前,数据迁移通常是旧手机将所有的数据进行备份(比如联系人、短信、应用程序等),然后将备份好的所有数据传给新手机进行数据恢复。将旧手机的所有数据传给新手机,可能会存在旧手机中的某些应用不是用户想要搬到新手机上的,进而给新手机带来不必要的内存占用。At present, data migration is usually that the old mobile phone backs up all data (such as contacts, text messages, applications, etc.), and then transfers all the backed up data to the new mobile phone for data recovery. Transferring all the data from the old mobile phone to the new mobile phone, there may be some applications in the old mobile phone that the user does not want to move to the new mobile phone, which will cause unnecessary memory usage on the new mobile phone.
发明内容Contents of the invention
本发明实施例提供一种数据迁移方法及终端设备,以期避免给新手机带来不必要的内存占用问题。Embodiments of the present invention provide a data migration method and terminal equipment, in order to avoid unnecessary memory occupation problems for new mobile phones.
第一方面,本发明实施例提供一种数据迁移方法,包括:In a first aspect, an embodiment of the present invention provides a data migration method, including:
第一终端设备通过扫描第二终端设备的二维码,以连接所述第二终端设备建立的热点,所述二维码基于所述热点名称和所述热点连接密码生成的;The first terminal device scans the two-dimensional code of the second terminal device to connect to the hotspot established by the second terminal device, the two-dimensional code is generated based on the hotspot name and the hotspot connection password;
所述第一终端设备备份第一应用的数据,以得到第一数据集,以及将所述第一数据集传送给所述第二终端设备,所述第一应用的重要优先级大于或等于预设优先级。The first terminal device backs up the data of the first application to obtain a first data set, and transmits the first data set to the second terminal device, and the important priority of the first application is greater than or equal to a preset Set priority.
第二方面,本发明实施例提供了一种终端设备,包括:In a second aspect, an embodiment of the present invention provides a terminal device, including:
热点连接模块,用于通过扫描第二终端设备的二维码,以连接所述第二终端设备建立的热点,所述二维码是基于所述热点名称和所述热点连接密码生成的;A hotspot connection module, configured to connect to a hotspot established by the second terminal device by scanning a two-dimensional code of the second terminal device, where the two-dimensional code is generated based on the hotspot name and the hotspot connection password;
数据备份模块,用于备份第一应用的数据,以得到第一数据集;A data backup module, configured to back up the data of the first application to obtain the first data set;
数据传送模块,用于将所述第一数据集传送给所述第二终端设备,所述第一应用的重要优先级大于或等于预设优先级。A data transmission module, configured to transmit the first data set to the second terminal device, and the important priority of the first application is greater than or equal to a preset priority.
第三方面,本发明实施例提供了一种终端设备,包括:In a third aspect, an embodiment of the present invention provides a terminal device, including:
存储有可执行程序代码的存储器;a memory storing executable program code;
与所述存储器耦合的处理器;a processor coupled to the memory;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行如本发明实施例第一方面中所描述的部分或全部步骤。The processor invokes the executable program code stored in the memory to execute part or all of the steps described in the first aspect of the embodiments of the present invention.
第四方面,本发明提供一种计算机存储介质,用于储存为本发明实施例第二方面提供的终端设备所用的计算机软件指令,其包含用于执行上述方面所设计的程序。In a fourth aspect, the present invention provides a computer storage medium for storing computer software instructions used by the terminal device provided in the second aspect of the embodiment of the present invention, which includes a program designed to execute the above aspect.
在本方案中,在第一终端设备进行数据备份之前,第一终端设备先确定重要优先级大于或等于预设优先级的第一应用,然后再备份第一应用的数据,最后再将备份好的第一应用的数据传送给第二终端设备,这样可避免旧设备将某些用户不想搬到新设备上的应用的数据迁移到新设备上,而给新手机带来不必要的内存占用问题。In this solution, before the first terminal device performs data backup, the first terminal device first determines the first application whose important priority is greater than or equal to the preset priority, then backs up the data of the first application, and finally backs up the The data of the first application is transmitted to the second terminal device, which can prevent the old device from migrating the data of some applications that the user does not want to move to the new device, and cause unnecessary memory usage problems for the new mobile phone .
本发明的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These or other aspects of the present invention will be more clearly understood in the description of the following embodiments.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明实施例提供的一种通信系统的示意图;FIG. 1 is a schematic diagram of a communication system provided by an embodiment of the present invention;
图2为本发明第一实施例提供的一种数据迁移方法的流程示意图;FIG. 2 is a schematic flowchart of a data migration method provided in the first embodiment of the present invention;
图3为本发明第二实施例提供的一种数据迁移方法的流程示意图;FIG. 3 is a schematic flowchart of a data migration method provided by the second embodiment of the present invention;
图4为本发明第一实施例提供的一种终端设备的结构示意图;FIG. 4 is a schematic structural diagram of a terminal device provided by a first embodiment of the present invention;
图5为本发明第二实施例提供的一种终端设备的结构示意图;FIG. 5 is a schematic structural diagram of a terminal device provided by a second embodiment of the present invention;
图6为本发明第三实施例提供的一种终端设备的结构示意图。FIG. 6 is a schematic structural diagram of a terminal device provided by a third embodiment of the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
以下分别进行详细说明。Each will be described in detail below.
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" in the description and claims of the present invention and the drawings are used to distinguish different objects, rather than to describe a specific order . Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some terms used in this application are explained to facilitate the understanding of those skilled in the art.
1)、终端设备,又称之为用户设备(User Equipment,UE),是一种向用户提供语音和/或数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。常见的终端例如包括:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internetdevice,MID)、可穿戴设备,例如智能手表、智能手环、计步器等。1) Terminal equipment, also called User Equipment (UE), is a device that provides voice and/or data connectivity to users, for example, a handheld device with a wireless connection function, a vehicle-mounted device, and the like. Common terminals include, for example, mobile phones, tablet computers, notebook computers, palmtop computers, mobile internet devices (mobile internet devices, MIDs), wearable devices, such as smart watches, smart bracelets, and pedometers.
2)热点是指把终端设备的接收GPRS、3G、4G或5G信号转化为WIFI信号再发出去,这样终端设备就成了一个WIFI热点。能够建立热点的终端设备要求必须具有无线接入点(Access point,AP)功能。2) Hotspot refers to converting the received GPRS, 3G, 4G or 5G signal of the terminal device into a WIFI signal and then sending it out, so that the terminal device becomes a WIFI hotspot. A terminal device capable of establishing a hotspot must have a wireless access point (Access point, AP) function.
3)数据集又称为资料集、数据集合或资料集合,是一种由数据所组成的集合。3) Data set, also known as data set, data collection or data collection, is a collection composed of data.
4)线程,有时被称为轻量级进程(Lightweight Process,LWP),是程序执行流的最小单元。4) A thread, sometimes called a lightweight process (Lightweight Process, LWP), is the smallest unit of program execution flow.
5)串行执行指定是动作A与动作B是先后执行关系,比如,先执行动作A再执行动作B,或者,先执行动作B再执行动作A。5) The serial execution designation means that action A and action B are executed sequentially, for example, action A is executed first and then action B is executed, or action B is executed first and then action A is executed.
6)并行执行是在两条线程上分别执行动作A与动作B,比如,在第一线程上执行动作A,在第二线程上执行动作B,二者可以是同时进行的,也可以是在执行一个动作的过程中执行另一动作。6) Parallel execution is to execute action A and action B on two threads respectively. For example, execute action A on the first thread and execute action B on the second thread. The two can be performed simultaneously or in parallel Executing an action while performing another action.
7)、“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。7), "Multiple" refers to two or more than two. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship.
下面结合附图对本申请的实施例进行描述。Embodiments of the present application are described below in conjunction with the accompanying drawings.
请参阅图1,图1是本发明实施例公开的一种通信系统的示意图。图1所示的通信系统包括第一终端设备110和第二终端设备120,其中,第一终端设备110通过扫描第二终端设备120的二维码,以连接第二终端设备120建立的热点,上述二维码是基于热点名称和热点连接密码生成的;第一终端设备110备份第一应用的数据,以得到第一数据集,以及将第一数据集传送给第二终端设备120,第一应用的重要优先级大于或等于预设优先级,这样可避免旧设备将某些用户不想搬到新设备上的应用的数据迁移到新设备上,而给新手机带来不必要的内存占用问题。Please refer to FIG. 1 . FIG. 1 is a schematic diagram of a communication system disclosed by an embodiment of the present invention. The communication system shown in FIG. 1 includes a first terminal device 110 and a second terminal device 120, wherein the first terminal device 110 scans the QR code of the second terminal device 120 to connect to the hotspot established by the second terminal device 120, The above-mentioned two-dimensional code is generated based on the hotspot name and the hotspot connection password; the first terminal device 110 backs up the data of the first application to obtain the first data set, and transmits the first data set to the second terminal device 120, the first The important priority of the application is greater than or equal to the preset priority, which can prevent the old device from migrating the data of some applications that the user does not want to move to the new device, and cause unnecessary memory usage problems for the new phone .
请参见图2,图2为本发明实施例提供的一种数据迁移方法的流程示意图,包括以下步骤:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a data migration method provided by an embodiment of the present invention, including the following steps:
S201、第一终端设备通过扫描第二终端设备的二维码,以连接所述第二终端设备建立的热点,所述二维码是基于所述热点名称和所述热点连接密码生成的。S201. The first terminal device scans the two-dimensional code of the second terminal device to connect to the hotspot established by the second terminal device, the two-dimensional code is generated based on the hotspot name and the hotspot connection password.
S202、所述第一终端设备备份第一应用的数据,以得到第一数据集,以及将所述第一数据集传送给所述第二终端设备,所述第一应用的重要优先级大于或等于预设优先级。S202. The first terminal device backs up the data of the first application to obtain a first data set, and transmits the first data set to the second terminal device, and the priority of the first application is greater than or Equal to preset priority.
其中,上述二维码是第二终端设备在建立热点之后,自行根据热点名称和热点连接密码生成的。Wherein, the above-mentioned two-dimensional code is generated by the second terminal device according to the hotspot name and the hotspot connection password after the hotspot is established.
其中,预设优先级可以是优先级1、优先级2、优先级3等等。其中,优先级1>优先级2>优先级3。Wherein, the preset priority may be priority 1, priority 2, priority 3 and so on. Wherein, priority 1>priority 2>priority 3.
可选地,应用的重要优先级是用户自定义的,或是所述第一终端设备自定义的,或是所述第一终端设备基于应用的使用频率和/或关联应用的数据的内容确定的(比如,使用频率越高重要优先级越大,比如使用频率超过80次重要优先级为优先级1,使用频率在40-80重要优先级为优先级2,使用频率小于40重要优先级为优先级3,另外,关联应用的数据内容涉及工作、行程、记事等方面的重要优先级越大。)。Optionally, the important priority of the application is user-defined, or defined by the first terminal device, or determined by the first terminal device based on the frequency of use of the application and/or the content of data associated with the application (For example, the higher the frequency of use, the greater the priority. For example, if the frequency of use exceeds 80 times, the priority is priority 1; if the frequency of use is 40-80, the priority is priority 2; if the frequency of use is less than 40, the priority is priority 2. Priority 3, in addition, the data content of the associated application is more important in terms of work, schedule, notes, etc.).
可选地,在备份所述第一应用的数据的过程中,所述第一终端设备备份第二应用的数据,以得到第二数据集,以及将所述第二数据集传送给网络服务器,所述第二应用的重要优先级小于所述预设优先级。Optionally, during the process of backing up the data of the first application, the first terminal device backs up the data of the second application to obtain a second data set, and transmit the second data set to the network server, The important priority of the second application is lower than the preset priority.
由于第一终端设备只是将第一终端设备中的部分应用的数据传送给第二终端设备,为了方便后续用户使用未传送的这些应用,第一终端设备将未传送给第二终端设备的这些应用的数据备份到网络服务器中。Since the first terminal device only transmits the data of some applications in the first terminal device to the second terminal device, in order to facilitate subsequent users to use these applications that have not been transmitted, the first terminal device will transfer the data of these applications that have not been transmitted to the second terminal device The data is backed up to the network server.
可选地,所述第一数据集的传送和第二数据集的传送是并行执行的。Optionally, the transmission of the first data set and the transmission of the second data set are performed in parallel.
可选地,所述第一应用的数量为N时,所述N为大于1的整数,所述第一终端设备备份所述第一应用的数据,包括:Optionally, when the number of the first application is N, the N is an integer greater than 1, and the first terminal device backs up the data of the first application, including:
若所述N大于或等于M,所述第一终端设备并行备份所述N个第一应用中的M个第一应用的数据,所述M为大于1的整数,所述M个第一应用的使用频率高于所述N个第一应用中除了所述M个第一应用之外的任一第一应用的使用频率;在第一应用i的数据备份完成后,所述第一终端设备在备份所述第一应用i的线程上备份第一应用j的数据,所述第一应用i为所述M个第一应用中的其中一个第一应用,直至所述N个第一应用的数据备份完成,所述第一应用j的使用频率高于所述N-M个第一应用中除了所述第一应用j之外的任一第一应用的使用频率;若所述N小于所述M,所述第一终端设备并行备份所述N个第一应用的数据。If the N is greater than or equal to M, the first terminal device backs up the data of M first applications in the N first applications in parallel, the M is an integer greater than 1, and the M first applications The frequency of use is higher than the frequency of use of any first application in the N first applications except the M first applications; after the data backup of the first application i is completed, the first terminal device Back up the data of the first application j on the thread that backs up the first application i, the first application i is one of the first applications in the M first applications, until the data of the N first applications The data backup is completed, and the usage frequency of the first application j is higher than the usage frequency of any first application except the first application j among the N-M first applications; if the N is less than the M , the first terminal device backs up the data of the N first applications in parallel.
举例来说,假设N=5,M=3,5个第一应用的使用频率顺序有:第一应用1使用频率>第一应用2的使用频率>第一应用3的使用频率>第一应用4的使用频率>第一应用5的使用频率,第一终端设备在3条线程上并行备份第一应用1、第一应用2和第一应用3,在第一应用1的数据备份完成后,第一终端设备在备份第一应用1的线程上备份第一应用4,以此类推,直至这5个第一应用的数据都备份完成。For example, assuming that N=5, M=3, the order of the usage frequencies of the five first applications is: usage frequency of the first application 1 > usage frequency of the first application 2 > usage frequency of the first application 3 > usage frequency of the first application The frequency of use of 4>the frequency of use of the first application 5, the first terminal device backs up the first application 1, the first application 2 and the first application 3 in parallel on three threads, and after the data backup of the first application 1 is completed, The first terminal device backs up the first application 4 on the thread that backs up the first application 1, and so on, until all the data of the five first applications are backed up.
可选地,所述第一应用的数量为N时,所述N为大于1的整数,所述第一终端设备备份所述第一应用的数据,包括:Optionally, when the number of the first application is N, the N is an integer greater than 1, and the first terminal device backs up the data of the first application, including:
若所述N大于或等于w,所述第一终端设备并行备份所述N个第一应用中的任意w个第一应用的数据,所述w为大于1的整数;在第一应用j的数据备份完成后,所述第一终端设备在备份所述第一应用j的线程上备份第一应用k的数据,直至所述N个第一应用的数据备份完成,所述第一应用j为所述w个第一应用中的其中一个第一应用,所述第一应用k为所述N个第一应用中除了所述w个第一应用之外的任一第一应用;若所述N小于所述w,所述第一终端设备并行备份所述N个第一应用的数据。If the N is greater than or equal to w, the first terminal device backs up the data of any w first applications in the N first applications in parallel, and the w is an integer greater than 1; in the first application j After the data backup is completed, the first terminal device backs up the data of the first application k on the thread that backs up the first application j, until the data backup of the N first applications is completed, and the first application j is One of the first applications in the w first applications, the first application k is any first application in the N first applications except the w first applications; if the N is smaller than the w, and the first terminal device backs up the data of the N first applications in parallel.
举例来说,假设N=10,w=4,第一终端设备在4条线程上并行备份10个第一应用中的任意4个第一应用的数据,在这4个第一应用的其中一个应用的数据备份完成后,第一终端设备在备份这个其中一个应用的线程上备份除了这4个第一应用之外的任一第一应用的数据,以此类推,直到这10个第一应用的数据全部备份完成。For example, assuming that N=10 and w=4, the first terminal device backs up the data of any 4 of the 10 first applications in parallel on 4 threads, and one of the 4 first applications After the data backup of the application is completed, the first terminal device backs up the data of any first application except the 4 first applications on the thread that backs up one of the applications, and so on until the 10 first applications All data is backed up.
可选地,所述第一应用的数量为N时,所述N为大于1的整数,所述第一终端设备备份所述第一应用的数据,包括:Optionally, when the number of the first application is N, the N is an integer greater than 1, and the first terminal device backs up the data of the first application, including:
若所述N大于或等于W,所述第一终端设备并行备份所述N个第一应用中的W个第一应用的数据,所述W为大于1的整数,所述W个第一应用最近一次的使用时间晚于所述N个第一应用中除了所述W个第一应用之外的任一第一应用最近一次的使用时间;If the N is greater than or equal to W, the first terminal device backs up the data of W first applications in the N first applications in parallel, the W is an integer greater than 1, and the W first applications The latest use time is later than the last use time of any first application in the N first applications except the W first applications;
在第一应用g的数据备份完成后,所述第一终端设备在备份所述第一应用g的线程上备份第一应用h的数据,直至所述N个第一应用的数据备份完成,所述第一应用g为所述W个第一应用中的其中一个第一应用,所述第一应用h最近一次的使用时间晚于所述N-W个第一应用中除了所述第一应用h之外的任一第一应用最近一次的使用时间;若所述N小于所述W,所述第一终端设备并行备份所述N个第一应用的数据。After the data backup of the first application g is completed, the first terminal device backs up the data of the first application h on the thread that backs up the first application g, until the data backup of the N first applications is completed, so The first application g is one of the first applications among the W first applications, and the latest use time of the first application h is later than that of all the N-W first applications except the first application h The latest use time of any first application outside of N; if the N is less than the W, the first terminal device backs up the data of the N first applications in parallel.
需要说明的是,假设第一时间为16年9月10日23:20,第二时间为16年9月10日21:20,那么第一时间晚于第二时间。另外,上述进一步限定备份第一应用数据的具体实现过程,同样也适用于备份第二应用的数据,在此不再叙述。It should be noted that, assuming that the first time is 23:20, September 10, 16, and the second time is 21:20, September 10, 16, then the first time is later than the second time. In addition, the specific implementation process of further limiting the backup of the first application data above is also applicable to the backup of the second application data, which will not be described here.
需要说明的是,当第一应用为N个时,上述第一数据集对应有N个,N个第一数据集与N个第一应用一一对应,那么第一终端设备向第二终端设备传送的第一数据集对应为N个。另外,上述备份第一应用的数据的具体实施方式,同样适用于备份第二应用的数据,在此不再叙述。It should be noted that when there are N first applications, there are N corresponding first data sets, and the N first data sets correspond to the N first applications one-to-one, then the first terminal device sends the second terminal device The number of first data sets transmitted corresponds to N. In addition, the above specific implementation manner of backing up the data of the first application is also applicable to backing up the data of the second application, which will not be described here again.
本发明实施例还提供了另一更为详细的方法流程,如图3所示,包括:The embodiment of the present invention also provides another more detailed method flow, as shown in Figure 3, including:
S301、第一终端设备通过扫描第二终端设备的二维码,以连接所述第二终端设备建立的热点,所述二维码是基于所述热点名称和所述热点连接密码生成的。S301. The first terminal device connects to the hotspot established by the second terminal device by scanning a two-dimensional code of the second terminal device, where the two-dimensional code is generated based on the hotspot name and the hotspot connection password.
S302、所述第一终端设备确定第一应用,所述第一应用的重要优先级大于或等于预设优先级。S302. The first terminal device determines a first application, and an important priority of the first application is greater than or equal to a preset priority.
S303、若所述第一应用的数量为N时,所述N为大于1的整数,所述第一终端设备确定所述N是否大于M,所述M为大于1的整数。S303. If the number of the first application is N, the N is an integer greater than 1, the first terminal device determines whether the N is greater than M, and the M is an integer greater than 1.
若是,则执行步骤S304。If yes, execute step S304.
若否,则执行步骤S306。If not, execute step S306.
S304、所述第一终端设备并行备份所述N个第一应用中的M个第一应用的数据,所述M个第一应用的使用频率高于所述N个第一应用中除了所述M个第一应用之外的任一第一应用的使用频率。S304. The first terminal device backs up the data of M first applications in the N first applications in parallel, and the use frequency of the M first applications is higher than that of the N first applications except the The usage frequency of any first application other than the M first applications.
S305、在第一应用i的数据备份完成后,所述第一终端设备在备份所述第一应用i的线程上备份第一应用j的数据,直至所述N个第一应用的数据备份完成,以得到N个第一数据集,所述第一应用i为所述M个第一应用中的其中一个第一应用,所述第一应用j的使用频率高于所述N-M个第一应用中除了所述第一应用j之外的任一第一应用的使用频率。S305. After the data backup of the first application i is completed, the first terminal device backs up the data of the first application j on the thread that backs up the first application i until the data backup of the N first applications is completed , to obtain N first data sets, the first application i is one of the first applications among the M first applications, and the usage frequency of the first application j is higher than that of the N-M first applications The frequency of use of any first application except the first application j in .
S306、所述第一终端设备并行备份所述N个第一应用的数据,以得到N个第一数据集。S306. The first terminal device backs up data of the N first applications in parallel to obtain N first data sets.
S307、所述第一终端设备将所述N个第一数据集传送给所述第二终端设备。S307. The first terminal device transmits the N first data sets to the second terminal device.
S308、在备份所述第一应用的数据的过程中,所述第一终端设备备份第二应用的数据,以得到第二数据集。S308. During the process of backing up the data of the first application, the first terminal device backs up the data of the second application to obtain a second data set.
S309、所述第一终端设备将所述第二数据集传送给网络服务器,所述第二应用的重要优先级小于所述预设优先级。S309. The first terminal device transmits the second data set to a network server, and the important priority of the second application is lower than the preset priority.
需要说明的是,图3所示的方法的各个步骤的具体实现过程可参见上述方法所述的具体实现过程,在此不再叙述。It should be noted that, for the specific implementation process of each step of the method shown in FIG. 3 , reference may be made to the specific implementation process described in the above method, and will not be described here again.
本发明实施例还提供了一种终端设备400,如图4所示,包括:The embodiment of the present invention also provides a terminal device 400, as shown in FIG. 4 , including:
热点连接模块401,用于通过扫描第二终端设备的二维码,以连接所述第二终端设备建立的热点,所述二维码是基于所述热点名称和所述热点连接密码生成的;The hotspot connection module 401 is configured to scan the two-dimensional code of the second terminal device to connect to the hotspot established by the second terminal device, the two-dimensional code is generated based on the hotspot name and the hotspot connection password;
数据备份模块402,用于备份第一应用的数据,以得到第一数据集;A data backup module 402, configured to back up the data of the first application to obtain the first data set;
数据传送模块403,用于将所述第一数据集传送给所述第二终端设备,所述第一应用的重要优先级大于或等于预设优先级。The data transmission module 403 is configured to transmit the first data set to the second terminal device, and the important priority of the first application is greater than or equal to a preset priority.
可选地,所述数据备份模块402,还用于在备份所述第一应用的数据的过程中,所述第一终端设备备份第二应用的数据,以得到第二数据集;Optionally, the data backup module 402 is further configured to, during the process of backing up the data of the first application, the first terminal device back up the data of the second application to obtain the second data set;
所述数据传送模块403,还用于将所述第二数据集传送给网络服务器,所述第二应用的重要优先级小于所述预设优先级。The data transmission module 403 is further configured to transmit the second data set to a network server, and the important priority of the second application is lower than the preset priority.
可选地,所述第一数据集的传送和第二数据集的传送是并行执行的。Optionally, the transmission of the first data set and the transmission of the second data set are performed in parallel.
可选地,应用的重要优先级是用户自定义的,或是所述第一终端设备自定义的,或是所述第一终端设备基于应用的使用频率和/或关联应用的数据的内容确定的。Optionally, the important priority of the application is user-defined, or defined by the first terminal device, or determined by the first terminal device based on the frequency of use of the application and/or the content of data associated with the application of.
可选地,所述第一应用的数量为N时,所述N为大于1的整数,所述数据备份模块402具体用于:Optionally, when the number of the first application is N, the N is an integer greater than 1, and the data backup module 402 is specifically configured to:
若所述N大于或等于M,并行备份所述N个第一应用中的M个第一应用的数据,所述M为大于1的整数,所述M个第一应用的使用频率高于所述N个第一应用中除了所述M个第一应用之外的任一第一应用的使用频率;If the N is greater than or equal to M, back up the data of the M first applications in the N first applications in parallel, the M is an integer greater than 1, and the usage frequency of the M first applications is higher than the the usage frequency of any first application except the M first applications among the N first applications;
在第一应用i的数据备份完成后,备份所述第一应用i的线程上备份第一应用j的数据,直至所述N个第一应用的数据备份完成,所述第一应用i为所述M个第一应用中的其中一个第一应用,所述第一应用j的使用频率高于所述N-M个第一应用中除了所述第一应用j之外的任一第一应用的使用频率;After the data backup of the first application i is completed, back up the data of the first application j on the thread that backs up the first application i, until the data backup of the N first applications is completed, and the first application i is all One of the first applications among the M first applications, the usage frequency of the first application j is higher than that of any first application except the first application j among the N-M first applications frequency;
若所述N小于所述M,并行备份所述N个第一应用的数据。If the N is smaller than the M, back up the data of the N first applications in parallel.
需要说明的是,上述各模块(热点连接模块401、数据备份模块402以及数据传送模块403)用于执行上述方法的相关步骤。It should be noted that the above modules (the hotspot connection module 401 , the data backup module 402 and the data transmission module 403 ) are used to execute the relevant steps of the above method.
在本实施例中,终端设备400是以模块的形式来呈现。这里的“模块”可以指特定应用集成电路(application-specific integrated circuit,ASIC),执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。此外,以上热点连接模块401、数据备份模块402以及数据传送模块403可通过图5所示的终端设备的处理器501来实现。In this embodiment, the terminal device 400 is presented in the form of modules. The "module" here may refer to an application-specific integrated circuit (ASIC), a processor and memory executing one or more software or firmware programs, an integrated logic circuit, and/or other devices that can provide the above functions . In addition, the above hotspot connection module 401 , data backup module 402 and data transmission module 403 may be implemented by the processor 501 of the terminal device shown in FIG. 5 .
如图5所示,终端设备500可以以图5中的结构来实现,该终端设备500包括至少一个处理器501,至少一个存储器502以及至少一个通信接口503。所述处理器501、所述存储器502和所述通信接口503通过所述通信总线连接并完成相互间的通信。As shown in FIG. 5 , the terminal device 500 may be implemented with the structure in FIG. 5 , and the terminal device 500 includes at least one 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 are connected through the communication bus and complete mutual communication.
处理器501可以是通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制以上方案程序执行的集成电路。The processor 501 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the programs in the above solutions.
通信接口503,用于与其他设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(Wireless Local Area Networks,WLAN)等。The communication interface 503 is used to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (Wireless Local Area Networks, WLAN) and so on.
存储器502可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(ElectricallyErasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。The memory 502 may be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, a random access memory (random access memory, RAM) or other types that can store information and instructions It can also be an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other optical disk storage, optical disk storage ( including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be stored by a computer Any other medium, but not limited to it. The memory can exist independently and be connected to the processor through the bus. Memory can also be integrated with the processor.
其中,所述存储器502用于存储执行以上方案的应用程序代码,并由处理器501来控制执行。所述处理器501用于执行所述存储器502中存储的应用程序代码。Wherein, the memory 502 is used to store application program codes for executing the above solutions, and the execution is controlled by the processor 501 . The processor 501 is configured to execute application program codes stored in the memory 502 .
存储器502存储的代码可执行以上提供的终端设备执行的上述数据迁移方法,比如,第一终端设备通过扫描第二终端设备的二维码,以连接所述第二终端设备建立的热点,所述二维码是基于所述热点名称和所述热点连接密码生成的;所述第一终端设备备份第一应用的数据,以得到第一数据集,以及将所述第一数据集传送给所述第二终端设备,所述第一应用的重要优先级大于或等于预设优先级。The code stored in the memory 502 can execute the above-mentioned data migration method performed by the terminal device provided above. For example, the first terminal device scans the QR code of the second terminal device to connect to the hotspot established by the second terminal device. The two-dimensional code is generated based on the hotspot name and the hotspot connection password; the first terminal device backs up the data of the first application to obtain a first data set, and transmits the first data set to the For the second terminal device, the important priority of the first application is greater than or equal to the preset priority.
本发明实施例还提供了一个更为具体的应用场景,如下:上述终端设备为手机,下面结合图6对手机的各个构成部件进行具体的介绍:The embodiment of the present invention also provides a more specific application scenario, as follows: the above-mentioned terminal device is a mobile phone, and the components of the mobile phone are specifically introduced below in conjunction with FIG. 6 :
RF电路610可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器680处理;另外,将设计上行的数据发送给基站。通常,RF电路610包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low NoiseAmplifier,LNA)、双工器等。此外,RF电路610还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GlobalSystem of Mobile communication,GSM)、通用分组无线服务(General Packet RadioService,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 610 can be used for sending and receiving information or receiving and sending signals during a call. In particular, after receiving the downlink information from the base station, it is processed by the processor 680; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 610 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, RF circuitry 610 may also communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) , CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS), etc.
存储器620可用于存储软件程序以及模块,处理器680通过运行存储在存储器620的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器620可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如数据备份功能、数据集传送功能、二维码扫描功能)等;存储数据区可存储根据手机的使用所创建的数据(比如备份的第一数据集和第二数据集,以及确定的第一应用和第二应用的重要优先级)等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 620 can be used to store software programs and modules, and the processor 680 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 620 . The memory 620 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a data backup function, a data set transfer function, a two-dimensional code scanning function), etc.; The storage data area can store data created according to the use of the mobile phone (such as the first data set and the second data set backed up, and the determined important priorities of the first application and the second application) and the like. In addition, the memory 620 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
输入单元630可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元630可包括触控面板631、其他输入设备632。触控面板631,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板631上或在触控面板631附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板631可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器580,并能接收处理器680发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板631。除以了触控面板631,输入单元630还可以包括其他输入设备632。具体地,其他输入设备632可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的至少一种。The input unit 630 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile phone. Specifically, the input unit 630 may include a touch panel 631 and other input devices 632 . The touch panel 631, also referred to as a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 631 or near the touch panel 631). operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 631 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 580, and can receive and execute commands from the processor 680. In addition, the touch panel 631 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 631 , the input unit 630 may also include other input devices 632 . Specifically, other input devices 632 may include but not limited to at least one of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and the like.
显示单元640可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元640可包括显示面板641,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板641。进一步的,触控面板631可覆盖显示面板641,当触控面板631检测到在其上或附近的触摸操作后,传送给处理器580以确定触摸事件的类型,随后处理器680根据触摸事件的类型在显示面板641上提供相应的视觉输出。虽然在图6中,触控面板631与显示面板641是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板631与显示面板641集成而实现手机的输入和输出功能。The display unit 640 may be used to display information input by or provided to the user and various menus of the mobile phone. The display unit 640 may include a display panel 641. Optionally, the display panel 641 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Further, the touch panel 631 may cover the display panel 641, and when the touch panel 631 detects a touch operation on or near it, it sends it to the processor 580 to determine the type of the touch event, and then the processor 680 determines the type of the touch event according to the touch event. The type provides a corresponding visual output on the display panel 641 . Although in FIG. 6, the touch panel 631 and the display panel 641 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 631 and the display panel 641 can be integrated to form a mobile phone. Realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器650,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板641的亮度,接近传感器可在手机移动到耳边时,关闭显示面板641和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one sensor 650, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 641 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 641 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. repeat.
音频电路660、扬声器661,传声器662可提供用户与手机之间的音频接口。音频电路660可将接收到的音频数据转换后的电信号,传输到扬声器661,由扬声器661转换为声音信号输出;另一方面,传声器662将收集的声音信号转换为电信号,由音频电路660接收后转换为音频数据,再将音频数据输出处理器680处理后,经RF电路610以发送给比如另一手机,或者将音频数据输出至存储器620以便进一步处理。The audio circuit 660, the speaker 661 and the microphone 662 can provide an audio interface between the user and the mobile phone. The audio circuit 660 can transmit the electrical signal converted from the received audio data to the loudspeaker 661, and the loudspeaker 661 converts it into an audio signal output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 680, and then sent to another mobile phone through the RF circuit 610, or the audio data is output to the memory 620 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块670可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图6示出了WiFi模块670,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 670, which provides users with wireless broadband Internet access. Although FIG. 6 shows a WiFi module 670, it can be understood that it is not an essential component of the mobile phone, and can be completely omitted as required without changing the essence of the invention.
处理器680是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器620内的软件程序和/或模块,以及调用存储在存储器620内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器680可包括一个或多个处理单元;优选的,处理器680可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器680中。The processor 680 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 620, and calling data stored in the memory 620, execution Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 680 may include one or more processing units; preferably, the processor 680 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 680 .
手机还包括给各个部件供电的电源690(比如电池),优选的,电源可以通过电源管理系统与处理器680逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 690 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 680 through the power management system, so as to realize functions such as managing charging, discharging, and power consumption management through the power management system.
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.
前述实施例中,各步骤方法流程可以基于图6所示的终端设备的结构实现。In the foregoing embodiments, the method flow of each step may be implemented based on the structure of the terminal device shown in FIG. 6 .
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种数据迁移方法的部分或全部步骤。An embodiment of the present invention also provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, some or all steps of any data migration method described in the above method embodiments are included.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. Several instructions are included to make a computer device (which may be a personal computer, server or network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, abbreviated: ROM), random access device (English: Random Access Memory, abbreviated: RAM), magnetic disk or optical disk, etc.
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上上述,本说明书内容不应理解为对本发明的限制。The embodiments of the present invention have been described in detail above, and specific examples have been used in this paper to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only used to help understand the method and core idea of the present invention; at the same time, for Those skilled in the art will have changes in the specific implementation and scope of application based on the idea of the present invention. In summary, the contents of this specification should not be construed as limiting the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610825482.3ACN106445739B (en) | 2016-09-14 | 2016-09-14 | Data migration method and terminal equipment |
| PCT/CN2017/092871WO2018049904A1 (en) | 2016-09-14 | 2017-07-13 | Data migration method and related devices |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610825482.3ACN106445739B (en) | 2016-09-14 | 2016-09-14 | Data migration method and terminal equipment |
| Publication Number | Publication Date |
|---|---|
| CN106445739Atrue CN106445739A (en) | 2017-02-22 |
| CN106445739B CN106445739B (en) | 2020-01-14 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610825482.3AActiveCN106445739B (en) | 2016-09-14 | 2016-09-14 | Data migration method and terminal equipment |
| Country | Link |
|---|---|
| CN (1) | CN106445739B (en) |
| WO (1) | WO2018049904A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018049904A1 (en)* | 2016-09-14 | 2018-03-22 | 广东欧珀移动通信有限公司 | Data migration method and related devices |
| CN109302698A (en)* | 2018-08-27 | 2019-02-01 | 优视科技新加坡有限公司 | Near-field Data moving method and its device |
| CN109753255A (en)* | 2017-11-08 | 2019-05-14 | 腾讯科技(深圳)有限公司 | A kind of method, unit and storage medium transmitting data |
| US11745036B2 (en) | 2020-03-25 | 2023-09-05 | Carrier Corporation | Fire protection system |
| WO2024051709A1 (en)* | 2022-09-08 | 2024-03-14 | 华为技术有限公司 | Data transmission method, electronic device and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070011276A1 (en)* | 2005-07-08 | 2007-01-11 | Cisco Technology, Inc. | Apparatus and methods for data tapping in a storage area network |
| CN104301344A (en)* | 2013-07-17 | 2015-01-21 | 北京奇虎科技有限公司 | File transfer method, terminal and system |
| CN104854567A (en)* | 2012-09-04 | 2015-08-19 | 微软技术许可有限责任公司 | Device backups and updates in view of data usage statistics |
| CN105282824A (en)* | 2014-06-03 | 2016-01-27 | 中兴通讯股份有限公司 | File sharing method based on wireless communication and wireless communication terminal |
| CN105511985A (en)* | 2015-12-01 | 2016-04-20 | 魅族科技(中国)有限公司 | Data backup method and terminal |
| CN105893173A (en)* | 2015-12-10 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Caching data processing method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101764880B (en)* | 2009-12-21 | 2012-05-30 | 宇龙计算机通信科技(深圳)有限公司 | Information backup method and terminal |
| CN102110031A (en)* | 2011-02-23 | 2011-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Android system-based application program backup and recovery method |
| US10368142B2 (en)* | 2013-03-14 | 2019-07-30 | Comcast Cable Communications, Llc | Delivery of content and priority messages |
| CN105138279A (en)* | 2015-08-03 | 2015-12-09 | 深圳市美贝壳科技有限公司 | Intelligent management method of household equipment data |
| CN106445739B (en)* | 2016-09-14 | 2020-01-14 | Oppo广东移动通信有限公司 | Data migration method and terminal equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070011276A1 (en)* | 2005-07-08 | 2007-01-11 | Cisco Technology, Inc. | Apparatus and methods for data tapping in a storage area network |
| CN104854567A (en)* | 2012-09-04 | 2015-08-19 | 微软技术许可有限责任公司 | Device backups and updates in view of data usage statistics |
| CN104301344A (en)* | 2013-07-17 | 2015-01-21 | 北京奇虎科技有限公司 | File transfer method, terminal and system |
| CN105282824A (en)* | 2014-06-03 | 2016-01-27 | 中兴通讯股份有限公司 | File sharing method based on wireless communication and wireless communication terminal |
| CN105511985A (en)* | 2015-12-01 | 2016-04-20 | 魅族科技(中国)有限公司 | Data backup method and terminal |
| CN105893173A (en)* | 2015-12-10 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Caching data processing method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018049904A1 (en)* | 2016-09-14 | 2018-03-22 | 广东欧珀移动通信有限公司 | Data migration method and related devices |
| CN109753255A (en)* | 2017-11-08 | 2019-05-14 | 腾讯科技(深圳)有限公司 | A kind of method, unit and storage medium transmitting data |
| CN109302698A (en)* | 2018-08-27 | 2019-02-01 | 优视科技新加坡有限公司 | Near-field Data moving method and its device |
| US11745036B2 (en) | 2020-03-25 | 2023-09-05 | Carrier Corporation | Fire protection system |
| WO2024051709A1 (en)* | 2022-09-08 | 2024-03-14 | 华为技术有限公司 | Data transmission method, electronic device and storage medium |
| Publication number | Publication date |
|---|---|
| CN106445739B (en) | 2020-01-14 |
| WO2018049904A1 (en) | 2018-03-22 |
| Publication | Publication Date | Title |
|---|---|---|
| CN106507269B (en) | Data migration method and terminal equipment | |
| CN106714103B (en) | A kind of network positioning method and terminal device | |
| CN106502834A (en) | The backup method of data, apparatus and system | |
| CN106488391B (en) | A data migration method and terminal device | |
| CN106658753B (en) | Data migration method and terminal equipment | |
| CN106302808A (en) | Data transmission method and mobile terminal | |
| CN106658353A (en) | A data migration method and terminal equipment | |
| CN106453511A (en) | A data backup method and device | |
| CN106445739B (en) | Data migration method and terminal equipment | |
| CN106502826A (en) | Data backup and transmission method and mobile terminal | |
| CN106101776B (en) | Volume adjusting method, intelligent device and sound box | |
| CN106507482A (en) | A network positioning method and terminal equipment | |
| CN106484326A (en) | A data transmission processing method and mobile terminal | |
| CN106658623A (en) | Hotspot network switching method and terminal equipment | |
| US10687207B2 (en) | Method for data migration and terminal | |
| CN107145386A (en) | Data migration method, terminal device and computer-readable recording medium | |
| CN106454975A (en) | Hotspot network switching method and terminal equipment | |
| CN106714279A (en) | A hotspot network switching method and terminal equipment | |
| CN106502827A (en) | A data backup method and device | |
| CN106254673A (en) | Terminal fall detection method and device | |
| CN106066769A (en) | A processing method for a mobile terminal and the mobile terminal | |
| CN106658705A (en) | A network positioning method and terminal equipment | |
| CN106293407A (en) | A kind of image display method and terminal unit | |
| CN106547400A (en) | The method of reporting information, device and terminal | |
| CN106506623A (en) | A data transmission method and device |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into 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 |