Data migration method and device, electronic equipment, system, storage medium and program product

By deploying data synchronization software packages and running data synchronization programs in cloud mobile phones, efficient data migration between cloud mobile phones is achieved, lossless migration problems during device upgrades, etc. are solved, high concurrency needs of multiple devices are met, and costs are reduced.

CN119299469AActive Publication Date: 2025-01-10HUNAN MC TECHNOLOGY CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411310442.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2025-01-10
Estimated Expiration
2044-09-19

AI Technical Summary

Technical Problem

When upgrading, expanding or replacing cloud mobile phone devices, it is difficult to achieve lossless and efficient data migration in the existing technology, especially when multiple devices are migrated simultaneously, and it is difficult to meet high concurrency needs.

Method used

By deploying data synchronization software packages in cloud mobile phones, running data synchronization programs, configuring data transmission paths, realizing point-to-point data migration, utilizing the device's own resources, avoiding external storage devices, and making full use of intranet bandwidth and disk read and write performance.

Benefits of technology

It realizes efficient and lossless data migration between cloud phones, reduces costs, and meets the high concurrency requirements for simultaneous migration of multiple devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299469A_ABST
    Figure CN119299469A_ABST
Patent Text Reader

Abstract

The invention provides a data migration method and device, electronic equipment, a system, a storage medium and a program product, and relates to the technical field of cloud computing, in particular to the technical field of cloud services, cloud mobile phones, intelligent clouds and the like. The method is applied to the cloud mobile phone, and comprises the following steps: responding to a received data synchronization software package, and running a data synchronization program in the data synchronization software package; according to a data transmission path configured by the data synchronization program, data of a local virtual machine is sent to a target cloud mobile phone, and the target cloud mobile phone operates the data synchronization program in the data synchronization software package to start a data synchronization service process. The method and the device can meet the requirement of high concurrency of simultaneous data migration of a plurality of devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of cloud computing technology, specifically to technical fields such as cloud services, cloud phones and smart clouds, and especially to a data migration method, a data migration device, an electronic device, a system, a computer-readable storage medium and a computer program product. Background Art

[0002] Cloud phone is a smartphone that uses cloud computing technology to provide network terminal services and implements cloud services through cloud servers. This smartphone, which is deeply integrated with network services, can achieve more functions through the network with its own system and the network terminal set up by the manufacturer.

[0003] In some cases where cloud phones need to be replaced, such as equipment upgrades, equipment expansions, equipment replacements, etc., the data of the cloud phone needs to be losslessly migrated. Summary of the invention

[0004] The embodiments of the present disclosure provide a data migration method, a data migration device, an electronic device, a system, a computer-readable storage medium, and a computer program product, which can meet the high concurrency requirements of simultaneous data migration of multiple devices.

[0005] In the first aspect, an embodiment of the present disclosure proposes a data migration method, which is applied to a cloud phone, comprising: in response to receiving a data synchronization software package, running a data synchronization program in the data synchronization software package; sending data of a local virtual machine to a target cloud phone according to a data transmission path configured by the data synchronization program, wherein the target cloud phone runs the data synchronization program in the data synchronization software package to start a data synchronization service process.

[0006] In the second aspect, an embodiment of the present disclosure proposes a data migration method, which is applied to a cloud phone, comprising: in response to receiving a data synchronization software package, running a data synchronization program in the data synchronization software package to start a data synchronization service process; receiving data of the target cloud phone sent by the target cloud phone according to the data transmission path configured by the data synchronization program, wherein the target cloud phone runs the data synchronization program in the data synchronization software package.

[0007] In the third aspect, an embodiment of the present disclosure provides a data migration device, which includes: a processing module, configured to run a data synchronization program in the data synchronization software package in response to receiving the data synchronization software package; a transceiver module, configured to send data of a local virtual machine to a target cloud phone according to a data transmission path configured by the data synchronization program, wherein the target cloud phone runs the data synchronization program in the data synchronization software package to start a data synchronization service process.

[0008] In a fourth aspect, an embodiment of the present disclosure provides a data migration device, which includes: a processing module, configured to, in response to receiving a data synchronization software package, run a data synchronization program in the data synchronization software package to start a data synchronization service process; a transceiver module, configured to receive data of the target cloud phone sent by the target cloud phone according to the data transmission path configured by the data synchronization program, wherein the target cloud phone runs the data synchronization program in the data synchronization software package.

[0009] In a fifth aspect, an embodiment of the present disclosure provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the data migration method described in any implementation manner in the first aspect or the second aspect.

[0010] In the sixth aspect, an embodiment of the present disclosure provides a system, which includes: a source cloud phone, configured to execute the data migration method described in any implementation manner in the first aspect; and a destination cloud phone, configured to execute the data migration method described in any implementation manner in the second aspect.

[0011] In a fifth aspect, an embodiment of the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, which are used to enable a computer to implement the data migration method described in any implementation method of the first aspect or the second aspect when executed.

[0012] In a sixth aspect, an embodiment of the present disclosure provides a computer program product comprising a computer program, which, when executed by a processor, can implement the data migration method as described in any implementation manner in the first aspect or the second aspect.

[0013] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Other features, objects and advantages of the present disclosure will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0015] Figure 1 is an exemplary system architecture diagram to which the present disclosure may be applied;

[0016] Figure 2 A flowchart of a data migration method provided for an embodiment of the present disclosure;

[0017] Figure 3 for Figure 2 A flowchart of an embodiment of a data migration method is shown;

[0018] Figure 4 for Figure 2 A flowchart of another embodiment of a data migration method is shown;

[0019] Figure 5 A flowchart of another data migration method provided for an embodiment of the present disclosure;

[0020] Figure 6 for Figure 5 A flowchart of an embodiment of a data migration method is shown;

[0021] Figure 7 for Figure 5 A flowchart of another embodiment of a data migration method is shown;

[0022] Figure 8 and Fig. 9 A schematic diagram of a data migration method in an application scenario provided by an embodiment of the present disclosure;

[0023] Fig.10 A structural block diagram of a data migration device provided in an embodiment of the present disclosure;

[0024] Fig.11 A schematic diagram of the structure of an electronic device suitable for executing a data migration method provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description. It should be noted that the embodiments in the present disclosure and the features in the embodiments may be combined with each other without conflict.

[0026] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0027] Figure 1An exemplary system architecture 100 is shown to which embodiments of the data migration method, data migration apparatus, electronic device, system, computer-readable storage medium, and computer program product of the present disclosure can be applied.

[0028] like Figure 1 As shown, the system architecture 100 may include a terminal device 101, cloud phones 101', 102', 103', a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the terminal device 101 and the server 105, between the terminal device 101 and the cloud phone 101', and between the cloud phone 101' and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0029] The user can use the terminal device 101 to interact with the server 105 through the network 104 to receive or send messages, etc. The user can also use the terminal device 101 to interact with the cloud phone 101' through the network 104 to receive or send messages, etc. The user can also use the terminal device 101 to interact with the server 105 through the network 104 and the cloud phone 101' to receive or send messages, etc. Figure 1 The terminal devices corresponding to the cloud phones 102 ′ and 103 ′ are not shown.

[0030] The terminal device 101 , the cloud phones 101 ′, 102 ′, 103 ′ and the server 105 may be installed with various applications for realizing information communication between the two, such as music applications, game applications, instant messaging applications, etc.

[0031] The terminal device 101, cloud phones 101', 102', 103' and server 105 can be hardware or software. When the terminal device 101 is hardware, it can be various electronic devices with display screens, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, etc.; when the terminal device 101 is software, it can be installed in the electronic devices listed above, which can be implemented as multiple software or software modules, or as a single software or software module, and no specific limitation is made here. When cloud phones 101', 102', 103' are hardware, they can be implemented as a distributed server cluster composed of multiple servers, or as a single server; when cloud phones 101', 102', 103' are software, they can be implemented as multiple software or software modules, or as a single software or software module, and no specific limitation is made here. When the server 105 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or as a single server; when the server 105 is software, it can be implemented as multiple software or software modules, or as a single software or software module, and no specific limitation is made here.

[0032] It should be understood that Figure 1 The number of terminal devices, cloud phones, networks, and servers in the embodiment is only for illustration purposes. Any number of terminal devices, networks, and servers may be provided as required.

[0033] Please refer to Figure 2 , Figure 2 A flowchart of a data migration method provided by an embodiment of the present disclosure, wherein process 200 may include the following steps:

[0034] Step 201: in response to receiving a data synchronization software package, running a data synchronization program in the data synchronization software package;

[0035] This step is intended to be performed by the execution entity of the data migration method (e.g. Figure 1 The cloud phone 101' shown) responds to receiving the data synchronization software package and runs the data synchronization program in the data synchronization software package. Among them, data migration generally refers to the process of moving data from one system to another, and the integrity and consistency of the data need to be ensured. Data synchronization generally refers to the process of real-time or periodic data updating and matching between different systems to achieve data consistency. Data migration can usually be performed using a data synchronization method. A data synchronization software package (Software Package) may include a program or a group of programs for data synchronization. The embodiments of the present disclosure do not limit the number and type of programs included in the data synchronization software package. For example, the data synchronization software package may include a data synchronization program. The data synchronization software package can be deployed to the cloud phone by a management device through the management port of the server where the cloud phone is located.

[0036] The management device can first determine the destination cloud phone DST for data migration with the source cloud phone SRC through evaluation. For example, the destination cloud phone DST and the source cloud phone SRC need to be devices of the same level, and the storage space of the destination cloud phone DST needs to meet the storage space requirements of the source cloud phone SRC. Then the management device can create corresponding data migration tasks according to the determined destination cloud phone DST and source cloud phone SRC, save the created data migration tasks in the task pool, and set the task status to pending status. After that, the management device can configure the preset data synchronization software package according to the data migration tasks in the pending status by polling the tasks in the task pool. Then the management device can send the configured data synchronization software package to the corresponding source cloud phone SRC and the destination cloud phone DST respectively. After receiving the data synchronization software package, the source cloud phone SRC and the destination cloud phone DST can execute the data migration task by running the data synchronization program in the data synchronization software package.

[0037] Step 202: Send the data of the local virtual machine to the target cloud phone according to the data transmission path configured by the data synchronization program, wherein the target cloud phone runs the data synchronization program in the data synchronization software package to start the data synchronization service process.

[0038] Based on step 201, this step aims to transmit the data to the target cloud phone (for example, Figure 1 The cloud phone 102' or 103' shown in the figure sends data of the local virtual machine. Among them, the data synchronization program can be configured with a data transmission path, and the port and the target cloud phone address for data synchronization can be determined according to the data transmission path. The data synchronization program can also be configured with a protocol and identity authentication information for data synchronization. The configuration information of the data synchronization program can be determined by the data synchronization program used by the data synchronization software package. The implementation method of the present disclosure does not limit the data synchronization program in the data synchronization software package. For example, the data synchronization program can be implemented using remote synchronization (Rsync) software.

[0039] Among them, the execution subject can be used as the source cloud phone SRC of data migration, and send the data of the execution subject to the target cloud phone by running the data synchronization program in the data synchronization software package and following the data transmission path configured by the data synchronization program. The target cloud phone can be used as the destination cloud phone DST of data migration, and start the data synchronization service process by running the data synchronization program in the data synchronization software package, and listen to the port used by the target cloud phone for data synchronization to receive the data sent by the execution subject. The execution subject and the target cloud phone use the client / server mode to realize the migration of the execution subject's data to the target cloud phone by running the data synchronization program.

[0040] The data migration method provided by the embodiments of the present disclosure can transmit data between two cloud phones by deploying a data synchronization software package in a cloud phone and running the data synchronization program in the data synchronization software package, thereby realizing data migration between the two cloud phones. Since the two cloud phones are peer devices, the data migration between the two cloud phones is point-to-point transmission, which can fully utilize the resources of the devices themselves, does not require external storage devices, can reduce costs, and can fully utilize the intranet bandwidth between devices and the disk read and write performance of the devices themselves, meeting the high concurrency requirements of data migration of multiple devices at the same time.

[0041] Please refer to Figure 3 , Figure 3 for Figure 2 The flowchart of an embodiment of the data migration method shown in FIG. 300 may include the following steps:

[0042] Step 301: in response to receiving a data synchronization software package, executing a power-on / off program in the data synchronization software package to shut down a local virtual machine;

[0043] This step is intended to be performed by the execution entity of the data migration method (e.g. Figure 1 The cloud phone 101' shown in the figure responds to receiving the data synchronization software package and runs the power on and off program in the data synchronization software package to shut down the local virtual machine. The data synchronization software package includes a power on and off program. After receiving the data synchronization software package, the execution subject can first shut down by running the power on and off program in the data synchronization software package, and perform data migration when the cloud phone is shut down. Since new data will continue to be generated when the cloud phone is turned on, the data migration process will continue as new data is generated. No new data will be generated after the cloud phone is shut down. Data migration is only performed on the data currently available on the cloud phone, which can help simplify the data migration process and improve the efficiency of data migration.

[0044] Step 302: Run the network security program in the data synchronization software package to configure the port of the local virtual machine for data synchronization;

[0045] On the basis of step 301, this step is intended to configure the port of the local virtual machine used for data synchronization by the network security program in the data synchronization software package run by the above-mentioned execution subject. Wherein, the data synchronization software package includes a network security program. After the execution subject shuts down by running the power on / off program in the data synchronization software package, it can configure the port of the execution subject used for data synchronization by running the network security program in the data synchronization software package, so that the port used by the execution subject for data synchronization can release the data sent by the data migration, for example, so that the sent data can pass through network security tools such as firewalls, which can help simplify the data migration process and improve the efficiency of data migration. Wherein, the port used by the cloud phone for data synchronization can be determined by the data synchronization program used by the data synchronization software package, and the embodiments of the present disclosure are not limited to this. For example, the data synchronization program is implemented using Rsync software, and the port used by the cloud phone for data synchronization can be port 873.

[0046] Step 303: running the data synchronization program in the data synchronization software package;

[0047] Step 304: Send the data of the local virtual machine to the target cloud phone according to the data transmission path configured by the data synchronization program.

[0048] The above steps 303 to 304 are similar to Figure 2 Steps 201 to 202 are the same as shown in the figure. For the same contents, please refer to Figure 2 The corresponding parts of the illustrated implementation manner are not described in detail here.

[0049] Optionally, after the execution subject finishes sending data, the execution subject can also run the network security program and the power-on and power-off program in the data synchronization software package in sequence, close the port used for data synchronization and start the phone, so that the cloud phone can be used for subsequent upgrades and updates. Therefore, the data migration method of this embodiment can also include the following steps: run the network security program in the data synchronization software package to close the port used for data synchronization of the local virtual machine; run the power-on and power-off program in the data synchronization software package to start the local virtual machine.

[0050] Please refer to Figure 4 , Figure 4 for Figure 2 The flowchart of another embodiment of the data migration method is shown, wherein the process 400 may include the following steps:

[0051] Step 401: in response to receiving a data synchronization software package, running a data synchronization program in the data synchronization software package;

[0052] Step 402: Send the data of the local virtual machine to the target cloud phone according to the data transmission path configured by the data synchronization program;

[0053] The above steps 401 to 402 are similar to Figure 2 Steps 201 to 202 are the same as shown in the figure. For the same contents, please refer to Figure 2 The corresponding parts of the illustrated implementation manner are not described in detail here.

[0054] Step 403: in response to the completion of data transmission of the local virtual machine, a synchronization result checking program in the data synchronization software package is run to check the result of data migration;

[0055] On the basis of step 402, this step is intended to have the above-mentioned execution subject respond to the completion of data transmission of the local virtual machine by running the synchronization result check program in the data synchronization software package to check the result of data migration. Among them, the data synchronization software package includes a synchronization result check program. After the execution subject completes the data transmission of the execution subject by running the data synchronization program in the data synchronization software package, the execution subject can check the result of data migration by running the synchronization result check program in the data synchronization software package. The embodiments of the present disclosure do not limit the implementation method of the synchronization result check program to check the result of data migration. For example, the recorded sent data can be compared with the data stored by the execution subject to determine whether the two are consistent. If the two are consistent, it indicates that the data migration is successful. If the two are inconsistent, it indicates that the data migration has failed. By checking the result of data migration, it can be determined whether the data migration is successful, which can provide a basis for subsequent processing.

[0056] Step 404: In response to the data migration failure, a signal for clearing the migrated data is sent to the target cloud phone.

[0057] On the basis of step 404, this step aims at the execution subject sending a signal to clear the migration data to the target cloud phone in response to the failure of data migration. After checking the result of data migration by running the synchronization result check program in the data synchronization software package, the execution subject can send a signal to clear the migration data to the target cloud phone if it is determined that the data migration has failed, so that the target cloud phone can clear the received migration data according to the signal to clear the migration data, so as to avoid these data occupying the storage space of the target cloud phone.

[0058] Optionally, after the execution subject has finished sending the data of the execution subject by running the data synchronization program in the data synchronization software package, the execution subject may also send a signal to the target cloud phone to stop the data synchronization service process, so that the target cloud phone can stop the data synchronization service process according to the signal to stop the data synchronization service process, thereby ending the data migration. Therefore, the data migration method of this embodiment may also include the following steps: in response to the completion of data sending of the local virtual machine, sending a signal to the target cloud phone to stop the data synchronization service process. Optionally, the execution subject may also send a signal to the target cloud phone to stop the data synchronization service process after checking the results of the data migration by running the synchronization result check program in the data synchronization software package. The embodiments of the present disclosure are not limited to this.

[0059] Please refer to Figure 5 , Figure 5 A flowchart of another data migration method provided by an embodiment of the present disclosure, wherein process 500 may include the following steps:

[0060] Step 501: in response to receiving a data synchronization software package, running a data synchronization program in the data synchronization software package to start a data synchronization service process;

[0061] This step is intended to be performed by the execution entity of the data migration method (e.g. Figure 1 The cloud phone 102' or 103' shown) responds to receiving the data synchronization software package and runs the data synchronization program in the data synchronization software package to start the data synchronization service process. Among them, data migration generally refers to the process of moving data from one system to another, and the integrity and consistency of the data need to be ensured. Data synchronization generally refers to the process of real-time or periodic data updating and matching between different systems to achieve data consistency. Data migration can usually be performed using a data synchronization method. The data synchronization software package may include a program or a group of programs for performing data synchronization. The embodiments of the present disclosure do not limit the number and type of programs included in the data synchronization software package. For example, the data synchronization software package may include a data synchronization program. The data synchronization software package can be deployed to the cloud phone by the management device through the management port of the server where the cloud phone is located.

[0062] The management device can first determine the destination cloud phone DST for data migration with the source cloud phone SRC through evaluation. For example, the destination cloud phone DST and the source cloud phone SRC need to be devices of the same level, and the storage space of the destination cloud phone DST needs to meet the storage space requirements of the source cloud phone SRC. Then the management device can create corresponding data migration tasks according to the determined destination cloud phone DST and source cloud phone SRC, save the created data migration tasks in the task pool, and set the task status to pending status. After that, the management device can configure the preset data synchronization software package according to the data migration tasks in the pending status by polling the tasks in the task pool. Then the management device can send the configured data synchronization software package to the corresponding source cloud phone SRC and the destination cloud phone DST respectively. After receiving the data synchronization software package, the source cloud phone SRC and the destination cloud phone DST can execute the data migration task by running the data synchronization program in the data synchronization software package.

[0063] Step 502: receiving the target cloud phone data sent by the target cloud phone according to the data transmission path configured by the data synchronization program, wherein the target cloud phone runs the data synchronization program in the data synchronization software package.

[0064] Based on step 502, this step aims to receive the target cloud phone (for example, Figure 1 The data synchronization program may be configured with a data transmission path, and the port and target cloud phone address for data synchronization may be determined according to the data transmission path. The data synchronization program may also be configured with a protocol and identity authentication information for data synchronization. The configuration information of the data synchronization program may be determined by the data synchronization program used by the data synchronization software package. The embodiments of the present disclosure do not limit the data synchronization program in the data synchronization software package. For example, the data synchronization program may be implemented using Rsync software.

[0065] Among them, the execution subject can be the target cloud phone DST of data migration, and start the data synchronization service process by running the data synchronization program in the data synchronization software package, monitor the port used by the execution subject for data synchronization, and receive the data sent by the target cloud phone according to the data transmission path configured by the data synchronization program. The target cloud phone can be the source cloud phone SRC of data migration, and send the data of the target cloud phone to the execution subject by running the data synchronization program in the data synchronization software package. The execution subject and the target cloud phone use the client / server mode to realize the migration of the data of the target cloud phone to the execution subject by running the data synchronization program.

[0066] The data migration method provided by the embodiments of the present disclosure can transmit data between two cloud phones by deploying a data synchronization software package in a cloud phone and running the data synchronization program in the data synchronization software package, thereby realizing data migration between the two cloud phones. Since the two cloud phones are peer devices, the data migration between the two cloud phones is point-to-point transmission, which can fully utilize the resources of the devices themselves, does not require external storage devices, can reduce costs, and can fully utilize the intranet bandwidth between devices and the disk read and write performance of the devices themselves, meeting the high concurrency requirements of data migration of multiple devices at the same time.

[0067] Please refer to Figure 6 , Figure 6 for Figure 5 The flowchart of an embodiment of the data migration method shown in FIG. 600 may include the following steps:

[0068] Step 601: In response to receiving the data synchronization software package, executing a power-on / off program in the data synchronization software package to shut down the local virtual machine;

[0069] This step is intended to be performed by the execution entity of the data migration method (e.g. Figure 1 The cloud phone 102' or 103' shown in the figure responds to receiving the data synchronization software package and runs the power on and off program in the data synchronization software package to shut down the local virtual machine. The data synchronization software package includes the power on and off program. After receiving the data synchronization software package, the execution subject can first shut down by running the power on and off program in the data synchronization software package, and perform data migration when the cloud phone is shut down, which can help simplify the data migration process and improve the efficiency of data migration.

[0070] Step 602: Run the network security program in the data synchronization software package to configure the port used by the local virtual machine for data synchronization;

[0071] On the basis of step 601, this step is intended to configure the port of the local virtual machine used for data synchronization by the network security program in the data synchronization software package run by the above-mentioned execution subject. Wherein, the data synchronization software package includes a network security program. After the execution subject shuts down by running the power on / off program in the data synchronization software package, the network security program in the data synchronization software package can be run to configure the port of the execution subject used for data synchronization, so that the port used by the execution subject for data synchronization can release the data received by the data migration, for example, so that the received data can pass through network security tools such as firewalls, which can help simplify the data migration process and improve the efficiency of data migration. Wherein, the port used by the cloud phone for data synchronization can be determined by the data synchronization program used by the data synchronization software package, and the embodiments of the present disclosure are not limited to this. For example, the data synchronization program is implemented using Rsync software, and the port used by the cloud phone for data synchronization can be port 873.

[0072] Step 603: Run the data synchronization program in the data synchronization software package to start the data synchronization service process.

[0073] Step 604: Receive the data of the target cloud phone sent by the target cloud phone according to the data transmission path configured by the data synchronization program.

[0074] The above steps 603 to 604 are similar to Figure 5 Steps 501 to 502 are the same as shown in the figure. For the same contents, please refer to Figure 5 The corresponding parts of the illustrated implementation manner are not described in detail here.

[0075] Optionally, after the execution subject receives the data of the target cloud phone, the execution subject can also run the network security program and the power-on and power-off program in the data synchronization software package in sequence, close the port used for data synchronization and start the phone, so that the cloud phone can be used for subsequent upgrades and updates. Therefore, the data migration method of this embodiment can also include the following steps: run the network security program in the data synchronization software package to close the port used for data synchronization of the local virtual machine; run the power-on and power-off program in the data synchronization software package to start the local virtual machine.

[0076] Please refer to Figure 7 , Figure 7 for Figure 5 The flowchart of another embodiment of the data migration method is shown, wherein the process 700 may include the following steps:

[0077] Step 701: in response to receiving a data synchronization software package, running a data synchronization program in the data synchronization software package to start a data synchronization service process;

[0078] Step 702: Receive the data of the target cloud phone sent by the target cloud phone according to the data transmission path configured by the data synchronization program.

[0079] The above steps 701 to 702 are similar to Figure 5 Steps 501 to 502 are the same as shown in the figure. For the same contents, please refer to Figure 5 The corresponding parts of the illustrated implementation manner are not described in detail here.

[0080] Step 703: In response to receiving a signal for stopping the data synchronization service sent by the target cloud phone, stopping the data synchronization service process;

[0081] On the basis of step 702, this step is intended to cause the above-mentioned execution subject to stop the data synchronization service process in response to receiving a signal from the target cloud phone to stop the data synchronization service. The signal to stop the data synchronization service may be sent by the target cloud phone to the execution subject after the data transmission is completed, or may be sent by the target cloud phone to the execution subject after checking the result of the data migration, and the implementation method of the present disclosure is not limited to this. After receiving the signal from the target cloud phone to stop the data synchronization service, the execution subject may stop the data synchronization service process according to the signal to stop the data synchronization service process and end the data migration.

[0082] Optionally, the execution subject may also receive a signal for clearing migration data sent by the target cloud phone after checking the result of data migration and determining that data migration has failed. After receiving the signal for clearing migration data sent by the target cloud phone, the execution subject may clear the received data of the target cloud phone according to the signal for clearing migration data, so as to prevent these data from occupying the storage space of the execution subject. Therefore, the data migration method of this embodiment may also include: Step 704: in response to receiving the signal for clearing migration data sent by the target cloud phone, clear the received data of the target cloud phone.

[0083] To deepen understanding, the present disclosure also provides a specific implementation solution in combination with a specific application scenario, see Figure 8 The management device 810 in the centralized computer room sends data to the corresponding source cloud phone SRC 820 (e.g. Figure 1 The cloud phone 101' shown) and the destination cloud phone DST 830 (eg Figure 1 The cloud phones 102' or 103' shown in the figure respectively deploy data synchronization software packages. After receiving the data synchronization software packages, the source cloud phone SRC 820 and the destination cloud phone DST 830 execute the data migration task by running the programs in the data synchronization software packages. Fig. 9 As shown, the data migration process 900 includes:

[0084] Step 901. SRC and DST: in response to receiving the data synchronization software package, run the power on / off program in the data synchronization software package to shut down the local virtual machine;

[0085] Step 902. SRC and DST: Run the network security program in the data synchronization software package to configure the port used by the local virtual machine for data synchronization;

[0086] Step 903. DST: Run the data synchronization program in the data synchronization software package to start the data synchronization service process;

[0087] Step 904. SRC: Run the data synchronization program in the data synchronization software package;

[0088] Step 905. SRC: Send the data of the local virtual machine to SRC according to the data transmission path configured by the data synchronization program;

[0089] Step 906. DST: Receive data sent by SRC according to the data transmission path configured by the data synchronization program;

[0090] Step 907. SRC: In response to the completion of data transmission of the local virtual machine, a synchronization result checking program in the data synchronization software package is run to check the result of data migration;

[0091] If it is determined that the data migration is successful, steps 908 to 911 are executed.

[0092] Step 908. SRC: Send a signal to DST to stop the data synchronization service process;

[0093] Step 909. DST: in response to receiving a signal from SRC to stop the data synchronization service, stop the data synchronization service process;

[0094] Step 910. SRC and DST: Run the network security program in the data synchronization software package to close the port used for data synchronization of the local virtual machine;

[0095] Step 911. SRC and DST: Run the power on / off program in the data synchronization software package to start the local virtual machine.

[0096] If it is determined that the data migration fails, steps 908 to 913 are executed.

[0097] Step 908. SRC: Send a signal to DST to stop the data synchronization service process;

[0098] Step 909. DST: in response to receiving a signal from SRC to stop the data synchronization service, stop the data synchronization service process;

[0099] Step 912. SRC: Sends a signal to DST to clear migration data;

[0100] Step 913. DST: in response to receiving a signal for clearing migration data sent by the SRC, clear the received data of the SRC;

[0101] Step 910. SRC and DST: Run the network security program in the data synchronization software package to close the port used for data synchronization of the local virtual machine;

[0102] Step 911. SRC and DST: Run the power on / off program in the data synchronization software package to start the local virtual machine.

[0103] Further references Fig.10 As an implementation of the methods shown in the above figures, the present disclosure provides a data migration device, the implementation method of the data migration device is similar to Figure 2 or Figure 5 The embodiments of the method shown correspond to those described above.

[0104] like Fig.10 As shown, the data migration device 1000 of this embodiment may include: a processing module 1001 and a transceiver module 1002 .

[0105] In the implementation of the data migration device 1000 and Figure 2 The case corresponds to the implementation method shown.

[0106] The processing module 1001 is configured to run the data synchronization program in the data synchronization software package in response to receiving the data synchronization software package. The transceiver module 1002 is configured to send the data of the local virtual machine to the target cloud phone according to the data transmission path configured by the data synchronization program, wherein the target cloud phone runs the data synchronization program in the data synchronization software package to start the data synchronization service process.

[0107] In this embodiment, the specific processing of the processing module 1001 and the transceiver module 1002 in the data migration device 1000 and the technical effects thereof can be referred to in Figure 2 The relevant descriptions of steps 201-202 in the corresponding implementation manner are omitted here.

[0108] In some optional implementations of the present embodiment, the processing module 1001 is further configured to: in response to receiving a data synchronization software package, run the power on / off program in the data synchronization software package to shut down the local virtual machine; run the network security program in the data synchronization software package to configure the port of the local virtual machine for data synchronization; and run the data synchronization program in the data synchronization software package.

[0109] In some optional implementations of this embodiment, the processing module 1001 is further configured to, in response to the completion of data transmission of the local virtual machine, run a synchronization result checking program in the data synchronization software package to check the result of data migration;

[0110] The transceiver module 1002 is further configured to send a signal to clear the migrated data to the target cloud phone in response to the data migration failure.

[0111] In some optional implementations of the present embodiment, the transceiver module 1002 is further configured to send a signal to the target cloud phone to stop the data synchronization service process in response to the completion of data transmission of the local virtual machine.

[0112] In some optional implementations of the present embodiment, the processing module 1001 is further configured to: run the network security program in the data synchronization software package to close the port of the local virtual machine used for data synchronization; run the power on and off program in the data synchronization software package to start the local virtual machine.

[0113] In the implementation of the data migration device 1000 and Figure 5 The case corresponds to the implementation method shown.

[0114] The processing module 1001 is configured to, in response to receiving a data synchronization software package, run the data synchronization program in the data synchronization software package to start a data synchronization service process. The transceiver module 1002 is configured to receive the data of the target cloud phone sent by the target cloud phone according to the data transmission path configured by the data synchronization program, wherein the target cloud phone runs the data synchronization program in the data synchronization software package.

[0115] In this embodiment, the specific processing of the processing module 1001 and the transceiver module 1002 in the data migration device 1000 and the technical effects thereof can be referred to in Figure 5 The relevant descriptions of steps 501-502 in the corresponding implementation manner are not repeated here.

[0116] In some optional implementations of the present embodiment, the processing module 1001 is further configured to: in response to receiving a data synchronization software package, run the power on / off program in the data synchronization software package to shut down the local virtual machine; run the network security program in the data synchronization software package to configure the port of the local virtual machine for data synchronization; run the data synchronization program in the data synchronization software package to start the data synchronization service process.

[0117] In some optional implementations of the present embodiment, the processing module 1001 is further configured to stop the data synchronization service process in response to receiving a signal for stopping the data synchronization service sent by the target cloud phone.

[0118] In some optional implementations of the present embodiment, the processing module 1001 is further configured to clear the data received from the target cloud phone in response to receiving a signal for clearing migration data sent by the target cloud phone.

[0119] In some optional implementations of the present embodiment, the processing module 1001 is further configured to: run the network security program in the data synchronization software package to close the port of the local virtual machine used for data synchronization; run the power on and off program in the data synchronization software package to start the local virtual machine.

[0120] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the data migration method described in any of the above embodiments can be implemented when the at least one processor executes.

[0121] According to an embodiment of the present disclosure, the present disclosure also provides a system, which includes: a source cloud phone and a destination cloud phone, wherein the source cloud phone is configured to execute the above Figures 2 to 4 The data migration method described in the implementation mode, the target cloud phone is configured to perform the above Figures 5 to 7 The data migration method described in the implementation scheme.

[0122] According to an embodiment of the present disclosure, the present disclosure further provides a readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to implement the data migration method described in any of the above embodiments when executed.

[0123] According to an embodiment of the present disclosure, the present disclosure further provides a computer program product, which, when executed by a processor, can implement the data migration method described in any of the above embodiments.

[0124] Fig.11 A schematic block diagram of an example electronic device 1100 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of servers, such as blade servers, etc. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit implementations of the present disclosure described and / or claimed herein.

[0125] like Fig.11 As shown, the device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1102 or a computer program loaded from a storage unit 1108 into a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the device 1100 can also be stored. The computing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0126] A number of components in the device 1100 are connected to the I / O interface 1105, including: an input unit 1106, such as a keyboard, a mouse, etc.; an output unit 1107, such as various types of displays, speakers, etc.; a storage unit 1108, such as a disk, an optical disk, etc.; and a communication unit 1109, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1109 allows the device 1100 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0127] The computing unit 1101 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1101 performs the various methods and processes described above, such as the data migration method. For example, in some embodiments, the data migration method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1108. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1100 via the ROM 1102 and / or the communication unit 1109. When the computer program is loaded into the RAM 1103 and executed by the computing unit 1101, one or more steps of the data migration method described above may be performed. Alternatively, in other embodiments, the computing unit 1101 may be configured to perform the data migration method in any other appropriate manner (e.g., by means of firmware).

[0128] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0129] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0130] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0131] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0132] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0133] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS) services.

[0134] According to the data migration method provided in the embodiment of the present disclosure, data can be transmitted between two cloud phones by deploying a data synchronization software package in a cloud phone and running the data synchronization program in the data synchronization software package, thereby realizing data migration between the two cloud phones. Since the two cloud phones are peer devices, the data migration between the two cloud phones is point-to-point transmission, which can fully utilize the resources of the devices themselves, does not require external storage devices, can reduce costs, and can fully utilize the intranet bandwidth between devices and the disk read and write performance of the devices themselves, meeting the high concurrency requirements of simultaneous data migration of multiple devices.

[0135] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0136] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A data migration method, applied to a cloud phone, comprising: In response to receiving the data synchronization software package, running a data synchronization program in the data synchronization software package; According to the data transmission path configured by the data synchronization program, the data of the local virtual machine is sent to the target cloud phone, wherein the target cloud phone runs the data synchronization program in the data synchronization software package to start the data synchronization service process.

2. The method according to claim 1, wherein in response to receiving the data synchronization software package, running the data synchronization program in the data synchronization software package comprises: In response to receiving the data synchronization software package, executing a power on / off program in the data synchronization software package to shut down the local virtual machine; Run the network security program in the data synchronization software package to configure the local virtual machine for the port used for data synchronization; Run the data synchronization program in the data synchronization software package.

3. The method according to claim 2, further comprising: In response to the completion of data transmission of the local virtual machine, running a synchronization result checking program in the data synchronization software package to check a result of data migration; In response to the data migration failure, a signal for clearing the migrated data is sent to the target cloud phone.

4. The method according to claim 3, further comprising: In response to the completion of data transmission of the local virtual machine, a signal to stop the data synchronization service process is sent to the target cloud phone.

5. The method according to claim 3 or 4, further comprising: Running the network security program in the data synchronization software package to close the port used for data synchronization of the local virtual machine; The power on / off program in the data synchronization software package is run to start the local virtual machine.

6. A data migration method, applied to a cloud phone, comprising: In response to receiving the data synchronization software package, running the data synchronization program in the data synchronization software package to start the data synchronization service process; The data of the target cloud phone sent by the target cloud phone is received according to the data transmission path configured by the data synchronization program, wherein the target cloud phone runs the data synchronization program in the data synchronization software package.

7. The method according to claim 6, wherein in response to receiving the data synchronization software package, running the data synchronization program in the data synchronization software package comprises: In response to receiving the data synchronization software package, executing a power on / off program in the data synchronization software package to shut down the local virtual machine; Run the network security program in the data synchronization software package to configure the local virtual machine for the port used for data synchronization; The data synchronization program in the data synchronization software package is run to start the data synchronization service process.

8. The method according to claim 7, further comprising: In response to receiving a signal for stopping the data synchronization service sent by the target cloud phone, the data synchronization service process is stopped.

9. The method according to claim 8, further comprising: In response to receiving a signal for clearing migration data sent by the target cloud phone, the received data of the target cloud phone is cleared.

10. The method according to claim 8 or 9, further comprising: Running the network security program in the data synchronization software package to close the port used for data synchronization of the local virtual machine; The power on / off program in the data synchronization software package is run to start the local virtual machine.

11. A data migration device, comprising: a processing module, configured to, in response to receiving the data synchronization software package, run a data synchronization program in the data synchronization software package; The transceiver module is configured to send the data of the local virtual machine to the target cloud phone according to the data transmission path configured by the data synchronization program, wherein the target cloud phone runs the data synchronization program in the data synchronization software package to start the data synchronization service process.

12. The apparatus according to claim 11, wherein the processing module is further configured to: In response to receiving the data synchronization software package, executing a power on / off program in the data synchronization software package to shut down the local virtual machine; Run the network security program in the data synchronization software package to configure the local virtual machine for the port used for data synchronization; Run the data synchronization program in the data synchronization software package.

13. The apparatus according to claim 12, wherein the processing module is further configured to, in response to the completion of data transmission of the local virtual machine, run a synchronization result checking program in the data synchronization software package to check the result of data migration; The transceiver module is further configured to send a signal to clear the migrated data to the target cloud phone in response to the data migration failure.

14. According to the device of claim 13, the transceiver module is also configured to send a signal to the target cloud phone to stop the data synchronization service process in response to the completion of data transmission of the local virtual machine.

15. The apparatus according to claim 13 or 14, wherein the processing module is further configured to: Running the network security program in the data synchronization software package to close the port used for data synchronization of the local virtual machine; The power on / off program in the data synchronization software package is run to start the local virtual machine.

16. A data migration device, comprising: A processing module, configured to, in response to receiving a data synchronization software package, run a data synchronization program in the data synchronization software package to start a data synchronization service process; The transceiver module is configured to receive the data of the target cloud phone sent by the target cloud phone according to the data transmission path configured by the data synchronization program, wherein the target cloud phone runs the data synchronization program in the data synchronization software package.

17. The apparatus according to claim 16, wherein the processing module is further configured to: In response to receiving the data synchronization software package, executing a power on / off program in the data synchronization software package to shut down the local virtual machine; Run the network security program in the data synchronization software package to configure the local virtual machine for the port used for data synchronization; The data synchronization program in the data synchronization software package is run to start the data synchronization service process.

18. According to the device of claim 17, the processing module is further configured to stop the data synchronization service process in response to receiving a signal sent by the target cloud phone to stop the data synchronization service.

19. According to the device of claim 18, the processing module is further configured to clear the data received from the target cloud phone in response to receiving a signal for clearing migration data sent by the target cloud phone.

20. The apparatus according to claim 18 or 19, wherein the processing module is further configured to: Running the network security program in the data synchronization software package to close the port used for data synchronization of the local virtual machine; The power on / off program in the data synchronization software package is run to start the local virtual machine.

21. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the data migration method according to any one of claims 1 to 10.

22. A system comprising: A source cloud phone, configured to execute the data migration method according to any one of claims 1 to 5; The target cloud phone is configured to execute the data migration method described in any one of claims 6-10.

23. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the data migration method according to any one of claims 1 to 10.

24. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the data migration method according to any one of claims 1 to 10 are implemented.

Citation Information

Patent Citations

  • Method for sharing data of mobile terminal and virtual machine

    CN104320431A

  • Method for thermally migrating K virtual machine (KVM) and system

    CN105138394A

  • Virtual-machine cold-migration method, system and device

    CN107656796A

  • Cloud platform upgrading tool and upgrading method

    CN110795118A

  • Virtual machine migration method and device, electronic equipment, and storage medium

    CN113918269A