WO2018049941A1 - Data migration method and related product - Google Patents
Data migration method and related product Download PDFInfo
- Publication number
- WO2018049941A1 WO2018049941A1 PCT/CN2017/095316 CN2017095316W WO2018049941A1 WO 2018049941 A1 WO2018049941 A1 WO 2018049941A1 CN 2017095316 W CN2017095316 W CN 2017095316W WO 2018049941 A1 WO2018049941 A1 WO 2018049941A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- terminal devices
- mobile terminal
- threads
- migrated
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Definitions
- the present invention relates to the field of Internet technologies, and in particular, to a data migration method and related products.
- the embodiment of the invention provides a data migration method and related products, which can improve data migration efficiency.
- a second aspect of the embodiments of the present invention provides a data migration apparatus, including:
- an allocating unit configured to allocate, when the plurality of terminal devices access the mobile terminal, the plurality of threads, wherein each of the plurality of terminal devices is uniquely unique One thread
- a migration unit configured to migrate data to be migrated in the mobile terminal to the multiple terminal devices by using the multiple threads.
- an embodiment of the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to execute Some or all of the steps described in the first aspect of the invention.
- the computer program product can be a software installation package.
- FIG. 1 is a schematic diagram of a network architecture of a data migration system according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart diagram of a first embodiment of a data migration method according to an embodiment of the present disclosure
- FIG. 3 is a schematic flowchart diagram of a second embodiment of a data migration method according to an embodiment of the present disclosure
- FIG. 4 is a schematic flowchart diagram of a third embodiment of a data migration method according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of an embodiment of a data migration apparatus according to an embodiment of the present invention.
- FIG. 5b is a schematic structural diagram of an allocation unit of the data migration apparatus described in FIG. 5a according to an embodiment of the present disclosure
- FIG. 5c is still another schematic structural diagram of an allocating unit of the data migration apparatus described in FIG. 5a according to an embodiment of the present disclosure
- FIG. 5 is a schematic structural diagram of a migration unit of the data migration apparatus described in FIG. 5a according to an embodiment of the present disclosure
- FIG. 5 e is another schematic structural diagram of the data migration apparatus described in FIG. 5 a according to an embodiment of the present invention.
- FIG. 5f is still another schematic structural diagram of the data migration apparatus described in FIG. 5a according to an embodiment of the present disclosure
- FIG. 6 is a schematic structural diagram of an embodiment of a mobile terminal according to an embodiment of the present invention.
- the method in the related art only supports single-machine mutual transmission, and the user who needs to transmit data to multiple mobile phones needs to repeat the same action many times, which takes time and increases the operation complexity.
- the embodiment of the invention provides a data migration method and related products, which can improve data migration efficiency.
- references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
- the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
- the data described in the embodiments of the present invention may include applications (such as social applications, video applications, photo applications, game applications, etc.), folders, files (such as text files, video files, audio files, photos, etc.), cached data, Private data, etc., the above data is only an example, not an exhaustive, including but not Limited to the above data.
- the mobile terminal or the terminal device described in the embodiments of the present invention may include a smart phone (such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.), a tablet computer, a palmtop computer, a notebook computer, a mobile Internet device (MID, Mobile Internet Devices), or
- a smart phone such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.
- a tablet computer such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.
- a palmtop computer such as a Samsung Galaxy Tabs
- a notebook computer such as an iPad, Samsung Galaxy Tabs, etc.
- MID Mobile Internet Devices
- the wearable device and the like are merely examples, and are not exhaustive, including but not limited to the above-described mobile terminal or terminal device.
- the terminal device mentioned in the embodiment of the present invention may be the same as the mobile terminal, for example, the terminal device is a mobile phone, and the mobile terminal is another mobile phone; the terminal device may also be
- FIG. 1 is a schematic diagram of a network architecture of a data migration system, where the network architecture may include: a mobile terminal and multiple terminal devices.
- the mobile terminal and the plurality of terminal devices can establish a communication connection through a Wireless Fidelity (Wi-Fi) network, a mobile communication network (such as 2G, 3G, 4G, 5G, etc.) and a wired network.
- Wi-Fi Wireless Fidelity
- the mobile terminal may establish a hotspot for the other terminal device to access the mobile terminal, and when detecting that the plurality of terminal devices access the mobile terminal, allocate multiple threads to the plurality of terminal devices, where Each terminal device corresponds to a single thread, and uses multiple threads to migrate data to be migrated in the mobile terminal to multiple terminal devices.
- FIG. 2 is a schematic flowchart diagram of a first embodiment of a data migration method according to an embodiment of the present invention.
- the data migration method described in this embodiment includes the following steps:
- the mobile terminal can establish a hot spot, and after establishing the hot spot, waiting for other terminal devices to access the mobile terminal.
- the mobile terminal can be used as a data source to migrate data to be migrated in the mobile terminal to other terminal devices.
- the mobile terminal may receive the migration instruction, where the receiving the migration instruction may be performed in step 201, where the migration instruction may be from the mobile terminal or may be from another terminal device.
- establishing a hot spot for other terminal devices to access the mobile terminal may be implemented as follows:
- the device identifier may be at least one of the following: a mobile phone number, a hardware address (MAC address), an International Mobile Equipment Identity (IMEI), an IP address, and an integrated circuit card identity (Integrate circuit card identity, ICCID), etc.
- the device identifier of the device to be migrated may be added to the mobile terminal in advance, and the hotspot may be established according to the device identifier.
- the device identifier of multiple terminal devices may be obtained, and multiple device identifiers may be obtained.
- the device identifiers establish hotspots for the terminal devices corresponding to the plurality of device identifiers to access the hotspots.
- the foregoing establishing a hot spot according to the multiple device identifiers, for the multiple terminal devices to access the mobile terminal may be implemented as follows:
- the hotspot is activated, and the network access request is sent to the multiple terminal devices according to the multiple device identifiers, where the network access request is used to indicate that the terminal device accesses the hotspot.
- the mobile terminal may activate a hotspot, and send a network access request to the multiple terminal devices corresponding to the device identifiers according to the multiple device identifiers, where the network access request is used to indicate that the terminal device accesses the hotspot, and any one of the multiple terminal devices After responding to the network access request, the terminal device can access the hotspot to establish a communication connection with the mobile terminal.
- the mobile terminal can detect whether a terminal device accesses the mobile terminal, and determines the number of terminal devices that access the mobile terminal. And assigning the number of threads according to the number of terminal devices, that is, how many threads are allocated by the terminal devices, and if there are N terminal devices, N threads are allocated, where N is an integer greater than 1, and each terminal device Can correspond to a single thread.
- the foregoing allocating the multiple threads to the multiple terminal devices includes:
- the mobile terminal can detect the signal strength of each terminal device of the multiple terminal devices that access the mobile terminal, and obtain multiple signal strength values. According to the signal strength value, the corresponding thread allocation The higher the priority, the smaller the signal strength value, the lower the allocation priority of the corresponding thread, the allocation priority is determined for each signal strength value, and the multiple terminal devices are allocated according to the thread allocation priority.
- the multiple threads that is, the higher the thread allocation priority, the corresponding terminal device can preferentially allocate threads, and the lower the thread allocation priority, the later the terminal device allocates the thread. In this way, one thread can be assigned to each terminal device in turn.
- it is also possible to set the bandwidth occupied by each thread to be proportional to its corresponding signal strength value.
- the mobile terminal can determine the distance between each terminal device and the mobile terminal in the plurality of terminal devices by using the ranging sensor, and obtain multiple distance values
- the ranging sensor can be a laser ranging sensor or an infrared ranging sensor.
- the thread allocation priority may be determined according to multiple distance values. For example, the smaller the distance value is, the higher the priority is. Further, multiple threads may be allocated to multiple terminal devices according to the thread allocation priority. Of course, it is also possible to set the bandwidth occupied by each thread to be proportional to its corresponding distance value.
- the data to be migrated in the mobile terminal may be migrated to multiple terminal devices by using multiple threads. After the migration, each terminal device has data to be migrated in the mobile terminal.
- the mobile terminal can display the data list, and the user can select the data in the data list, select the data to be transmitted as the data to be migrated, and further, divide the data to be migrated into K data sets, where , K is an integer greater than 1, where K can be counted by the system (eg, K applications, can be recorded as K data sets) or specified by the user.
- K is an integer greater than 1
- K can be counted by the system (eg, K applications, can be recorded as K data sets) or specified by the user.
- the frequency of use of each data set in the K data sets may be separately determined, and the migration order of the K data sets may be determined in descending order of use frequency, that is, the data set with higher frequency is migrated first.
- the data set with lower frequency is migrated later, and the data to be migrated may be transmitted to each of the plurality of terminal devices according to the migration order.
- an upper limit can be set for the number of threads, for example, three, that is, It is said that up to three threads can be started at a time, even if there are more than three terminal devices, that is, these threads are started in the migration order, and the data to be migrated is migrated to these terminal devices with the priority of the migration order.
- determining data to be migrated in the mobile terminal may be implemented as follows:
- the data list includes a plurality of options; determining the checked option, and using the data corresponding to the checked option as the data to be migrated.
- the data list may correspond to some or all of the data in the mobile terminal, and the data list may provide multiple options, each of which corresponds to a part of the data, and the user may select these options, and after determining the selected option, The data corresponding to the selected option is used as the data to be migrated.
- the hotspot is set up by the embodiment of the present invention to allow other terminal devices to access the mobile terminal.
- multiple threads are allocated to multiple terminal devices, where each of the multiple terminal devices A terminal device corresponds to a single thread, and uses multiple threads to migrate data to be migrated in the mobile terminal to multiple terminal devices.
- each terminal device is allocated a thread, and each thread is used to migrate the data to be migrated to the terminal device, thereby improving data migration efficiency.
- step 301 - step 302 can refer to the corresponding step 201 - step 202 of the data migration method described in FIG. 2 .
- N is an integer greater than 1.
- the mobile terminal may determine N applications currently running in the mobile terminal.
- the N applications may include system applications, or regular applications, such as a photo application, a shopping application, etc., generally, N is An integer greater than one.
- the mobile terminal can monitor each open application, so that N applications currently running in the mobile terminal can be directly determined.
- the N application must include the system application and the driver application.
- the system application is to ensure the normal operation of the operating system, and the driver application is the driver to run.
- the N applications include other conventional applications.
- a conventional application can be considered as an application that does not affect the operation of the operating system after the application is closed, and can also be understood as a third-party application.
- the preset application list may be set in advance in the mobile terminal, and the preset application list may include at least one regular application.
- the N applications can be matched with the preset application list one by one, that is, any one of the N applications is matched with the preset application list, and then another application of the N applications and the preset application are added.
- the list is matched, and so on, it can be determined which of the N applications are present in the preset application list and which are not present in the preset application list.
- N applications include: QQ, WeChat, Taobao, Baidu map
- the preset application list includes: Taobao, Baidu map, Meituan, Beauty camera, then, when the N applications are matched with the preset application list, Taobao and Baidu maps can be found in the preset application list, while QQ and WeChat do not exist in the preset application list.
- the M applications that are included in the N applications are found in the preset application list, The M applications are closed, and the data to be migrated in the mobile terminal is migrated to the multiple terminal devices by using the multiple threads, where the M is an integer greater than 0 and smaller than the N.
- the M applications may be closed, and multiple threads are used to multiple
- the terminal device migrates data, and the M is an integer greater than 0 and less than N. In this way, the load of the mobile terminal can be reduced, the processing efficiency of the mobile terminal can be improved, and the migration efficiency can be improved.
- FIG. 4 it is a schematic flowchart of a third embodiment of a data migration method according to an embodiment of the present invention.
- the data migration method described in this embodiment includes the following steps:
- each thread For each thread, each thread is used to migrate data to be migrated in the mobile terminal to a certain terminal device. Because different threads have different bandwidths, the migration efficiency is different. Therefore, when a thread completes the migration, the thread is closed. So, no It only reduces the load on the mobile terminal and improves the migration efficiency of other threads.
- the hotspot is established by the embodiment of the present invention, so that other terminal devices access the mobile terminal, and when multiple terminal devices are detected to access the mobile terminal, multiple threads are allocated to multiple terminal devices, where multiple terminals are Each terminal device in the device corresponds to a unique thread, and multiple threads are used to migrate the data to be migrated in the mobile terminal to multiple terminal devices. When any thread completes the migration, the thread can be closed. In this way, when a plurality of terminal devices access the mobile terminal, each terminal device is allocated a thread, and each thread is used to migrate the data to be migrated to the terminal device, thereby improving data migration efficiency. After at least one thread is closed, the power consumption of the mobile terminal is reduced, thereby further improving data migration efficiency.
- FIG. 5 is a schematic structural diagram of an embodiment of a data migration apparatus according to an embodiment of the present invention.
- the data migration apparatus described in this embodiment includes: an establishing unit 501, an allocating unit 502, and a migration unit 503, as follows:
- the establishing unit 501 is configured to establish a hot spot for the other terminal device to access the mobile terminal;
- the allocating unit 502 is configured to allocate the multiple threads to the multiple terminal devices when detecting that the multiple terminal devices access the mobile terminal, where each terminal device of the multiple terminal devices corresponds to The only thread
- the establishing unit 501 is specifically configured to:
- the establishing unit 501 is configured to establish a hotspot according to the multiple device identifiers, and the specific implementation manners for the multiple terminal devices to access the mobile terminal are:
- the hotspot is activated, and the network access request is sent to the multiple terminal devices according to the multiple device identifiers, where the network access request is used to indicate that the terminal device accesses the hotspot.
- the first determining module 5021 is further configured to:
- the first allocating module 5022 is configured to allocate the multiple threads to the multiple terminal devices according to the thread allocation priority.
- the allocation unit 502 of the data migration device described in FIG. 5c and FIG. 5a may include: a second determining module 5023 and a second assigning module 5024, as follows:
- a second determining module 5023 configured to determine a distance between each of the plurality of terminal devices and the mobile terminal, to obtain the multiple distance values
- the second allocating module 5024 is configured to allocate the multiple threads to the multiple terminal devices according to the thread allocation priority.
- a third determining module 5031 configured to determine data to be migrated in the mobile terminal, where the data to be migrated includes K data sets, and the K is an integer greater than 1.
- the third determining module 5031 is further configured to:
- the migrating module 5032 is configured to migrate the data to be migrated to the multiple terminal devices by using the multiple threads and the migration sequence.
- the third determining module 5031 determines that the specific implementation manner of the data to be migrated in the mobile terminal is:
- the data list is displayed, and the data list includes a plurality of options; the selected option is determined, and the data corresponding to the selected option is used as the data to be migrated.
- FIG. 5e is a modified structure of FIG. 5a, and the data migration apparatus described in FIG. 5a further includes: a determining unit 504, a matching unit 505, and a first closing unit 506, as follows:
- a determining unit 504 configured to determine, after the allocating unit 502 allocates the multiple threads to the multiple terminal devices, N applications that are currently running in the mobile terminal, where N is an integer greater than one;
- the matching unit 505 is configured to match the N applications with the preset application list.
- the first closing unit 506 is configured to: when the matching unit 505 matches that the M applications include the M application, the M applications are closed, and the migration unit 503 is used by the migration unit 503.
- the plurality of threads migrate data to be migrated in the mobile terminal to the plurality of terminal devices, where the M is an integer greater than 0 and less than the N.
- FIG. 5f is a modified structure of FIG. 5a, and the data migration apparatus described in FIG. 5a further includes: a second closing unit 507, which is specifically as follows:
- a second closing unit 507 configured to: after the migrating unit 503 uses the multiple threads to migrate data to be migrated in the mobile terminal to the multiple terminal devices, and complete thread migration in the multiple threads
- the thread i is closed, wherein the thread i is any one of the plurality of threads.
- a hot spot can be established for other terminal devices to access the mobile terminal, and when multiple terminal devices are detected to access the mobile terminal, multiple terminal devices are allocated. Threads, wherein each of the plurality of terminal devices corresponds to a single thread, and the plurality of threads are used to migrate the data to be migrated in the mobile terminal to the plurality of terminal devices. In this way, when a plurality of terminal devices access the mobile terminal, each terminal device is allocated a thread, and each thread is used to migrate the data to be migrated to the terminal device, thereby improving data migration efficiency.
- the data migration device described in the device embodiment of the present invention is presented in the form of a functional unit.
- the term "unit” as used herein shall be understood to mean the broadest possible meaning, and the object for implementing the functions described for each "unit” may be, for example, an integrated circuit ASIC, a single circuit for executing one or more software or firmware.
- a processor shared, dedicated or chipset
- memory of the program combinatorial logic, and/or other suitable components that perform the functions described above.
- the foregoing establishing unit 501 is configured to establish a hot spot for other terminal devices to access the mobile device.
- the function of the mobile terminal can be implemented by the mobile terminal shown in FIG. 6, and the hotspot can be established by the processor 3000 by calling the executable program code in the memory 4000 for other terminal devices to access the mobile terminal.
- FIG. 6 is a schematic structural diagram of an embodiment of a mobile terminal according to an embodiment of the present invention.
- the mobile terminal described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, such as a CPU; and a memory 4000, the input device 1000, the output device 2000, the processor 3000, and The memory 4000 is connected by a bus 5000.
- the input device 1000 may be a touch panel, a physical button, or a mouse.
- the output device 2000 described above may specifically be a display screen.
- the above memory 4000 may be a high speed RAM memory or a non-volatile memory such as a magnetic disk memory.
- the above memory 4000 is used to store a set of program codes, and the input device 1000, the output device 2000, and the processor 3000 are used to call the program code stored in the memory 4000, and perform the following operations:
- the processor 3000 is configured to:
- the foregoing processor 3000 allocates the multiple threads to the multiple terminal devices, including:
- the foregoing processor 3000 allocates the multiple threads to the multiple terminal devices, including:
- the processor 3000 is configured to migrate the data to be migrated in the mobile terminal to the multiple terminal devices by using the multiple threads, including:
- the foregoing determining, by the processor 3000, the data to be migrated in the mobile terminal includes:
- the selected option is determined, and the data corresponding to the selected option is used as the data to be migrated.
- the processor 3000 is configured to establish a hotspot according to the multiple device identifiers, where the multiple terminal devices access the mobile terminal, including:
- the hotspot is activated, and the network access request is sent to the multiple terminal devices according to the multiple device identifiers, where the network access request is used to indicate that the terminal device accesses the hotspot.
- the processor 3000 after the allocating the multiple threads to the multiple terminal devices, and using the multiple threads to migrate data to be migrated in the mobile terminal to the Before using multiple terminal devices, it is also used to:
- N is an integer greater than one
- the M applications are included in the preset application list, the M applications are closed, and the data to be migrated in the mobile terminal is migrated by using the multiple threads.
- the M is an integer greater than 0 and less than the N.
- the processor 3000 uses the multiple threads to move the mobile terminal to be migrated. After the data is migrated to the multiple terminal devices, it is also specifically used to:
- the thread i When the thread i completes the migration in the plurality of threads, the thread i is closed, wherein the thread i is any one of the plurality of threads.
- the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of any one of the data migration methods described in the foregoing method embodiments.
- embodiments of the present invention can be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
- the computer program is stored/distributed in a suitable medium, provided with other hardware or as part of the hardware, or in other distributed forms, such as over the Internet or other wired or wireless telecommunication systems.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本发明要求2016年9月14日递交的发明名称为“一种数据迁移方法及移动终端”的申请号201610826597.4的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。The present invention claims the priority of the prior application of the application No. 201610826597.4, entitled "A Data Migration Method and Mobile Terminal", filed on September 14, 2016, the contents of which are incorporated herein by reference. .
本发明涉及互联网技术领域,具体涉及一种数据迁移方法及相关产品。The present invention relates to the field of Internet technologies, and in particular, to a data migration method and related products.
随着信息技术快速发展,移动终端(如手机、平板电脑等等)更新换代越来越频繁。目前,市场上提供给用户换手机时,使用手机搬家的功能。该功能可以将整个旧手机资料,软件等全部原封不动的拷贝到新手机,从而,为用户换机提供方便。With the rapid development of information technology, mobile terminals (such as mobile phones, tablets, etc.) are being updated more and more frequently. At present, the function of moving the mobile phone when the user changes the mobile phone is provided on the market. This function can copy the entire old mobile phone data, software, etc. to the new mobile phone intact, thus providing convenience for the user to change the machine.
发明内容Summary of the invention
本发明实施例提供了一种数据迁移方法及相关产品,可以提升数据迁移效率。The embodiment of the invention provides a data migration method and related products, which can improve data migration efficiency.
本发明实施例第一方面提供了一种数据迁移方法,包括:A first aspect of the embodiments of the present invention provides a data migration method, including:
建立热点,以供其他终端设备接入移动终端;Establishing a hot spot for other terminal devices to access the mobile terminal;
在检测到多个终端设备接入所述移动终端时,为所述多个终端设备分配所述多个线程,其中,所述多个终端设备中的每一终端设备对应唯一一个线程;When detecting that a plurality of terminal devices access the mobile terminal, allocating the plurality of threads to the plurality of terminal devices, wherein each of the plurality of terminal devices corresponds to a single thread;
采用所述多个线程将所述移动终端中的待迁移数据迁移至所述多个终端设备。And using the multiple threads to migrate data to be migrated in the mobile terminal to the multiple terminal devices.
本发明实施例第二方面提供了一种数据迁移装置,包括:A second aspect of the embodiments of the present invention provides a data migration apparatus, including:
建立单元,用于建立热点,以供其他终端设备接入移动终端;Establishing a unit for establishing a hot spot for other terminal devices to access the mobile terminal;
分配单元,用于在检测到多个终端设备接入所述移动终端时,为所述多个终端设备分配所述多个线程,其中,所述多个终端设备中的每一终端设备对应唯一一个线程; And an allocating unit, configured to allocate, when the plurality of terminal devices access the mobile terminal, the plurality of threads, wherein each of the plurality of terminal devices is uniquely unique One thread
迁移单元,用于采用所述多个线程将所述移动终端中的待迁移数据迁移至所述多个终端设备。a migration unit, configured to migrate data to be migrated in the mobile terminal to the multiple terminal devices by using the multiple threads.
本发明实施例第三方面提供了一种移动终端,包括:A third aspect of the embodiments of the present invention provides a mobile terminal, including:
处理器和存储器;其中,所述处理器通过调用所述存储器中的代码或指令以执行第一方面所描述的方法的部分或者全部步骤。A processor and a memory; wherein the processor performs some or all of the steps of the method described in the first aspect by invoking code or instructions in the memory.
第四方面,本发明实施例提供了一种计算机可读存储介质,其中,所述计算机可读存储介质用于存储计算机程序,其中,所述计算机程序使得计算机执行如本发明实施例第一方面中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, wherein the computer readable storage medium is configured to store a computer program, wherein the computer program causes a computer to perform the first aspect of the embodiment of the present invention. Some or all of the steps described in this.
第五方面,本发明实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本发明实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to execute Some or all of the steps described in the first aspect of the invention. The computer program product can be a software installation package.
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例提供的一种数据迁移系统的网络架构示意图;1 is a schematic diagram of a network architecture of a data migration system according to an embodiment of the present invention;
图2是本发明实施例提供的一种数据迁移方法的第一实施例流程示意图;FIG. 2 is a schematic flowchart diagram of a first embodiment of a data migration method according to an embodiment of the present disclosure;
图3是本发明实施例提供的一种数据迁移方法的第二实施例流程示意图;FIG. 3 is a schematic flowchart diagram of a second embodiment of a data migration method according to an embodiment of the present disclosure;
图4是本发明实施例提供的一种数据迁移方法的第三实施例流程示意图;4 is a schematic flowchart diagram of a third embodiment of a data migration method according to an embodiment of the present invention;
图5a是本发明实施例提供的一种数据迁移装置的实施例结构示意图;FIG. 5 is a schematic structural diagram of an embodiment of a data migration apparatus according to an embodiment of the present invention; FIG.
图5b是本发明实施例提供的图5a所描述的数据迁移装置的分配单元的结构示意图;FIG. 5b is a schematic structural diagram of an allocation unit of the data migration apparatus described in FIG. 5a according to an embodiment of the present disclosure;
图5c是本发明实施例提供的图5a所描述的数据迁移装置的分配单元的又一结构示意图;FIG. 5c is still another schematic structural diagram of an allocating unit of the data migration apparatus described in FIG. 5a according to an embodiment of the present disclosure;
图5d是本发明实施例提供的图5a所描述的数据迁移装置的迁移单元的结构示意图; FIG. 5 is a schematic structural diagram of a migration unit of the data migration apparatus described in FIG. 5a according to an embodiment of the present disclosure;
图5e是本发明实施例提供的图5a所描述的数据迁移装置的又一结构示意图;FIG. 5 e is another schematic structural diagram of the data migration apparatus described in FIG. 5 a according to an embodiment of the present invention; FIG.
图5f是本发明实施例提供的图5a所描述的数据迁移装置的又一结构示意图;FIG. 5f is still another schematic structural diagram of the data migration apparatus described in FIG. 5a according to an embodiment of the present disclosure;
图6是本发明实施例提供的一种移动终端的实施例结构示意图。FIG. 6 is a schematic structural diagram of an embodiment of a mobile terminal according to an embodiment of the present invention.
在手机搬家应用中,相关技术中的方法只支持单机互传,对于需要将数据传输到多台手机上的用户,需要重复多次相同的动作,耗费时间,增加了操作复杂度。本发明实施例提供了一种数据迁移方法及相关产品,可以提升数据迁移效率。In the mobile phone moving application, the method in the related art only supports single-machine mutual transmission, and the user who needs to transmit data to multiple mobile phones needs to repeat the same action many times, which takes time and increases the operation complexity. The embodiment of the invention provides a data migration method and related products, which can improve data migration efficiency.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", and "fourth" and the like in the specification and claims of the present invention are used to distinguish different objects, and are not intended to describe a specific order. . Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置展示该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。References to "an embodiment" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
本发明实施例所描述的数据可以包括应用(如社交应用、视频应用、拍照应用、游戏应用等)、文件夹、文件(如文本文件、视频文件、音频文件、照片等等)、缓存数据、私密数据等,上述数据仅是举例,而非穷举,包含但不 限于上述数据。The data described in the embodiments of the present invention may include applications (such as social applications, video applications, photo applications, game applications, etc.), folders, files (such as text files, video files, audio files, photos, etc.), cached data, Private data, etc., the above data is only an example, not an exhaustive, including but not Limited to the above data.
本发明实施例所描述的移动终端或者终端设备可以包括智能手机(如Android手机、iOS手机、Windows Phone手机等)、平板电脑、掌上电脑、笔记本电脑、移动互联网设备(MID,Mobile Internet Devices)或穿戴式设备等,上述仅是举例,而非穷举,包含但不限于上述移动终端或者终端设备。当然,本发明实施例中所提及的终端设备可与移动终端相同,例如,终端设备为手机,移动终端为另一手机;终端设备也可与移动终端不相同,例如,终端设备为手机,移动终端为平板电脑。The mobile terminal or the terminal device described in the embodiments of the present invention may include a smart phone (such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.), a tablet computer, a palmtop computer, a notebook computer, a mobile Internet device (MID, Mobile Internet Devices), or The wearable device and the like are merely examples, and are not exhaustive, including but not limited to the above-described mobile terminal or terminal device. Certainly, the terminal device mentioned in the embodiment of the present invention may be the same as the mobile terminal, for example, the terminal device is a mobile phone, and the mobile terminal is another mobile phone; the terminal device may also be different from the mobile terminal, for example, the terminal device is a mobile phone. The mobile terminal is a tablet.
请参见图1,图1为本发明实施例提供了一种数据迁移系统的网络架构,该网络构架可包括:移动终端和多个终端设备。其中,移动终端与多个终端设备之间可通过无线保真(Wireless Fidelity,Wi-Fi)网络、移动通信网络(如2G、3G、4G、5G等等)、有线网络建立通信连接。例如,移动终端可建立热点,以供其他终端设备接入移动终端,在检测到多个终端设备接入该移动终端时,为多个终端设备分配多个线程,其中,多个终端设备中的每一终端设备对应唯一一个线程,采用多个线程将移动终端中的待迁移数据迁移至多个终端设备。Referring to FIG. 1 , FIG. 1 is a schematic diagram of a network architecture of a data migration system, where the network architecture may include: a mobile terminal and multiple terminal devices. The mobile terminal and the plurality of terminal devices can establish a communication connection through a Wireless Fidelity (Wi-Fi) network, a mobile communication network (such as 2G, 3G, 4G, 5G, etc.) and a wired network. For example, the mobile terminal may establish a hotspot for the other terminal device to access the mobile terminal, and when detecting that the plurality of terminal devices access the mobile terminal, allocate multiple threads to the plurality of terminal devices, where Each terminal device corresponds to a single thread, and uses multiple threads to migrate data to be migrated in the mobile terminal to multiple terminal devices.
基于图1所描述的数据迁移系统的网络架构,请参阅图2,为本发明实施例提供的一种数据迁移方法的第一实施例流程示意图。本实施例中所描述的数据迁移方法,包括以下步骤:Based on the network architecture of the data migration system described in FIG. 1, FIG. 2 is a schematic flowchart diagram of a first embodiment of a data migration method according to an embodiment of the present invention. The data migration method described in this embodiment includes the following steps:
201、建立热点,以供其他终端设备接入移动终端。201. Establish a hot spot for other terminal devices to access the mobile terminal.
其中,移动终端可建立热点,在建立热点之后,可等待其他的终端设备接入移动终端。本发明实施例中可将移动终端作为数据源,以实现将移动终端中的待迁移数据迁移到其他终端设备。The mobile terminal can establish a hot spot, and after establishing the hot spot, waiting for other terminal devices to access the mobile terminal. In the embodiment of the present invention, the mobile terminal can be used as a data source to migrate data to be migrated in the mobile terminal to other terminal devices.
可选地,移动终端可接收迁移指令,在接收到搬移指令可执行步骤201,其中,该迁移指令可来自于该移动终端,也可以来自于其他终端设备。Optionally, the mobile terminal may receive the migration instruction, where the receiving the migration instruction may be performed in
可选地,上述步骤201中,建立热点,以供其他终端设备接入移动终端,可按照如下方式实施:Optionally, in the foregoing
获取多个终端设备的设备标识,得到多个设备标识;根据所述多个设备标 识建立热点,以供所述多个终端设备接入所述热点。Obtaining device identifiers of multiple terminal devices, obtaining multiple device identifiers; according to the multiple device labels Identifying a hotspot for the plurality of terminal devices to access the hotspot.
其中,上述设备标识可为以下至少一项:手机号、硬件地址(MAC地址)、国际移动设备识别码(International Mobile Equipment Identity,IMEI)、IP地址、集成电路卡识别码(Integrate circuit card identity,ICCID)等等,移动终端中可预先添加待迁移设备的设备标识,进而,可根据这些设备标识建立热点,例如,可获取多个终端设备的设备标识,得到多个设备标识,进而,可根据这些设备标识建立热点,该热点以供该多个设备标识对应的终端设备接入热点。The device identifier may be at least one of the following: a mobile phone number, a hardware address (MAC address), an International Mobile Equipment Identity (IMEI), an IP address, and an integrated circuit card identity (Integrate circuit card identity, ICCID), etc., the device identifier of the device to be migrated may be added to the mobile terminal in advance, and the hotspot may be established according to the device identifier. For example, the device identifier of multiple terminal devices may be obtained, and multiple device identifiers may be obtained. The device identifiers establish hotspots for the terminal devices corresponding to the plurality of device identifiers to access the hotspots.
进一步可选地,上述根据所述多个设备标识建立热点,以供所述多个终端设备接入所述移动终端,可按照如下方式实施:Further optionally, the foregoing establishing a hot spot according to the multiple device identifiers, for the multiple terminal devices to access the mobile terminal, may be implemented as follows:
启动热点,并根据所述多个设备标识向所述多个终端设备发送入网请求,所述入网请求用于指示终端设备接入所述热点。The hotspot is activated, and the network access request is sent to the multiple terminal devices according to the multiple device identifiers, where the network access request is used to indicate that the terminal device accesses the hotspot.
其中,移动终端可启动热点,并根据多个设备标识向这些设备标识对应的多个终端设备发送入网请求,该入网请求用于指示终端设备接入热点,在该多个终端设备中的任一终端设备响应该入网请求后,均可接入该热点,从而建立与移动终端之间的通信连接。The mobile terminal may activate a hotspot, and send a network access request to the multiple terminal devices corresponding to the device identifiers according to the multiple device identifiers, where the network access request is used to indicate that the terminal device accesses the hotspot, and any one of the multiple terminal devices After responding to the network access request, the terminal device can access the hotspot to establish a communication connection with the mobile terminal.
202、在检测到多个终端设备接入所述移动终端时,为所述多个终端设备分配所述多个线程,其中,所述多个终端设备中的每一终端设备对应唯一一个线程。202. When detecting that multiple terminal devices access the mobile terminal, allocate the multiple threads to the multiple terminal devices, where each terminal device of the multiple terminal devices corresponds to a unique thread.
其中,移动终端可检测是否有终端设备接入该移动终端,并确定接入该移动终端的终端设备的个数。并根据终端设备的个数分配线程个数,即有多少个终端设备就分配多少个线程,假设有N个终端设备,就分配N个线程,其中,N为大于1的整数,每一终端设备可对应唯一一个线程。The mobile terminal can detect whether a terminal device accesses the mobile terminal, and determines the number of terminal devices that access the mobile terminal. And assigning the number of threads according to the number of terminal devices, that is, how many threads are allocated by the terminal devices, and if there are N terminal devices, N threads are allocated, where N is an integer greater than 1, and each terminal device Can correspond to a single thread.
可选地,上述为所述多个终端设备分配所述多个线程,包括:Optionally, the foregoing allocating the multiple threads to the multiple terminal devices includes:
21)、确定所述多个终端设备中每一终端设备接入所述移动终端的信号强度,得到所述多个信号强度值;21) determining a signal strength of each of the plurality of terminal devices to access the mobile terminal, to obtain the multiple signal strength values;
22)、根据所述多个信号强度值确定线程分配优先级;22) determining, according to the multiple signal strength values, a thread allocation priority;
23)、根据所述线程分配优先级为所述多个终端设备分配所述多个线程。23) assigning the plurality of threads to the plurality of terminal devices according to the thread allocation priority.
其中,移动终端可检测接入该移动终端的多个终端设备中每一终端设备的信号强度,得到多个信号强度值。可按照信号强度值越大,其对应的线程分配 优先级越高,信号强度值越小,其对应的线程分配优先级越低的分配策略,为每一信号强度值确定分配优先级,并根据该线程分配优先级为该多个终端设备分配所述多个线程,即线程分配优先级越高,其对应的终端设备可优先分配线程,线程分配优先级越低,其对应的终端设备则越后分配线程。如此,可依次为每一终端设备分配一个线程。当然,也可以设置每一线程所占据的带宽与其对应的信号强度值成正比。The mobile terminal can detect the signal strength of each terminal device of the multiple terminal devices that access the mobile terminal, and obtain multiple signal strength values. According to the signal strength value, the corresponding thread allocation The higher the priority, the smaller the signal strength value, the lower the allocation priority of the corresponding thread, the allocation priority is determined for each signal strength value, and the multiple terminal devices are allocated according to the thread allocation priority. The multiple threads, that is, the higher the thread allocation priority, the corresponding terminal device can preferentially allocate threads, and the lower the thread allocation priority, the later the terminal device allocates the thread. In this way, one thread can be assigned to each terminal device in turn. Of course, it is also possible to set the bandwidth occupied by each thread to be proportional to its corresponding signal strength value.
可选地,上述为所述多个终端设备分配所述多个线程,包括:Optionally, the foregoing allocating the multiple threads to the multiple terminal devices includes:
24)、确定所述多个终端设备中每一终端设备与所述移动终端之间的距离,得到所述多个距离值;24) determining a distance between each terminal device of the plurality of terminal devices and the mobile terminal, to obtain the multiple distance values;
25)、根据所述多个距离值确定线程分配优先级;25) determining, according to the multiple distance values, a thread allocation priority;
26)、根据所述线程分配优先级为所述多个终端设备分配所述多个线程。26) Allocating the plurality of threads to the plurality of terminal devices according to the thread allocation priority.
其中,移动终端可以利用测距传感器确定多个终端设备中每一终端设备与移动终端之间的距离,得到多个距离值,测距传感器可以是激光测距传感器,也可以是红外测距传感器,可以根据多个距离值确定线程分配优先级,例如,距离值越小,优先级越高,进而,可根据线程分配优先级为多个终端设备分配多个线程。当然,也可以设置每一线程所占据的带宽与其对应的距离值成正比。The mobile terminal can determine the distance between each terminal device and the mobile terminal in the plurality of terminal devices by using the ranging sensor, and obtain multiple distance values, and the ranging sensor can be a laser ranging sensor or an infrared ranging sensor. The thread allocation priority may be determined according to multiple distance values. For example, the smaller the distance value is, the higher the priority is. Further, multiple threads may be allocated to multiple terminal devices according to the thread allocation priority. Of course, it is also possible to set the bandwidth occupied by each thread to be proportional to its corresponding distance value.
203、采用所述多个线程将所述移动终端中的待迁移数据迁移至所述多个终端设备。203. Use the multiple threads to migrate data to be migrated in the mobile terminal to the multiple terminal devices.
其中,可采用多个线程将移动终端中的待迁移数据迁移至多个终端设备,即迁移后,每一终端设备均有移动终端中的待迁移数据。The data to be migrated in the mobile terminal may be migrated to multiple terminal devices by using multiple threads. After the migration, each terminal device has data to be migrated in the mobile terminal.
可选地,对于任一线程而言,待迁移数据可包含多个数据集,每一数据集可为至少一个应用,文件等等。可将待迁移数据按照数据集所占内存空间由大到小的顺序进行迁移,或者,可将待迁移数据按照数据集的重要性进行迁移,重要性高的优先迁移,重要性低的后迁移。Optionally, for any thread, the data to be migrated may include multiple data sets, each of which may be at least one application, file, and the like. The data to be migrated can be migrated in descending order of the memory space occupied by the data set, or the data to be migrated can be migrated according to the importance of the data set, the importance of high priority migration, and the low importance of migration. .
可选地,上述采用所述多个线程将所述移动终端中的待迁移数据迁移至所述多个终端设备,可包含如下步骤:Optionally, the migrating the data to be migrated in the mobile terminal to the multiple terminal devices by using the multiple threads may include the following steps:
31)、确定所述移动终端中的待迁移数据,其中,所述待迁移数据包含K个数据集,所述K为大于1的整数;31) determining data to be migrated in the mobile terminal, where the data to be migrated includes K data sets, and the K is an integer greater than 1.
32)、根据所述K个数据集的使用频率确定该K个数据集的迁移顺序; 32) determining a migration order of the K data sets according to a frequency of use of the K data sets;
33)、采用所述多个线程和所述迁移顺序向所述多个终端设备迁移所述待迁移数据。33) migrating the to-be-migrated data to the plurality of terminal devices by using the multiple threads and the migration sequence.
其中,步骤31中,移动终端可展示数据列表,用户可在数据列表中进行勾选,选取需要传输的数据作为待迁移数据,并进一步地,可将该待迁移数据分成K个数据集,其中,K为大于1的整数,其中,K可由系统统计(如K个应用,可记作K个数据集)或者由用户指定。可分别确定该K个数据集中的每一数据集的使用频率,可按照使用频率由高到低的顺序确定该K个数据集的迁移顺序,即使用频率越高的数据集则越先迁移,使用频率越低的数据集则越后迁移,则可按照该迁移顺序将待迁移数据传输给多个终端设备中的每一终端设备。由于考虑到移动终端的负荷,在设备较多时,可以根据迁移顺序启动多个线程,迁移顺序优先的,则可以先启动,如此,可以实现为线程数目设置一个上限,例如,3个,也就是说,一次性最多启动三个线程,就算是三个以上终端设备,即是按照迁移顺序启动这些线程,迁移顺序靠前的优先将待迁移数据迁移到这些终端设备。In step 31, the mobile terminal can display the data list, and the user can select the data in the data list, select the data to be transmitted as the data to be migrated, and further, divide the data to be migrated into K data sets, where , K is an integer greater than 1, where K can be counted by the system (eg, K applications, can be recorded as K data sets) or specified by the user. The frequency of use of each data set in the K data sets may be separately determined, and the migration order of the K data sets may be determined in descending order of use frequency, that is, the data set with higher frequency is migrated first. The data set with lower frequency is migrated later, and the data to be migrated may be transmitted to each of the plurality of terminal devices according to the migration order. Considering the load of the mobile terminal, when there are many devices, multiple threads can be started according to the migration order. If the migration order takes precedence, it can be started first. Thus, an upper limit can be set for the number of threads, for example, three, that is, It is said that up to three threads can be started at a time, even if there are more than three terminal devices, that is, these threads are started in the migration order, and the data to be migrated is migrated to these terminal devices with the priority of the migration order.
可选地,上述步骤31中,确定所述移动终端中的待迁移数据,可按照如下方式实施:Optionally, in the foregoing step 31, determining data to be migrated in the mobile terminal may be implemented as follows:
展示数据列表,所述数据列表包含多个选项;确定被勾选的选项,将所述被勾选的选项对应的数据作为所述待迁移数据。Presenting a data list, the data list includes a plurality of options; determining the checked option, and using the data corresponding to the checked option as the data to be migrated.
其中,数据列表可对应移动终端中的部分或者所有数据,数据列表可提供多个选项,每一选项均对应一部分数据,用户可以对这些选项进行勾选,确定了被勾选的选项之后,可以将被勾选的选项对应的数据作为待迁移数据。The data list may correspond to some or all of the data in the mobile terminal, and the data list may provide multiple options, each of which corresponds to a part of the data, and the user may select these options, and after determining the selected option, The data corresponding to the selected option is used as the data to be migrated.
通过本发明实施例建立热点,以供其他终端设备接入移动终端,在检测到多个终端设备接入移动终端时,为多个终端设备分配多个线程,其中,多个终端设备中的每一终端设备对应唯一一个线程,采用多个线程将移动终端中的待迁移数据迁移至多个终端设备。如此,可在多个终端设备接入移动终端时,为每一终端设备分配一个线程,每一线程均用于将待迁移数据迁移至终端设备,因而,可提升数据迁移效率。The hotspot is set up by the embodiment of the present invention to allow other terminal devices to access the mobile terminal. When multiple terminal devices are detected to access the mobile terminal, multiple threads are allocated to multiple terminal devices, where each of the multiple terminal devices A terminal device corresponds to a single thread, and uses multiple threads to migrate data to be migrated in the mobile terminal to multiple terminal devices. In this way, when a plurality of terminal devices access the mobile terminal, each terminal device is allocated a thread, and each thread is used to migrate the data to be migrated to the terminal device, thereby improving data migration efficiency.
与上述一致地,请参阅图3,为本发明实施例提供的一种数据迁移方法的 第二实施例流程示意图。本实施例中所描述的数据迁移方法,包括以下步骤:In conjunction with the above, please refer to FIG. 3, which is a data migration method according to an embodiment of the present invention. A schematic diagram of the flow of the second embodiment. The data migration method described in this embodiment includes the following steps:
301、建立热点,以供其他终端设备接入移动终端。301. Establish a hot spot for other terminal devices to access the mobile terminal.
302、在检测到多个终端设备接入所述移动终端时,为所述多个终端设备分配所述多个线程,其中,所述多个终端设备中的每一终端设备对应唯一一个线程。302. When detecting that multiple terminal devices access the mobile terminal, allocate the multiple threads to the multiple terminal devices, where each terminal device of the multiple terminal devices corresponds to a unique thread.
其中,上述步骤301-步骤302可参照图2所描述的数据迁移方法的对应步骤201-步骤202。The foregoing step 301 -
303、确定所述移动终端中当前正在运行的N个应用,所述N为大于1的整数。303. Determine N applications currently running in the mobile terminal, where N is an integer greater than 1.
其中,移动终端可确定该移动终端中当前正在运行的N个应用,当然,该N个应用可包含系统应用,或者,常规应用,如:拍照应用,购物应用等等,通常情况下,N为大于1的整数。The mobile terminal may determine N applications currently running in the mobile terminal. Of course, the N applications may include system applications, or regular applications, such as a photo application, a shopping application, etc., generally, N is An integer greater than one.
可选地,移动终端可对每一开启的应用进行监听,从而,可直接确定该移动终端中当前正在运行的N个应用。Optionally, the mobile terminal can monitor each open application, so that N applications currently running in the mobile terminal can be directly determined.
可以理解的是,N个应用中必然包含系统应用和驱动应用,系统应用是为了保证操作系统正常运行,驱动应用是驱动程序进行运行,当然,N个应用中还包括其他常规应用,在此,常规应用可认为是,关闭了该应用后,不会影响到操作系统的运作的应用,也可以理解为第三方应用。It can be understood that the N application must include the system application and the driver application. The system application is to ensure the normal operation of the operating system, and the driver application is the driver to run. Of course, the N applications include other conventional applications. A conventional application can be considered as an application that does not affect the operation of the operating system after the application is closed, and can also be understood as a third-party application.
304、将所述N个应用与预设应用列表进行匹配。304. Match the N applications with a preset application list.
其中,预设应用列表可以预先在移动终端中进行设置,该预设应用列表中可包含至少一个常规应用。可将N个应用与预设应用列表进行一一匹配,即先将N个应用中的任一应用与预设应用列表进行匹配,然后,再将N个应用中的另一应用与预设应用列表进行匹配,以此类推,可以确定出N个应用中哪些应用存在于预设应用列表中,哪些不存在于预设应用列表中。The preset application list may be set in advance in the mobile terminal, and the preset application list may include at least one regular application. The N applications can be matched with the preset application list one by one, that is, any one of the N applications is matched with the preset application list, and then another application of the N applications and the preset application are added. The list is matched, and so on, it can be determined which of the N applications are present in the preset application list and which are not present in the preset application list.
例如,N个应用包括:QQ、微信、淘宝、百度地图,预设应用列表包括:淘宝、百度地图、美团、美颜相机,那么,在将该N个应用与预设应用列表进行匹配时,可得到淘宝、百度地图存在于预设应用列表中,而QQ、微信不存在于预设应用列表中。For example, N applications include: QQ, WeChat, Taobao, Baidu map, and the preset application list includes: Taobao, Baidu map, Meituan, Beauty camera, then, when the N applications are matched with the preset application list, Taobao and Baidu maps can be found in the preset application list, while QQ and WeChat do not exist in the preset application list.
305、若匹配出所述N个应用中包含M个应用存在于所述预设应用列表时, 关闭所述M个应用,并采用所述多个线程将所述移动终端中的待迁移数据迁移至所述多个终端设备,其中,所述M为大于0且小于所述N的整数。305. If the M applications that are included in the N applications are found in the preset application list, The M applications are closed, and the data to be migrated in the mobile terminal is migrated to the multiple terminal devices by using the multiple threads, where the M is an integer greater than 0 and smaller than the N.
可选地,若N个应用与预设应用列表匹配之后,得到该N个应用中的M个应用存在于预设应用列表中,则可关闭该M个应用,再采用多个线程向多个终端设备迁移数据,该M为大于0且小于N的整数。如此,可降低移动终端的负荷,提高移动终端的处理效率,可提升迁移效率。Optionally, if the N applications are matched with the preset application list, and the M applications of the N applications are found in the preset application list, the M applications may be closed, and multiple threads are used to multiple The terminal device migrates data, and the M is an integer greater than 0 and less than N. In this way, the load of the mobile terminal can be reduced, the processing efficiency of the mobile terminal can be improved, and the migration efficiency can be improved.
通过本发明实施例建立热点,以供其他终端设备接入移动终端,在检测到多个终端设备接入移动终端时,为多个终端设备分配多个线程,其中,多个终端设备中的每一终端设备对应唯一一个线程,可关闭掉移动终端中正在运行且属于预设应用列表的应用,采用多个线程将移动终端中的待迁移数据迁移至多个终端设备。如此,可在多个终端设备接入移动终端时,为每一终端设备分配一个线程,每一线程均用于将待迁移数据迁移至终端设备,因而,可提升数据迁移效率。The hotspot is set up by the embodiment of the present invention to allow other terminal devices to access the mobile terminal. When multiple terminal devices are detected to access the mobile terminal, multiple threads are allocated to multiple terminal devices, where each of the multiple terminal devices A terminal device corresponding to a single thread can be used to shut down an application that is running in the mobile terminal and belongs to the preset application list, and uses multiple threads to migrate the data to be migrated in the mobile terminal to multiple terminal devices. In this way, when a plurality of terminal devices access the mobile terminal, each terminal device is allocated a thread, and each thread is used to migrate the data to be migrated to the terminal device, thereby improving data migration efficiency.
与上述一致地,请参阅图4,为本发明实施例提供的一种数据迁移方法的第三实施例流程示意图。本实施例中所描述的数据迁移方法,包括以下步骤:With reference to FIG. 4, it is a schematic flowchart of a third embodiment of a data migration method according to an embodiment of the present invention. The data migration method described in this embodiment includes the following steps:
401、建立热点,以供其他终端设备接入移动终端。401. Establish a hot spot for other terminal devices to access the mobile terminal.
402、在检测到多个终端设备接入所述移动终端时,为所述多个终端设备分配所述多个线程,其中,所述多个终端设备中的每一终端设备对应唯一一个线程。402. When detecting that multiple terminal devices access the mobile terminal, allocate the multiple threads to the multiple terminal devices, where each terminal device of the multiple terminal devices corresponds to a unique thread.
403、采用所述多个线程将所述移动终端中的待迁移数据迁移至所述多个终端设备。403. Use the multiple threads to migrate data to be migrated in the mobile terminal to the multiple terminal devices.
其中,上述步骤401-步骤403可参照图2所描述的数据迁移方法的对应步骤201-步骤203。The
404、在所述多个线程中线程i完成迁移时,关闭所述线程i,其中,所述线程i为所述多个线程中的任一线程。404. When the thread i completes the migration in the multiple threads, shut down the thread i, where the thread i is any one of the multiple threads.
其中,对于多个线程来说,每个线程在用于将移动终端中的待迁移数据迁移到某一个终端设备中。由于不同的线程,其所在信道的带宽不一样,因而,迁移效率不一样,因此,可在某一线程完成迁移时,关闭掉该线程,如此,不 仅降低了移动终端的负荷,也提高了其他线程的迁移效率。For each thread, each thread is used to migrate data to be migrated in the mobile terminal to a certain terminal device. Because different threads have different bandwidths, the migration efficiency is different. Therefore, when a thread completes the migration, the thread is closed. So, no It only reduces the load on the mobile terminal and improves the migration efficiency of other threads.
可以看出,通过本发明实施例建立热点,以供其他终端设备接入移动终端,在检测到多个终端设备接入移动终端时,为多个终端设备分配多个线程,其中,多个终端设备中的每一终端设备对应唯一一个线程,采用多个线程将移动终端中的待迁移数据迁移至多个终端设备,在任一线程完成迁移时,可关闭该线程。如此,可在多个终端设备接入移动终端时,为每一终端设备分配一个线程,每一线程均用于将待迁移数据迁移至终端设备,因而,可提升数据迁移效率。在关闭了至少一个线程后,降低了移动终端的功耗,从而,可进一步提升数据迁移效率。It can be seen that the hotspot is established by the embodiment of the present invention, so that other terminal devices access the mobile terminal, and when multiple terminal devices are detected to access the mobile terminal, multiple threads are allocated to multiple terminal devices, where multiple terminals are Each terminal device in the device corresponds to a unique thread, and multiple threads are used to migrate the data to be migrated in the mobile terminal to multiple terminal devices. When any thread completes the migration, the thread can be closed. In this way, when a plurality of terminal devices access the mobile terminal, each terminal device is allocated a thread, and each thread is used to migrate the data to be migrated to the terminal device, thereby improving data migration efficiency. After at least one thread is closed, the power consumption of the mobile terminal is reduced, thereby further improving data migration efficiency.
与上述一致地,以下为实施上述数据迁移方法的装置,具体如下:Consistent with the above, the following is an apparatus for implementing the above data migration method, as follows:
请参阅图5a,为本发明实施例提供的一种数据迁移装置的实施例结构示意图。本实施例中所描述的数据迁移装置,包括:建立单元501、分配单元502和迁移单元503,具体如下:FIG. 5 is a schematic structural diagram of an embodiment of a data migration apparatus according to an embodiment of the present invention. The data migration apparatus described in this embodiment includes: an establishing
建立单元501,用于建立热点,以供其他终端设备接入移动终端;The establishing
分配单元502,用于在检测到多个终端设备接入所述移动终端时,为所述多个终端设备分配所述多个线程,其中,所述多个终端设备中的每一终端设备对应唯一一个线程;The allocating
迁移单元503,用于采用所述多个线程将所述移动终端中的待迁移数据迁移至所述多个终端设备。The
可选地,所述建立单元501具体用于:Optionally, the establishing
获取多个终端设备的设备标识,得到多个设备标识;根据所述多个设备标识建立热点,以供所述多个终端设备接入所述移动终端。Acquiring a device identifier of the multiple terminal devices to obtain a plurality of device identifiers; establishing a hotspot according to the plurality of device identifiers, where the multiple terminal devices access the mobile terminal.
可选地,所述建立单元501根据所述多个设备标识建立热点,以供所述多个终端设备接入所述移动终端的具体实现方式为:Optionally, the establishing
启动热点,并根据所述多个设备标识向所述多个终端设备发送入网请求,所述入网请求用于指示终端设备接入所述热点。The hotspot is activated, and the network access request is sent to the multiple terminal devices according to the multiple device identifiers, where the network access request is used to indicate that the terminal device accesses the hotspot.
可选地,如图5b,图5a中所描述的数据迁移装置的分配单元502可包括:第一确定模块5021和第一分配模块5022,具体如下:
Optionally, as shown in FIG. 5b, the
第一确定模块5021,用于确定所述多个终端设备中每一终端设备接入所述移动终端的信号强度,得到所述多个信号强度值;The first determining
所述第一确定模块5021,还用于:The first determining
根据所述多个信号强度值确定线程分配优先级;Determining a thread allocation priority according to the plurality of signal strength values;
第一分配模块5022,用于根据所述线程分配优先级为所述多个终端设备分配所述多个线程。The first allocating
可选地,如图5c,图5a中所描述的数据迁移装置的分配单元502可包括:第二确定模块5023和第二分配模块5024,具体如下:Optionally, the
第二确定模块5023,用于确定所述多个终端设备中每一终端设备与所述移动终端之间的距离,得到所述多个距离值;a second determining
所述第二确定模块5023,还用于:The second determining
根据所述多个距离值确定线程分配优先级;Determining a thread allocation priority according to the plurality of distance values;
第二分配模块5024,用于根据所述线程分配优先级为所述多个终端设备分配所述多个线程。The second allocating
可选地,如图5d,图5a中所描述的数据迁移装置的迁移单元503包括:第三确定模块5031和迁移模块5032,具体如下:Optionally, as shown in FIG. 5d, the
第三确定模块5031,用于确定所述移动终端中的待迁移数据,其中,所述待迁移数据包含K个数据集,所述K为大于1的整数;a third determining
所述第三确定模块5031还用于:The third determining
根据所述K个数据集的使用频率确定该K个数据集的迁移顺序;Determining a migration order of the K data sets according to a frequency of use of the K data sets;
迁移模块5032,用于采用所述多个线程和所述迁移顺序向所述多个终端设备迁移所述待迁移数据。The migrating
可选地,所述第三确定模块5031确定所述移动终端中的待迁移数据的具体实现方式为:Optionally, the third determining
展示数据列表,所述数据列表包含多个选项;确定被勾选的选项,将所述勾选的选项对应的数据作为所述待迁移数据。The data list is displayed, and the data list includes a plurality of options; the selected option is determined, and the data corresponding to the selected option is used as the data to be migrated.
可选地,如图5e,图5e为图5a的一种变型结构,图5a中所描述的数据迁移装置还包括:确定单元504、匹配单元505和第一关闭单元506,具体如下:
Optionally, as shown in FIG. 5e, FIG. 5e is a modified structure of FIG. 5a, and the data migration apparatus described in FIG. 5a further includes: a determining
确定单元504,用于在所述分配单元502为所述多个终端设备分配所述多个线程之后,确定所述移动终端中当前正在运行的N个应用,所述N为大于1的整数;a determining
匹配单元505,用于将所述N个应用与预设应用列表进行匹配;The
第一关闭单元506,用于若所述匹配单元505匹配出所述N个应用中包含M个应用存在于所述预设应用列表时,关闭所述M个应用,由所述迁移单元503采用所述多个线程将所述移动终端中的待迁移数据迁移至所述多个终端设备,其中,所述M为大于0且小于所述N的整数。The
可选地,如图5f,图5f为图5a的一种变型结构,图5a所描述的数据迁移装置还包括:第二关闭单元507,具体如下:Optionally, as shown in FIG. 5f, FIG. 5f is a modified structure of FIG. 5a, and the data migration apparatus described in FIG. 5a further includes: a
第二关闭单元507,用于在所述迁移单元503采用所述多个线程将所述移动终端中的待迁移数据迁移至所述多个终端设备之后且所述多个线程中线程i完成迁移时,关闭所述线程i,其中,所述线程i为所述多个线程中的任一线程。a
可以看出,通过本发明实施例所描述的数据迁移装置,可建立热点,以供其他终端设备接入移动终端,在检测到多个终端设备接入移动终端时,为多个终端设备分配多个线程,其中,多个终端设备中的每一终端设备对应唯一一个线程,采用多个线程将移动终端中的待迁移数据迁移至多个终端设备。如此,可在多个终端设备接入移动终端时,为每一终端设备分配一个线程,每一线程均用于将待迁移数据迁移至终端设备,因而,可提升数据迁移效率。It can be seen that, by using the data migration device described in the embodiment of the present invention, a hot spot can be established for other terminal devices to access the mobile terminal, and when multiple terminal devices are detected to access the mobile terminal, multiple terminal devices are allocated. Threads, wherein each of the plurality of terminal devices corresponds to a single thread, and the plurality of threads are used to migrate the data to be migrated in the mobile terminal to the plurality of terminal devices. In this way, when a plurality of terminal devices access the mobile terminal, each terminal device is allocated a thread, and each thread is used to migrate the data to be migrated to the terminal device, thereby improving data migration efficiency.
可以理解的是,上述本实施例的数据迁移装置的各程序模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It is to be understood that the functions of the program modules of the data migration apparatus of the foregoing embodiment may be specifically implemented according to the method in the foregoing method embodiments, and the specific implementation process may refer to the related description of the foregoing method embodiments, and details are not described herein again. .
需要注意的是,本发明装置实施例所描述的数据迁移装置是以功能单元的形式呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。It should be noted that the data migration device described in the device embodiment of the present invention is presented in the form of a functional unit. The term "unit" as used herein shall be understood to mean the broadest possible meaning, and the object for implementing the functions described for each "unit" may be, for example, an integrated circuit ASIC, a single circuit for executing one or more software or firmware. A processor (shared, dedicated or chipset) and memory of the program, combinatorial logic, and/or other suitable components that perform the functions described above.
举例来说,上述建立单元501,用于建立热点,以供其他终端设备接入移
动终端的功能可以由图6所示的移动终端来实现,具体可以通过处理器3000通过调用存储器4000中的可执行程序代码,实现建立热点,以供其他终端设备接入移动终端。For example, the foregoing establishing
请参阅图6,为本发明实施例提供的一种移动终端的实施例结构示意图。本实施例中所描述的移动终端,包括:至少一个输入设备1000;至少一个输出设备2000;至少一个处理器3000,例如CPU;和存储器4000,上述输入设备1000、输出设备2000、处理器3000和存储器4000通过总线5000连接。FIG. 6 is a schematic structural diagram of an embodiment of a mobile terminal according to an embodiment of the present invention. The mobile terminal described in this embodiment includes: at least one
其中,上述输入设备1000具体可为触控面板、物理按键或者鼠标。The
上述输出设备2000具体可为显示屏。The
上述存储器4000可以是高速RAM存储器,也可为非易失存储器(non-volatile memory),例如磁盘存储器。上述存储器4000用于存储一组程序代码,上述输入设备1000、输出设备2000和处理器3000用于调用存储器4000中存储的程序代码,执行如下操作:The
上述处理器3000,用于:The
建立热点,以供其他终端设备接入移动终端;Establishing a hot spot for other terminal devices to access the mobile terminal;
在检测到多个终端设备接入所述移动终端时,为所述多个终端设备分配所述多个线程,其中,所述多个终端设备中的每一终端设备对应唯一一个线程;When detecting that a plurality of terminal devices access the mobile terminal, allocating the plurality of threads to the plurality of terminal devices, wherein each of the plurality of terminal devices corresponds to a single thread;
采用所述多个线程将所述移动终端中的待迁移数据迁移至所述多个终端设备。And using the multiple threads to migrate data to be migrated in the mobile terminal to the multiple terminal devices.
可选地,上述处理器3000为所述多个终端设备分配所述多个线程,包括:Optionally, the foregoing
确定所述多个终端设备中每一终端设备接入所述移动终端的信号强度,得到所述多个信号强度值;Determining a signal strength of each of the plurality of terminal devices to access the mobile terminal, to obtain the multiple signal strength values;
根据所述多个信号强度值确定线程分配优先级;Determining a thread allocation priority according to the plurality of signal strength values;
根据所述线程分配优先级为所述多个终端设备分配所述多个线程。Allocating the plurality of threads to the plurality of terminal devices according to the thread allocation priority.
可选地,上述处理器3000为所述多个终端设备分配所述多个线程,包括:Optionally, the foregoing
确定所述多个终端设备中每一终端设备与所述移动终端之间的距离,得到所述多个距离值;Determining a distance between each of the plurality of terminal devices and the mobile terminal, to obtain the plurality of distance values;
根据所述多个距离值确定线程分配优先级; Determining a thread allocation priority according to the plurality of distance values;
根据所述线程分配优先级为所述多个终端设备分配所述多个线程。Allocating the plurality of threads to the plurality of terminal devices according to the thread allocation priority.
可选地,上述处理器3000采用所述多个线程将所述移动终端中的待迁移数据迁移至所述多个终端设备,包括:Optionally, the
确定所述移动终端中的待迁移数据,其中,所述待迁移数据包含K个数据集,所述K为大于1的整数;Determining data to be migrated in the mobile terminal, where the data to be migrated includes K data sets, and the K is an integer greater than 1;
根据所述K个数据集的使用频率确定该K个数据集的迁移顺序;Determining a migration order of the K data sets according to a frequency of use of the K data sets;
采用所述多个线程和所述迁移顺序向所述多个终端设备迁移所述待迁移数据。And migrating the data to be migrated to the plurality of terminal devices by using the multiple threads and the migration sequence.
可选地,上述处理器3000确定所述移动终端中的待迁移数据,包括:Optionally, the foregoing determining, by the
展示数据列表,所述数据列表包含多个选项;Showing a list of data, the list of data comprising a plurality of options;
确定被勾选的选项,将所述勾选的选项对应的数据作为所述待迁移数据。The selected option is determined, and the data corresponding to the selected option is used as the data to be migrated.
可选地,上述处理器3000建立热点,以供其他终端设备接入移动终端,包括:Optionally, the foregoing
获取多个终端设备的设备标识,得到多个设备标识;Obtaining device identifiers of multiple terminal devices, and obtaining multiple device identifiers;
根据所述多个设备标识建立热点,以供所述多个终端设备接入所述移动终端。Establishing a hot spot according to the plurality of device identifiers, so that the plurality of terminal devices access the mobile terminal.
可选地,上述处理器3000根据所述多个设备标识建立热点,以供所述多个终端设备接入所述移动终端,包括:Optionally, the
启动热点,并根据所述多个设备标识向所述多个终端设备发送入网请求,所述入网请求用于指示终端设备接入所述热点。The hotspot is activated, and the network access request is sent to the multiple terminal devices according to the multiple device identifiers, where the network access request is used to indicate that the terminal device accesses the hotspot.
可选地,上述处理器3000,在所述为所述多个终端设备分配所述多个线程之后,以及所述采用所述多个线程将所述移动终端中的待迁移数据迁移至所述多个终端设备之前,还具体用于:Optionally, the
确定所述移动终端中当前正在运行的N个应用,所述N为大于1的整数;Determining N applications currently running in the mobile terminal, where N is an integer greater than one;
将所述N个应用与预设应用列表进行匹配;Matching the N applications with a preset application list;
若匹配出所述N个应用中包含M个应用存在于所述预设应用列表时,关闭所述M个应用,执行所述采用所述多个线程将所述移动终端中的待迁移数据迁移至所述多个终端设备,其中,所述M为大于0且小于所述N的整数。If the M applications are included in the preset application list, the M applications are closed, and the data to be migrated in the mobile terminal is migrated by using the multiple threads. To the plurality of terminal devices, wherein the M is an integer greater than 0 and less than the N.
可选地,上述处理器3000采用所述多个线程将所述移动终端中的待迁移
数据迁移至所述多个终端设备之后,还具体用于:Optionally, the
在所述多个线程中线程i完成迁移时,关闭所述线程i,其中,所述线程i为所述多个线程中的任一线程。When the thread i completes the migration in the plurality of threads, the thread i is closed, wherein the thread i is any one of the plurality of threads.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种数据迁移方法的部分或全部步骤。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of any one of the data migration methods described in the foregoing method embodiments.
本发明实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种数据迁移方法的部分或全部步骤。Embodiments of the present invention also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the operations as recited in the above method embodiments Any or all of the steps of any data migration method.
尽管在此结合各实施例对本发明进行了描述,然而,在实施所要求保护的本发明过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present invention has been described herein in connection with the embodiments of the present invention, it will be understood by those skilled in the <RTIgt; Other variations of the disclosed embodiments are achieved. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill several of the functions recited in the claims. Certain measures are recited in mutually different dependent claims, but this does not mean that the measures are not combined to produce a good effect.
本领域技术人员应明白,本发明的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机程序存储/分布在合适的介质中,与其它硬件一起提供或作为硬件的一部分,也可以采用其他分布形式,如通过Internet或其它有线或无线电信系统。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code. The computer program is stored/distributed in a suitable medium, provided with other hardware or as part of the hardware, or in other distributed forms, such as over the Internet or other wired or wireless telecommunication systems.
本发明是参照本发明实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或 其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of the methods, apparatus, and computer program products of the embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a general purpose computer, a special purpose computer, an embedded processor or Processors of other programmable data processing devices to produce a machine such that instructions executed by a processor of a computer or other programmable data processing device are generated for implementing a block in a flow or a flow and/or block diagram of the flowchart Or a device with a function specified in multiple boxes.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管结合具体特征及其实施例对本发明进行了描述,显而易见的,在不脱离本发明的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本发明的示例性说明,且视为已覆盖本发明范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 While the invention has been described with respect to the specific embodiments and embodiments thereof, various modifications and combinations may be made without departing from the spirit and scope of the invention. Accordingly, the specification and drawings are to be construed as the It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention
Claims (20)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610826597.4A CN106304410A (en) | 2016-09-14 | 2016-09-14 | A data migration method and mobile terminal |
| CN201610826597.4 | 2016-09-14 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018049941A1 true WO2018049941A1 (en) | 2018-03-22 |
Family
ID=57711968
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/095316 Ceased WO2018049941A1 (en) | 2016-09-14 | 2017-07-31 | Data migration method and related product |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106304410A (en) |
| WO (1) | WO2018049941A1 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106304410A (en) * | 2016-09-14 | 2017-01-04 | 广东欧珀移动通信有限公司 | A data migration method and mobile terminal |
| CN109241027B (en) * | 2018-07-23 | 2023-11-07 | 平安科技(深圳)有限公司 | Data migration method, device, electronic equipment and computer readable storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102546801A (en) * | 2012-01-09 | 2012-07-04 | 北京风灵创景科技有限公司 | Ambient-equipment-list-based mobile terminal matching method and system |
| CN104702635A (en) * | 2013-12-04 | 2015-06-10 | 腾讯科技(深圳)有限公司 | Method and device for transferring file through browser |
| CN104754491A (en) * | 2013-12-26 | 2015-07-01 | 索尼公司 | Mobile terminal and method for realizing cooperative transmission between mobile terminals |
| US20150215974A1 (en) * | 2012-02-15 | 2015-07-30 | Bright House Networks, Llc | Integrating a mobile hotspot into a larger network environment |
| CN106304410A (en) * | 2016-09-14 | 2017-01-04 | 广东欧珀移动通信有限公司 | A data migration method and mobile terminal |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101262367A (en) * | 2008-03-07 | 2008-09-10 | 中兴通讯股份有限公司 | Method and device for collecting performance data |
| US8849303B2 (en) * | 2012-04-23 | 2014-09-30 | Apple Inc. | Apparatus and method for determining a wireless device's location after shutdown |
| CN104158908B (en) * | 2014-08-29 | 2017-11-17 | 北京奇虎科技有限公司 | Method and system based on WiFi equipment transmission file |
| CN104243586B (en) * | 2014-09-18 | 2019-02-01 | 北京奇虎科技有限公司 | Content sharing method, content sharing apparatus and content shared device |
| CN105791254B (en) * | 2014-12-26 | 2020-01-03 | 阿里巴巴集团控股有限公司 | Network request processing method and device and terminal |
| CN104699504A (en) * | 2015-03-03 | 2015-06-10 | 惠州Tcl移动通信有限公司 | Method and system for upgrading of batch software of terminal device |
| CN105828301A (en) * | 2016-04-29 | 2016-08-03 | 上海斐讯数据通信技术有限公司 | WiFi-Direct based groupware system |
-
2016
- 2016-09-14 CN CN201610826597.4A patent/CN106304410A/en active Pending
-
2017
- 2017-07-31 WO PCT/CN2017/095316 patent/WO2018049941A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102546801A (en) * | 2012-01-09 | 2012-07-04 | 北京风灵创景科技有限公司 | Ambient-equipment-list-based mobile terminal matching method and system |
| US20150215974A1 (en) * | 2012-02-15 | 2015-07-30 | Bright House Networks, Llc | Integrating a mobile hotspot into a larger network environment |
| CN104702635A (en) * | 2013-12-04 | 2015-06-10 | 腾讯科技(深圳)有限公司 | Method and device for transferring file through browser |
| CN104754491A (en) * | 2013-12-26 | 2015-07-01 | 索尼公司 | Mobile terminal and method for realizing cooperative transmission between mobile terminals |
| CN106304410A (en) * | 2016-09-14 | 2017-01-04 | 广东欧珀移动通信有限公司 | A data migration method and mobile terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106304410A (en) | 2017-01-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11429439B2 (en) | Task scheduling based on performance control conditions for multiple processing units | |
| US10798765B2 (en) | Method using a time point for sharing data between electronic devices based on situation information | |
| US10158967B2 (en) | Electronic device and method for providing function in electronic device | |
| US20160018990A1 (en) | Electronic device and method for managing memory of electronic device | |
| WO2018049933A1 (en) | Data migration method and related product | |
| US20160191694A1 (en) | Method and apparatus for providing communication-related information | |
| US11030143B2 (en) | System for sharing content between electronic devices, and content sharing method for electronic device | |
| KR102250791B1 (en) | Method for managing network access and the eletronic device therefor | |
| EP3409073B1 (en) | Method and electronic device for providing tethering service | |
| WO2019228344A1 (en) | Resource configuration method and apparatus, and terminal and storage medium | |
| US10999501B2 (en) | Electronic device and method for controlling display of panorama image | |
| US10466856B2 (en) | Electronic device having two displays and a method for executing a different application on each display of the electronic device based on simultaneous inputs into a plurality of application icons | |
| CN106375465A (en) | A data migration method and server | |
| WO2018049932A1 (en) | Data migration method and related product | |
| WO2018103405A1 (en) | Method for identifying access point and hotspot, and related product | |
| KR102586628B1 (en) | Electronic Device AND Memory Management Method Thereof | |
| CN110825492A (en) | Secure data memory isolation method, device, device, storage medium | |
| US10042856B2 (en) | Method and electronic device for processing data | |
| CN106383731B (en) | Data migration method and mobile terminal | |
| US10122958B2 (en) | Method for recording execution screen and electronic device for processing the same | |
| US10360375B2 (en) | Electronic device for executing application and method of controlling same | |
| WO2018049941A1 (en) | Data migration method and related product | |
| US10643252B2 (en) | Banner display method of electronic device and electronic device thereof | |
| KR20160059252A (en) | Method and electronic device for processing intent | |
| CN106576329B (en) | Context-based resource access mediation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17850143 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17850143 Country of ref document: EP Kind code of ref document: A1 |