WO2018049910A1 - Data migration method and related products - Google Patents

Data migration method and related products Download PDF

Info

Publication number
WO2018049910A1
WO2018049910A1 PCT/CN2017/093446 CN2017093446W WO2018049910A1 WO 2018049910 A1 WO2018049910 A1 WO 2018049910A1 CN 2017093446 W CN2017093446 W CN 2017093446W WO 2018049910 A1 WO2018049910 A1 WO 2018049910A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
data
mobile terminal
terminal devices
terminal device
Prior art date
Application number
PCT/CN2017/093446
Other languages
French (fr)
Chinese (zh)
Inventor
马志峰
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2018049910A1 publication Critical patent/WO2018049910A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/108Resource delivery mechanisms characterised by resources being split in blocks or fragments

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a data migration method and related products.
  • mobile terminals such as mobile phones, tablets, etc.
  • mobile terminals are being updated more and more frequently.
  • 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.
  • 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:
  • the terminal device i After detecting that the terminal device i receives the target data set corresponding thereto, assigning the terminal device i to another data set different from the target data set, and instructing the terminal device i to The target data set is copied to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of terminal devices.
  • a second aspect of the embodiments of the present invention provides a data migration apparatus, including:
  • a connecting unit configured to establish a communication connection between the mobile terminal and the plurality of terminal devices
  • a dividing unit configured to divide data to be migrated in the mobile terminal into the plurality of data sets, and allocate the plurality of data sets to the plurality of terminal devices, each data set corresponding to a single terminal device;
  • a migration unit configured to migrate the plurality of data sets to the plurality of terminal devices according to the result of the allocating
  • a processing unit configured to allocate, to the terminal device i, another data set different from the target data set to the terminal device i when detecting that the terminal device i receives the target data set corresponding thereto, and indicate the location
  • the terminal device i copies the target data set to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of terminal devices.
  • 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.
  • an embodiment of the present invention provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the implementation of the present invention.
  • 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 structural diagram of a first embodiment of a data migration apparatus according to an embodiment of the present invention.
  • FIG. 4b is a schematic structural diagram of a connection unit of the data migration apparatus described in FIG. 4a according to an embodiment of the present invention
  • FIG. 4c is a schematic structural diagram of a dividing unit of the data migration apparatus described in FIG. 4a according to an embodiment of the present invention
  • FIG. 4d is a schematic structural diagram of a first dividing module of the dividing unit described in FIG. 4c according to an embodiment of the present disclosure
  • FIG. 4e is another schematic structural diagram of a dividing unit of the data migration apparatus described in FIG. 4a according to an embodiment of the present invention
  • FIG. 4f is still another schematic structural diagram of the data migration apparatus described in FIG. 4a according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of a second embodiment of a mobile terminal according to an embodiment of the present invention.
  • 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 implementations that are mutually exclusive. example. 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 are only examples, not exhaustive, including but not limited to the above data.
  • the data transmission channel described in the embodiments of the present invention may include, but is not limited to, hotspot, Bluetooth, infrared, Wireless Fidelity (Wi-Fi), wired, etc., specifically, the hotspot is activated at the mobile terminal, and the terminal device is connected.
  • the mobile terminal can establish a data transmission channel between the two; when the mobile terminal starts Bluetooth, the terminal device connects to the mobile terminal, and a data transmission channel can be established between the two; the infrared terminal is activated at the mobile terminal, and the terminal device is connected to the mobile terminal, A data transmission channel can be established between the two; a certain Wi-Fi is connected to the mobile terminal, and the terminal device is indirectly connected to the mobile terminal, and a data transmission channel can be established between the two; the cable is performed between the mobile terminal and the terminal device by wire Connection, a data transmission channel can be established between the two.
  • 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 Wi-Fi network, a mobile communication network (such as 2G, 3G, 4G, 5G, etc.) and a wired network.
  • the mobile terminal may establish a communication connection between the mobile terminal and the plurality of terminal devices, divide the data to be migrated in the mobile terminal into multiple data sets, and allocate the plurality of data sets to the plurality of terminal devices, respectively.
  • the data set corresponds to a single terminal device, and the plurality of data sets are migrated to the plurality of terminal devices according to the result of the allocation.
  • the terminal device i detects that the target data set corresponding to the terminal device i is received, the terminal device i allocates multiple data sets to the terminal device i. Different from another data set of the target data set, And instructing the terminal device i to copy the target data set to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of 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 communication connection between the mobile terminal and the plurality of terminal devices by using the at least one data transmission channel.
  • step 201 not only a communication connection between the mobile terminal and the terminal device but also a communication connection between the terminal device and the terminal device can be established.
  • the establishing the communication connection between the mobile terminal and the plurality of terminal devices may include the following steps:
  • the preset channel is a Bluetooth channel, an infrared channel, or a wired At least one of the channels.
  • the mobile terminal can serve as a hot spot for other terminal devices to connect to the mobile terminal.
  • the mobile terminal may instruct the other terminal device to activate the preset channel, where the preset channel is at least one of the foregoing data transmission channels, for example, a Bluetooth channel, an infrared channel or a wired channel.
  • establishing a communication connection between the mobile terminal and the plurality of terminal devices may also be implemented as follows:
  • the mobile terminal may send a group request to the terminal device that needs to migrate data, where the group request is used to indicate that the terminal device responds to the group request, and the terminal device responds to the group request after receiving the group request. Further, a group established by the group request can be added, and further, through the group, a communication connection is established between the mobile terminal and a plurality of terminal devices.
  • the data to be migrated in the mobile terminal is divided into the multiple data sets, and the multiple data sets are respectively allocated to the multiple terminal devices, and each data set corresponds to a single terminal device.
  • dividing the data to be migrated in the mobile terminal into the multiple data sets may include the following steps:
  • determining the plurality of weight values according to the plurality of signal strength values may be processed as follows:
  • the signal strength value is usually a decimal number, not an integer, this is not conducive to calculation.
  • the signal strength values are small, the data transmission rate is also affected. Therefore, multiple signal strength values can be performed.
  • Quantization processing on the one hand, is convenient for calculation. On the other hand, it can also improve data distribution efficiency. Quantization processing can be rounded or the like, or it can be based on the preset signal strength value and the quantized signal strength. Corresponding relationship between values, according to which, a plurality of signal strength values may be quantized to obtain a plurality of quantized signal intensity values, and then weight calculations are performed according to the quantized signal intensity values (see the details of steps 21-23 above). Description), get multiple weight values.
  • step 23 the data to be migrated in the mobile terminal is divided into the multiple data sets according to the multiple weight values, including:
  • the data to be migrated is divided according to the multiple memory values to obtain the multiple data sets.
  • the mobile terminal can determine the memory size of the data to be migrated, and divide the memory size into multiple memory values according to the multiple weight values, and divide the data to be migrated according to the memory value to obtain multiple data sets.
  • dividing the data to be migrated in the mobile terminal into the multiple data sets may include the following steps:
  • Step 24 may determine a distance between each terminal device and the mobile terminal by using an infrared ranging or indoor positioning technology, and determine the multiple weight values according to the multiple distance values, and the mobile terminal is determined according to the multiple weight values.
  • the data to be migrated in is divided into multiple data sets.
  • multiple data sets may be migrated to multiple terminal devices by using multiple threads or multiple processes, where each data set may correspond to one process in the process of migrating to a certain terminal device, thereby improving data migration efficiency.
  • the terminal device i When detecting that the terminal device i receives the target data set corresponding thereto, assigning, to the terminal device i, another data set different from the target data set, and indicating the terminal device i copies the target data set to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of terminal devices.
  • the terminal device i and the terminal device j are any two of the plurality of terminal devices, and a communication connection can be established between the terminal device i and the terminal device j.
  • the communication connection between the mobile terminal and the multiple terminal devices is established by the embodiment of the present invention
  • the data to be migrated in the mobile terminal is divided into multiple data sets, and the multiple data sets are respectively allocated to multiple terminals.
  • a device each data set corresponding to a single terminal device, migrating multiple data sets to a plurality of terminal devices according to the allocated result, and detecting that the terminal device i receives the corresponding target data set And assigning, to the terminal device i, another data set different from the target data set, and instructing the terminal device to copy the target data set to the terminal device j, where the terminal device i and the terminal device j are multiple Any two of the terminal devices.
  • the data to be migrated can be divided into a plurality of data sets and transmitted to each terminal device respectively.
  • the mobile terminal i After receiving the data set by any terminal device, the mobile terminal i is instructed to send the data set to other terminal devices, and The mobile terminal sends another data set, thus improving data migration efficiency.
  • the mobile terminal can not only transmit data to multiple terminal devices, but the mobile terminal can also indicate that data transmission between the multiple terminal devices can also be implemented, thereby further improving data transmission efficiency.
  • Each terminal device can initiate at least one data transmission channel for establishing a communication connection with other terminal devices.
  • FIG. 3 it is a schematic flowchart of a second 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:
  • 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 general applications, such as a photo application, a shopping application, etc., usually, N Is an integer greater than 1.
  • 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 preset in the mobile terminal, and the preset application list is At least one conventional application can be included.
  • 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, where the M is an integer greater than 0 and smaller than the N.
  • the M applications may be closed, where the M is greater than 0 and less than N.
  • the integer 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 plurality of data sets are migrated to the plurality of terminal devices according to the result of the allocating.
  • the terminal device i when detecting that the terminal device i receives the target data set corresponding thereto, assigning, to the terminal device i, another data set different from the target data set, and indicating the terminal device i
  • the target data set is copied to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of terminal devices.
  • the data to be migrated can be divided into multiple data sets, and the application that is running in the mobile terminal and belongs to the preset application list can be closed, and multiple data sets are respectively transmitted to each terminal.
  • the device after receiving the data set by any terminal device, instructs the mobile terminal i to send the data set to the other terminal device, and sends another data set to the mobile terminal, thereby improving data migration efficiency. It can reduce the load of mobile terminals and improve data migration efficiency.
  • FIG. 4 is a schematic structural diagram of a first embodiment of a data migration apparatus according to an embodiment of the present invention.
  • the data migration apparatus described in this embodiment includes: a connection unit 401, a division unit 402, a migration unit 403, and a processing unit 404, as follows:
  • the connecting unit 401 is configured to establish a communication connection between the mobile terminal and the plurality of terminal devices;
  • the dividing unit 402 is configured to divide the data to be migrated in the mobile terminal into the plurality of data sets, and respectively allocate the multiple data sets to the multiple terminal devices, where each data set corresponds to a unique one Terminal Equipment;
  • a migration unit 403 configured to migrate the multiple data sets to the multiple terminal devices according to the result of the allocating
  • the processing unit 404 is configured to allocate, to the terminal device i, another data set different from the target data set to the terminal device i when detecting that the terminal device i receives the target data set corresponding thereto, and indicate The terminal device i copies the target data set to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of terminal devices.
  • the connecting unit 401 is specifically configured to:
  • connection unit 401 of the data migration device described in FIG. 4a may include: an establishing module 4011 and a connection module 4012, as follows:
  • connection module 4012 configured to establish, by using the hotspot, a communication connection between the mobile terminal and the plurality of terminal devices
  • the establishing module 4011 is further configured to:
  • the dividing unit 402 of the data migration apparatus described in FIG. 4c and FIG. 4a may include: a first determining module 4021 and a first dividing module 4022, as follows:
  • the first determining module 4021 is configured to determine a signal strength of each of the plurality of terminal devices to access the mobile terminal, to obtain the multiple signal strength values;
  • the first determining module 4021 is further configured to:
  • a first dividing module 4022 configured to: in the data migration device according to the multiple weight values The data to be migrated is divided into the plurality of data sets.
  • the first determining module 4021 determines, according to the multiple signal strength values, a specific implementation manner of the multiple weight values:
  • Module 503 is as follows:
  • a memory determining module 501 configured to determine a memory size of the data to be migrated
  • the memory dividing module 502 is configured to divide the memory size into multiple memory values according to the multiple weight values
  • the data dividing module 503 is configured to divide the data to be migrated according to the multiple memory values to obtain the multiple data sets.
  • the dividing unit 402 of the data migration device as described in FIG. 4e and FIG. 4a may include: a second determining module 4023 and a second dividing module 4024, as follows:
  • a second determining module 4023 configured to determine a distance between each of the plurality of terminal devices that accesses the mobile terminal, to obtain the multiple distance values
  • the second dividing module 4024 is configured to divide the data to be migrated in the mobile terminal into the multiple data sets according to the multiple distance values.
  • the second determining module 4023 is specifically configured to:
  • the distance between each of the plurality of terminal devices accessing the mobile terminal is determined by an infrared ranging or indoor positioning technology, and the plurality of distance values are obtained.
  • FIG. 4f is a modified structure of FIG. 4a, and the data migration apparatus described in FIG. 4a further includes: a determining unit 405, a matching unit 406, and a closing unit 407, as follows:
  • a determining unit 405, configured to determine, after the dividing unit 402 separately allocates the multiple data sets to the multiple terminal devices, N applications currently running in the mobile terminal, where N is greater than 1 Integer
  • the matching unit 406 is configured to match the N applications with the preset application list.
  • the closing unit 407 is configured to: if the M applications are included in the N applications, When the application list is preset, the M applications are closed, and the migration unit 403 migrates the multiple data sets to the multiple terminal devices according to the result of the allocation, where the M is greater than 0 and An integer less than the N.
  • the mobile terminal described in the embodiment of the present invention can establish a communication connection between the mobile terminal and the plurality of terminal devices, divide the data to be migrated in the mobile terminal into multiple data sets, and allocate multiple data sets to the multiple data sets respectively.
  • a terminal device each data set corresponding to a single terminal device, migrating multiple data sets to a plurality of terminal devices according to the result of the allocation, and detecting that the terminal device i receives the target data set corresponding thereto, to the terminal device i assigning a plurality of data sets to another data set different from the target data set, and instructing the terminal device to copy the target data set to the terminal device j, wherein the terminal device i and the terminal device j are any of the plurality of terminal devices Two. Therefore, the data to be migrated can be divided into multiple data sets and transmitted to each terminal device respectively. After receiving the data set, the terminal device instructs the mobile terminal to send the data set to other terminal devices, and The mobile terminal sends another data set, thus improving data migration efficiency.
  • the mobile terminal 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.
  • connection unit 401 for establishing a communication connection between the mobile terminal and the plurality of terminal devices may be implemented by the mobile terminal shown in FIG. 5, and may be specifically called by the processor 3000 by calling the memory 4000.
  • the executable program code establishes a communication connection between the mobile terminal and the plurality of terminal devices.
  • FIG. 5 is a schematic structural diagram of a second 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 above input
  • the incoming device 1000, the output device 2000, the processor 3000, and the memory 4000 are 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 terminal device i After detecting that the terminal device i receives the target data set corresponding thereto, assigning the terminal device i to another data set different from the target data set, and instructing the terminal device i to The target data set is copied to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of terminal devices.
  • the foregoing processor 3000 establishes a communication connection between the mobile terminal and the plurality of terminal devices, including:
  • the foregoing processor 3000 establishes a communication connection between the mobile terminal and the plurality of terminal devices, including:
  • the foregoing processor 3000 divides the data to be migrated in the mobile terminal into the multiple data sets, including:
  • the foregoing processor 3000 determines the multiple weight values according to the multiple signal strength values, including:
  • the plurality of weight values are determined based on the plurality of quantized signal strength value pairs.
  • the processor 3000 is configured to divide the data to be migrated in the mobile terminal into the multiple data sets according to the multiple weight values, including:
  • the foregoing processor 3000 divides the data to be migrated in the mobile terminal into the multiple data sets, including:
  • the processor 3000 determines a distance between each of the plurality of terminal devices to access the mobile terminal, and obtains the multiple distance values, including:
  • the distance between each of the plurality of terminal devices accessing the mobile terminal is determined by an infrared ranging or indoor positioning technology, and the plurality of distance values are obtained.
  • the processor 3000 after the allocating the plurality of data sets to the plurality of terminal devices, and the migrating the plurality of data sets to the Before using multiple terminal devices, it is also used to:
  • N is an integer greater than one
  • the M applications that are included in the N applications are found in the preset application list, the M applications are closed, and the performing, by performing the allocation, the multiple data sets are migrated to the a plurality of terminal devices, wherein the M is an integer greater than 0 and less than the N.
  • 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.
  • 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.

Abstract

Embodiments of the present invention provide a data migration method, comprising: establishing a communication connection between a mobile terminal and a plurality of terminal devices; dividing to-be-migrated data in the mobile terminal into a plurality of data sets, and distributing the plurality of data sets to the plurality of terminal devices respectively, each data set corresponding to a unique terminal device; migrating the plurality of data sets to the plurality of terminal devices according to the distribution result; and when it is detected that a terminal device i receives a target data set corresponding thereto, distributing another data set in the plurality of data sets other than the target data set to the terminal device i, and instructing the terminal device i to copy the target data set to a terminal device j, the terminal device i and the terminal device j being any two of the plurality of terminal devices. Embodiments of the present invention also provide a mobile terminal. The embodiments of the present invention can improve data migration efficiency.

Description

数据迁移方法及相关产品Data migration method and related products
本发明要求2016年9月14日递交的发明名称为“一种数据迁移方法及移动终端”的申请号201610825133.1的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。The present invention claims the priority of the prior application of the application No. 201610825133.1, entitled "A Data Migration Method and Mobile Terminal", filed on September 14, 2016, the contents of which are incorporated herein by reference. .
技术领域Technical field
本发明涉及互联网技术领域,具体涉及一种数据迁移方法及相关产品。The present invention relates to the field of Internet technologies, and in particular, to a data migration method and related products.
背景技术Background technique
随着信息技术快速发展,移动终端(如手机、平板电脑等等)更新换代越来越频繁。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 communication connection between the mobile terminal and the plurality of terminal devices;
将所述移动终端中的待迁移数据分为所述多个数据集,并将所述多个数据集分别分配给所述多个终端设备,每一数据集对应唯一一个终端设备;Divide the data to be migrated in the mobile terminal into the plurality of data sets, and allocate the plurality of data sets to the plurality of terminal devices, each data set corresponding to a single terminal device;
按照所述分配的结果将所述多个数据集迁移给所述多个终端设备;And migrating the plurality of data sets to the plurality of terminal devices according to the result of the allocating;
在检测到终端设备i接收完与之对应的目标数据集时,向所述终端设备i分配所述多个数据集中不同于该目标数据集的另一数据集,并指示所述终端设备i将该目标数据集复制给终端设备j,其中,所述终端设备i和所述终端设备j为所述多个终端设备中的任意两个。 After detecting that the terminal device i receives the target data set corresponding thereto, assigning the terminal device i to another data set different from the target data set, and instructing the terminal device i to The target data set is copied to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of terminal devices.
本发明实施例第二方面提供了一种数据迁移装置,包括:A second aspect of the embodiments of the present invention provides a data migration apparatus, including:
连接单元,用于建立移动终端及多个终端设备之间的通信连接;a connecting unit, configured to establish a communication connection between the mobile terminal and the plurality of terminal devices;
划分单元,用于将所述移动终端中的待迁移数据分为所述多个数据集,并将所述多个数据集分别分配给所述多个终端设备,每一数据集对应唯一一个终端设备;a dividing unit, configured to divide data to be migrated in the mobile terminal into the plurality of data sets, and allocate the plurality of data sets to the plurality of terminal devices, each data set corresponding to a single terminal device;
迁移单元,用于按照所述分配的结果将所述多个数据集迁移给所述多个终端设备;a migration unit, configured to migrate the plurality of data sets to the plurality of terminal devices according to the result of the allocating;
处理单元,用于在检测到终端设备i接收完与之对应的目标数据集时,向所述终端设备i分配所述多个数据集中不同于该目标数据集的另一数据集,并指示所述终端设备i将该目标数据集复制给终端设备j,其中,所述终端设备i和所述终端设备j为所述多个终端设备中的任意两个。a processing unit, configured to allocate, to the terminal device i, another data set different from the target data set to the terminal device i when detecting that the terminal device i receives the target data set corresponding thereto, and indicate the location The terminal device i copies the target data set to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of terminal devices.
本发明实施例第三方面提供了一种移动终端,包括: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 stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the implementation of the present invention. Some or all of the steps described in the first aspect.
第五方面,本发明实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本发明实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。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.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。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;
图4a是本发明实施例提供的一种数据迁移装置的第一实施例结构示意图;FIG. 4 is a schematic structural diagram of a first embodiment of a data migration apparatus according to an embodiment of the present invention; FIG.
图4b是本发明实施例提供的图4a所描述的数据迁移装置的连接单元的结构示意图;4b is a schematic structural diagram of a connection unit of the data migration apparatus described in FIG. 4a according to an embodiment of the present invention;
图4c是本发明实施例提供的图4a所描述的数据迁移装置的划分单元的结构示意图;4c is a schematic structural diagram of a dividing unit of the data migration apparatus described in FIG. 4a according to an embodiment of the present invention;
图4d是本发明实施例提供的图4c所描述的划分单元的第一划分模块的结构示意图;4d is a schematic structural diagram of a first dividing module of the dividing unit described in FIG. 4c according to an embodiment of the present disclosure;
图4e是本发明实施例提供的图4a所描述的数据迁移装置的划分单元的又一结构示意图;4e is another schematic structural diagram of a dividing unit of the data migration apparatus described in FIG. 4a according to an embodiment of the present invention;
图4f是本发明实施例提供的图4a所描述的数据迁移装置的又一结构示意图;FIG. 4f is still another schematic structural diagram of the data migration apparatus described in FIG. 4a according to an embodiment of the present disclosure;
图5是本发明实施例提供的一种移动终端的第二实施例结构示意图。FIG. 5 is a schematic structural diagram of a second embodiment of a mobile terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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 implementations that are mutually exclusive. example. 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 are only examples, not exhaustive, including but not limited to the above data.
本发明实施例所描述的数据传输通道可包括但不仅限于:热点、蓝牙、红外、无线保真(Wireless Fidelity,Wi-Fi)、有线等等,具体地,在移动终端启动热点,终端设备连接该移动终端,两者之间可建立数据传输信道;在移动终端启动蓝牙,终端设备连接该移动终端,两者之间可建立数据传输信道;在移动终端启动红外,终端设备连接该移动终端,两者之间可建立数据传输信道;在移动终端均连接某一Wi-Fi,终端设备间接连接该移动终端,两者之间可建立数据传输信道;在移动终端与终端设备之间通过有线进行连接,两者之间可建立数据传输信道。The data transmission channel described in the embodiments of the present invention may include, but is not limited to, hotspot, Bluetooth, infrared, Wireless Fidelity (Wi-Fi), wired, etc., specifically, the hotspot is activated at the mobile terminal, and the terminal device is connected. The mobile terminal can establish a data transmission channel between the two; when the mobile terminal starts Bluetooth, the terminal device connects to the mobile terminal, and a data transmission channel can be established between the two; the infrared terminal is activated at the mobile terminal, and the terminal device is connected to the mobile terminal, A data transmission channel can be established between the two; a certain Wi-Fi is connected to the mobile terminal, and the terminal device is indirectly connected to the mobile terminal, and a data transmission channel can be established between the two; the cable is performed between the mobile terminal and the terminal device by wire Connection, a data transmission channel can be established between the two.
本发明实施例所描述的移动终端或者终端设备可以包括智能手机(如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为本发明实施例提供了一种数据迁移系统的网络架构,该网络构架可包括:移动终端和多个终端设备。其中,移动终端与多个终端设备之间可通过Wi-Fi网络、移动通信网络(如2G、3G、4G、5G等等)、有线网络建立通信连接。例如,移动终端可建立移动终端及多个终端设备之间的通信连接,将移动终端中的待迁移数据分为多个数据集,并将多个数据集分别分配给多个终端设备,每一数据集对应唯一一个终端设备,按照分配的结果将多个数据集迁移给多个终端设备,在检测到终端设备i接收完与之对应的目标数据集时,向终端设备i分配多个数据集中不同于该目标数据集的另一数据集, 并指示终端设备i将该目标数据集复制给终端设备j,其中,终端设备i和终端设备j为多个终端设备中的任意两个。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 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 communication connection between the mobile terminal and the plurality of terminal devices, divide the data to be migrated in the mobile terminal into multiple data sets, and allocate the plurality of data sets to the plurality of terminal devices, respectively. The data set corresponds to a single terminal device, and the plurality of data sets are migrated to the plurality of terminal devices according to the result of the allocation. When the terminal device i detects that the target data set corresponding to the terminal device i is received, the terminal device i allocates multiple data sets to the terminal device i. Different from another data set of the target data set, And instructing the terminal device i to copy the target data set to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of 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 communication connection between the mobile terminal and the plurality of terminal devices.
其中,移动终端可通过上述至少一个数据传输通道建立该移动终端及多个终端设备之间的通信连接。步骤201中,不仅可建立移动终端与终端设备之间的通信连接,还可以建立终端设备与终端设备之间的通信连接。The mobile terminal can establish a communication connection between the mobile terminal and the plurality of terminal devices by using the at least one data transmission channel. In step 201, not only a communication connection between the mobile terminal and the terminal device but also a communication connection between the terminal device and the terminal device can be established.
可选地,上述建立移动终端及多个终端设备之间的通信连接可包括如下步骤:Optionally, the establishing the communication connection between the mobile terminal and the plurality of terminal devices may include the following steps:
11)、建立热点;11) Establish a hot spot;
12)、通过所述热点建立移动终端与多个终端设备之间的通信连接;12) establishing, by using the hotspot, a communication connection between the mobile terminal and the plurality of terminal devices;
13)、指示所述多个终端设备启动预设信道,并通过所述预设信道建立所述多个终端设备之间的通信连接,其中,所述预设信道为蓝牙信道、红外信道或者有线信道中的至少一个。13), instructing the plurality of terminal devices to activate a preset channel, and establishing a communication connection between the plurality of terminal devices by using the preset channel, where the preset channel is a Bluetooth channel, an infrared channel, or a wired At least one of the channels.
其中,移动终端可作为热点,以供其他终端设备连接该移动终端。在其他终端设备连接了移动终端之后,移动终端可指示其他终端设备启动预设信道,其中,预设信道为上述数据传输通道中的至少一个,例如,蓝牙信道,红外信道或者有线信道。The mobile terminal can serve as a hot spot for other terminal devices to connect to the mobile terminal. After the other terminal device is connected to the mobile terminal, the mobile terminal may instruct the other terminal device to activate the preset channel, where the preset channel is at least one of the foregoing data transmission channels, for example, a Bluetooth channel, an infrared channel or a wired channel.
可选地,上述步骤201中,建立移动终端及多个终端设备之间的通信连接,还可以按照下述方式实施:Optionally, in the foregoing step 201, establishing a communication connection between the mobile terminal and the plurality of terminal devices may also be implemented as follows:
向所述多个终端设备中每一终端设备发送组群请求,所述组群请求用于指示终端设备响应所述组群请求。Sending a group request to each of the plurality of terminal devices, the group request for indicating that the terminal device responds to the group request.
其中,移动终端可以向多个需要迁移数据的终端设备发送组群请求,该组群请求用于指示终端设备响应该组群请求,终端设备在接收到组群请求之后,响应该组群请求,进而,可以加入由该组群请求所建立的一个群,进而,通过该群,移动终端与多个终端设备之间建立了通信连接。 The mobile terminal may send a group request to the terminal device that needs to migrate data, where the group request is used to indicate that the terminal device responds to the group request, and the terminal device responds to the group request after receiving the group request. Further, a group established by the group request can be added, and further, through the group, a communication connection is established between the mobile terminal and a plurality of terminal devices.
202、将所述移动终端中的待迁移数据分为所述多个数据集,并将所述多个数据集分别分配给所述多个终端设备,每一数据集对应唯一一个终端设备。202. The data to be migrated in the mobile terminal is divided into the multiple data sets, and the multiple data sets are respectively allocated to the multiple terminal devices, and each data set corresponds to a single terminal device.
可选地,上述将所述移动终端中的待迁移数据分为所述多个数据集,可包括如下步骤:Optionally, dividing the data to be migrated in the mobile terminal into the multiple data sets may include the following steps:
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 the plurality of weight values according to the plurality of signal strength values;
23)、根据所述多个权重值将所述移动终端中的待迁移数据分为所述多个数据集。23) dividing the data to be migrated in the mobile terminal into the plurality of data sets according to the multiple weight values.
其中,可确定多个终端设备中的每一终端设备接入移动终端的信号强度,得到多个信号强度值。可根据该多个信号强度值进行加权,以得到多个权重值。例如,以3个信号强度值为例,信号强度值A、B和C,则A的权重值=A/(A+B+C),B的权重值=B/(A+B+C),C的权重值=C/(A+B+C),最后,可根据该权重值将移动终端中的待迁移数据分为多个数据集。Wherein, the signal strength of each of the plurality of terminal devices to access the mobile terminal may be determined, and multiple signal strength values are obtained. Weighting may be performed based on the plurality of signal strength values to obtain a plurality of weight values. For example, taking 3 signal strength values as examples, signal strength values A, B, and C, then the weight value of A = A / (A + B + C), and the weight value of B = B / (A + B + C) The weight value of C is C/(A+B+C). Finally, the data to be migrated in the mobile terminal can be divided into multiple data sets according to the weight value.
进一步地,上述根据所述多个信号强度值确定所述多个权重值,可以按照如下方式处理:Further, determining the plurality of weight values according to the plurality of signal strength values may be processed as follows:
将所述多个信号强度值进行量化处理,得到多个量化信号强度值;根据所述多个量化信号强度值对确定所述多个权重值。Quantizing the plurality of signal strength values to obtain a plurality of quantized signal strength values; determining the plurality of weight values according to the plurality of quantized signal strength value pairs.
其中,由于信号强度值通常为小数,而非整数,这样的话,不利于计算,另外,信号强度值相差较小的话,对数据传输速率也影响较好,因而,可以对多个信号强度值进行量化处理,一方面方便计算,另一方面,也可以提升数据分配效率,量化处理,可以是四舍五入之类的处理方式,也可以是按照预先设置的信号强度值所处的等级范围与量化信号强度值之间的对应关系,依据此,可以对多个信号强度值进行量化处理,得到多个量化信号强度值,进而,根据这些量化信号强度值进行权值运算(参见上述步骤21-23的详细描述),得到多个权重值。Among them, since the signal strength value is usually a decimal number, not an integer, this is not conducive to calculation. In addition, if the signal strength values are small, the data transmission rate is also affected. Therefore, multiple signal strength values can be performed. Quantization processing, on the one hand, is convenient for calculation. On the other hand, it can also improve data distribution efficiency. Quantization processing can be rounded or the like, or it can be based on the preset signal strength value and the quantized signal strength. Corresponding relationship between values, according to which, a plurality of signal strength values may be quantized to obtain a plurality of quantized signal intensity values, and then weight calculations are performed according to the quantized signal intensity values (see the details of steps 21-23 above). Description), get multiple weight values.
可选地,上述步骤23中,根据所述多个权重值将所述移动终端中的待迁移数据分为所述多个数据集,包括:Optionally, in step 23, the data to be migrated in the mobile terminal is divided into the multiple data sets according to the multiple weight values, including:
231、确定所述待迁移数据的内存大小; 231. Determine a memory size of the data to be migrated.
232、根据所述多个权重值将所述内存大小划分为多个内存值;232. Divide the memory size into multiple memory values according to the multiple weight values.
233、依据所述多个内存值对所述待迁移数据进行划分,得到所述多个数据集。233. The data to be migrated is divided according to the multiple memory values to obtain the multiple data sets.
其中,移动终端可确定待迁移数据的内存大小,依据上述多个权重值可以将内存大小划分为多个内存值,依据该内存值将待迁移数据进行划分,得到多个数据集。The mobile terminal can determine the memory size of the data to be migrated, and divide the memory size into multiple memory values according to the multiple weight values, and divide the data to be migrated according to the memory value to obtain multiple data sets.
可选地,上述将所述移动终端中的待迁移数据分为所述多个数据集,可包括如下步骤:Optionally, dividing the data to be migrated in the mobile terminal into the multiple data sets may include the following steps:
24)、确定所述多个终端设备中每一终端设备接入所述移动终端之间的距离,得到所述多个距离值;24) determining a distance between each of the plurality of terminal devices to access the mobile terminal, to obtain the multiple distance values;
25)、按照所述多个距离值将所述移动终端中的待迁移数据分为所述多个数据集。25) dividing the data to be migrated in the mobile terminal into the plurality of data sets according to the multiple distance values.
其中,步骤24可通过红外测距或者室内定位技术确定每一终端设备与移动终端之间的距离,可根据该多个距离值确定所述多个权重值,根据该多个权重值将移动终端中的待迁移数据分为多个数据集。Step 24 may determine a distance between each terminal device and the mobile terminal by using an infrared ranging or indoor positioning technology, and determine the multiple weight values according to the multiple distance values, and the mobile terminal is determined according to the multiple weight values. The data to be migrated in is divided into multiple data sets.
203、按照所述分配的结果将所述多个数据集迁移给所述多个终端设备。203. Migrate the plurality of data sets to the plurality of terminal devices according to the result of the allocating.
可选地,可采用多线程或者多进程向多个终端设备迁移多个数据集,其中,每一数据集在迁移至某一终端设备的过程中可对应一个进程,如此,可提升数据迁移效率。Optionally, multiple data sets may be migrated to multiple terminal devices by using multiple threads or multiple processes, where each data set may correspond to one process in the process of migrating to a certain terminal device, thereby improving data migration efficiency. .
204、在检测到终端设备i接收完与之对应的目标数据集时,向所述终端设备i分配所述多个数据集中不同于该目标数据集的另一数据集,并指示所述终端设备i将该目标数据集复制给终端设备j,其中,所述终端设备i和所述终端设备j为所述多个终端设备中的任意两个。204. When detecting that the terminal device i receives the target data set corresponding thereto, assigning, to the terminal device i, another data set different from the target data set, and indicating the terminal device i copies the target data set to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of terminal devices.
其中,终端设备i和终端设备j为多个终端设备中的任意两个,终端设备i和终端设备j之间可建立通信连接。The terminal device i and the terminal device j are any two of the plurality of terminal devices, and a communication connection can be established between the terminal device i and the terminal device j.
可以看出,通过本发明实施例建立移动终端及多个终端设备之间的通信连接,将移动终端中的待迁移数据分为多个数据集,并将多个数据集分别分配给多个终端设备,每一数据集对应唯一一个终端设备,按照分配的结果将多个数据集迁移给多个终端设备,在检测到终端设备i接收完与之对应的目标数据集 时,向终端设备i分配多个数据集中不同于该目标数据集的另一数据集,并指示终端设备将该目标数据集复制给终端设备j,其中,终端设备i和终端设备j为多个终端设备中的任意两个。从而,可将待迁移数据分为多个数据集,分别传输给每一终端设备,在任一终端设备接收完一个数据集之后,指示该移动终端i将该数据集发送给其他终端设备,并向该移动终端发送另一个数据集,因此,可提升数据迁移效率。It can be seen that the communication connection between the mobile terminal and the multiple terminal devices is established by the embodiment of the present invention, the data to be migrated in the mobile terminal is divided into multiple data sets, and the multiple data sets are respectively allocated to multiple terminals. a device, each data set corresponding to a single terminal device, migrating multiple data sets to a plurality of terminal devices according to the allocated result, and detecting that the terminal device i receives the corresponding target data set And assigning, to the terminal device i, another data set different from the target data set, and instructing the terminal device to copy the target data set to the terminal device j, where the terminal device i and the terminal device j are multiple Any two of the terminal devices. Therefore, the data to be migrated can be divided into a plurality of data sets and transmitted to each terminal device respectively. After receiving the data set by any terminal device, the mobile terminal i is instructed to send the data set to other terminal devices, and The mobile terminal sends another data set, thus improving data migration efficiency.
进一步地,上述本发明实施例中,移动终端不但可将数据传输给多个终端设备,移动终端还可指示多个终端设备之间也可以实现数据互传,如此,进一步提高数据传输效率。每一终端设备均可启动至少一个数据传输通道,以用于建立与其他终端设备之间的通信连接。Further, in the foregoing embodiment of the present invention, the mobile terminal can not only transmit data to multiple terminal devices, but the mobile terminal can also indicate that data transmission between the multiple terminal devices can also be implemented, thereby further improving data transmission efficiency. Each terminal device can initiate at least one data transmission channel for establishing a communication connection with other terminal devices.
与上述一致地,请参阅图3,为本发明实施例提供的一种数据迁移方法的第二实施例流程示意图。本实施例中所描述的数据迁移方法,包括以下步骤:With reference to FIG. 3, it is a schematic flowchart of a second 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:
301、建立移动终端及多个终端设备之间的通信连接。301. Establish a communication connection between the mobile terminal and the plurality of terminal devices.
302、将所述移动终端中的待迁移数据分为所述多个数据集,并将所述多个数据集分别分配给所述多个终端设备,每一数据集对应唯一一个终端设备。302. Divide the data to be migrated in the mobile terminal into the multiple data sets, and allocate the multiple data sets to the multiple terminal devices, and each data set corresponds to a single terminal device.
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 general applications, such as a photo application, a shopping application, etc., usually, N Is an integer greater than 1.
可选地,移动终端可对每一开启的应用进行监听,从而,可直接确定该移动终端中当前正在运行的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 preset in the mobile terminal, and the preset application list is At least one conventional application can be included. 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, 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, where the M is greater than 0 and less than N. The integer. 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.
306、按照所述分配的结果将所述多个数据集迁移给所述多个终端设备。306. The plurality of data sets are migrated to the plurality of terminal devices according to the result of the allocating.
307在检测到终端设备i接收完与之对应的目标数据集时,向所述终端设备i分配所述多个数据集中不同于该目标数据集的另一数据集,并指示所述终端设备i将该目标数据集复制给终端设备j,其中,所述终端设备i和所述终端设备j为所述多个终端设备中的任意两个。307, when detecting that the terminal device i receives the target data set corresponding thereto, assigning, to the terminal device i, another data set different from the target data set, and indicating the terminal device i The target data set is copied to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of terminal devices.
可以看出,通过本发明实施例可将待迁移数据分为多个数据集,可关闭掉移动终端中正在运行且属于预设应用列表的应用,并分别将多个数据集传输给每一终端设备,在任一终端设备接收完一个数据集之后,指示该移动终端i将该数据集发送给其他终端设备,并向该移动终端发送另一个数据集,因此,可提升数据迁移效率。可降低移动终端的负荷,提高了数据迁移效率。It can be seen that, by using the embodiment of the present invention, the data to be migrated can be divided into multiple data sets, and the application that is running in the mobile terminal and belongs to the preset application list can be closed, and multiple data sets are respectively transmitted to each terminal. The device, after receiving the data set by any terminal device, instructs the mobile terminal i to send the data set to the other terminal device, and sends another data set to the mobile terminal, thereby improving data migration efficiency. It can reduce the load of mobile terminals and improve data migration efficiency.
与上述一致地,以下为实施上述数据迁移方法的装置,具体如下:Consistent with the above, the following is an apparatus for implementing the above data migration method, as follows:
请参阅图4a,为本发明实施例提供的一种数据迁移装置的第一实施例结构示意图。本实施例中所描述的数据迁移装置,包括:连接单元401、划分单元402、迁移单元403和处理单元404,具体如下: FIG. 4 is a schematic structural diagram of a first embodiment of a data migration apparatus according to an embodiment of the present invention. The data migration apparatus described in this embodiment includes: a connection unit 401, a division unit 402, a migration unit 403, and a processing unit 404, as follows:
连接单元401,用于建立移动终端及多个终端设备之间的通信连接;The connecting unit 401 is configured to establish a communication connection between the mobile terminal and the plurality of terminal devices;
划分单元402,用于将所述移动终端中的待迁移数据分为所述多个数据集,并将所述多个数据集分别分配给所述多个终端设备,每一数据集对应唯一一个终端设备;The dividing unit 402 is configured to divide the data to be migrated in the mobile terminal into the plurality of data sets, and respectively allocate the multiple data sets to the multiple terminal devices, where each data set corresponds to a unique one Terminal Equipment;
迁移单元403,用于按照所述分配的结果将所述多个数据集迁移给所述多个终端设备;a migration unit 403, configured to migrate the multiple data sets to the multiple terminal devices according to the result of the allocating;
处理单元404,用于在检测到终端设备i接收完与之对应的目标数据集时,向所述终端设备i分配所述多个数据集中不同于该目标数据集的另一数据集,并指示所述终端设备i将该目标数据集复制给终端设备j,其中,所述终端设备i和所述终端设备j为所述多个终端设备中的任意两个。The processing unit 404 is configured to allocate, to the terminal device i, another data set different from the target data set to the terminal device i when detecting that the terminal device i receives the target data set corresponding thereto, and indicate The terminal device i copies the target data set to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of terminal devices.
可选地,所述连接单元401具体用于:Optionally, the connecting unit 401 is specifically configured to:
向所述多个终端设备中每一终端设备发送组群请求,所述组群请求用于指示终端设备响应所述组群请求。Sending a group request to each of the plurality of terminal devices, the group request for indicating that the terminal device responds to the group request.
可选地,如图4b,图4a中所描述的数据迁移装置的连接单元401可包括:建立模块4011和连接模块4012,具体如下:Optionally, as shown in FIG. 4b, the connection unit 401 of the data migration device described in FIG. 4a may include: an establishing module 4011 and a connection module 4012, as follows:
建立模块4011,用于建立热点;Establishing a module 4011, configured to establish a hot spot;
连接模块4012,用于通过所述热点建立移动终端与多个终端设备之间的通信连接;a connection module 4012, configured to establish, by using the hotspot, a communication connection between the mobile terminal and the plurality of terminal devices;
所述建立模块4011,还用于:The establishing module 4011 is further configured to:
指示所述多个终端设备启动预设信道,并通过所述预设信道建立所述多个终端设备之间的通信连接,其中,所述预设信道为蓝牙信道、红外信道或者有线信道中的至少一个。Instructing the plurality of terminal devices to activate a preset channel, and establishing a communication connection between the plurality of terminal devices by using the preset channel, where the preset channel is in a Bluetooth channel, an infrared channel, or a wired channel at least one.
可选地,如图4c,图4a中所描述的数据迁移装置的划分单元402可包括:第一确定模块4021和第一划分模块4022,具体如下:Optionally, the dividing unit 402 of the data migration apparatus described in FIG. 4c and FIG. 4a may include: a first determining module 4021 and a first dividing module 4022, as follows:
第一确定模块4021,用于确定所述多个终端设备中每一终端设备接入所述移动终端的信号强度,得到所述多个信号强度值;The first determining module 4021 is configured to determine a signal strength of each of the plurality of terminal devices to access the mobile terminal, to obtain the multiple signal strength values;
所述第一确定模块4021,还用于:The first determining module 4021 is further configured to:
根据所述多个信号强度值确定所述多个权重值;Determining the plurality of weight values according to the plurality of signal strength values;
第一划分模块4022,用于根据所述多个权重值将所述数据迁移装置中的 待迁移数据分为所述多个数据集。a first dividing module 4022, configured to: in the data migration device according to the multiple weight values The data to be migrated is divided into the plurality of data sets.
可选地,所述第一确定模块4021根据所述多个信号强度值确定所述多个权重值的具体实现方式:Optionally, the first determining module 4021 determines, according to the multiple signal strength values, a specific implementation manner of the multiple weight values:
将所述多个信号强度值进行量化处理,得到多个量化信号强度值;根据所述多个量化信号强度值对确定所述多个权重值。Quantizing the plurality of signal strength values to obtain a plurality of quantized signal strength values; determining the plurality of weight values according to the plurality of quantized signal strength value pairs.
可选地,如图4d,图4c中所描述的划分单元402的第一划分模块4022具体细化结构,所述第一划分模块4022可包括:内存确定模块501、内存划分模块502和数据划分模块503,具体如下:Optionally, the first dividing module 4022 of the dividing unit 402, as described in FIG. 4d and FIG. 4c, specifically refines the structure, and the first dividing module 4022 may include: a memory determining module 501, a memory dividing module 502, and a data partitioning. Module 503 is as follows:
内存确定模块501,用于确定所述待迁移数据的内存大小;a memory determining module 501, configured to determine a memory size of the data to be migrated;
内存划分模块502,用于根据所述多个权重值将所述内存大小划分为多个内存值;The memory dividing module 502 is configured to divide the memory size into multiple memory values according to the multiple weight values;
数据划分模块503,用于依据所述多个内存值对所述待迁移数据进行划分,得到所述多个数据集。The data dividing module 503 is configured to divide the data to be migrated according to the multiple memory values to obtain the multiple data sets.
可选地,如图4e,图4a中所描述的数据迁移装置的划分单元402可包括:第二确定模块4023和第二划分模块4024,具体如下:Optionally, the dividing unit 402 of the data migration device as described in FIG. 4e and FIG. 4a may include: a second determining module 4023 and a second dividing module 4024, as follows:
第二确定模块4023,用于确定所述多个终端设备中每一终端设备接入所述移动终端之间的距离,得到所述多个距离值;a second determining module 4023, configured to determine a distance between each of the plurality of terminal devices that accesses the mobile terminal, to obtain the multiple distance values;
第二划分模块4024,用于按照所述多个距离值将所述移动终端中的待迁移数据分为所述多个数据集。The second dividing module 4024 is configured to divide the data to be migrated in the mobile terminal into the multiple data sets according to the multiple distance values.
可选地,所述第二确定模块4023具体用于:Optionally, the second determining module 4023 is specifically configured to:
通过红外测距或者室内定位技术确定所述多个终端设备中每一终端设备接入所述移动终端之间的距离,得到所述多个距离值。The distance between each of the plurality of terminal devices accessing the mobile terminal is determined by an infrared ranging or indoor positioning technology, and the plurality of distance values are obtained.
可选地,如图4f,图4f为图4a的一种变型结构,图4a中所描述的数据迁移装置还包括:确定单元405、匹配单元406和关闭单元407,具体如下:Optionally, as shown in FIG. 4f, FIG. 4f is a modified structure of FIG. 4a, and the data migration apparatus described in FIG. 4a further includes: a determining unit 405, a matching unit 406, and a closing unit 407, as follows:
确定单元405,用于在所述划分单元402将所述多个数据集分别分配给所述多个终端设备之后,确定所述移动终端中当前正在运行的N个应用,所述N为大于1的整数;a determining unit 405, configured to determine, after the dividing unit 402 separately allocates the multiple data sets to the multiple terminal devices, N applications currently running in the mobile terminal, where N is greater than 1 Integer
匹配单元406,用于将所述N个应用与预设应用列表进行匹配;The matching unit 406 is configured to match the N applications with the preset application list.
关闭单元407,用于若匹配出所述N个应用中包含M个应用存在于所述 预设应用列表时,关闭所述M个应用,由所述迁移单元403按照所述分配的结果将所述多个数据集迁移给所述多个终端设备,其中,所述M为大于0且小于所述N的整数。The closing unit 407 is configured to: if the M applications are included in the N applications, When the application list is preset, the M applications are closed, and the migration unit 403 migrates the multiple data sets to the multiple terminal devices according to the result of the allocation, where the M is greater than 0 and An integer less than the N.
通过本发明实施例所描述的移动终端可建立移动终端及多个终端设备之间的通信连接,将移动终端中的待迁移数据分为多个数据集,并将多个数据集分别分配给多个终端设备,每一数据集对应唯一一个终端设备,按照分配的结果将多个数据集迁移给多个终端设备,在检测到终端设备i接收完与之对应的目标数据集时,向终端设备i分配多个数据集中不同于该目标数据集的另一数据集,并指示终端设备将该目标数据集复制给终端设备j,其中,终端设备i和终端设备j为多个终端设备中的任意两个。从而,可将待迁移数据分为多个数据集,分别传输给每一终端设备,在任一终端设备接收完一个数据集之后,指示该移动终端将该数据集发送给其他终端设备,并向该移动终端发送另一个数据集,因此,可提升数据迁移效率。The mobile terminal described in the embodiment of the present invention can establish a communication connection between the mobile terminal and the plurality of terminal devices, divide the data to be migrated in the mobile terminal into multiple data sets, and allocate multiple data sets to the multiple data sets respectively. a terminal device, each data set corresponding to a single terminal device, migrating multiple data sets to a plurality of terminal devices according to the result of the allocation, and detecting that the terminal device i receives the target data set corresponding thereto, to the terminal device i assigning a plurality of data sets to another data set different from the target data set, and instructing the terminal device to copy the target data set to the terminal device j, wherein the terminal device i and the terminal device j are any of the plurality of terminal devices Two. Therefore, the data to be migrated can be divided into multiple data sets and transmitted to each terminal device respectively. After receiving the data set, the terminal device instructs the mobile terminal to send the data set to other terminal devices, and The mobile terminal sends another data set, thus improving data migration efficiency.
可以理解的是,本实施例的数据迁移装置的各程序模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It is to be understood that the functions of the program modules of the data migration apparatus of the present embodiment may be specifically implemented according to the method in the foregoing method embodiments. For the specific implementation process, refer to the related description of the foregoing method embodiments, and details are not described herein again.
需要注意的是,本发明装置实施例所描述的移动终端是以功能单元的形式呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。It should be noted that the mobile terminal 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.
举例来说,上述连接单元401,用于建立移动终端及多个终端设备之间的通信连接的功能可以由图5所示的移动终端来实现,具体可以通过处理器3000通过调用存储器4000中的可执行程序代码,建立移动终端及多个终端设备之间的通信连接。For example, the function of the connection unit 401 for establishing a communication connection between the mobile terminal and the plurality of terminal devices may be implemented by the mobile terminal shown in FIG. 5, and may be specifically called by the processor 3000 by calling the memory 4000. The executable program code establishes a communication connection between the mobile terminal and the plurality of terminal devices.
请参阅图5,为本发明实施例提供的一种移动终端的第二实施例结构示意图。本实施例中所描述的移动终端,包括:至少一个输入设备1000;至少一个输出设备2000;至少一个处理器3000,例如CPU;和存储器4000,上述输 入设备1000、输出设备2000、处理器3000和存储器4000通过总线5000连接。FIG. 5 is a schematic structural diagram of a second 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 above input The incoming device 1000, the output device 2000, the processor 3000, and the memory 4000 are connected by a bus 5000.
其中,上述输入设备1000具体可为触控面板、物理按键或者鼠标。The input device 1000 may be a touch panel, a physical button, or a mouse.
上述输出设备2000具体可为显示屏。The output device 2000 described above may specifically be a display screen.
上述存储器4000可以是高速RAM存储器,也可为非易失存储器(non-volatile memory),例如磁盘存储器。上述存储器4000用于存储一组程序代码,上述输入设备1000、输出设备2000和处理器3000用于调用存储器4000中存储的程序代码,执行如下操作: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:
上述处理器3000,用于:The processor 3000 is configured to:
建立移动终端及多个终端设备之间的通信连接;Establishing a communication connection between the mobile terminal and the plurality of terminal devices;
将所述移动终端中的待迁移数据分为所述多个数据集,并将所述多个数据集分别分配给所述多个终端设备,每一数据集对应唯一一个终端设备;Divide the data to be migrated in the mobile terminal into the plurality of data sets, and allocate the plurality of data sets to the plurality of terminal devices, each data set corresponding to a single terminal device;
按照所述分配的结果将所述多个数据集迁移给所述多个终端设备;And migrating the plurality of data sets to the plurality of terminal devices according to the result of the allocating;
在检测到终端设备i接收完与之对应的目标数据集时,向所述终端设备i分配所述多个数据集中不同于该目标数据集的另一数据集,并指示所述终端设备i将该目标数据集复制给终端设备j,其中,所述终端设备i和所述终端设备j为所述多个终端设备中的任意两个。After detecting that the terminal device i receives the target data set corresponding thereto, assigning the terminal device i to another data set different from the target data set, and instructing the terminal device i to The target data set is copied to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of terminal devices.
可选地,上述处理器3000建立移动终端及多个终端设备之间的通信连接,包括:Optionally, the foregoing processor 3000 establishes a communication connection between the mobile terminal and the plurality of terminal devices, including:
建立热点;Establish a hot spot;
通过所述热点建立移动终端与多个终端设备之间的通信连接;Establishing, by the hotspot, a communication connection between the mobile terminal and the plurality of terminal devices;
指示所述多个终端设备启动预设信道,并通过所述预设信道建立所述多个终端设备之间的通信连接,其中,所述预设信道为蓝牙信道、红外信道或者有线信道中的至少一个。Instructing the plurality of terminal devices to activate a preset channel, and establishing a communication connection between the plurality of terminal devices by using the preset channel, where the preset channel is in a Bluetooth channel, an infrared channel, or a wired channel at least one.
可选地,上述处理器3000建立移动终端及多个终端设备之间的通信连接,包括:Optionally, the foregoing processor 3000 establishes a communication connection between the mobile terminal and the plurality of terminal devices, including:
向所述多个终端设备中每一终端设备发送组群请求,所述组群请求用于指示终端设备响应所述组群请求。Sending a group request to each of the plurality of terminal devices, the group request for indicating that the terminal device responds to the group request.
可选地,上述处理器3000将所述移动终端中的待迁移数据分为所述多个数据集,包括: Optionally, the foregoing processor 3000 divides the data to be migrated in the mobile terminal into the multiple data sets, including:
确定所述多个终端设备中每一终端设备接入所述移动终端的信号强度,得到所述多个信号强度值;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 the plurality of weight values according to the plurality of signal strength values;
根据所述多个权重值将所述移动终端中的待迁移数据分为所述多个数据集。Dividing data to be migrated in the mobile terminal into the plurality of data sets according to the plurality of weight values.
可选地,上述处理器3000根据所述多个信号强度值确定所述多个权重值,包括:Optionally, the foregoing processor 3000 determines the multiple weight values according to the multiple signal strength values, including:
将所述多个信号强度值进行量化处理,得到多个量化信号强度值;Quantizing the plurality of signal strength values to obtain a plurality of quantized signal strength values;
根据所述多个量化信号强度值对确定所述多个权重值。The plurality of weight values are determined based on the plurality of quantized signal strength value pairs.
可选地,上述处理器3000根据所述多个权重值将所述移动终端中的待迁移数据分为所述多个数据集,包括:Optionally, the processor 3000 is configured to divide the data to be migrated in the mobile terminal into the multiple data sets according to the multiple weight values, including:
确定所述待迁移数据的内存大小;Determining a memory size of the data to be migrated;
根据所述多个权重值将所述内存大小划分为多个内存值;Dividing the memory size into a plurality of memory values according to the plurality of weight values;
依据所述多个内存值对所述待迁移数据进行划分,得到所述多个数据集。And dividing the data to be migrated according to the multiple memory values to obtain the multiple data sets.
可选地,上述处理器3000将所述移动终端中的待迁移数据分为所述多个数据集,包括:Optionally, the foregoing processor 3000 divides the data to be migrated in the mobile terminal into the multiple data sets, including:
确定所述多个终端设备中每一终端设备接入所述移动终端之间的距离,得到所述多个距离值;Determining a distance between each of the plurality of terminal devices and accessing the mobile terminal, to obtain the plurality of distance values;
按照所述多个距离值将所述移动终端中的待迁移数据分为所述多个数据集。Dividing data to be migrated in the mobile terminal into the plurality of data sets according to the plurality of distance values.
可选地,上述处理器3000确定所述多个终端设备中每一终端设备接入所述移动终端之间的距离,得到所述多个距离值,包括:Optionally, the processor 3000 determines a distance between each of the plurality of terminal devices to access the mobile terminal, and obtains the multiple distance values, including:
通过红外测距或者室内定位技术确定所述多个终端设备中每一终端设备接入所述移动终端之间的距离,得到所述多个距离值。The distance between each of the plurality of terminal devices accessing the mobile terminal is determined by an infrared ranging or indoor positioning technology, and the plurality of distance values are obtained.
可选地,上述处理器3000,在所述将所述多个数据集分别分配给所述多个终端设备之后,以及所述按照所述分配的结果将所述多个数据集迁移给所述多个终端设备之前,还具体用于:Optionally, the processor 3000, after the allocating the plurality of data sets to the plurality of terminal devices, and the migrating the plurality of data sets to the Before using multiple terminal devices, it is also used to:
确定所述移动终端中当前正在运行的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 that are included in the N applications are found in the preset application list, the M applications are closed, and the performing, by performing the allocation, the multiple data sets are migrated to the a plurality of terminal devices, wherein the M is an integer greater than 0 and less than the N.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种数据迁移方法的部分或全部步骤。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)

  1. 一种数据迁移方法,其特征在于,包括:A data migration method, comprising:
    建立移动终端及多个终端设备之间的通信连接;Establishing a communication connection between the mobile terminal and the plurality of terminal devices;
    将所述移动终端中的待迁移数据分为所述多个数据集,并将所述多个数据集分别分配给所述多个终端设备,每一数据集对应唯一一个终端设备;Divide the data to be migrated in the mobile terminal into the plurality of data sets, and allocate the plurality of data sets to the plurality of terminal devices, each data set corresponding to a single terminal device;
    按照所述分配的结果将所述多个数据集迁移给所述多个终端设备;And migrating the plurality of data sets to the plurality of terminal devices according to the result of the allocating;
    在检测到终端设备i接收完与之对应的目标数据集时,向所述终端设备i分配所述多个数据集中不同于该目标数据集的另一数据集,并指示所述终端设备i将该目标数据集复制给终端设备j,其中,所述终端设备i和所述终端设备j为所述多个终端设备中的任意两个。After detecting that the terminal device i receives the target data set corresponding thereto, assigning the terminal device i to another data set different from the target data set, and instructing the terminal device i to The target data set is copied to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of terminal devices.
  2. 根据权利要求1所述的方法,其特征在于,所述建立移动终端及多个终端设备之间的通信连接,包括:The method according to claim 1, wherein the establishing a communication connection between the mobile terminal and the plurality of terminal devices comprises:
    建立热点;Establish a hot spot;
    通过所述热点建立移动终端与多个终端设备之间的通信连接;Establishing, by the hotspot, a communication connection between the mobile terminal and the plurality of terminal devices;
    指示所述多个终端设备启动预设信道,并通过所述预设信道建立所述多个终端设备之间的通信连接,其中,所述预设信道为蓝牙信道、红外信道或者有线信道中的至少一个。Instructing the plurality of terminal devices to activate a preset channel, and establishing a communication connection between the plurality of terminal devices by using the preset channel, where the preset channel is in a Bluetooth channel, an infrared channel, or a wired channel at least one.
  3. 根据权利要求1所述的方法,其特征在于,所述建立移动终端及多个终端设备之间的通信连接,包括:The method according to claim 1, wherein the establishing a communication connection between the mobile terminal and the plurality of terminal devices comprises:
    向所述多个终端设备中每一终端设备发送组群请求,所述组群请求用于指示终端设备响应所述组群请求。Sending a group request to each of the plurality of terminal devices, the group request for indicating that the terminal device responds to the group request.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述将所述移动终端中的待迁移数据分为所述多个数据集,包括:The method according to any one of claims 1 to 3, wherein the dividing the data to be migrated in the mobile terminal into the plurality of data sets comprises:
    确定所述多个终端设备中每一终端设备接入所述移动终端的信号强度,得到所述多个信号强度值; 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 the plurality of weight values according to the plurality of signal strength values;
    根据所述多个权重值将所述移动终端中的待迁移数据分为所述多个数据集。Dividing data to be migrated in the mobile terminal into the plurality of data sets according to the plurality of weight values.
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述多个信号强度值确定所述多个权重值,包括:The method according to claim 4, wherein the determining the plurality of weight values according to the plurality of signal strength values comprises:
    将所述多个信号强度值进行量化处理,得到多个量化信号强度值;Quantizing the plurality of signal strength values to obtain a plurality of quantized signal strength values;
    根据所述多个量化信号强度值对确定所述多个权重值。The plurality of weight values are determined based on the plurality of quantized signal strength value pairs.
  6. 根据权利要求4所述的方法,其特征在于,所述根据所述多个权重值将所述移动终端中的待迁移数据分为所述多个数据集,包括:The method according to claim 4, wherein the dividing the data to be migrated in the mobile terminal into the plurality of data sets according to the plurality of weight values comprises:
    确定所述待迁移数据的内存大小;Determining a memory size of the data to be migrated;
    根据所述多个权重值将所述内存大小划分为多个内存值;Dividing the memory size into a plurality of memory values according to the plurality of weight values;
    依据所述多个内存值对所述待迁移数据进行划分,得到所述多个数据集。And dividing the data to be migrated according to the multiple memory values to obtain the multiple data sets.
  7. 根据权利要求1至3任一项所述的方法,其特征在于,所述将所述移动终端中的待迁移数据分为所述多个数据集,包括:The method according to any one of claims 1 to 3, wherein the dividing the data to be migrated in the mobile terminal into the plurality of data sets comprises:
    确定所述多个终端设备中每一终端设备接入所述移动终端之间的距离,得到所述多个距离值;Determining a distance between each of the plurality of terminal devices and accessing the mobile terminal, to obtain the plurality of distance values;
    按照所述多个距离值将所述移动终端中的待迁移数据分为所述多个数据集。Dividing data to be migrated in the mobile terminal into the plurality of data sets according to the plurality of distance values.
  8. 根据权利要求7所述的方法,其特征在于,所述确定所述多个终端设备中每一终端设备接入所述移动终端之间的距离,得到所述多个距离值,包括:The method according to claim 7, wherein the determining the distance between each of the plurality of terminal devices to access the mobile terminal to obtain the plurality of distance values comprises:
    通过红外测距或者室内定位技术确定所述多个终端设备中每一终端设备接入所述移动终端之间的距离,得到所述多个距离值。The distance between each of the plurality of terminal devices accessing the mobile terminal is determined by an infrared ranging or indoor positioning technology, and the plurality of distance values are obtained.
  9. 根据权利要求1至3任一项所述的方法,其特征在于,在所述将所述多个数据集分别分配给所述多个终端设备之后,以及所述按照所述分配的结果 将所述多个数据集迁移给所述多个终端设备之前,所述方法还包括:The method according to any one of claims 1 to 3, wherein after said assigning said plurality of data sets to said plurality of terminal devices respectively, and said result according to said assigning Before the multiple data sets are migrated to the multiple terminal devices, the method further includes:
    确定所述移动终端中当前正在运行的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 that are included in the N applications are found in the preset application list, the M applications are closed, and the performing, by performing the allocation, the multiple data sets are migrated to the a plurality of terminal devices, wherein the M is an integer greater than 0 and less than the N.
  10. 一种数据迁移装置,其特征在于,包括:A data migration device, comprising:
    连接单元,用于建立移动终端及多个终端设备之间的通信连接;a connecting unit, configured to establish a communication connection between the mobile terminal and the plurality of terminal devices;
    划分单元,用于将所述移动终端中的待迁移数据分为所述多个数据集,并将所述多个数据集分别分配给所述多个终端设备,每一数据集对应唯一一个终端设备;a dividing unit, configured to divide data to be migrated in the mobile terminal into the plurality of data sets, and allocate the plurality of data sets to the plurality of terminal devices, each data set corresponding to a single terminal device;
    迁移单元,用于按照所述分配的结果将所述多个数据集迁移给所述多个终端设备;a migration unit, configured to migrate the plurality of data sets to the plurality of terminal devices according to the result of the allocating;
    处理单元,用于在检测到终端设备i接收完与之对应的目标数据集时,向所述终端设备i分配所述多个数据集中不同于该目标数据集的另一数据集,并指示所述终端设备i将该目标数据集复制给终端设备j,其中,所述终端设备i和所述终端设备j为所述多个终端设备中的任意两个。a processing unit, configured to allocate, to the terminal device i, another data set different from the target data set to the terminal device i when detecting that the terminal device i receives the target data set corresponding thereto, and indicate the location The terminal device i copies the target data set to the terminal device j, wherein the terminal device i and the terminal device j are any two of the plurality of terminal devices.
  11. 根据权利要求10所述的装置,其特征在于,所述连接单元包括:The device according to claim 10, wherein the connecting unit comprises:
    建立模块,用于建立热点;Establish a module for establishing a hotspot;
    连接模块,用于通过所述热点建立移动终端与多个终端设备之间的通信连接;a connection module, configured to establish, by using the hotspot, a communication connection between the mobile terminal and the plurality of terminal devices;
    所述建立模块,还用于:The establishing module is further configured to:
    指示所述多个终端设备启动预设信道,并通过所述预设信道建立所述多个终端设备之间的通信连接,其中,所述预设信道为蓝牙信道、红外信道或者有线信道中的至少一个。Instructing the plurality of terminal devices to activate a preset channel, and establishing a communication connection between the plurality of terminal devices by using the preset channel, where the preset channel is in a Bluetooth channel, an infrared channel, or a wired channel at least one.
  12. 根据权利要求10所述的装置,其特征在于,所述连接单元具体用于: The device according to claim 10, wherein the connecting unit is specifically configured to:
    向所述多个终端设备中每一终端设备发送组群请求,所述组群请求用于指示终端设备响应所述组群请求。Sending a group request to each of the plurality of terminal devices, the group request for indicating that the terminal device responds to the group request.
  13. 根据权利要求10-12任一项所述的装置,其特征在于,所述划分单元,包括:The device according to any one of claims 10 to 12, wherein the dividing unit comprises:
    第一确定模块,用于确定所述多个终端设备中每一终端设备接入所述移动终端的信号强度,得到所述多个信号强度值;a first determining module, configured to determine a signal strength of each of the plurality of terminal devices accessing the mobile terminal, to obtain the multiple signal strength values;
    所述第一确定模块,还用于:The first determining module is further configured to:
    根据所述多个信号强度值确定所述多个权重值;Determining the plurality of weight values according to the plurality of signal strength values;
    第一划分模块,用于根据所述多个权重值将所述移动终端中的待迁移数据分为所述多个数据集。a first dividing module, configured to divide data to be migrated in the mobile terminal into the multiple data sets according to the multiple weight values.
  14. 根据权利要求13所述的装置,其特征在于,所述第一确定模块根据所述多个信号强度值确定所述多个权重值的具体实现方式:The apparatus according to claim 13, wherein the first determining module determines a specific implementation manner of the plurality of weight values according to the plurality of signal strength values:
    将所述多个信号强度值进行量化处理,得到多个量化信号强度值;根据所述多个量化信号强度值对确定所述多个权重值。Quantizing the plurality of signal strength values to obtain a plurality of quantized signal strength values; determining the plurality of weight values according to the plurality of quantized signal strength value pairs.
  15. 根据权利要求13所述的装置,其特征在于,所述第一划分模块,包括:The device according to claim 13, wherein the first dividing module comprises:
    内存确定模块,用于确定所述待迁移数据的内存大小;a memory determining module, configured to determine a memory size of the data to be migrated;
    内存划分模块,用于根据所述多个权重值将所述内存大小划分为多个内存值;a memory dividing module, configured to divide the memory size into multiple memory values according to the multiple weight values;
    数据划分模块,用于依据所述多个内存值对所述待迁移数据进行划分,得到所述多个数据集。a data dividing module, configured to divide the data to be migrated according to the multiple memory values, to obtain the multiple data sets.
  16. 根据权利要求10-12任一项所述的装置,其特征在于,所述划分单元,包括:The device according to any one of claims 10 to 12, wherein the dividing unit comprises:
    第二确定模块,用于确定所述多个终端设备中每一终端设备接入所述移动终端之间的距离,得到所述多个距离值; a second determining module, configured to determine a distance between each of the plurality of terminal devices that accesses the mobile terminal, to obtain the multiple distance values;
    第二划分模块,用于按照所述多个距离值将所述移动终端中的待迁移数据分为所述多个数据集。a second dividing module, configured to divide data to be migrated in the mobile terminal into the plurality of data sets according to the multiple distance values.
  17. 根据权利要求16所述的装置,其特征在于,所述第二确定模块具体用于:The device according to claim 16, wherein the second determining module is specifically configured to:
    通过红外测距或者室内定位技术确定所述多个终端设备中每一终端设备接入所述移动终端之间的距离,得到所述多个距离值。The distance between each of the plurality of terminal devices accessing the mobile terminal is determined by an infrared ranging or indoor positioning technology, and the plurality of distance values are obtained.
  18. 一种移动终端,其特征在于,包括:A mobile terminal, comprising:
    处理器和存储器;其中,所述处理器通过调用所述存储器中的代码或指令以执行如权利要求1至9任一项所述的方法。A processor and a memory; wherein the processor executes the method of any one of claims 1 to 9 by invoking code or instructions in the memory.
  19. 一种计算机存储介质,其特征在于,其用于存储计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。A computer storage medium for storing a computer program, wherein the computer program causes a computer to perform the method of any one of claims 1-9.
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如权利要求1-9任一项所述的方法。 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 as claimed in any one of claims 1-9 The method described.
PCT/CN2017/093446 2016-09-14 2017-07-19 Data migration method and related products WO2018049910A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610825133.1 2016-09-14
CN201610825133.1A CN106254527B (en) 2016-09-14 2016-09-14 A kind of data migration method and mobile terminal

Publications (1)

Publication Number Publication Date
WO2018049910A1 true WO2018049910A1 (en) 2018-03-22

Family

ID=57599847

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/093446 WO2018049910A1 (en) 2016-09-14 2017-07-19 Data migration method and related products

Country Status (2)

Country Link
CN (1) CN106254527B (en)
WO (1) WO2018049910A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254527B (en) * 2016-09-14 2017-10-31 广东欧珀移动通信有限公司 A kind of data migration method and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105188015A (en) * 2015-08-07 2015-12-23 上海斐讯数据通信技术有限公司 Mobile terminal private data migration backup method and mobile terminal
CN105630598A (en) * 2015-12-29 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Data processing method, data processing device and wearable intelligent device
CN106254527A (en) * 2016-09-14 2016-12-21 广东欧珀移动通信有限公司 A kind of data migration method and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4287448B2 (en) * 2006-06-16 2009-07-01 株式会社東芝 COMMUNICATION DEVICE, COMMUNICATION TERMINAL DEVICE, COMMUNICATION SYSTEM, METHOD, AND PROGRAM
CN104468947B (en) * 2013-09-16 2017-12-29 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104580441A (en) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 Data distribution method in local area network, server and terminal device
CN105491113B (en) * 2015-11-25 2019-03-12 小米科技有限责任公司 Moving method, device and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105188015A (en) * 2015-08-07 2015-12-23 上海斐讯数据通信技术有限公司 Mobile terminal private data migration backup method and mobile terminal
CN105630598A (en) * 2015-12-29 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Data processing method, data processing device and wearable intelligent device
CN106254527A (en) * 2016-09-14 2016-12-21 广东欧珀移动通信有限公司 A kind of data migration method and mobile terminal

Also Published As

Publication number Publication date
CN106254527A (en) 2016-12-21
CN106254527B (en) 2017-10-31

Similar Documents

Publication Publication Date Title
WO2018049933A1 (en) Data migration method and related product
KR101798369B1 (en) System and method for synchronous task dispatch in a portable device
US9386264B2 (en) Augmenting capabilities of a host device
US9514100B2 (en) Method, apparatus and system of screenshot grabbing and sharing
WO2018223786A1 (en) Cloud desktop system, and image sequence compression and encoding method, and medium therefor
WO2018049932A1 (en) Data migration method and related product
WO2020042769A1 (en) Image information transmission method and apparatus, and storage medium and electronic device
US20140047059A1 (en) Method for improving mobile network performance via ad-hoc peer-to-peer request partitioning
WO2018049939A1 (en) Data migration method and related product
WO2016142713A1 (en) System for connecting external displays to a mobile device
JP7228594B2 (en) Determination method of interception information of retrieval space and device for determining interception method of retrieval space
WO2019047708A1 (en) Resource configuration method and related product
WO2021135574A1 (en) Data storage method and apparatus, and terminal device
WO2017206901A1 (en) Process control method and related device
WO2015027892A1 (en) Methods and terminals for sharing web browsing contents
CN109144723B (en) Method and terminal for allocating storage space
US10769073B2 (en) Bandwidth-based selective memory channel connectivity on a system on chip
CN113037795B (en) Thin terminal system and processing method thereof
CN112799696A (en) Firmware upgrading method and related equipment
WO2018049910A1 (en) Data migration method and related products
US10042856B2 (en) Method and electronic device for processing data
WO2018049941A1 (en) Data migration method and related product
WO2019072179A1 (en) Application running control method and apparatus
CN111338745A (en) Deployment method and device of virtual machine and intelligent equipment
WO2018049911A1 (en) Data migration method and related products

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: 17850113

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: 17850113

Country of ref document: EP

Kind code of ref document: A1