CN106527980A - Data migration method and terminal - Google Patents
Data migration method and terminal Download PDFInfo
- Publication number
- CN106527980A CN106527980A CN201610913530.4A CN201610913530A CN106527980A CN 106527980 A CN106527980 A CN 106527980A CN 201610913530 A CN201610913530 A CN 201610913530A CN 106527980 A CN106527980 A CN 106527980A
- Authority
- CN
- China
- Prior art keywords
- data
- access frequency
- per number
- transmission sequence
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000013508 migration Methods 0.000 title claims abstract description 22
- 230000005012 migration Effects 0.000 title claims abstract description 22
- 230000005540 biological transmission Effects 0.000 claims abstract description 118
- 238000012790 confirmation Methods 0.000 claims abstract description 36
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
- G06F3/0605—Improving or facilitating administration, e.g. storage management by facilitating the interaction with a user or administrator
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0647—Migration mechanisms
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本发明涉及终端领域,具体涉及了一种数据迁移的方法及终端。The present invention relates to the field of terminals, in particular to a data migration method and a terminal.
背景技术Background technique
随着终端(例如智能手机、穿戴式设备、平板电脑等电子设备)的普及,终端逐渐成为人们生活中不可或缺的一部分,以至于人们无论走到哪里都会携带终端。With the popularity of terminals (such as electronic devices such as smart phones, wearable devices, and tablet computers), terminals have gradually become an indispensable part of people's lives, so that people carry terminals wherever they go.
但是随着科技的发展,终端更新的速度很快。当用户入手一款新的终端时,往往为了方便使用,就需要将旧终端里面的数据导入到新终端中。However, with the development of science and technology, the terminal update speed is very fast. When a user buys a new terminal, it is often necessary to import the data in the old terminal to the new terminal for convenience.
需要指出的是,当从旧终端往新终端中导入数据时,往往按照随机的顺序将待传输的数据进行传输,而不会考虑最先传输数据是否是用户最常用的数据,从而可能影响用户的正常使用。It should be pointed out that when importing data from an old terminal to a new terminal, the data to be transmitted is often transmitted in a random order, regardless of whether the first transmitted data is the most frequently used data by the user, which may affect the user normal use.
发明内容Contents of the invention
本发明实施例提供了一种数据迁移的方法及终端,能够根据数据的访问频率确定传输顺序,从而在满足用户正常使用的同时,完成正常传输。The embodiment of the present invention provides a data migration method and terminal, which can determine the transmission sequence according to the access frequency of the data, so that the normal transmission can be completed while satisfying the normal use of the user.
本发明实施例第一方面公开了一种数据迁移的方法,所述方法包括:The first aspect of the embodiment of the present invention discloses a method for data migration, the method comprising:
获取待传输数据的数据列表;Obtain the data list of the data to be transferred;
确定所述数据列表中每份数据的访问频率;Determine the access frequency of each piece of data in the data list;
根据所述每份数据的访问频率确定传输顺序;determining the transmission sequence according to the access frequency of each piece of data;
向所述用户呈现所述传输顺序以供所述用户确认;presenting the order of transmissions to the user for confirmation by the user;
当接收到确认指令时,按照所述传输顺序向目标终端传输数据。When receiving the confirmation instruction, transmit data to the target terminal according to the transmission sequence.
本发明第二方面公开了一种终端,所述终端包括:The second aspect of the present invention discloses a terminal, and the terminal includes:
获取单元,用于获取待传输数据的数据列表;an acquisition unit, configured to acquire a data list of data to be transmitted;
第一确定单元,用于确定所述数据列表中每份数据的访问频率;a first determining unit, configured to determine the access frequency of each piece of data in the data list;
所述第一确定单元,还用于根据所述每份数据的访问频率确定传输顺序;The first determination unit is further configured to determine the transmission sequence according to the access frequency of each piece of data;
显示单元,用于向所述用户呈现所述传输顺序以供所述用户确认;a display unit for presenting the transmission sequence to the user for confirmation by the user;
传输单元,用于当接收到确认指令时,按照所述传输顺序向目标终端传输数据。The transmission unit is configured to transmit data to the target terminal according to the transmission sequence when receiving the confirmation instruction.
本发明第三方面公开了一种终端,所述终端包括:A third aspect of the present invention discloses a terminal, and the terminal includes:
存储有可执行程序代码的存储器;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 the method described in the first aspect.
可以看出,本发明实施例的方案中,获取待传输数据的数据列表;确定所述数据列表中每份数据的访问频率;根据所述每份数据的访问频率确定传输顺序;向所述用户呈现所述传输顺序以供所述用户确认;当接收到确认指令时,按照所述传输顺序向目标终端传输数据。从而可知,通过实施本发明提供的技术方案,能够根据数据的访问频率确定传输顺序,从而在满足用户正常使用的同时,完成正常传输。It can be seen that in the solution of the embodiment of the present invention, the data list of the data to be transmitted is obtained; the access frequency of each piece of data in the data list is determined; the transmission sequence is determined according to the access frequency of each piece of data; Presenting the transmission sequence for confirmation by the user; when receiving the confirmation instruction, transmitting data to the target terminal according to the transmission sequence. It can be seen that, by implementing the technical solution provided by the present invention, the transmission sequence can be determined according to the access frequency of the data, so that the normal transmission can be completed while satisfying the normal use of the user.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1-a为本发明实施例提供的一种数据迁移的方法的流程示意图;Figure 1-a is a schematic flowchart of a data migration method provided by an embodiment of the present invention;
图1-b为本发明实施例提供的一种数据迁移系统的网络架构图;Figure 1-b is a network architecture diagram of a data migration system provided by an embodiment of the present invention;
图2为本发明实施例提供的另一种数据迁移的方法的流程示意图;FIG. 2 is a schematic flowchart of another data migration method provided by an embodiment of the present invention;
图3为本发明实施例提供的另一种数据迁移的方法的流程示意图;FIG. 3 is a schematic flowchart of another data migration method provided by an embodiment of the present invention;
图4为本发明实施例提供的一种终端的结构示意图;FIG. 4 is a schematic structural diagram of a terminal provided by an embodiment of the present invention;
图5为本发明实施例提供的另一种终端的结构示意图;FIG. 5 is a schematic structural diagram of another terminal provided by an embodiment of the present invention;
图6为本发明实施例提供的另一种终端的结构示意图;FIG. 6 is a schematic structural diagram of another terminal provided by an embodiment of the present invention;
图7为本发明实施例提供的一种终端的实体装置结构示意图;FIG. 7 is a schematic structural diagram of a physical device of a terminal provided by an embodiment of the present invention;
图8为本发明实施例提供的一种手机的实体装置结构示意图。FIG. 8 is a schematic structural diagram of a physical device of a mobile phone provided by an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供了一种数据迁移的方法及终端,能够根据数据的访问频率确定传输顺序,从而在满足用户正常使用的同时,完成正常传输。The embodiment of the present invention provides a data migration method and terminal, which can determine the transmission sequence according to the access frequency of the data, so that the normal transmission can be completed while satisfying the normal use of the user.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the embodiment of the present invention. Some examples, but not all examples. 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.
本发明说明书、权利要求书和附图中出现的术语“第一”、“第二”和“第三”等是用于区别不同的对象,而并非用于描述特定的顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" appearing in the specification, claims and drawings of the present invention 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.
在本发明的一个实施例中公开了一种数据迁移的方法,所述方法包括:获取待传输数据的数据列表;确定所述数据列表中每份数据的访问频率;根据所述每份数据的访问频率确定传输顺序;向所述用户呈现所述传输顺序以供所述用户确认;当接收到确认指令时,按照所述传输顺序向目标终端传输数据。One embodiment of the present invention discloses a data migration method, the method comprising: obtaining a data list of data to be transferred; determining the access frequency of each piece of data in the data list; The access frequency determines the transmission sequence; presents the transmission sequence to the user for confirmation by the user; and transmits the data to the target terminal according to the transmission sequence when a confirmation instruction is received.
请参阅图1-a,图1-a是本发明一个实施例提供的一种数据迁移的方法。其中,如图1-a所示,本发明的一个实施例提供的一种数据迁移的方法包括以下内容:Please refer to FIG. 1-a. FIG. 1-a is a data migration method provided by an embodiment of the present invention. Wherein, as shown in FIG. 1-a, a data migration method provided by an embodiment of the present invention includes the following contents:
S101、获取待传输数据的数据列表;S101. Obtain a data list of data to be transmitted;
其中,需要指出的是,该方法的执行主体是终端。常见的终端包括但不限于智能手机、平板电脑、计算机以及穿戴式设备等。Wherein, it should be pointed out that the execution subject of this method is the terminal. Common terminals include, but are not limited to, smart phones, tablet computers, computers, and wearable devices.
其中,需要指出的是,由于是数据迁移,因此该数据列表中可能包括所有应用程序的数据,还可以是包含用户选中的应用程序的数据。Wherein, it should be pointed out that, because of data migration, the data list may include data of all applications, and may also include data of an application selected by the user.
其中,该待传输数据包括但不限于文字、图片、音视频等。Wherein, the data to be transmitted includes but not limited to text, pictures, audio and video, etc.
S102、确定所述数据列表中每份数据的访问频率;S102. Determine the access frequency of each piece of data in the data list;
其中,需要指出的是,访问频率是指预设时间段内的访问次数。Wherein, it should be pointed out that the access frequency refers to the number of visits within a preset time period.
其中,每份数据可以是根据应用程序来区分的。比如,微信对应的数据为一份数据,美团应用程序对应的数据为另一份数据,照相机对应的数据为另一份数据。Wherein, each piece of data may be distinguished according to an application program. For example, the data corresponding to WeChat is one piece of data, the data corresponding to the Meituan app is another piece of data, and the data corresponding to the camera is another piece of data.
具体的,所述确定所述数据列表中每份数据的访问频率,包括:确定所述每份数据对应的应用程序;读取所述每份数据对应的应用程序的使用频率;根据所述每份数据对应的应用程序的使用频率确定所述每份数据的访问频率。Specifically, the determining the access frequency of each piece of data in the data list includes: determining the application program corresponding to each piece of data; reading the usage frequency of the application program corresponding to each piece of data; The usage frequency of the application program corresponding to the piece of data determines the access frequency of each piece of data.
举例来说,确定微信文件夹对应的是微信这个应用程序,读取最近一个月内该微信的使用次数,该一个月内微信的使用次数就是该微信数据的访问频率。For example, it is determined that the WeChat folder corresponds to the WeChat application, and the number of times the WeChat is used in the last month is read, and the number of times the WeChat is used in the month is the access frequency of the WeChat data.
S103、根据所述每份数据的访问频率确定传输顺序;S103. Determine the transmission sequence according to the access frequency of each piece of data;
可以理解的是,访问频率越高,说明该数据越重要,那么该数据的传输顺序越靠前。It can be understood that the higher the access frequency, the more important the data is, and the higher the transmission order of the data is.
可选的,所述根据所述每份数据的访问频率确定传输顺序之前,所述方法还包括:Optionally, before determining the transmission order according to the access frequency of each piece of data, the method further includes:
确定带有标签的隐私数据;Identify labeled private data;
所述根据所述每份数据的访问频率确定传输顺序,包括:The determining the transmission sequence according to the access frequency of each piece of data includes:
根据所述每份数据的访问频率和带有标签的隐私数据确定传输顺序。The transmission sequence is determined according to the access frequency of each piece of data and the labeled private data.
可选的,所述根据所述每份数据的访问频率和带有标签的隐私数据确定传输顺序之前,所述方法还包括:Optionally, before determining the transmission sequence according to the access frequency of each piece of data and the labeled private data, the method further includes:
确定所述每份数据的大小;determining the size of each piece of data;
所述根据所述每份数据的访问频率和带有标签的隐私数据确定传输顺序,包括:The determining the order of transmission according to the access frequency of each piece of data and the private data with labels includes:
根据所述每份数据的访问频率、每份数据的大小以及带有标签的隐私数据确定传输顺序。The transmission sequence is determined according to the access frequency of each piece of data, the size of each piece of data, and the private data with labels.
S104、向所述用户呈现所述传输顺序以供所述用户确认;S104. Present the transmission sequence to the user for confirmation by the user;
可以理解的是,根据每份数据的访问频率确定传输顺序后,还需要向用户呈现该传输顺序以供用户确认,如果用户同意按照该传输顺序进行传输,就要输入确认指令,如果不同意按照该传输顺序进行传输,就需要输入调整指令以便对传输顺序进行调整。It is understandable that after the transmission sequence is determined according to the access frequency of each piece of data, the transmission sequence needs to be presented to the user for confirmation. If the transmission sequence is to be transmitted, an adjustment command needs to be input to adjust the transmission sequence.
S105、当接收到确认指令时,按照所述传输顺序向目标终端传输数据。S105. When receiving the confirmation instruction, transmit the data to the target terminal according to the transmission sequence.
可选的,所述方法还包括:Optionally, the method also includes:
当接收到调整指令时,在所述每份数据的对应位置显示调整标签以供所述用户拖动所述标签进行顺序调整;按照所述用户调整的顺序向所述目标终端传输数据。When an adjustment instruction is received, an adjustment label is displayed at a corresponding position of each piece of data for the user to drag the label to perform order adjustment; and the data is transmitted to the target terminal according to the order adjusted by the user.
可以理解的是,用户要将当前终端的数据迁移到目标终端,那么,在数据传输前,需要与目标终端建立连接。It can be understood that, if the user wants to migrate the data of the current terminal to the target terminal, a connection with the target terminal needs to be established before data transmission.
其中,如图1-b所示,以终端为手机为例,当前终端可以通过广域网或者局域网与目标终端建立连接。Wherein, as shown in FIG. 1-b, taking the terminal as a mobile phone as an example, the current terminal can establish a connection with the target terminal through a wide area network or a local area network.
其中,目标终端可以为智能手机、平板电脑、智能穿戴式设备、计算机等电子设备。Wherein, the target terminal may be an electronic device such as a smart phone, a tablet computer, a smart wearable device, and a computer.
可以看出,本发明实施例的方案中,获取待传输数据的数据列表;确定所述数据列表中每份数据的访问频率;根据所述每份数据的访问频率确定传输顺序;向所述用户呈现所述传输顺序以供所述用户确认;当接收到确认指令时,按照所述传输顺序向目标终端传输数据。从而可知,通过实施本发明提供的技术方案,能够根据数据的访问频率确定传输顺序,从而在满足用户正常使用的同时,完成正常传输。It can be seen that in the solution of the embodiment of the present invention, the data list of the data to be transmitted is obtained; the access frequency of each piece of data in the data list is determined; the transmission sequence is determined according to the access frequency of each piece of data; Presenting the transmission sequence for confirmation by the user; when receiving the confirmation instruction, transmitting data to the target terminal according to the transmission sequence. It can be seen that, by implementing the technical solution provided by the present invention, the transmission sequence can be determined according to the access frequency of the data, so that the normal transmission can be completed while satisfying the normal use of the user.
请参阅图2,图2是本发明一个实施例提供的一种数据迁移的方法。其中,如图2所示,本发明的一个实施例提供的一种数据迁移的方法包括以下内容:Please refer to FIG. 2 . FIG. 2 is a data migration method provided by an embodiment of the present invention. Wherein, as shown in FIG. 2, a method for data migration provided by an embodiment of the present invention includes the following contents:
S201、获取待传输数据的数据列表;S201. Obtain a data list of data to be transmitted;
其中,需要指出的是,该方法的执行主体是终端。常见的终端包括但不限于智能手机、平板电脑、计算机以及穿戴式设备等。Wherein, it should be pointed out that the execution subject of this method is the terminal. Common terminals include, but are not limited to, smart phones, tablet computers, computers, and wearable devices.
其中,需要指出的是,由于是数据迁移,因此该数据列表中可能包括所有应用程序的数据,还可以是包含用户选中的应用程序的数据。Wherein, it should be pointed out that, because of data migration, the data list may include data of all applications, and may also include data of an application selected by the user.
S202、确定所述每份数据对应的应用程序;S202. Determine the application program corresponding to each piece of data;
S203、读取所述每份数据对应的应用程序的使用频率;S203. Read the usage frequency of the application program corresponding to each piece of data;
S204、根据所述每份数据对应的应用程序的使用频率确定所述每份数据的访问频率;S204. Determine the access frequency of each piece of data according to the usage frequency of the application corresponding to each piece of data;
举例来说,确定微信文件夹对应的是微信这个应用程序,读取最近一个月内该微信的使用次数,该一个月内微信的使用次数就是该微信数据的访问频率。For example, it is determined that the WeChat folder corresponds to the WeChat application, and the number of times the WeChat is used in the last month is read, and the number of times the WeChat is used in the month is the access frequency of the WeChat data.
S205、确定带有标签的隐私数据;S205. Determine private data with labels;
其中,需要指出的是,该带有标签的隐私数据是用户设置的。比如用户将账户、密码等数据打上标签以标识该数据为隐私数据。Wherein, it should be pointed out that the labeled private data is set by the user. For example, the user tags data such as accounts and passwords to identify the data as private data.
举例来说,终端可以读取数据的属性以确定该数据是否带有标签。For example, the terminal can read the attributes of the data to determine whether the data is tagged.
S206、根据所述每份数据的访问频率和带有标签的隐私数据确定传输顺序;S206. Determine the transmission sequence according to the access frequency of each piece of data and the labeled private data;
举例来说,现在有十份数据,其中,有两份是带有标签的隐私数据。首先,根据每份数据的访问频率从高到低确定传输顺序,最后将带有标签的隐私数据插入到传输顺序的最开头,以保证隐私数据最先传输。或者也可以将带有标签的隐私数据加入到预设位置,比如第2和第3的位置。在此不做限制。For example, there are now ten pieces of data, two of which are labeled private data. First, the order of transmission is determined according to the access frequency of each piece of data from high to low, and finally, the private data with labels is inserted at the very beginning of the transmission order to ensure that the private data is transmitted first. Alternatively, the labeled private data can also be added to preset positions, such as the 2nd and 3rd positions. There is no limitation here.
S207、向所述用户呈现所述传输顺序以供所述用户确认;S207. Present the transmission sequence to the user for confirmation by the user;
可以理解的是,根据每份数据的访问频率确定传输顺序后,还需要向用户呈现该传输顺序以供用户确认,如果用户同意按照该传输顺序进行传输,就要输入确认指令,如果不同意按照该传输顺序进行传输,就需要输入调整指令以便对传输顺序进行调整。It is understandable that after the transmission sequence is determined according to the access frequency of each piece of data, the transmission sequence needs to be presented to the user for confirmation. If the transmission sequence is to be transmitted, an adjustment command needs to be input to adjust the transmission sequence.
S208、当接收到确认指令时,按照所述传输顺序向目标终端传输数据;S208. When receiving the confirmation instruction, transmit data to the target terminal according to the transmission sequence;
S209、当接收到调整指令时,在所述每份数据的对应位置显示调整标签以供所述用户拖动所述标签进行顺序调整;S209. When an adjustment instruction is received, display an adjustment label at a corresponding position of each piece of data for the user to drag the label to adjust the sequence;
S210、按照所述用户调整的顺序向所述目标终端传输数据。S210. Transmit data to the target terminal according to the sequence adjusted by the user.
可以看出,本发明实施例的方案中扩充了根据所述每份数据的访问频率和带有标签的隐私数据确定传输顺序的步骤,从而能够更加准确的识别重要的数据,从而根据重要的数据确定传输顺序。It can be seen that in the scheme of the embodiment of the present invention, the step of determining the transmission sequence according to the access frequency of each piece of data and the private data with labels is expanded, so that important data can be identified more accurately, and the important data can be identified according to the important data. Determine the transfer order.
请参阅图3,图3是本发明一个实施例提供的一种数据迁移的方法。其中,如图3所示,本发明的一个实施例提供的一种数据迁移的方法包括以下内容:Please refer to FIG. 3 . FIG. 3 is a data migration method provided by an embodiment of the present invention. Wherein, as shown in FIG. 3, a method for data migration provided by an embodiment of the present invention includes the following content:
S301、获取待传输数据的数据列表;S301. Obtain a data list of data to be transmitted;
其中,需要指出的是,该方法的执行主体是终端。常见的终端包括但不限于智能手机、平板电脑、计算机以及穿戴式设备等。Wherein, it should be pointed out that the execution subject of this method is the terminal. Common terminals include, but are not limited to, smart phones, tablet computers, computers, and wearable devices.
其中,需要指出的是,由于是数据迁移,因此该数据列表中可能包括所有应用程序的数据,还可以是包含用户选中的应用程序的数据。Wherein, it should be pointed out that, because of data migration, the data list may include data of all applications, and may also include data of an application selected by the user.
其中,该待传输数据包括但不限于文字、图片、音视频等。Wherein, the data to be transmitted includes but not limited to text, pictures, audio and video, etc.
S302、确定所述数据列表中每份数据的访问频率;S302. Determine the access frequency of each piece of data in the data list;
其中,需要指出的是,访问频率是指预设时间段内的访问次数。Wherein, it should be pointed out that the access frequency refers to the number of visits within a preset time period.
S303、根据所述每份数据的访问频率确定传输顺序;S303. Determine the transmission sequence according to the access frequency of each piece of data;
可以理解的是,访问频率越高,说明该数据越重要,那么该数据的传输顺序越靠前。It can be understood that the higher the access frequency, the more important the data is, and the higher the transmission order of the data is.
S304、确定带有标签的隐私数据;S304. Determine private data with labels;
其中,需要指出的是,该带有标签的隐私数据是用户设置的。比如用户将账户、密码等数据打上标签以标识该数据为隐私数据。Wherein, it should be pointed out that the labeled private data is set by the user. For example, the user tags data such as accounts and passwords to identify the data as private data.
举例来说,终端可以读取数据的属性以确定该数据是否带有标签。For example, the terminal can read the attributes of the data to determine whether the data is tagged.
S305、确定所述每份数据的大小;S305. Determine the size of each piece of data;
可以理解的是,数据越小,可以越优先传输。It can be understood that the smaller the data, the more preferentially it can be transmitted.
S306、根据所述每份数据的访问频率、每份数据的大小以及带有标签的隐私数据确定传输顺序;S306. Determine the transmission order according to the access frequency of each piece of data, the size of each piece of data, and the private data with labels;
举例来说,可以先根据每份数据的访问频率确定传输顺序;其中,访问频率越高,传输的优先级越高;然后,将带有标签的隐私数据调整到前三分之一的位置,将较小的文件调整到前二分之一的位置。其中,带有标签的隐私数据的优先级高于尺寸较小的数据。For example, the order of transmission can be determined according to the access frequency of each piece of data; among them, the higher the access frequency, the higher the priority of transmission; then, adjust the labeled private data to the first third position, Resize smaller files to the top half. Among them, the priority of private data with labels is higher than that of smaller size data.
在例如,可以先根据每份数据的访问频率确定传输顺序,然后将带有标签的隐私数据调整到该传输顺序中的最前面,将尺寸较小的数据与前面相邻的尺寸较大的数据进行传输位置调整。比如第五份数据为10M,第六份数据为5M,那么可以将第五份数据与第六份数据交换位置。For example, the transmission sequence can be determined according to the access frequency of each piece of data, and then the private data with labels can be adjusted to the top of the transmission sequence, and the data with smaller size can be compared with the data with larger size adjacent to the front. Make transfer position adjustments. For example, the fifth data is 10M, and the sixth data is 5M, then the fifth data and the sixth data can be exchanged.
S307、向所述用户呈现所述传输顺序以供所述用户确认;S307. Present the transmission sequence to the user for confirmation by the user;
S308、当接收到确认指令时,按照所述传输顺序向目标终端传输数据;S308. When receiving the confirmation instruction, transmit data to the target terminal according to the transmission sequence;
S309、当接收到调整指令时,在所述每份数据的对应位置显示调整标签以供所述用户拖动所述标签进行顺序调整;S309. When an adjustment instruction is received, display an adjustment label at a corresponding position of each piece of data for the user to drag the label to perform order adjustment;
S310、按照所述用户调整的顺序向所述目标终端传输数据。S310. Transmit data to the target terminal according to the order adjusted by the user.
可以看出,本发明实施例的方案中扩充了根据所述每份数据的访问频率、每份数据的大小以及带有标签的隐私数据确定传输顺序的步骤,从而能够更加准确的识别重要的数据,从而根据重要的数据确定传输顺序。It can be seen that the steps of determining the order of transmission according to the access frequency of each piece of data, the size of each piece of data, and the private data with labels are expanded in the solution of the embodiment of the present invention, so that important data can be identified more accurately , so as to determine the transmission sequence according to the important data.
请参阅图4,图4是本发明的一个实施例提供的一种终端的结构示意图。其中,如图4所示,本发明的一个实施例提供的一种终端400,其中,该终端可以是为智能手机、平板电脑、智能穿戴式设备等电子设备。该终端400包括获取单元401,第一确定单元402,显示单元403以及传输单元404。Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of a terminal provided by an embodiment of the present invention. Wherein, as shown in FIG. 4 , an embodiment of the present invention provides a terminal 400 , wherein the terminal may be an electronic device such as a smart phone, a tablet computer, or a smart wearable device. The terminal 400 includes an acquisition unit 401 , a first determination unit 402 , a display unit 403 and a transmission unit 404 .
获取单元401,用于获取待传输数据的数据列表;An acquisition unit 401, configured to acquire a data list of data to be transmitted;
第一确定单元402,用于确定所述数据列表中每份数据的访问频率;A first determining unit 402, configured to determine the access frequency of each piece of data in the data list;
第一确定单元402,还用于根据所述每份数据的访问频率确定传输顺序;The first determining unit 402 is further configured to determine the transmission sequence according to the access frequency of each piece of data;
显示单元403,用于向所述用户呈现所述传输顺序以供所述用户确认;a display unit 403, configured to present the transmission sequence to the user for confirmation by the user;
传输单元404,用于当接收到确认指令时,按照所述传输顺序向目标终端传输数据。The transmission unit 404 is configured to transmit data to the target terminal according to the transmission sequence when receiving the confirmation instruction.
其中,获取单元401,第一确定单元402,显示单元403以及传输单元404可以用于执行实施例1中步骤S101至S105所述的方法,具体描述详见实施例1对所述方法的描述,在此不再赘述。Among them, the acquisition unit 401, the first determination unit 402, the display unit 403 and the transmission unit 404 can be used to execute the method described in steps S101 to S105 in Embodiment 1. For a specific description, see the description of the method in Embodiment 1. I won't repeat them here.
请参阅图5,图5是本发明的一个实施例提供的一种终端的结构示意图。其中,如图5所示,本发明的一个实施例提供的另一种终端500,其中,该终端可以是为智能手机、平板电脑、智能穿戴式设备等电子设备。该终端500包括确获取单元501,第一确定单元502,显示单元503,传输单元504以及第二确定单元505。Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of a terminal provided by an embodiment of the present invention. Wherein, as shown in FIG. 5 , an embodiment of the present invention provides another terminal 500 , wherein the terminal may be an electronic device such as a smart phone, a tablet computer, or a smart wearable device. The terminal 500 includes a confirmation acquisition unit 501 , a first determination unit 502 , a display unit 503 , a transmission unit 504 and a second determination unit 505 .
获取单元501,用于获取待传输数据的数据列表;An acquisition unit 501, configured to acquire a data list of data to be transmitted;
第一确定单元502,用于确定所述每份数据对应的应用程序;The first determining unit 502 is configured to determine the application program corresponding to each piece of data;
具体的,第一确定502单元包括确定子单元和读取子单元;Specifically, the first determining 502 unit includes a determining subunit and a reading subunit;
所述确定子单元,用于确定所述每份数据对应的应用程序;The determining subunit is configured to determine the application program corresponding to each piece of data;
所述读取子单元,用于读取所述每份数据对应的应用程序的使用频率;The reading subunit is used to read the frequency of use of the application program corresponding to each piece of data;
所述确定子单元,用于根据所述每份数据对应的应用程序的使用频率确定所述每份数据的访问频率。The determining subunit is configured to determine the access frequency of each piece of data according to the usage frequency of the application corresponding to each piece of data.
所述第二确定单元505,用于确定带有标签的隐私数据;The second determination unit 505 is configured to determine the private data with a label;
第一确定单,502,具体用于根据所述每份数据的访问频率和带有标签的隐私数据确定传输顺序。The first determination order, 502, is specifically used to determine the transmission order according to the access frequency of each piece of data and the private data with labels.
显示单元503,用于向所述用户呈现所述传输顺序以供所述用户确认;a display unit 503, configured to present the transmission sequence to the user for confirmation by the user;
传输单元504,用于当接收到确认指令时,按照所述传输顺序向目标终端传输数据。The transmission unit 504 is configured to transmit data to the target terminal according to the transmission sequence when receiving the confirmation instruction.
显示单元503,用于当接收到调整指令时,在所述每份数据的对应位置显示调整标签以供所述用户拖动所述标签进行顺序调整;The display unit 503 is configured to display an adjustment label at the corresponding position of each piece of data when an adjustment instruction is received, so that the user can drag the label to perform order adjustment;
传输单元504,用于按照所述用户调整的顺序向所述目标终端传输数据。The transmitting unit 504 is configured to transmit data to the target terminal according to the order adjusted by the user.
其中,确获取单元501,第一确定单元502,显示单元503,传输单元504以及第二确定单元505可以用于执行实施例2中步骤S201至S210所述的方法,具体描述详见实施例2对所述方法的描述,在此不再赘述。Among them, the confirmation acquisition unit 501, the first determination unit 502, the display unit 503, the transmission unit 504, and the second determination unit 505 can be used to execute the method described in steps S201 to S210 in Embodiment 2. For details, see Embodiment 2 The description of the method will not be repeated here.
请参阅图6,图6是本发明的一个实施例提供的一种终端的结构示意图。其中,如图6所示,本发明的一个实施例提供的另一种终端600,其中,该终端可以是为智能手机、平板电脑、智能穿戴式设备等电子设备。该终端600包括确获取单元601,第一确定单元602,显示单元603,传输单元604,第二确定单元605以及第三确定单元606。Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of a terminal provided by an embodiment of the present invention. Wherein, as shown in FIG. 6 , an embodiment of the present invention provides another terminal 600 , wherein the terminal may be an electronic device such as a smart phone, a tablet computer, or a smart wearable device. The terminal 600 includes a confirmation acquisition unit 601 , a first determination unit 602 , a display unit 603 , a transmission unit 604 , a second determination unit 605 and a third determination unit 606 .
获取单元601,用于获取待传输数据的数据列表;An acquisition unit 601, configured to acquire a data list of data to be transmitted;
第一确定单元602,用于确定所述数据列表中每份数据的访问频率;A first determining unit 602, configured to determine the access frequency of each piece of data in the data list;
具体的,第一确定单元602包括确定子单元和读取子单元;Specifically, the first determining unit 602 includes a determining subunit and a reading subunit;
所述确定子单元,用于确定所述每份数据对应的应用程序;The determining subunit is configured to determine the application program corresponding to each piece of data;
所述读取子单元,用于读取所述每份数据对应的应用程序的使用频率;The reading subunit is used to read the frequency of use of the application program corresponding to each piece of data;
所述确定子单元,用于根据所述每份数据对应的应用程序的使用频率确定所述每份数据的访问频率。The determining subunit is configured to determine the access frequency of each piece of data according to the usage frequency of the application corresponding to each piece of data.
第二确定单元605,用于确定带有标签的隐私数据;The second determination unit 605 is configured to determine the private data with the label;
第三确定单元606,用于确定所述每份数据的大小;A third determining unit 606, configured to determine the size of each piece of data;
第一确定单元602,用于根据所述每份数据的访问频率、每份数据的大小以及带有标签的隐私数据确定传输顺序;The first determining unit 602 is configured to determine the transmission sequence according to the access frequency of each piece of data, the size of each piece of data, and the private data with labels;
显示单元604,用于向所述用户呈现所述传输顺序以供所述用户确认;a display unit 604, configured to present the transmission sequence to the user for confirmation by the user;
传输单元605,用于当接收到确认指令时,按照所述传输顺序向目标终端传输数据。The transmission unit 605 is configured to transmit data to the target terminal according to the transmission sequence when receiving the confirmation instruction.
显示单元604,用于当接收到调整指令时,在所述每份数据的对应位置显示调整标签以供所述用户拖动所述标签进行顺序调整;A display unit 604, configured to display an adjustment label at the corresponding position of each piece of data when an adjustment instruction is received, so that the user can drag the label to perform order adjustment;
传输单元605,用于按照所述用户调整的顺序向所述目标终端传输数据。The transmitting unit 605 is configured to transmit data to the target terminal according to the order adjusted by the user.
其中,确获取单元601,第一确定单元602,显示单元603,传输单元604,第二确定单元605以及第三确定单元606可以用于执行实施例3中步骤S301至S310所述的方法,具体描述详见实施例3对所述方法的描述,在此不再赘述。Among them, the confirmation acquisition unit 601, the first determination unit 602, the display unit 603, the transmission unit 604, the second determination unit 605 and the third determination unit 606 can be used to execute the method described in steps S301 to S310 in Embodiment 3, specifically For details, refer to the description of the method in Embodiment 3, and details are not repeated here.
请参阅图7,在本发明的另一个实施例中,提供一种终端。所述终端700包括CPU701、存储器702、总线703。其中,该终端700可以是智能手机、平板电脑、智能穿戴设备等具有通话功能的电子设备。Referring to FIG. 7 , in another embodiment of the present invention, a terminal is provided. The terminal 700 includes a CPU 701 , a memory 702 and a bus 703 . Wherein, the terminal 700 may be an electronic device with a call function such as a smart phone, a tablet computer, and a smart wearable device.
其中,CPU701执行预先存储在存储器702中的程序,该执行过程具体包括:Wherein, the CPU 701 executes the program pre-stored in the memory 702, and the execution process specifically includes:
获取待传输数据的数据列表;Obtain the data list of the data to be transferred;
确定所述数据列表中每份数据的访问频率;Determine the access frequency of each piece of data in the data list;
根据所述每份数据的访问频率确定传输顺序;determining the transmission sequence according to the access frequency of each piece of data;
向所述用户呈现所述传输顺序以供所述用户确认;presenting the order of transmissions to the user for confirmation by the user;
当接收到确认指令时,按照所述传输顺序向目标终端传输数据。When receiving the confirmation instruction, transmit data to the target terminal according to the transmission sequence.
可选的,所述确定所述数据列表中每份数据的访问频率,包括:Optionally, the determining the access frequency of each piece of data in the data list includes:
确定所述每份数据对应的应用程序;Determine the application program corresponding to each piece of data;
读取所述每份数据对应的应用程序的使用频率;Read the frequency of use of the application program corresponding to each piece of data;
根据所述每份数据对应的应用程序的使用频率确定所述每份数据的访问频率。The access frequency of each piece of data is determined according to the usage frequency of the application corresponding to each piece of data.
可选的,所述根据所述每份数据的访问频率确定传输顺序之前,所述执行过程还包括:Optionally, before determining the transmission order according to the access frequency of each piece of data, the execution process further includes:
确定带有标签的隐私数据;Identify labeled private data;
所述根据所述每份数据的访问频率确定传输顺序,包括:The determining the transmission sequence according to the access frequency of each piece of data includes:
根据所述每份数据的访问频率和带有标签的隐私数据确定传输顺序。The transmission sequence is determined according to the access frequency of each piece of data and the labeled private data.
可选的,所述根据所述每份数据的访问频率和带有标签的隐私数据确定传输顺序之前,所述执行过程还包括:Optionally, before the transmission order is determined according to the access frequency of each piece of data and the private data with labels, the execution process further includes:
确定所述每份数据的大小;determining the size of each piece of data;
所述根据所述每份数据的访问频率和带有标签的隐私数据确定传输顺序,包括:The determining the order of transmission according to the access frequency of each piece of data and the private data with labels includes:
根据所述每份数据的访问频率、每份数据的大小以及带有标签的隐私数据确定传输顺序。The transmission sequence is determined according to the access frequency of each piece of data, the size of each piece of data, and the private data with labels.
可选的,所述执行过程还包括:Optionally, the execution process also includes:
当接收到调整指令时,在所述每份数据的对应位置显示调整标签以供所述用户拖动所述标签进行顺序调整;When an adjustment instruction is received, an adjustment label is displayed at the corresponding position of each piece of data for the user to drag the label to perform order adjustment;
按照所述用户调整的顺序向所述目标终端传输数据。and transmitting data to the target terminal according to the order adjusted by the user.
可以看出,本发明实施例的方案中,获取待传输数据的数据列表;确定所述数据列表中每份数据的访问频率;根据所述每份数据的访问频率确定传输顺序;向所述用户呈现所述传输顺序以供所述用户确认;当接收到确认指令时,按照所述传输顺序向目标终端传输数据。从而可知,通过实施本发明提供的技术方案,能够根据数据的访问频率确定传输顺序,从而在满足用户正常使用的同时,完成正常传输。It can be seen that in the solution of the embodiment of the present invention, the data list of the data to be transmitted is obtained; the access frequency of each piece of data in the data list is determined; the transmission sequence is determined according to the access frequency of each piece of data; Presenting the transmission sequence for confirmation by the user; when receiving the confirmation instruction, transmitting data to the target terminal according to the transmission sequence. It can be seen that, by implementing the technical solution provided by the present invention, the transmission sequence can be determined according to the access frequency of the data, so that the normal transmission can be completed while satisfying the normal use of the user.
请参阅图8,图8是本发明的一个实施例提供的终端相关的手机的部分结构的框图。参考图8,手机包括:射频(Radio Frequency,RF)电路810、存储器820、输入单元830、显示单元840、传感器850、音频电路860、无线保真(Wireless Fidelity,WiFi)模块870、处理器880、以及电源890等部件。本领域技术人员可以理解,图8中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 8 . FIG. 8 is a block diagram of a partial structure of a terminal-related mobile phone provided by an embodiment of the present invention. Referring to FIG. 8 , the mobile phone includes: a radio frequency (Radio Frequency, RF) circuit 810, a memory 820, an input unit 830, a display unit 840, a sensor 850, an audio circuit 860, a wireless fidelity (Wireless Fidelity, WiFi) module 870, and a processor 880 , and power supply 890 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 8 does not constitute a limitation to the mobile phone, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
下面结合图8对手机的各个构成部件进行具体的介绍:The following is a specific introduction to each component of the mobile phone in conjunction with Figure 8:
RF电路810可用于信息的接收和发送。通常,RF电路810包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路810还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobilecommunication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code DivisionMultiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。RF circuitry 810 may be used for the reception and transmission of information. Generally, the RF circuit 810 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 810 may also communicate with networks and other devices via wireless communications. The above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (Global System of Mobilecommunication, 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 (LTE), email, Short Messaging Service (Short Messaging Service, SMS), etc.
存储器820可用于存储软件程序以及模块,处理器880通过运行存储在存储器820的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器820可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如数据迁移功能、触控操作检测功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如存储路径表数据等)等。此外,存储器820可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 820 can be used to store software programs and modules, and the processor 880 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 820 . The memory 820 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required by a function (such as data migration function, touch operation detection function, etc.), etc.; the storage data area can store Store data created according to the use of the mobile phone (such as storing route table data, etc.) and the like. In addition, the memory 820 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.
输入单元830可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元830可包括指纹模组831以及其他输入设备832。指纹模组831,可采集用户在其上的指纹数据。可选的,指纹模组831可包括光学式指纹模块、电容式指纹模块以及射频式指纹模块。以指纹模组831为电容式指纹模组为例,具体包括感应电极(n1个异常感应电极和n2个正常感应电极)和与所述感应电极连接的信号处理电路(如放大电路、噪声抑制电路、模数转化电路,等等)。除了指纹模组831,输入单元830还可以包括其他输入设备832。具体地,其他输入设备832可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 830 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 830 may include a fingerprint module 831 and other input devices 832 . The fingerprint module 831 can collect the fingerprint data of the user on it. Optionally, the fingerprint module 831 may include an optical fingerprint module, a capacitive fingerprint module, and a radio frequency fingerprint module. Taking the fingerprint module 831 as an example of a capacitive fingerprint module, it specifically includes sensing electrodes (n1 abnormal sensing electrodes and n2 normal sensing electrodes) and signal processing circuits (such as amplification circuits, noise suppression circuits) connected to the sensing electrodes. , analog-to-digital conversion circuit, etc.). In addition to the fingerprint module 831 , the input unit 830 may also include other input devices 832 . Specifically, other input devices 832 may include but not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and the like.
显示单元840可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元840可包括显示屏841,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏841。虽然在图8中,指纹模组831与显示屏841是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将指纹模组831与显示屏841集成而实现手机的输入和输出功能。The display unit 840 may be used to display information input by or provided to the user and various menus of the mobile phone. The display unit 840 may include a display screen 841. Optionally, the display screen 841 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. Although in FIG. 8 , the fingerprint module 831 and the display screen 841 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the fingerprint module 831 and the display screen 841 can be integrated and Realize the input and output functions of the mobile phone.
手机还可包括至少一种传感器850,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏841的亮度,接近传感器可在手机移动到耳边时,关闭显示屏841和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one sensor 850, 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 screen 841 according to the brightness of the ambient light, and the proximity sensor can turn off the display screen 841 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.
音频电路860、扬声器881,传声器882可提供用户与手机之间的音频接口。音频电路860可将接收到的音频数据转换后的电信号,传输到扬声器881,由扬声器881转换为声音信号输出;另一方面,传声器882将收集的声音信号转换为电信号,由音频电路860接收后转换为音频数据,再将音频数据输出处理器880处理后,经RF电路810以发送给比如另一手机,或者将音频数据输出至存储器820以便进一步处理。The audio circuit 860, the speaker 881, and the microphone 882 can provide an audio interface between the user and the mobile phone. The audio circuit 860 can transmit the electrical signal converted from the received audio data to the speaker 881, and the speaker 881 converts it into an audio signal for output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 880, and then sent to another mobile phone through the RF circuit 810, or the audio data is output to the memory 820 for further processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块870可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图8示出了WiFi模块870,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。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 870. It provides users with wireless broadband Internet access. Although FIG. 8 shows a WiFi module 870, 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.
处理器880是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器820内的软件程序和/或模块,以及调用存储在存储器820内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器880可包括一个或多个处理单元;优选的,处理器880可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器880中。The processor 880 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 820, and calling data stored in the memory 820, execution Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 880 may include one or more processing units; preferably, the processor 880 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 880 .
手机还包括给各个部件供电的电源890(比如电池),优选的,电源可以通过电源管理系统与处理器880逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 890 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 880 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.
前述图1、图2以及图3所示的实施例中,各步骤方法流程可以基于该手机的结构实现。In the aforementioned embodiments shown in FIG. 1 , FIG. 2 and FIG. 3 , the method flow of each step can be realized based on the structure of the mobile phone.
前述图4、图5以及图6所示的实施例中,各单元功能可以基于该手机的结构实现。In the aforementioned embodiments shown in FIG. 4 , FIG. 5 and FIG. 6 , the functions of each unit can be realized based on the structure of the mobile phone.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。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 storage medium. 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 storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: 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. .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions recorded in each embodiment are modified, or some of the technical features are replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610913530.4A CN106527980A (en) | 2016-10-19 | 2016-10-19 | Data migration method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610913530.4A CN106527980A (en) | 2016-10-19 | 2016-10-19 | Data migration method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106527980A true CN106527980A (en) | 2017-03-22 |
Family
ID=58332755
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610913530.4A Pending CN106527980A (en) | 2016-10-19 | 2016-10-19 | Data migration method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106527980A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106992882A (en) * | 2017-03-24 | 2017-07-28 | 北京小米移动软件有限公司 | Router file migration method and apparatus |
CN109194705A (en) * | 2018-07-10 | 2019-01-11 | 安徽云软信息科技有限公司 | A kind of efficient database cloud storage system and method |
CN120091024A (en) * | 2025-04-27 | 2025-06-03 | 济南浪潮数据技术有限公司 | Data synchronization method and device of server |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007132877A1 (en) * | 2006-05-16 | 2007-11-22 | Sony Corporation | Communication system, transmission device, reception device, communication method, and program |
CN102955790A (en) * | 2011-08-23 | 2013-03-06 | 苏州彭华信息技术有限公司 | Method and device for synchronizing network documents |
CN103067479A (en) * | 2012-12-24 | 2013-04-24 | 珠海金山办公软件有限公司 | Network disk synchronized method and system based on file coldness and hotness |
CN103327123A (en) * | 2013-07-12 | 2013-09-25 | 北京金山云网络技术有限公司 | File synchronization method, client, server side and equipment |
CN104780120A (en) * | 2015-04-15 | 2015-07-15 | 天脉聚源(北京)教育科技有限公司 | Method and device for transmitting files in local area network |
CN105453036A (en) * | 2013-05-29 | 2016-03-30 | 微软技术许可有限责任公司 | Application installation and layout synchronization |
CN105577841A (en) * | 2013-07-12 | 2016-05-11 | 北京金山云网络技术有限公司 | Method, device, client, server and equipment for file synchronization |
-
2016
- 2016-10-19 CN CN201610913530.4A patent/CN106527980A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007132877A1 (en) * | 2006-05-16 | 2007-11-22 | Sony Corporation | Communication system, transmission device, reception device, communication method, and program |
CN102955790A (en) * | 2011-08-23 | 2013-03-06 | 苏州彭华信息技术有限公司 | Method and device for synchronizing network documents |
CN103067479A (en) * | 2012-12-24 | 2013-04-24 | 珠海金山办公软件有限公司 | Network disk synchronized method and system based on file coldness and hotness |
CN105453036A (en) * | 2013-05-29 | 2016-03-30 | 微软技术许可有限责任公司 | Application installation and layout synchronization |
CN103327123A (en) * | 2013-07-12 | 2013-09-25 | 北京金山云网络技术有限公司 | File synchronization method, client, server side and equipment |
CN105577841A (en) * | 2013-07-12 | 2016-05-11 | 北京金山云网络技术有限公司 | Method, device, client, server and equipment for file synchronization |
CN104780120A (en) * | 2015-04-15 | 2015-07-15 | 天脉聚源(北京)教育科技有限公司 | Method and device for transmitting files in local area network |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106992882A (en) * | 2017-03-24 | 2017-07-28 | 北京小米移动软件有限公司 | Router file migration method and apparatus |
CN106992882B (en) * | 2017-03-24 | 2020-06-02 | 北京小米移动软件有限公司 | Router file migration method and device |
CN109194705A (en) * | 2018-07-10 | 2019-01-11 | 安徽云软信息科技有限公司 | A kind of efficient database cloud storage system and method |
CN120091024A (en) * | 2025-04-27 | 2025-06-03 | 济南浪潮数据技术有限公司 | Data synchronization method and device of server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106484283A (en) | A display control method and mobile terminal | |
CN106446111B (en) | Data migration method and terminal | |
CN106534288B (en) | A data transmission method and mobile terminal | |
CN106155557A (en) | A virtual button display method and mobile terminal | |
CN107277230A (en) | The voice broadcast method and Related product of message | |
CN106484326B (en) | Data transmission processing method and mobile terminal | |
CN106528638B (en) | Method for deleting backup data and mobile terminal | |
CN106412033A (en) | Data migration method and terminal | |
WO2018049885A1 (en) | Data migration method and device | |
CN107071147A (en) | A parameter adjustment method and device | |
CN106681860A (en) | Data backup method and data backup device | |
CN106469028A (en) | A data migration method and mobile terminal | |
CN106249992A (en) | A web page control method and mobile terminal | |
CN106569916A (en) | Data backup method and mobile terminal | |
CN106572163B (en) | Data migration method and terminal | |
CN106527980A (en) | Data migration method and terminal | |
CN106454979A (en) | A network standard switching method and mobile terminal | |
CN106254488A (en) | Method, the method for broadcasting and the relevant apparatus that screen locking picture pushes | |
CN107317917B (en) | Application control methods and related products | |
CN106686704B (en) | Terminal monitoring method and mobile terminal | |
CN106487878B (en) | Method and terminal for data migration | |
CN106951223A (en) | Desktop display method and terminal | |
CN106686428A (en) | A video playback method and device | |
CN106454953A (en) | Flow control method, device and terminal | |
CN106357767B (en) | Information synchronization method and server |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170322 |
|
RJ01 | Rejection of invention patent application after publication |