WO2018049932A1 - Data migration method and related product - Google Patents

Data migration method and related product Download PDF

Info

Publication number
WO2018049932A1
WO2018049932A1 PCT/CN2017/095042 CN2017095042W WO2018049932A1 WO 2018049932 A1 WO2018049932 A1 WO 2018049932A1 CN 2017095042 W CN2017095042 W CN 2017095042W WO 2018049932 A1 WO2018049932 A1 WO 2018049932A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
data transmission
transmission channels
migrated
terminal device
Prior art date
Application number
PCT/CN2017/095042
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 WO2018049932A1 publication Critical patent/WO2018049932A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a data migration method and related products.
  • the embodiment of the invention provides a data migration method and related products, which can improve data migration efficiency.
  • a first aspect of the embodiments of the present invention provides a data migration method, including:
  • the data to be migrated is migrated to the terminal device by using the multiple data transmission channels according to the result of the allocation.
  • a second aspect of the embodiments of the present invention provides a data migration apparatus, including:
  • a switch control unit configured to start a plurality of data transmission channels between the mobile terminal and the terminal device after the mobile terminal is established with the terminal device;
  • An allocating unit configured to allocate data to be migrated to the multiple data transmission channels
  • a migration unit configured to follow the result of the allocating, and to pass through the plurality of data transmission channels
  • the terminal device migrates the data to be migrated.
  • 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 is configured to store a computer program, wherein the computer program causes a computer to perform the first aspect of the embodiment of the present invention.
  • an embodiment of the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to execute Some or all of the steps described in the first aspect of the invention.
  • the computer program product can be a software installation package.
  • FIG. 1 is a schematic diagram of a network architecture of a data migration system according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart diagram of a first embodiment of a data migration method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart diagram of a second embodiment of a data migration method according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart diagram of a third embodiment of a data migration method according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an embodiment of a data migration apparatus according to an embodiment of the present invention.
  • FIG. 5b is a schematic structural diagram of an allocation unit of the data migration apparatus described in FIG. 5a according to an embodiment of the present disclosure
  • FIG. 5c is still another schematic structural diagram of an allocating unit of the data migration apparatus described in FIG. 5a according to an embodiment of the present disclosure
  • FIG. 5d is still another schematic structural diagram of the data migration apparatus described in FIG. 5a according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an embodiment of a mobile terminal according to an embodiment of the present invention.
  • the embodiment of the invention provides a data migration method and related products, which can improve data migration efficiency.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
  • the data described in the embodiments of the present invention may include applications (such as social applications, video applications, photo applications, game applications, etc.), folders, files (such as text files, video files, audio files, photos, etc.), cached data, Private data, etc., the above data are only examples, not exhaustive, including but not limited to the above data.
  • the mobile terminal or the terminal device described in the embodiments of the present invention may include a smart phone (such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.), a tablet computer, a palmtop computer, a notebook computer, a mobile Internet device (MID, Mobile Internet Devices), or
  • a smart phone such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.
  • a tablet computer such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.
  • a palmtop computer such as a notebook computer
  • 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.
  • 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, and
  • 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.
  • 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 a terminal device.
  • the communication connection between the mobile terminal and the terminal device can be established through a wireless fidelity network, a mobile communication network (such as 2G, 3G, 4G, 5G, etc.) or a wired network.
  • a wireless fidelity network such as 2G, 3G, 4G, 5G, etc.
  • the mobile terminal starts a plurality of data transmission channels between the mobile terminal and the terminal device, and allocates data to be migrated to the plurality of data transmission channels, according to the result of the foregoing allocation, and
  • the data transmission channels migrate the data to be migrated to the terminal device.
  • 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:
  • connection between the mobile terminal and the terminal device establishes a data transmission channel
  • other data transmission channels can be further activated, for example, establishing a connection between the mobile terminal and the terminal device through the hotspot, and then, through Bluetooth again Establish a connection between the mobile terminal and the terminal device.
  • the mobile terminal may receive the migration instruction, and execute the step 201 in response to the migration instruction, where the migration instruction is input by the user at the mobile terminal, or input by the terminal device, and sent to the mobile terminal.
  • the mobile terminal may establish a communication connection with the terminal device by using the at least one data transmission channel.
  • the data to be migrated can be divided into multiple data sets, and each data set is transmitted by using one data transmission channel.
  • the allocating data to be migrated to the multiple data transmission channels may include the following steps:
  • the data to be migrated is allocated to the plurality of data transmission channels according to a bearer weight value of each of the plurality of data transmission channels.
  • the bandwidth of each data transmission channel of the plurality of data transmission channels can be monitored, and the transmission rate of each data transmission channel is determined according to the bandwidth of each data transmission channel. It can be considered that the wider the bandwidth, the larger the corresponding transmission rate.
  • the allocating data to be migrated to the multiple data transmission channels may include the following steps:
  • the data to be migrated may be divided into multiple data sets according to the size of the memory, or the data to be migrated may be randomly divided into multiple data sets, and each data set may correspond to one data transmission channel.
  • Data transmission channels are used to transmit data to be migrated.
  • the mobile terminal may further perform data compression on the plurality of data sets, and allocate the plurality of data sets after the data compression to the plurality of data transmission channels.
  • the data to be migrated may include multiple data types, and the data type may be one or more of the following: photo, video, audio, word, plug-in, and the like.
  • the mobile terminal can obtain the data type included in the data to be migrated, and further, obtain multiple data types, and the data to be migrated according to the multiple data types Classification is performed to obtain multiple data sets, and each data type can correspond to one data set.
  • each data type may correspond to a compression coefficient. If different data, the compression range is different. Therefore, the correspondence between the data type and the compression coefficient may be preset, and when the data is compressed, the data is determined according to the correspondence.
  • the compression coefficient corresponding to the corresponding data type is set, and further, the data set can be data compressed according to the compression coefficient.
  • the data set may be compressed according to the compression coefficient according to the compression coefficient corresponding to the data type of the data set j, and the data set j after the data compression occupies less memory. Improve data migration.
  • the data to be migrated is migrated to the terminal device by using the multiple data transmission channels according to the result of the allocation.
  • the data to be migrated is migrated to the terminal device through multiple data transmission channels according to the allocation result in step 202.
  • Each data transmission channel can be used to transmit a data set.
  • data compression may be performed on the data set, thereby reducing the memory space of the data to be migrated and improving data migration efficiency.
  • a certain compression ratio can be selected during the data compression process.
  • the data set may further include multiple data items.
  • the data set may be divided into multiple data items according to the importance of the data set, and each data item may be according to an important To determine a transmission priority, for example, the higher the importance of a data item, the higher the priority transmission. Conversely, if the importance of a data item is lower, the later transmission, so that the data can be guaranteed. Ordered transmission.
  • the data set may include the following steps during the transmission:
  • the data set can be divided into multiple data items, and the transmission priority of the multiple data items can be determined according to the memory size of each data item, for example, the memory is large, the transmission priority is high, the memory is small, and the transmission priority is Low, as such, the transmission priority of each data item can be determined, then the multiple data items can be transmitted to the terminal device according to the transmission priority of each of the plurality of data items.
  • the data to be migrated may be migrated to the terminal device by using multiple threads or multiple processes.
  • the sending the data to be migrated to the terminal device may include the following steps:
  • multiple threads can be used to speed up data migration to improve data migration efficiency.
  • the data set may include the following steps during the transmission:
  • the K data items are migrated to the terminal device according to the frequency of use high priority migration principle.
  • the data set can be divided into K data items, where K is an integer greater than 1, wherein K can be counted by the system (for example, K applications, which can be recorded as K data items, taking 3 applications as an example, application 1, application 2, application 3, each of the three applications is a data item) or specified by the user.
  • K can be counted by the system (for example, K applications, which can be recorded as K data items, taking 3 applications as an example, application 1, application 2, application 3, each of the three applications is a data item) or specified by the user.
  • the frequency of use of each of the K data items may be separately determined, and the order of migration of the K data items may be determined in descending order of use frequency, that is, the data items with higher frequency are migrated first.
  • the data items with lower frequency are migrated later, and the data to be migrated can be transmitted to the terminal device according to the migration order.
  • the data transmission channel between the mobile terminal and the terminal device is started, and the data to be migrated is allocated to multiple data transmission channels, according to the result of the distribution, and multiple data are passed.
  • the transmission channel migrates the data to be migrated to the terminal device. Therefore, multiple data transmission channels can be used for data transmission, which can improve data migration efficiency.
  • 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 set in advance in the mobile terminal, and the preset application list may include at least one regular application.
  • the N applications can be matched with the preset application list one by one, that is, any one of the N applications is matched with the preset application list, and then another application of the N applications and the preset application are added.
  • the list is matched, and so on, it can be determined which of the N applications are present in the preset application list and which are not present in the preset application list.
  • N applications include: QQ, WeChat, Taobao, Baidu map
  • the preset application list includes: Taobao, Baidu map, Meituan, Beauty camera, then, when the N applications are matched with the preset application list, Taobao and Baidu maps can be found in the preset application list, while QQ and WeChat do not exist in the preset application list.
  • the M applications that are included in the N applications are found in the preset application list, the M applications are closed, 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 data to be migrated is migrated to the terminal device by using the multiple data transmission channels according to the result of the allocation.
  • the load of the mobile terminal may be reduced when the multiple applications in the mobile terminal are running and belong to the preset application list, and may be migrated to the terminal device through multiple data transmission channels according to the distribution result in step 302. Data to be migrated, thereby improving data migration efficiency.
  • the data transmission channel between the mobile terminal and the terminal device is started, and the data to be migrated is allocated to multiple data transmission channels, which can be turned off and the mobile terminal is running and belongs to
  • the application of the application list is preset, and the data to be migrated is migrated to the terminal device through multiple data transmission channels according to the distribution result. Therefore, multiple data transmission channels can be used for data transmission, which can improve data migration efficiency. The data migration efficiency can be further improved by reducing the load on the mobile terminal.
  • FIG. 4 it is a schematic flowchart of a third embodiment of a data migration method according to an embodiment of the present invention.
  • the data migration method described in this embodiment includes the following steps:
  • the data to be migrated is migrated to the terminal device by using the multiple data transmission channels according to the result of the allocation.
  • the data transmission channel i When the data transmission channel i completes the migration in the multiple data transmission channels, the data transmission channel i is closed, where the data transmission channel i is any one of the multiple data transmission channels. .
  • the data transmission channel can be closed when the migration is completed in any of the multiple data transmission channels, thereby reducing the power consumption of the mobile terminal and reducing the load of the mobile terminal, thereby improving data migration efficiency.
  • the data transmission channel between the mobile terminal and the terminal device is started, and the data to be migrated is allocated to multiple data transmission channels, according to the result of the distribution, and multiple data are passed.
  • the transmission channel migrates the data to be migrated to the terminal device, and any of the data transmission channels completes the migration, the data transmission channel can be closed.
  • multiple data transmissions can be employed Channels for data transfer can improve data migration efficiency.
  • FIG. 5 is a schematic structural diagram of an embodiment of a data migration apparatus according to an embodiment of the present invention.
  • the data migration apparatus described in this embodiment includes: a switch control unit 501, an allocation unit 502, and a migration unit 503, as follows:
  • the switch control unit 501 is configured to start a plurality of data transmission channels between the mobile terminal and the terminal device after the mobile terminal is established with the terminal device;
  • An allocating unit 502 configured to allocate data to be migrated to the multiple data transmission channels
  • the migration unit 503 is configured to migrate the data to be migrated to the terminal device by using the multiple data transmission channels according to the result of the allocation.
  • the allocation unit 502 of the data migration apparatus described in FIG. 5a may include: an estimation module 5021, a determination module 5022, and a first allocation module 5023, as follows:
  • the estimating module 5021 is configured to estimate a transmission rate of each of the plurality of data transmission channels to obtain the multiple transmission rate values.
  • a determining module 5022 configured to determine, according to the multiple transmission rate values, a bearer weight value of each of the plurality of data transmission channels;
  • the first allocating module 5023 is configured to allocate data to be migrated to the plurality of data transmission channels according to a bearer weight value of each of the plurality of data transmission channels.
  • the estimating module 5021 is specifically configured to:
  • the allocation unit 502 of the data migration apparatus described in FIG. 5c and FIG. 5a may include: a division module 5024 and a second distribution module 5025, as follows:
  • a dividing module 5024 configured to divide the data to be migrated into the plurality of data sets
  • the second allocating module 5025 is configured to allocate the plurality of data sets to the plurality of data transmission channels, wherein the plurality of data transmission channels are in one-to-one correspondence with the plurality of data sets.
  • the dividing module 5024 is specifically configured to:
  • the second allocation module 5025 is specifically configured to:
  • the specific implementation manner that the second allocating module 5025 performs data compression on the multiple data sets separately is:
  • Data compression is performed on the data set according to the compression coefficient according to the compression coefficient corresponding to the data type of the data set j, and the data set j is any one of the plurality of data sets.
  • FIG. 5d is a modified structure of FIG. 5a.
  • the data migration apparatus described in FIG. 5a further includes: a determining unit 504, a matching unit 505, and a closing unit 506, as follows:
  • a determining unit 504 configured to determine, after the allocating unit 502 allocates data to be migrated to the multiple data transmission channels, N applications currently running in the mobile terminal, where N is an integer greater than one;
  • the matching unit 505 is configured to match the N applications with the preset application list.
  • the closing unit 506 is configured to: if the matching unit 505 matches that the M applications include the M application, the M applications are closed, and the migration unit 503 is configured by the migration unit 503. Assorting the result, and migrating the data to be migrated to the terminal device through the plurality of data transmission channels, wherein the M is an integer greater than 0 and smaller than the N.
  • the switch control unit 501 is further configured to:
  • the migration unit 503 migrates the data to be migrated to the terminal device by using the multiple data transmission channels according to the result of the allocation, the data transmission channel i is migrated in the multiple data transmission channels.
  • the data transmission channel i is closed, wherein the data transmission channel i is any one of the plurality of data transmission channels.
  • the data migration apparatus described in the embodiment of the present invention may start a plurality of data transmission channels between the mobile terminal and the terminal device after the mobile terminal and the terminal device are established, and allocate data to be migrated to the plurality of data transmission channels, according to the allocated As a result, the data to be migrated is migrated to the terminal device through a plurality of data transmission channels. Therefore, multiple data transmission channels can be used for data transmission, which can improve data migration efficiency.
  • the data migration device described in the device embodiment of the present invention is presented in the form of a functional unit.
  • the term "unit” as used herein shall be understood to mean the broadest possible meaning, and the object for implementing the functions described for each "unit” may be, for example, an integrated circuit ASIC, a single circuit for executing one or more software or firmware.
  • a processor shared, dedicated or chipset
  • memory of the program combinatorial logic, and/or other suitable components that perform the functions described above.
  • the switch control unit 501 after the mobile terminal is established with the terminal device, the function of starting a plurality of data transmission channels between the mobile terminal and the terminal device can be implemented by the mobile terminal shown in FIG.
  • the processor 3000 can be used to initiate multiple data transmission channels between the mobile terminal and the terminal device after the mobile terminal and the terminal device are established by calling the executable program code in the memory 4000.
  • FIG. 6 is a schematic structural diagram of an embodiment of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, such as a CPU; and a memory 4000, the input device 1000, the output device 2000, the processor 3000, and The memory 4000 is connected by a bus 5000.
  • the input device 1000 may be a touch panel, a physical button, or a mouse.
  • the output device 2000 described above may specifically be a display screen.
  • the above memory 4000 may be a high speed RAM memory or a non-volatile memory such as a magnetic disk memory.
  • the above memory 4000 is used to store a set of program codes, and the input device 1000, the output device 2000, and the processor 3000 are used to call the program code stored in the memory 4000, and perform the following operations:
  • the processor 3000 is configured to:
  • the foregoing processor 3000 allocates data to be migrated to the multiple data transmission channels, including:
  • the foregoing processor 3000 estimates a transmission rate of each of the plurality of data transmission channels, and obtains the multiple transmission rate values, including:
  • the foregoing processor 3000 allocates data to be migrated to the multiple data transmission channels, including:
  • the foregoing processor 3000 divides the data to be migrated into the multiple data sets, including:
  • the data to be migrated is divided into a plurality of data sets according to the plurality of data types.
  • the foregoing processor 3000 allocates the multiple data sets to the multiple data transmission channels, including:
  • the processor 3000 performs data compression on the multiple data sets separately, including:
  • Data compression is performed on the data set according to the compression coefficient according to the compression coefficient corresponding to the data type of the data set j, and the data set j is any one of the plurality of data sets.
  • the processor 3000 after the data to be migrated is allocated to the multiple data transmission channels, and according to the result of the allocation, and to the terminal by using the multiple data transmission channels Before the device migrates the data to be migrated, it is also specifically used to:
  • N is an integer greater than one
  • the M applications that are included in the N applications are present in the preset application list, the M applications are closed, the results according to the allocation are performed, and the multiple data transmission channels are used.
  • the terminal device migrates the data to be migrated, where the M is an integer greater than 0 and smaller than the N.
  • the processor is further configured to:
  • the data transmission channel i When the data transmission channel i completes the migration in the plurality of data transmission channels, the data transmission channel i is closed, wherein the data transmission channel i is any one of the plurality of data transmission channels.
  • 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the present invention provide a data migration method and a related product. The method comprises: starting multiple data transmission channels between a mobile terminal and a terminal device after the mobile terminal and the terminal device are established; allocating to-be-migrated data to the multiple data transmission channels; and migrating the to-be-migrated data to the terminal device by means of the multiple data transmission channels according to the allocation result. The embodiments of the present invention can improve data migration efficiency.

Description

数据迁移方法及相关产品Data migration method and related products
本发明要求2016年9月14日递交的发明名称为“一种数据迁移方法及移动终端”的申请号201610824876.7的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。The present invention claims the priority of the prior application of the application No. 201610824876.7, entitled "A Data Migration Method and Mobile Terminal", filed on September 14, 2016, the content of which is 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:
在移动终端与终端设备建立之后,启动所述移动终端与终端设备之间多个数据传输通道;After the mobile terminal is established with the terminal device, starting a plurality of data transmission channels between the mobile terminal and the terminal device;
将待迁移数据分配给所述多个数据传输通道;Allocating data to be migrated to the plurality of data transmission channels;
按照所述分配的结果,并通过所述多个数据传输通道向所述终端设备迁移所述待迁移数据。And the data to be migrated is migrated to the terminal device by using the multiple data transmission channels according to the result of the allocation.
本发明实施例第二方面提供了一种数据迁移装置,包括:A second aspect of the embodiments of the present invention provides a data migration apparatus, including:
开关控制单元,用于在移动终端与终端设备建立之后,启动所述移动终端与终端设备之间多个数据传输通道;a switch control unit, configured to start a plurality of data transmission channels between the mobile terminal and the terminal device after the mobile terminal is established with the terminal device;
分配单元,用于将待迁移数据分配给所述多个数据传输通道;An allocating unit, configured to allocate data to be migrated to the multiple data transmission channels;
迁移单元,用于按照所述分配的结果,并通过所述多个数据传输通道向所 述终端设备迁移所述待迁移数据。a migration unit, configured to follow the result of the allocating, and to pass through the plurality of data transmission channels The terminal device migrates the data to be migrated.
本发明实施例第三方面提供了一种移动终端,包括:A third aspect of the embodiments of the present invention provides a mobile terminal, including:
处理器和存储器;其中,所述处理器通过调用所述存储器中的代码或指令以执行第一方面所描述的方法的部分或者全部步骤。A processor and a memory; wherein the processor performs some or all of the steps of the method described in the first aspect by invoking code or instructions in the memory.
第四方面,本发明实施例提供了一种计算机可读存储介质,其中,所述计算机可读存储介质用于存储计算机程序,其中,所述计算机程序使得计算机执行如本发明实施例第一方面中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, wherein the computer readable storage medium is configured to store a computer program, wherein the computer program causes a computer to perform the first aspect of the embodiment of the present invention. Some or all of the steps described in this.
第五方面,本发明实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本发明实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to execute Some or all of the steps described in the first aspect of the invention. The computer program product can be a software installation package.
附图说明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;
图4是本发明实施例提供的一种数据迁移方法的第三实施例流程示意图;4 is a schematic flowchart diagram of a third embodiment of a data migration method according to an embodiment of the present invention;
图5a是本发明实施例提供的一种数据迁移装置的实施例结构示意图;FIG. 5 is a schematic structural diagram of an embodiment of a data migration apparatus according to an embodiment of the present invention; FIG.
图5b是本发明实施例提供的图5a所描述的数据迁移装置的分配单元的结构示意图;FIG. 5b is a schematic structural diagram of an allocation unit of the data migration apparatus described in FIG. 5a according to an embodiment of the present disclosure;
图5c是本发明实施例提供的图5a所描述的数据迁移装置的分配单元的又一结构示意图;FIG. 5c is still another schematic structural diagram of an allocating unit of the data migration apparatus described in FIG. 5a according to an embodiment of the present disclosure;
图5d是本发明实施例提供的图5a所描述的数据迁移装置的又一结构示意图;FIG. 5d is still another schematic structural diagram of the data migration apparatus described in FIG. 5a according to an embodiment of the present invention;
图6是本发明实施例提供的一种移动终端的实施例结构示意图。 FIG. 6 is a schematic structural diagram of an embodiment of a mobile terminal according to an embodiment of the present invention.
具体实施方式detailed description
在手机搬家过程中,相关技术中的方法虽然支持单机互传,但是,数据迁移效率太。本发明实施例提供了一种数据迁移方法及相关产品,可以提升数据迁移效率。In the process of mobile phone moving, although the methods in the related technologies support single-machine mutual transmission, the data migration efficiency is too high. The embodiment of the invention provides a data migration method and related products, which can improve data migration efficiency.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", and "fourth" and the like in the specification and claims of the present invention are used to distinguish different objects, and are not intended to describe a specific order. . Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置展示该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。References to "an embodiment" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
本发明实施例所描述的数据可以包括应用(如社交应用、视频应用、拍照应用、游戏应用等)、文件夹、文件(如文本文件、视频文件、音频文件、照片等等)、缓存数据、私密数据等,上述数据仅是举例,而非穷举,包含但不限于上述数据。The data described in the embodiments of the present invention may include applications (such as social applications, video applications, photo applications, game applications, etc.), folders, files (such as text files, video files, audio files, photos, etc.), cached data, Private data, etc., the above data are only examples, not exhaustive, including but not limited to the above data.
本发明实施例所描述的移动终端或者终端设备可以包括智能手机(如Android手机、iOS手机、Windows Phone手机等)、平板电脑、掌上电脑、笔记本电脑、移动互联网设备(MID,Mobile Internet Devices)或穿戴式设备等,上述仅是举例,而非穷举,包含但不限于上述移动终端或者终端设备。当然,本发明实施例中所提及的终端设备可与移动终端相同,例如,终端设备为手机, 移动终端为另一手机;终端设备也可与移动终端不相同,例如,终端设备为手机,移动终端为平板电脑。The mobile terminal or the terminal device described in the embodiments of the present invention may include a smart phone (such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.), a tablet computer, a palmtop computer, a notebook computer, a mobile Internet device (MID, Mobile Internet Devices), or The wearable device and the like are merely examples, and are not exhaustive, including but not limited to the above-described mobile terminal or terminal device. Of course, 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. 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, and the mobile terminal is a tablet computer.
本发明实施例所描述的数据传输通道可包括但不仅限于:热点、蓝牙、红外、无线保真(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.
请参见图1,图1为本发明实施例提供了一种数据迁移系统的网络架构,该网络构架可包括:移动终端和终端设备。其中,移动终端与终端设备之间可通过无线保真网络、移动通信网络(如2G、3G、4G、5G等等)、有线网络建立通信连接。例如,移动终端在移动终端与终端设备建立之后,启动该移动终端与终端设备之间多个数据传输通道,将待迁移数据分配给该多个数据传输通道,按照上述分配的结果,并通过多个数据传输通道向所述终端设备迁移待迁移数据。Referring to FIG. 1, FIG. 1 is a schematic diagram of a network architecture of a data migration system, where the network architecture may include: a mobile terminal and a terminal device. The communication connection between the mobile terminal and the terminal device can be established through a wireless fidelity network, a mobile communication network (such as 2G, 3G, 4G, 5G, etc.) or a wired network. For example, after the mobile terminal establishes with the terminal device, the mobile terminal starts a plurality of data transmission channels between the mobile terminal and the terminal device, and allocates data to be migrated to the plurality of data transmission channels, according to the result of the foregoing allocation, and The data transmission channels migrate the data to be migrated to the terminal device.
基于图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. After the mobile terminal is established with the terminal device, start multiple data transmission channels between the mobile terminal and the terminal device.
其中,在移动终端与终端设备建立一个数据传输通道之间的连接之后,可进一步启动其他数据传输通道,例如,通过热点建立移动终端与终端设备之间的连接,那么,之后,可通过蓝牙再次建立移动终端与终端设备之间的连接。After the connection between the mobile terminal and the terminal device establishes a data transmission channel, other data transmission channels can be further activated, for example, establishing a connection between the mobile terminal and the terminal device through the hotspot, and then, through Bluetooth again Establish a connection between the mobile terminal and the terminal device.
可选地,移动终端可接收迁移指令,响应该迁移指令执行步骤201,其中,该迁移指令由用户在该移动终端进行输入,或者,由终端设备输入,并发送给该移动终端。 Optionally, the mobile terminal may receive the migration instruction, and execute the step 201 in response to the migration instruction, where the migration instruction is input by the user at the mobile terminal, or input by the terminal device, and sent to the mobile terminal.
可选地,在执行步骤201之前,移动终端可通过上述至少一个数据传输通道与终端设备建立通信连接。Optionally, before performing step 201, the mobile terminal may establish a communication connection with the terminal device by using the at least one data transmission channel.
202、将待迁移数据分配给所述多个数据传输通道。202. Allocate data to be migrated to the multiple data transmission channels.
其中,可将待迁移数据分为多个数据集,每个数据集采用一个数据传输通道来传输。The data to be migrated can be divided into multiple data sets, and each data set is transmitted by using one data transmission channel.
可选地,上述所述将待迁移数据分配给所述多个数据传输通道,可包括如下步骤:Optionally, the allocating data to be migrated to the multiple data transmission channels may include the following steps:
21)、预估所述多个数据传输通道中每一数据传输通道的传输速率,得到所述多个传输速率值;21) estimating a transmission rate of each of the plurality of data transmission channels to obtain the plurality of transmission rate values;
22)、根据所述多个传输速率值确定所述多个数据传输通道中每一数据传输信道的承载权重值;22) determining, according to the multiple transmission rate values, a bearer weight value of each of the plurality of data transmission channels;
23)、根据所述多个数据传输通道中每一数据传输信道的承载权重值将待迁移数据分配给所述多个数据传输通道。23) The data to be migrated is allocated to the plurality of data transmission channels according to a bearer weight value of each of the plurality of data transmission channels.
其中,可监听多个数据传输通道中每一数据传输通道的带宽,根据该每一数据传输通道的带宽确定每一数据传输通道的传输速率。可以认为,带宽越宽,其对应的传输速率越大。The bandwidth of each data transmission channel of the plurality of data transmission channels can be monitored, and the transmission rate of each data transmission channel is determined according to the bandwidth of each data transmission channel. It can be considered that the wider the bandwidth, the larger the corresponding transmission rate.
可选地,上述所述将待迁移数据分配给所述多个数据传输通道,可包括如下步骤:Optionally, the allocating data to be migrated to the multiple data transmission channels may include the following steps:
24)、将所述待迁移数据分为所述多个数据集;24) dividing the data to be migrated into the plurality of data sets;
25)、将所述多个数据集分配给所述多个数据传输通道,其中,所述多个数据传输通道与所述多个数据集一一对应。25) assigning the plurality of data sets to the plurality of data transmission channels, wherein the plurality of data transmission channels are in one-to-one correspondence with the plurality of data sets.
其中,可将待迁移数据按照内存大小,分为多个数据集,或者,可随机地将待迁移数据分为多个数据集,每一数据集可对应一个数据传输通道,如此,可采用多个数据传输通道用来传输待迁移数据。可选地,移动终端还可以将多个数据集分别进行数据压缩,并将数据压缩之后的多个数据集分配给多个数据传输通道。The data to be migrated may be divided into multiple data sets according to the size of the memory, or the data to be migrated may be randomly divided into multiple data sets, and each data set may correspond to one data transmission channel. Data transmission channels are used to transmit data to be migrated. Optionally, the mobile terminal may further perform data compression on the plurality of data sets, and allocate the plurality of data sets after the data compression to the plurality of data transmission channels.
可选地,待迁移数据中可包含多个数据类型,该数据类型可为以下一种或者多种:照片、视频、音频、word、插件等等。移动终端可获取待迁移数据包含的数据类型,进而,得到多个数据类型,依据该多个数据类型将待迁移数据 进行分类,得到多个数据集,每一数据类型可对应一个数据集。当然,每一数据类型可对应一个压缩系数,不同的数据的话,压缩范围也不一样,因而,可预先设置数据类型与压缩系数之间的对应关系,在数据压缩时,根据该对应关系确定数据集对应的数据类型所对应的压缩系数,进而,可根据该压缩系数对数据集进行数据压缩。以上述多个数据集中的数据集j为例,可根据数据集j的数据类型对应的压缩系数,根据压缩系数对数据集进行数据压缩,数据压缩之后的数据集j占据更小的内存,可提升数据迁移效果。Optionally, the data to be migrated may include multiple data types, and the data type may be one or more of the following: photo, video, audio, word, plug-in, and the like. The mobile terminal can obtain the data type included in the data to be migrated, and further, obtain multiple data types, and the data to be migrated according to the multiple data types Classification is performed to obtain multiple data sets, and each data type can correspond to one data set. Certainly, each data type may correspond to a compression coefficient. If different data, the compression range is different. Therefore, the correspondence between the data type and the compression coefficient may be preset, and when the data is compressed, the data is determined according to the correspondence. The compression coefficient corresponding to the corresponding data type is set, and further, the data set can be data compressed according to the compression coefficient. Taking the data set j in the plurality of data sets as an example, the data set may be compressed according to the compression coefficient according to the compression coefficient corresponding to the data type of the data set j, and the data set j after the data compression occupies less memory. Improve data migration.
203、按照所述分配的结果,并通过所述多个数据传输通道向所述终端设备迁移所述待迁移数据。203. The data to be migrated is migrated to the terminal device by using the multiple data transmission channels according to the result of the allocation.
其中,可按照步骤202中的分配结果,通过多个数据传输通道向终端设备迁移待迁移数据。The data to be migrated is migrated to the terminal device through multiple data transmission channels according to the allocation result in step 202.
其中,每一数据传输通道均可用来传输一个数据集。Each data transmission channel can be used to transmit a data set.
可选地,在数据集传输给终端设备的过程中,可对数据集进行数据压缩,从而,减小待迁移数据的内存空间,提高数据迁移效率。当然,数据压缩过程中还可选择一定的压缩比。Optionally, in the process of transmitting the data set to the terminal device, data compression may be performed on the data set, thereby reducing the memory space of the data to be migrated and improving data migration efficiency. Of course, a certain compression ratio can be selected during the data compression process.
可选地,数据集还可以包含多个数据项,在数据集传输给终端设备的过程中,可按照数据集的重要性,将数据集划分为多个数据项,每一数据项可根据重要性确定一个传输优先级,例如,某一数据项的重要性越高,则越优先传输,相反地,若某一数据项的重要性越低,则越后传输,如此,可保证数据可进行有序传输。Optionally, the data set may further include multiple data items. In the process of transmitting the data set to the terminal device, the data set may be divided into multiple data items according to the importance of the data set, and each data item may be according to an important To determine a transmission priority, for example, the higher the importance of a data item, the higher the priority transmission. Conversely, if the importance of a data item is lower, the later transmission, so that the data can be guaranteed. Ordered transmission.
可选地,对于每一通道而言,数据集在传输过程中,可包含如下步骤:Optionally, for each channel, the data set may include the following steps during the transmission:
41)、将所述数据集分成多个数据项;41) dividing the data set into a plurality of data items;
42)、确定所述多个数据项中的每一数据项的传输优先级;42) determining a transmission priority of each of the plurality of data items;
43)、根据所述多个数据项中的每一数据项的传输优先级将所述多个数据项传输给所述终端设备。43) transmitting the plurality of data items to the terminal device according to a transmission priority of each of the plurality of data items.
其中,可将数据集分成多个数据项,可根据每一数据项的内存大小确定该多个数据项的传输优先级,例如,内存大的,传输优先级高,内存小的,传输优先级低,如此,可确定每一数据项的传输优先级,那么,可根据该多个数据项中的每一数据项的传输优先级传输该多个数据项至终端设备。 The data set can be divided into multiple data items, and the transmission priority of the multiple data items can be determined according to the memory size of each data item, for example, the memory is large, the transmission priority is high, the memory is small, and the transmission priority is Low, as such, the transmission priority of each data item can be determined, then the multiple data items can be transmitted to the terminal device according to the transmission priority of each of the plurality of data items.
可选地,可采用多线程或者多进程向终端设备迁移待迁移数据。例如,将待私密数据分成多个数据项,每个数据项均可采用一个线程或者进程,来用于向终端设备传输该数据项,如此,可提升数据迁移效率。Optionally, the data to be migrated may be migrated to the terminal device by using multiple threads or multiple processes. For example, the data to be privately divided into a plurality of data items, each of which can be used by one thread or process for transmitting the data item to the terminal device, thereby improving data migration efficiency.
可选地,以多线程为例加以细化,上述向所述终端设备发送所述待迁移数据,可包括如下步骤:Optionally, the multi-threading is used as an example. The sending the data to be migrated to the terminal device may include the following steps:
44)、将所述数据集分成多个数据项;44) dividing the data set into a plurality of data items;
45)、为所述多个数据项分配所述多个线程,其中,所述多个数据项中的每一数据项对应唯一一个线程;45) assigning the plurality of threads to the plurality of data items, wherein each of the plurality of data items corresponds to a unique thread;
46)、采用所述多个线程向所述终端设备发送所述多个数据项。46) transmitting, by the plurality of threads, the plurality of data items to the terminal device.
因此,可采用多个线程加快数据迁移,以达到提升数据迁移效率的目的。Therefore, multiple threads can be used to speed up data migration to improve data migration efficiency.
可选地,对于每一通道而言,数据集在传输过程中,可包含如下步骤:Optionally, for each channel, the data set may include the following steps during the transmission:
将数据集分成K个数据项,其中,K为大于1的整数;Dividing the data set into K data items, where K is an integer greater than one;
确定K个数据项在所述移动终端中的使用频率;Determining a frequency of use of K data items in the mobile terminal;
根据使用频率高优先迁移原则向终端设备迁移K个数据项。The K data items are migrated to the terminal device according to the frequency of use high priority migration principle.
其中,可将该数据集分成K个数据项,其中,K为大于1的整数,其中,K可由系统统计(如K个应用,可记作K个数据项,以3个应用为例,应用1,应用2,应用3,该3个应用每一应用均为一个数据项)或者由用户指定。可分别确定该K个数据项中的每一数据项的使用频率,可按照使用频率由高到低的顺序确定该K个数据项的迁移顺序,即使用频率越高的数据项则越先迁移,使用频率越低的数据项则越后迁移,则可按照该迁移顺序将待迁移数据传输给终端设备。The data set can be divided into K data items, where K is an integer greater than 1, wherein K can be counted by the system (for example, K applications, which can be recorded as K data items, taking 3 applications as an example, application 1, application 2, application 3, each of the three applications is a data item) or specified by the user. The frequency of use of each of the K data items may be separately determined, and the order of migration of the K data items may be determined in descending order of use frequency, that is, the data items with higher frequency are migrated first. The data items with lower frequency are migrated later, and the data to be migrated can be transmitted to the terminal device according to the migration order.
通过本发明实施例在移动终端与终端设备建立之后,启动移动终端与终端设备之间多个数据传输通道,将待迁移数据分配给多个数据传输通道,按照分配的结果,并通过多个数据传输通道向终端设备迁移待迁移数据。从而,可采用多个数据传输通道进行数据传输,可提高数据迁移效率。After the mobile terminal and the terminal device are established, the data transmission channel between the mobile terminal and the terminal device is started, and the data to be migrated is allocated to multiple data transmission channels, according to the result of the distribution, and multiple data are passed. The transmission channel migrates the data to be migrated to the terminal device. Therefore, multiple data transmission channels can be used for data transmission, which can improve data migration efficiency.
与上述一致地,请参阅图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. After the mobile terminal is established with the terminal device, start the mobile terminal and the terminal device. Multiple data transmission channels.
302、将待迁移数据分配给所述多个数据传输通道。302. Allocate data to be migrated to the multiple data transmission channels.
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 set in advance in the mobile terminal, and the preset application list may include at least one regular application. The N applications can be matched with the preset application list one by one, that is, any one of the N applications is matched with the preset application list, and then another application of the N applications and the preset application are added. The list is matched, and so on, it can be determined which of the N applications are present in the preset application list and which are not present in the preset application list.
例如,N个应用包括:QQ、微信、淘宝、百度地图,预设应用列表包括:淘宝、百度地图、美团、美颜相机,那么,在将该N个应用与预设应用列表进行匹配时,可得到淘宝、百度地图存在于预设应用列表中,而QQ、微信不存在于预设应用列表中。For example, N applications include: QQ, WeChat, Taobao, Baidu map, and the preset application list includes: Taobao, Baidu map, Meituan, Beauty camera, then, when the N applications are matched with the preset application list, Taobao and Baidu maps can be found in the preset application list, while QQ and WeChat do not exist in the preset application list.
305、若匹配出所述N个应用中包含M个应用存在于所述预设应用列表时,关闭所述M个应用,其中,所述M为大于0且小于所述N的整数。305. If the M applications that are included in the N applications are found in the preset application list, the M applications are closed, 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 data to be migrated is migrated to the terminal device by using the multiple data transmission channels according to the result of the allocation.
其中,可在关闭掉移动终端中正在运行且属于预设应用列表中的多个应用时,可降低移动终端的负荷,可按照步骤302中的分配结果,通过多个数据传输通道向终端设备迁移待迁移数据,从而,提高数据迁移效率。The load of the mobile terminal may be reduced when the multiple applications in the mobile terminal are running and belong to the preset application list, and may be migrated to the terminal device through multiple data transmission channels according to the distribution result in step 302. Data to be migrated, thereby improving data migration efficiency.
通过本发明实施例在移动终端与终端设备建立之后,启动移动终端与终端设备之间多个数据传输通道,将待迁移数据分配给多个数据传输通道,可关闭掉移动终端中正在运行且属于预设应用列表的应用,并按照分配的结果,并通过多个数据传输通道向终端设备迁移待迁移数据。从而,可采用多个数据传输通道进行数据传输,可提高数据迁移效率。由于降低了移动终端的负荷,因而,可进一步提升数据迁移效率。After the mobile terminal and the terminal device are established, the data transmission channel between the mobile terminal and the terminal device is started, and the data to be migrated is allocated to multiple data transmission channels, which can be turned off and the mobile terminal is running and belongs to The application of the application list is preset, and the data to be migrated is migrated to the terminal device through multiple data transmission channels according to the distribution result. Therefore, multiple data transmission channels can be used for data transmission, which can improve data migration efficiency. The data migration efficiency can be further improved by reducing the load on the mobile terminal.
与上述一致地,请参阅图4,为本发明实施例提供的一种数据迁移方法的第三实施例流程示意图。本实施例中所描述的数据迁移方法,包括以下步骤:With reference to FIG. 4, it is a schematic flowchart of a third embodiment of a data migration method according to an embodiment of the present invention. The data migration method described in this embodiment includes the following steps:
401、在移动终端与终端设备建立之后,启动所述移动终端与终端设备之间多个数据传输通道。401. After the mobile terminal is established with the terminal device, start multiple data transmission channels between the mobile terminal and the terminal device.
402、将待迁移数据分配给所述多个数据传输通道。402. Allocate data to be migrated to the multiple data transmission channels.
403、按照所述分配的结果,并通过所述多个数据传输通道向所述终端设备迁移所述待迁移数据。403. The data to be migrated is migrated to the terminal device by using the multiple data transmission channels according to the result of the allocation.
404、在所述多个数据传输通道中数据传输通道i完成迁移时,关闭所述数据传输通道i,其中,所述数据传输通道i为所述多个数据传输通道中的任一数据传输通道。404. When the data transmission channel i completes the migration in the multiple data transmission channels, the data transmission channel i is closed, where the data transmission channel i is any one of the multiple data transmission channels. .
其中,可在多个数据传输通道中任一通道完成迁移时,关闭该数据传输通道,从而,可降低移动终端的功耗,也降低了移动终端的负荷,可提升数据迁移效率。The data transmission channel can be closed when the migration is completed in any of the multiple data transmission channels, thereby reducing the power consumption of the mobile terminal and reducing the load of the mobile terminal, thereby improving data migration efficiency.
通过本发明实施例在移动终端与终端设备建立之后,启动移动终端与终端设备之间多个数据传输通道,将待迁移数据分配给多个数据传输通道,按照分配的结果,并通过多个数据传输通道向终端设备迁移待迁移数据,并且任一数据传输通道完成迁移时,可关闭该数据传输通道。从而,可采用多个数据传输 通道进行数据传输,可提高数据迁移效率。After the mobile terminal and the terminal device are established, the data transmission channel between the mobile terminal and the terminal device is started, and the data to be migrated is allocated to multiple data transmission channels, according to the result of the distribution, and multiple data are passed. When the transmission channel migrates the data to be migrated to the terminal device, and any of the data transmission channels completes the migration, the data transmission channel can be closed. Thus, multiple data transmissions can be employed Channels for data transfer can improve data migration efficiency.
与上述一致地,以下为实施上述数据迁移方法的装置,具体如下:Consistent with the above, the following is an apparatus for implementing the above data migration method, as follows:
请参阅图5a,为本发明实施例提供的一种数据迁移装置的实施例结构示意图。本实施例中所描述的数据迁移装置,包括:开关控制单元501、分配单元502和迁移单元503,具体如下:FIG. 5 is a schematic structural diagram of an embodiment of a data migration apparatus according to an embodiment of the present invention. The data migration apparatus described in this embodiment includes: a switch control unit 501, an allocation unit 502, and a migration unit 503, as follows:
开关控制单元501,用于在移动终端与终端设备建立之后,启动所述移动终端与终端设备之间多个数据传输通道;The switch control unit 501 is configured to start a plurality of data transmission channels between the mobile terminal and the terminal device after the mobile terminal is established with the terminal device;
分配单元502,用于将待迁移数据分配给所述多个数据传输通道;An allocating unit 502, configured to allocate data to be migrated to the multiple data transmission channels;
迁移单元503,用于按照所述分配的结果,并通过所述多个数据传输通道向所述终端设备迁移所述待迁移数据。The migration unit 503 is configured to migrate the data to be migrated to the terminal device by using the multiple data transmission channels according to the result of the allocation.
可选地,如图5b,图5a中所描述的数据迁移装置的分配单元502可包括:预估模块5021、确定模块5022和第一分配模块5023,具体如下:Optionally, as shown in FIG. 5b, the allocation unit 502 of the data migration apparatus described in FIG. 5a may include: an estimation module 5021, a determination module 5022, and a first allocation module 5023, as follows:
预估模块5021,用于预估所述多个数据传输通道中每一数据传输通道的传输速率,得到所述多个传输速率值;The estimating module 5021 is configured to estimate a transmission rate of each of the plurality of data transmission channels to obtain the multiple transmission rate values.
确定模块5022,用于根据所述多个传输速率值确定所述多个数据传输通道中每一数据传输信道的承载权重值;a determining module 5022, configured to determine, according to the multiple transmission rate values, a bearer weight value of each of the plurality of data transmission channels;
第一分配模块5023,用于根据所述多个数据传输通道中每一数据传输信道的承载权重值将待迁移数据分配给所述多个数据传输通道。The first allocating module 5023 is configured to allocate data to be migrated to the plurality of data transmission channels according to a bearer weight value of each of the plurality of data transmission channels.
可选地,预估模块5021具体用于:Optionally, the estimating module 5021 is specifically configured to:
监听所述多个数据传输通道中每一数据传输通道的带宽,根据该每一数据传输通道的带宽确定每一数据传输通道的传输速率,得到所述多个传输速率值。And monitoring a bandwidth of each of the plurality of data transmission channels, determining a transmission rate of each data transmission channel according to a bandwidth of each of the data transmission channels, to obtain the plurality of transmission rate values.
可选地,如图5c,图5a中所描述的数据迁移装置的分配单元502可包括:划分模块5024和第二分配模块5025,具体如下:Optionally, the allocation unit 502 of the data migration apparatus described in FIG. 5c and FIG. 5a may include: a division module 5024 and a second distribution module 5025, as follows:
划分模块5024,用于将所述待迁移数据分为所述多个数据集;a dividing module 5024, configured to divide the data to be migrated into the plurality of data sets;
第二分配模块5025,用于将所述多个数据集分配给所述多个数据传输通道,其中,所述多个数据传输通道与所述多个数据集一一对应。The second allocating module 5025 is configured to allocate the plurality of data sets to the plurality of data transmission channels, wherein the plurality of data transmission channels are in one-to-one correspondence with the plurality of data sets.
可选地,所述划分模块5024具体用于: Optionally, the dividing module 5024 is specifically configured to:
获取待迁移数据包含的数据类型,得到多个数据类型;根据所述多个数据类型将所述待迁移数据分为多个数据集。Obtaining a data type included in the data to be migrated, and obtaining a plurality of data types; and dividing the data to be migrated into multiple data sets according to the multiple data types.
可选地,所述第二分配模块5025具体用于:Optionally, the second allocation module 5025 is specifically configured to:
将所述多个数据集分别进行数据压缩,并将数据压缩之后的所述多个数据集分配给所述多个数据传输通道。And compressing the plurality of data sets respectively, and allocating the plurality of data sets after the data compression to the plurality of data transmission channels.
可选地,第二分配模块5025将所述多个数据集分别进行数据压缩的具体实现方式为:Optionally, the specific implementation manner that the second allocating module 5025 performs data compression on the multiple data sets separately is:
根据数据集j的数据类型对应的压缩系数,根据所述压缩系数对数据集进行数据压缩,所述数据集j为所述多个数据集中的任一个数据集。Data compression is performed on the data set according to the compression coefficient according to the compression coefficient corresponding to the data type of the data set j, and the data set j is any one of the plurality of data sets.
可选地,如图5d,图5d为图5a的一种变型结构,图5a中所描述的数据迁移装置还包括:确定单元504、匹配单元505和关闭单元506,具体如下:Optionally, as shown in FIG. 5d, FIG. 5d is a modified structure of FIG. 5a. The data migration apparatus described in FIG. 5a further includes: a determining unit 504, a matching unit 505, and a closing unit 506, as follows:
确定单元504,用于在所述分配单元502将待迁移数据分配给所述多个数据传输通道之后,确定所述移动终端中当前正在运行的N个应用,所述N为大于1的整数;a determining unit 504, configured to determine, after the allocating unit 502 allocates data to be migrated to the multiple data transmission channels, N applications currently running in the mobile terminal, where N is an integer greater than one;
匹配单元505,用于将所述N个应用与预设应用列表进行匹配;The matching unit 505 is configured to match the N applications with the preset application list.
关闭单元506,用于若所述匹配单元505匹配出所述N个应用中包含M个应用存在于所述预设应用列表时,关闭所述M个应用,由所述迁移单元503按照所述分配的结果,并通过所述多个数据传输通道向所述终端设备迁移所述待迁移数据,其中,所述M为大于0且小于所述N的整数。The closing unit 506 is configured to: if the matching unit 505 matches that the M applications include the M application, the M applications are closed, and the migration unit 503 is configured by the migration unit 503. Assorting the result, and migrating the data to be migrated to the terminal device through the plurality of data transmission channels, wherein the M is an integer greater than 0 and smaller than the N.
可选地,上述开关控制单元501还用于:Optionally, the switch control unit 501 is further configured to:
在所述迁移单元503按照所述分配的结果,并通过所述多个数据传输通道向所述终端设备迁移所述待迁移数据之后,在所述多个数据传输通道中数据传输通道i完成迁移时,关闭所述数据传输通道i,其中,所述数据传输通道i为所述多个数据传输通道中的任一数据传输通道。After the migration unit 503 migrates the data to be migrated to the terminal device by using the multiple data transmission channels according to the result of the allocation, the data transmission channel i is migrated in the multiple data transmission channels. The data transmission channel i is closed, wherein the data transmission channel i is any one of the plurality of data transmission channels.
通过本发明实施例所描述的数据迁移装置可在移动终端与终端设备建立之后,启动移动终端与终端设备之间多个数据传输通道,将待迁移数据分配给多个数据传输通道,按照分配的结果,并通过多个数据传输通道向终端设备迁移待迁移数据。从而,可采用多个数据传输通道进行数据传输,可提高数据迁移效率。 The data migration apparatus described in the embodiment of the present invention may start a plurality of data transmission channels between the mobile terminal and the terminal device after the mobile terminal and the terminal device are established, and allocate data to be migrated to the plurality of data transmission channels, according to the allocated As a result, the data to be migrated is migrated to the terminal device through a plurality of data transmission channels. Therefore, multiple data transmission channels can be used for data transmission, which can improve data migration efficiency.
可以理解的是,上述本实施例的数据迁移装置的各程序模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It is to be understood that the functions of the program modules of the data migration apparatus of the foregoing embodiment may be specifically implemented according to the method in the foregoing method embodiments, and the specific implementation process may refer to the related description of the foregoing method embodiments, and details are not described herein again. .
需要注意的是,本发明装置实施例所描述的数据迁移装置是以功能单元的形式呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。It should be noted that the data migration device described in the device embodiment of the present invention is presented in the form of a functional unit. The term "unit" as used herein shall be understood to mean the broadest possible meaning, and the object for implementing the functions described for each "unit" may be, for example, an integrated circuit ASIC, a single circuit for executing one or more software or firmware. A processor (shared, dedicated or chipset) and memory of the program, combinatorial logic, and/or other suitable components that perform the functions described above.
举例来说,上述开关控制单元501,用于在移动终端与终端设备建立之后,启动所述移动终端与终端设备之间多个数据传输通道的功能可以由图6所示的移动终端来实现,具体可以通过处理器3000通过调用存储器4000中的可执行程序代码,实现在移动终端与终端设备建立之后,启动所述移动终端与终端设备之间多个数据传输通道。For example, the switch control unit 501, after the mobile terminal is established with the terminal device, the function of starting a plurality of data transmission channels between the mobile terminal and the terminal device can be implemented by the mobile terminal shown in FIG. Specifically, the processor 3000 can be used to initiate multiple data transmission channels between the mobile terminal and the terminal device after the mobile terminal and the terminal device are established by calling the executable program code in the memory 4000.
请参阅图6,为本发明实施例提供的一种移动终端的实施例结构示意图。本实施例中所描述的移动终端,包括:至少一个输入设备1000;至少一个输出设备2000;至少一个处理器3000,例如CPU;和存储器4000,上述输入设备1000、输出设备2000、处理器3000和存储器4000通过总线5000连接。FIG. 6 is a schematic structural diagram of an embodiment of a mobile terminal according to an embodiment of the present invention. The mobile terminal described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, such as a CPU; and a memory 4000, the input device 1000, the output device 2000, the processor 3000, and The memory 4000 is connected by a bus 5000.
其中,上述输入设备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:
在移动终端与终端设备建立之后,启动所述移动终端与终端设备之间多个数据传输通道;After the mobile terminal is established with the terminal device, starting a plurality of data transmission channels between the mobile terminal and the terminal device;
将待迁移数据分配给所述多个数据传输通道;Allocating data to be migrated to the plurality of data transmission channels;
按照所述分配的结果,并通过所述多个数据传输通道向所述终端设备迁移 所述待迁移数据。And migrating to the terminal device through the plurality of data transmission channels according to the result of the allocating The data to be migrated.
可选地,上述处理器3000将待迁移数据分配给所述多个数据传输通道,包括:Optionally, the foregoing processor 3000 allocates data to be migrated to the multiple data transmission channels, including:
预估所述多个数据传输通道中每一数据传输通道的传输速率,得到所述多个传输速率值;Estimating a transmission rate of each of the plurality of data transmission channels to obtain the plurality of transmission rate values;
根据所述多个传输速率值确定所述多个数据传输通道中每一数据传输信道的承载权重值;Determining a bearer weight value of each of the plurality of data transmission channels according to the plurality of transmission rate values;
根据所述多个数据传输通道中每一数据传输信道的承载权重值将待迁移数据分配给所述多个数据传输通道。And assigning data to be migrated to the plurality of data transmission channels according to a bearer weight value of each of the plurality of data transmission channels.
可选地,上述处理器3000预估所述多个数据传输通道中每一数据传输通道的传输速率,得到所述多个传输速率值,包括:Optionally, the foregoing processor 3000 estimates a transmission rate of each of the plurality of data transmission channels, and obtains the multiple transmission rate values, including:
监听所述多个数据传输通道中每一数据传输通道的带宽,根据该每一数据传输通道的带宽确定每一数据传输通道的传输速率,得到所述多个传输速率值。And monitoring a bandwidth of each of the plurality of data transmission channels, determining a transmission rate of each data transmission channel according to a bandwidth of each of the data transmission channels, to obtain the plurality of transmission rate values.
可选地,上述处理器3000将待迁移数据分配给所述多个数据传输通道,包括:Optionally, the foregoing processor 3000 allocates data to be migrated to the multiple data transmission channels, including:
将所述待迁移数据分为所述多个数据集;Dividing the data to be migrated into the plurality of data sets;
将所述多个数据集分配给所述多个数据传输通道,其中,所述多个数据传输通道与所述多个数据集一一对应。Allocating the plurality of data sets to the plurality of data transmission channels, wherein the plurality of data transmission channels are in one-to-one correspondence with the plurality of data sets.
可选地,上述处理器3000将所述待迁移数据分为所述多个数据集,包括:Optionally, the foregoing processor 3000 divides the data to be migrated into the multiple data sets, including:
获取待迁移数据包含的数据类型,得到多个数据类型;Obtaining the data type included in the data to be migrated, and obtaining multiple data types;
根据所述多个数据类型将所述待迁移数据分为多个数据集。The data to be migrated is divided into a plurality of data sets according to the plurality of data types.
可选地,上述处理器3000将所述多个数据集分配给所述多个数据传输通道,包括:Optionally, the foregoing processor 3000 allocates the multiple data sets to the multiple data transmission channels, including:
将所述多个数据集分别进行数据压缩,并将数据压缩之后的所述多个数据集分配给所述多个数据传输通道。And compressing the plurality of data sets respectively, and allocating the plurality of data sets after the data compression to the plurality of data transmission channels.
可选地,上述处理器3000将所述多个数据集分别进行数据压缩,包括:Optionally, the processor 3000 performs data compression on the multiple data sets separately, including:
根据数据集j的数据类型对应的压缩系数,根据所述压缩系数对数据集进行数据压缩,所述数据集j为所述多个数据集中的任一个数据集。 Data compression is performed on the data set according to the compression coefficient according to the compression coefficient corresponding to the data type of the data set j, and the data set j is any one of the plurality of data sets.
可选地,上述处理器3000,在所述将待迁移数据分配给所述多个数据传输通道之后,以及所述按照所述分配的结果,并通过所述多个数据传输通道向所述终端设备迁移所述待迁移数据之前,还具体用于:Optionally, the processor 3000, after the data to be migrated is allocated to the multiple data transmission channels, and according to the result of the allocation, and to the terminal by using the multiple data transmission channels Before the device migrates the data to be migrated, it is also specifically 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 present in the preset application list, the M applications are closed, the results according to the allocation are performed, and the multiple data transmission channels are used. The terminal device migrates the data to be migrated, where the M is an integer greater than 0 and smaller than the N.
可选地,上述处理器3000按照所述分配的结果,并通过所述多个数据传输通道向所述终端设备迁移所述待迁移数据之后,还具体用于:Optionally, after the foregoing processor 3000 migrates the to-be-migrated data to the terminal device by using the multiple data transmission channels, the processor is further configured to:
在所述多个数据传输通道中数据传输通道i完成迁移时,关闭所述数据传输通道i,其中,所述数据传输通道i为所述多个数据传输通道中的任一数据传输通道。When the data transmission channel i completes the migration in the plurality of data transmission channels, the data transmission channel i is closed, wherein the data transmission channel i is any one of the plurality of data transmission channels.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种数据迁移方法的部分或全部步骤。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 processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。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:
    在移动终端与终端设备建立之后,启动所述移动终端与终端设备之间多个数据传输通道;After the mobile terminal is established with the terminal device, starting a plurality of data transmission channels between the mobile terminal and the terminal device;
    将待迁移数据分配给所述多个数据传输通道;Allocating data to be migrated to the plurality of data transmission channels;
    按照所述分配的结果,并通过所述多个数据传输通道向所述终端设备迁移所述待迁移数据。And the data to be migrated is migrated to the terminal device by using the multiple data transmission channels according to the result of the allocation.
  2. 根据权利要求1所述的方法,其特征在于,所述将待迁移数据分配给所述多个数据传输通道,包括:The method according to claim 1, wherein the allocating data to be migrated to the plurality of data transmission channels comprises:
    预估所述多个数据传输通道中每一数据传输通道的传输速率,得到所述多个传输速率值;Estimating a transmission rate of each of the plurality of data transmission channels to obtain the plurality of transmission rate values;
    根据所述多个传输速率值确定所述多个数据传输通道中每一数据传输信道的承载权重值;Determining a bearer weight value of each of the plurality of data transmission channels according to the plurality of transmission rate values;
    根据所述多个数据传输通道中每一数据传输信道的承载权重值将待迁移数据分配给所述多个数据传输通道。And assigning data to be migrated to the plurality of data transmission channels according to a bearer weight value of each of the plurality of data transmission channels.
  3. 根据权利要求2所述的方法,其特征在于,所述预估所述多个数据传输通道中每一数据传输通道的传输速率,得到所述多个传输速率值,包括:The method according to claim 2, wherein the estimating a transmission rate of each of the plurality of data transmission channels to obtain the plurality of transmission rate values comprises:
    监听所述多个数据传输通道中每一数据传输通道的带宽,根据该每一数据传输通道的带宽确定每一数据传输通道的传输速率,得到所述多个传输速率值。And monitoring a bandwidth of each of the plurality of data transmission channels, determining a transmission rate of each data transmission channel according to a bandwidth of each of the data transmission channels, to obtain the plurality of transmission rate values.
  4. 根据权利要求1所述的方法,其特征在于,所述将待迁移数据分配给所述多个数据传输通道,包括:The method according to claim 1, wherein the allocating data to be migrated to the plurality of data transmission channels comprises:
    将所述待迁移数据分为所述多个数据集;Dividing the data to be migrated into the plurality of data sets;
    将所述多个数据集分配给所述多个数据传输通道,其中,所述多个数据传输通道与所述多个数据集一一对应。 Allocating the plurality of data sets to the plurality of data transmission channels, wherein the plurality of data transmission channels are in one-to-one correspondence with the plurality of data sets.
  5. 根据权利要求4所述的方法,其特征在于,所述将所述待迁移数据分为所述多个数据集,包括:The method according to claim 4, wherein the dividing the data to be migrated into the plurality of data sets comprises:
    获取待迁移数据包含的数据类型,得到多个数据类型;Obtaining the data type included in the data to be migrated, and obtaining multiple data types;
    根据所述多个数据类型将所述待迁移数据分为多个数据集。The data to be migrated is divided into a plurality of data sets according to the plurality of data types.
  6. 根据权利要求4所述的方法,其特征在于,所述将所述多个数据集分配给所述多个数据传输通道,包括:The method according to claim 4, wherein the allocating the plurality of data sets to the plurality of data transmission channels comprises:
    将所述多个数据集分别进行数据压缩,并将数据压缩之后的所述多个数据集分配给所述多个数据传输通道。And compressing the plurality of data sets respectively, and allocating the plurality of data sets after the data compression to the plurality of data transmission channels.
  7. 根据权利要求6所述的方法,其特征在于,所述将所述多个数据集分别进行数据压缩,包括:The method according to claim 6, wherein the compressing the plurality of data sets separately comprises:
    根据数据集j的数据类型对应的压缩系数,根据所述压缩系数对数据集进行数据压缩,所述数据集j为所述多个数据集中的任一个数据集。Data compression is performed on the data set according to the compression coefficient according to the compression coefficient corresponding to the data type of the data set j, and the data set j is any one of the plurality of data sets.
  8. 根据权利要求1至7任一项所述的方法,其特征在于,在所述将待迁移数据分配给所述多个数据传输通道之后,以及所述按照所述分配的结果,并通过所述多个数据传输通道向所述终端设备迁移所述待迁移数据之前,所述方法还包括:The method according to any one of claims 1 to 7, wherein after the data to be migrated is allocated to the plurality of data transmission channels, and according to the result of the allocation, Before the data transmission channel migrates the data to be migrated to the terminal device, 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 present in the preset application list, the M applications are closed, the results according to the allocation are performed, and the multiple data transmission channels are used. The terminal device migrates the data to be migrated, where the M is an integer greater than 0 and smaller than the N.
  9. 根据权利要求1至7任一项所述的方法,其特征在于,所述按照所述分配的结果,并通过所述多个数据传输通道向所述终端设备迁移所述待迁移数 据之后,所述方法还包括:The method according to any one of claims 1 to 7, wherein the migration of the number to be migrated to the terminal device by the plurality of data transmission channels according to the result of the allocation According to the following, the method further includes:
    在所述多个数据传输通道中数据传输通道i完成迁移时,关闭所述数据传输通道i,其中,所述数据传输通道i为所述多个数据传输通道中的任一数据传输通道。When the data transmission channel i completes the migration in the plurality of data transmission channels, the data transmission channel i is closed, wherein the data transmission channel i is any one of the plurality of data transmission channels.
  10. 一种数据迁移装置,其特征在于,包括:A data migration device, comprising:
    开关控制单元,用于在移动终端与终端设备建立之后,启动所述移动终端与终端设备之间多个数据传输通道;a switch control unit, configured to start a plurality of data transmission channels between the mobile terminal and the terminal device after the mobile terminal is established with the terminal device;
    分配单元,用于将待迁移数据分配给所述多个数据传输通道;An allocating unit, configured to allocate data to be migrated to the multiple data transmission channels;
    迁移单元,用于按照所述分配的结果,并通过所述多个数据传输通道向所述终端设备迁移所述待迁移数据。And a migration unit, configured to migrate the data to be migrated to the terminal device by using the multiple data transmission channels according to the result of the allocating.
  11. 根据权利要求10所述的数据迁移装置,其特征在于,所述分配单元包括:The data migration apparatus according to claim 10, wherein the allocation unit comprises:
    预估模块,用于预估所述多个数据传输通道中每一数据传输通道的传输速率,得到所述多个传输速率值;An estimation module, configured to estimate a transmission rate of each of the plurality of data transmission channels, to obtain the multiple transmission rate values;
    确定模块,用于根据所述多个传输速率值确定所述多个数据传输通道中每一数据传输信道的承载权重值;a determining module, configured to determine, according to the multiple transmission rate values, a bearer weight value of each of the plurality of data transmission channels;
    第一分配模块,用于根据所述多个数据传输通道中每一数据传输信道的承载权重值将待迁移数据分配给所述多个数据传输通道。And a first allocation module, configured to allocate data to be migrated to the plurality of data transmission channels according to a bearer weight value of each of the plurality of data transmission channels.
  12. 根据权利要求11所述的数据迁移装置,其特征在于,所述预估模块具体用于:The data migration apparatus according to claim 11, wherein the estimation module is specifically configured to:
    监听所述多个数据传输通道中每一数据传输通道的带宽,根据该每一数据传输通道的带宽确定每一数据传输通道的传输速率,得到所述多个传输速率值。And monitoring a bandwidth of each of the plurality of data transmission channels, determining a transmission rate of each data transmission channel according to a bandwidth of each of the data transmission channels, to obtain the plurality of transmission rate values.
  13. 根据权利要求10所述的数据迁移装置,其特征在于,所述分配单元包括: The data migration apparatus according to claim 10, wherein the allocation unit comprises:
    划分模块,用于将所述待迁移数据分为所述多个数据集;a dividing module, configured to divide the data to be migrated into the plurality of data sets;
    第二分配模块,用于将所述多个数据集分配给所述多个数据传输通道,其中,所述多个数据传输通道与所述多个数据集一一对应。a second allocation module, configured to allocate the plurality of data sets to the plurality of data transmission channels, wherein the plurality of data transmission channels are in one-to-one correspondence with the plurality of data sets.
  14. 根据权利要求13所述的数据迁移装置,其特征在于,所述划分模块具体用于:The data migration apparatus according to claim 13, wherein the dividing module is specifically configured to:
    获取待迁移数据包含的数据类型,得到多个数据类型;根据所述多个数据类型将所述待迁移数据分为多个数据集。Obtaining a data type included in the data to be migrated, and obtaining a plurality of data types; and dividing the data to be migrated into multiple data sets according to the multiple data types.
  15. 根据权利要求13所述的数据迁移装置,其特征在于,所述第二分配模块具体用于:The data migration apparatus according to claim 13, wherein the second allocation module is specifically configured to:
    将所述多个数据集分别进行数据压缩,并将数据压缩之后的所述多个数据集分配给所述多个数据传输通道。And compressing the plurality of data sets respectively, and allocating the plurality of data sets after the data compression to the plurality of data transmission channels.
  16. 根据权利要求15所述的数据迁移装置,其特征在于,所述第二分配模块将所述多个数据集分别进行数据压缩的具体实现方式为:The data migration apparatus according to claim 15, wherein the specific implementation manner of the second allocation module respectively performing data compression on the plurality of data sets is:
    根据数据集j的数据类型对应的压缩系数,根据所述压缩系数对数据集进行数据压缩,所述数据集j为所述多个数据集中的任一个数据集。Data compression is performed on the data set according to the compression coefficient according to the compression coefficient corresponding to the data type of the data set j, and the data set j is any one of the plurality of data sets.
  17. 根据权利要求10至16任一项所述的数据迁移装置,其特征在于,所述开关控制单元还用于:The data migration device according to any one of claims 10 to 16, wherein the switch control unit is further configured to:
    在所述迁移单元按照所述分配的结果,并通过所述多个数据传输通道向所述终端设备迁移所述待迁移数据之后,在所述多个数据传输通道中数据传输通道i完成迁移时,关闭所述数据传输通道i,其中,所述数据传输通道i为所述多个数据传输通道中的任一数据传输通道。After the migration unit migrates the data to be migrated to the terminal device according to the result of the allocation, and after the data transmission channel i completes migration in the plurality of data transmission channels, The data transmission channel i is closed, wherein the data transmission channel i is any one of the plurality of data transmission channels.
  18. 一种移动终端,其特征在于,包括:A mobile terminal, comprising:
    处理器和存储器;其中,所述处理器通过调用所述存储器中的代码或指令以执行如权利要求1至9任意一项所述的方法。 A processor and a memory; wherein the processor performs 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/095042 2016-09-14 2017-07-28 Data migration method and related product WO2018049932A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610824876.7A CN106484325A (en) 2016-09-14 2016-09-14 A kind of data migration method and mobile terminal
CN201610824876.7 2016-09-14

Publications (1)

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

Family

ID=58273796

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/095042 WO2018049932A1 (en) 2016-09-14 2017-07-28 Data migration method and related product

Country Status (2)

Country Link
CN (1) CN106484325A (en)
WO (1) WO2018049932A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484325A (en) * 2016-09-14 2017-03-08 广东欧珀移动通信有限公司 A kind of data migration method and mobile terminal
CN107948271B (en) * 2017-11-17 2021-04-13 亚信科技(中国)有限公司 Method for determining message to be pushed, server and computing node
CN110989940B (en) * 2019-12-17 2022-05-31 联想(北京)有限公司 Migration method and migration device
CN113495684A (en) * 2020-04-08 2021-10-12 华为技术有限公司 Data management device, data management method and data storage equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101529966A (en) * 2006-04-28 2009-09-09 格马尔托股份有限公司 Transmission of data between a server and a communicating object
CN102681798A (en) * 2011-03-17 2012-09-19 东友科技股份有限公司 Printing system and printing method of portable communication device
CN105094960A (en) * 2015-07-20 2015-11-25 努比亚技术有限公司 Data loading device and method based on two channels
CN106383731A (en) * 2016-09-14 2017-02-08 广东欧珀移动通信有限公司 Data migration method and mobile terminal
CN106484325A (en) * 2016-09-14 2017-03-08 广东欧珀移动通信有限公司 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
JP2006333338A (en) * 2005-05-30 2006-12-07 Kyocera Corp Transmission request informing method and mobile terminal device, and computer program
CN103580842A (en) * 2013-11-04 2014-02-12 惠州Tcl移动通信有限公司 Method and system for conducting parallel transmission through multiple types of wireless links
CN105843820B (en) * 2015-01-16 2019-10-08 阿里巴巴集团控股有限公司 Data migration method and device
CN105553868A (en) * 2015-09-21 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Data transmission method and device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101529966A (en) * 2006-04-28 2009-09-09 格马尔托股份有限公司 Transmission of data between a server and a communicating object
CN102681798A (en) * 2011-03-17 2012-09-19 东友科技股份有限公司 Printing system and printing method of portable communication device
CN105094960A (en) * 2015-07-20 2015-11-25 努比亚技术有限公司 Data loading device and method based on two channels
CN106383731A (en) * 2016-09-14 2017-02-08 广东欧珀移动通信有限公司 Data migration method and mobile terminal
CN106484325A (en) * 2016-09-14 2017-03-08 广东欧珀移动通信有限公司 A kind of data migration method and mobile terminal

Also Published As

Publication number Publication date
CN106484325A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
WO2018049933A1 (en) Data migration method and related product
WO2018049932A1 (en) Data migration method and related product
US10181203B2 (en) Method for processing image data and apparatus for the same
US10785676B2 (en) Electronic device and traffic control method thereof
WO2018049939A1 (en) Data migration method and related product
US10798765B2 (en) Method using a time point for sharing data between electronic devices based on situation information
US10862992B2 (en) Resource cache management method and system and apparatus
US20160048320A1 (en) Electronic apparatus and screen display method thereof
US20160018990A1 (en) Electronic device and method for managing memory of electronic device
KR102221034B1 (en) Method for controlling a content display and an electronic device
WO2019228344A1 (en) Resource configuration method and apparatus, and terminal and storage medium
US10999501B2 (en) Electronic device and method for controlling display of panorama image
WO2018103405A1 (en) Method for identifying access point and hotspot, and related product
KR102140290B1 (en) Method for processing input and an electronic device thereof
JP7303373B2 (en) DCI transmission method and communication equipment
CN110708377A (en) Data transmission method, device and storage medium
JP7228594B2 (en) Determination method of interception information of retrieval space and device for determining interception method of retrieval space
KR20210094639A (en) Resource scheduling method and apparatus, electronic device and recording medium
WO2019170110A1 (en) Image rendering method and related product
CN110764892A (en) Task processing method, device and computer readable storage medium
US10042856B2 (en) Method and electronic device for processing data
WO2017206901A1 (en) Process control method and related device
US20150341827A1 (en) Method and electronic device for managing data flow
KR102240526B1 (en) Contents download method of electronic apparatus and electronic appparatus thereof
WO2018049941A1 (en) Data migration method and related product

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

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

Country of ref document: EP

Kind code of ref document: A1