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

By using a data synchronization software package for point-to-point data transmission between cloud phones, the problems of low data migration efficiency and insufficient resource utilization during cloud phone device upgrades or replacements are solved, achieving efficient and low-cost concurrent data migration across multiple devices.

CN119299469BActive Publication Date: 2026-03-20HUNAN MC TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411310442.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2026-03-20
Estimated Expiration
2044-09-19

AI Technical Summary

Technical Problem

Existing technologies suffer from low efficiency, high cost, and insufficient resource utilization during data migration when upgrading, expanding, or replacing cloud mobile devices, especially when migrating multiple devices simultaneously, making it difficult to meet high concurrency requirements.

Method used

A data synchronization software package is used to perform point-to-point data transmission between cloud phones. By running a data synchronization program on the source cloud phone and the target cloud phone, and configuring the data transmission path and port, efficient resource utilization is achieved during the data migration process, including steps such as powering off, configuring network security, and checking migration results.

Benefits of technology

It enables efficient and low-cost data migration between cloud phones, meets the high concurrency requirements of data migration across multiple devices, simplifies the data migration process, and improves the efficiency and success rate of data migration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299469B_ABST
    Figure CN119299469B_ABST
Patent Text Reader

Abstract

The present disclosure provides a data migration method and device, electronic equipment, system, storage medium and program product, relates to the technical field of cloud computing, in particular to the technical field of cloud service, cloud mobile phone and intelligent cloud. The method is applied to a cloud mobile phone and comprises the following steps: in response to receiving a data synchronization software package, running a data synchronization program in the data synchronization software package; and sending data of a local virtual machine to a target cloud mobile phone according to a data transmission path configured by the data synchronization program, wherein the target cloud mobile phone runs the data synchronization program in the data synchronization software package to start a data synchronization service process. The present disclosure can meet the requirement of high concurrency of data migration of multiple devices at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of cloud computing, in particular to the technical field of cloud services, cloud phones and intelligent clouds, and more particularly 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

[0002] A cloud phone is a kind of smart phone that applies cloud computing technology to network terminal service and realizes cloud service through a cloud server. This kind of smart phone deeply combined with network service can realize more functions through the network by virtue of the system and the network terminal set up by the manufacturer.

[0003] For some cases that need to replace the cloud phone, such as device upgrade, device expansion, device replacement, etc., the data of the cloud phone needs to be migrated without loss. SUMMARY

[0004] The present disclosure provides 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 requirement of multiple devices simultaneously migrating data.

[0005] In a first aspect, the present disclosure provides a data migration method applied to a cloud phone, including: in response to receiving a data synchronization software package, running a data synchronization program in the data synchronization software package; and 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 a second aspect, the present disclosure provides a data migration method applied to a cloud phone, including: 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; and receiving data of a target cloud phone sent by the 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.

[0007] In a third aspect, the present disclosure provides a data migration device, including: 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; and 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, the embodiments of the present disclosure provide a data migration apparatus, 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; and a transceiver module configured to receive data of a target cloud phone sent by the 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.

[0009] In a fifth aspect, the embodiments of the present disclosure provide an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the data migration method as described in any implementation manner of the first aspect or the second aspect.

[0010] In a sixth aspect, the embodiments of the present disclosure provide a system, comprising: a source cloud phone configured to perform the data migration method as described in any implementation manner of the first aspect; and a target cloud phone configured to perform the data migration method as described in any implementation manner of the second aspect.

[0011] In a fifth aspect, the embodiments of the present disclosure provide a non-transitory computer-readable storage medium storing computer instructions, which, when executed by a computer, enable the computer to implement the data migration method as described in any implementation manner of the first aspect or the second aspect.

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

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

[0014] Other features, objects, and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments thereof as taken in conjunction with the accompanying drawings:

[0015] Figure 1 An exemplary system architecture diagram to which the present disclosure can be applied;

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

[0017] Figure 3 for Figure 2 A flowchart of one embodiment of the data migration method shown;

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

[0019] Figure 5 A flowchart of another data migration method provided for embodiments of this disclosure;

[0020] Figure 6 for Figure 5 A flowchart of one embodiment of the data migration method shown;

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

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

[0023] Figure 10 A structural block diagram of a data migration apparatus provided for embodiments of this disclosure;

[0024] Figure 11 This is a schematic diagram of the structure of an electronic device suitable for performing a data migration method, provided for embodiments of the present disclosure. Detailed Implementation

[0025] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding; these should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description. It should be noted that, unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other.

[0026] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in the technical solution disclosed herein comply 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, the data migration apparatus, the electronic device, the system, the computer-readable storage medium, and the computer program product of the present disclosure can be applied.

[0028] As shown in Figure 1 The system architecture 100 can include a terminal device 101, cloud phones 101', 102', 103', a network 104, and a server 105. The network 104 serves as a medium to provide 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 can include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.

[0029] A 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 further 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. Among them, Figure 1 Terminal devices corresponding to the cloud phones 102', 103' are not shown.

[0030] Various applications for enabling information communication between the terminal device 101, the cloud phones 101', 102', 103', and the server 105 can be installed thereon, such as music applications, game applications, instant messaging applications, etc.

[0031] The terminal device 101, the cloud phones 101', 102', 103', and the server 105 can be hardware or software. When the terminal device 101 is hardware, it can be various electronic devices with a display screen, including but not limited to smartphones, tablet computers, laptop computers, desktop computers, etc. When the terminal device 101 is software, it can be installed in the above-listed electronic devices, and can be implemented as multiple software or software modules, or as a single software or software module, which is not specifically limited here. When the 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 the 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, which is not specifically limited here. When the server 105 is hardware, it can be implemented as a distributed server cluster composed 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, which is not specifically limited here.

[0032] It should be understood that Figure 1 The number of terminal devices, cloud phones, networks and servers in the cloud phone system is only illustrative. According to the needs of implementation, there can be any number of terminal devices, networks and servers.

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

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

[0035] This step is intended to be performed by the execution subject of the data migration method (for example Figure 1 The cloud phone 101' shown in the figure runs a data synchronization program in the data synchronization software package in response to receiving the data synchronization software package. Wherein, data migration generally refers to the process of moving data from one system to another system, and needs to ensure the integrity and consistency of data. 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 the method of data synchronization. The data synchronization software package (Software Package) can include one program or a group of programs for data synchronization, and 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 can include a data synchronization program. The data synchronization software package can be deployed on the cloud phone by the 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 the same level of equipment, the storage space of the destination cloud phone DST needs to meet the demand of the source cloud phone SRC for storage space, etc. Then the management device can create a corresponding data migration task according to the determined destination cloud phone DST and source cloud phone SRC, and save the created data migration task in the task pool, and set the task state to be in a pending state. After that, the management device can poll the tasks in the task pool, and configure the preset data synchronization software package according to the data migration task in the pending state. Then the management device can send the configured data synchronization software package to the corresponding source cloud phone SRC and 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: 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 service process started by the data synchronization program in the data synchronization software package.

[0038] On the basis of step 201, the purpose of this step is to send the data of the local virtual machine to the target cloud phone (for example Figure 1 cloud phone 102' or 103') by the above-mentioned execution subject according to the data transmission path configured by the data synchronization program. The data synchronization program can be configured with a data transmission path, according to which the port and target cloud phone address used for data synchronization can be determined, and the data synchronization program can also be configured with a protocol and identity authentication information used for data synchronization, etc. The configuration information of the data synchronization program can 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 can be implemented by using Remote synchronization (Rsync) software.

[0039] The execution subject can be the source cloud phone SRC of data migration, by running the 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 execution subject is sent to the target cloud phone. The target cloud phone can be the destination cloud phone DST of data migration, by running the data synchronization program in the data synchronization software package to start the data synchronization service process, the port used for data synchronization of the target cloud phone is listened to, to receive the data sent by the execution subject. The execution subject and the target cloud phone realize the migration of the data of the execution subject to the target cloud phone by running the data synchronization program in the client / server mode.

[0040] The data migration method provided by the embodiments of the present disclosure can realize data transmission between two cloud phones by deploying the data synchronization software package in the cloud phone and running the data synchronization program in the data synchronization software package, so as to realize data migration between two cloud phones. Since the two cloud phones are peer-to-peer devices, the data migration between the two cloud phones is point-to-point transmission, which can fully utilize the resources of the device itself, without the need for external storage devices, can reduce the cost, can fully utilize the internal network bandwidth between devices and the disk read / write performance of the device itself, and can meet the high concurrency requirement of multiple devices for data migration at the same time.

[0041] Please refer to Figure 3 , Figure 3 for Figure 2 the flowchart of one embodiment of the data migration method, wherein the flow 300 can include the following steps:

[0042] Step 301: in response to receiving the data synchronization software package, running the shutdown program in the data synchronization software package to shut down the local virtual machine;

[0043] This step aims to run, by an execution subject of the data migration method (for example Figure 1 The cloud phone 101' shown in the figure runs the shutdown program in the data synchronization software package to shut down the local virtual machine in response to receiving the data synchronization software package. The data synchronization software package includes the shutdown program, and the execution subject can run the shutdown program in the data synchronization software package to shut down the cloud phone in the powered-off state before performing data migration. Since new data will be continuously generated in the powered-on state of the cloud phone, the data migration process will continue with the generation of new data, and no new data will be generated after the cloud phone is powered off. The data migration is only performed on the data already existing in the cloud phone, which can be beneficial to simplify the data migration process and improve the efficiency of data migration.

[0044] Step 302: running 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 aims to run, by the above-mentioned execution subject, the network security program in the data synchronization software package to configure the port of the local virtual machine for data synchronization. The data synchronization software package includes the network security program, and the execution subject can run the network security program in the data synchronization software package to configure the port of the execution subject for data synchronization after shutting down the cloud phone by running the shutdown program in the data synchronization software package. The port of the execution subject for data synchronization can pass the data sent by the data migration, for example, the sent data can pass through the firewall and other network security tools, which can be beneficial to simplify the data migration process and improve the efficiency of data migration. The port of 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 do not make any limitation thereon. For example, the data synchronization program uses Rsync software to implement, and the port of the cloud phone for data synchronization can be 873.

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

[0047] Step 304: sending 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 consistent with steps 201 to 202 as shown in Figure 2 The same part of the content is described in the corresponding part of the embodiments shown in Figure 2 The same part of the content is described in the corresponding part of the embodiments shown in

[0049] Optionally, after the data transmission of the execution subject ends, the execution subject can also close the port for data synchronization and start the cloud phone for subsequent upgrade and update by running the network security program and the start-stop program in the data synchronization software package in sequence. Therefore, the data migration method of the embodiment can further include the following steps: running the network security program in the data synchronization software package to close the port of the local virtual machine for data synchronization; and running the start-stop 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 shown in the figure, wherein the flow 400 can include the following steps:

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

[0052] Step 402: sending 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 consistent with steps 201 to 202 as shown in Figure 2 , and the same part of the content can be referred to the corresponding part of the embodiment shown in Figure 2 , so here will not be described in detail.

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

[0055] On the basis of step 402, the purpose of this step is to respond to the end of the data transmission of the local virtual machine by the above-mentioned execution subject, and run the synchronization result checking program in the data synchronization software package to check the result of data migration. Wherein, the data synchronization software package includes the synchronization result checking program, and the execution subject can check the result of data migration by running the synchronization result checking program in the data synchronization software package after the data transmission of the execution subject ends by running the data synchronization program in the data synchronization software package. The implementation of the embodiment of the disclosure for the synchronization result checking program to check the result of data migration is not limited, for example, the recorded data can be compared with the data stored by the execution subject to determine whether they are consistent, if they are consistent, it means that the data migration is successful, if they are not consistent, it means that the data migration fails. By checking the result of data migration, it can be determined whether the data migration is successful, so as to provide a basis for subsequent processing.

[0056] Step 404: in response to the failure of data migration, sending a signal to the target cloud phone to clear the migrated data.

[0057] On the basis of step 404, this step aims to send, by the above-mentioned execution subject, a signal for clearing migration data to the target cloud phone in response to the failure of data migration. Wherein, the execution subject can send the signal for clearing migration data to the target cloud phone after determining the failure of data migration by checking the result of data migration through running the synchronization result checking program in the data synchronization software package, so that the target cloud phone can clear the received migration data according to the signal for clearing migration data, avoiding the occupation of the storage space of the target cloud phone by these data.

[0058] Optionally, the execution subject can also send a signal for stopping the data synchronization service process to the target cloud phone after sending the data of the execution subject ends by running the data synchronization program in the data synchronization software package, so that the target cloud phone can stop the data synchronization service process according to the signal for stopping the data synchronization service process, and end this time of data migration. Therefore, the data migration method provided by the embodiment of the present disclosure can also include the following step: sending a signal for stopping the data synchronization service process to the target cloud phone in response to the data sending of the local virtual machine ends. Optionally, the execution subject can also send a signal for stopping the data synchronization service process to the target cloud phone after checking the result of data migration by running the synchronization result checking program in the data synchronization software package. The embodiment of the present disclosure does not limit this.

[0059] Please refer to Figure 5 , Figure 5 The flowchart of another data migration method provided by the embodiment of the present disclosure, wherein the flow 500 can include the following steps:

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

[0061] This step aims to run, by the execution subject of the data migration method (for example Figure 1 The cloud phone 102' or 103' shown) in response to receiving the data synchronization software package, the data synchronization program in the data synchronization software package to start the data synchronization service process. Wherein, data migration generally refers to the process of moving data from one system to another system, and needs to ensure the integrity and consistency of data. 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 the method of data synchronization. The data synchronization software package can include one program or a group of programs for data synchronization, and the embodiment of the present disclosure does not limit the number and type of programs included in the data synchronization software package, for example, the data synchronization software package can 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 the same level of devices, the storage space of the destination cloud phone DST needs to meet the demand of the source cloud phone SRC for storage space, etc. Then the management device can create a corresponding data migration task according to the determined destination cloud phone DST and the source cloud phone SRC, and save the created data migration task in the task pool, and set the task state to be a to-be-processed state. After that, the management device can poll the tasks in the task pool, and configure the preset data synchronization software package according to the data migration task in the to-be-processed state. Then the management device can send the configured data synchronization software package to the corresponding source cloud phone SRC and 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 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.

[0064] On the basis of step 502, the present step aims to receive the data of the target cloud phone (for example Figure 1 The cloud phone 101' shown) sent by the target cloud phone according to the data transmission path configured by the data synchronization program by the above-mentioned execution subject. Among them, the data synchronization program can be configured with a data transmission path, according to which the port and the target cloud phone address used for data synchronization can be determined, and the data synchronization program can also be configured with a protocol and identity authentication information used for data synchronization, etc. The configuration information of the data synchronization program can be determined by the data synchronization program used by the data synchronization software package, and 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 can be implemented by using Rsync software.

[0065] Among them, the execution subject can be the destination cloud phone DST for data migration, and start the data synchronization service process by running the data synchronization program in the data synchronization software package, listen to the port used for data synchronization by the execution subject, 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 for 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 realize the migration of the data of the target cloud phone to the execution subject by running the data synchronization program in the client / server mode.

[0066] The data migration method provided in this disclosure enables data transfer 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. This achieves data migration between the two cloud phones. Since the two cloud phones are peer devices, the data migration between them is a point-to-point transmission, which can make full use of the devices' own resources, eliminates the need for external storage devices, reduces costs, and fully utilizes the intranet bandwidth between the devices and the disk read / write performance of the devices themselves, meeting the high concurrency requirements of multiple devices performing data migration simultaneously.

[0067] Please refer to Figure 6 , Figure 6 for Figure 5 A flowchart of an embodiment of the data migration method shown is provided, wherein process 600 may include the following steps:

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

[0069] This step is intended for the entity performing the data migration method (e.g., Figure 1 The cloud phone 102' or 103' shown responds to receiving the data synchronization package by running the power-on / off program within the data synchronization package to shut down the local virtual machine. The data synchronization package includes the power-on / off program. After receiving the data synchronization package, the executing entity can first shut down the cloud phone by running the power-on / off program within the data synchronization package. Data migration can then be performed while the cloud phone is powered off, which simplifies the data migration process and improves its efficiency.

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

[0071] Building upon step 601, this step aims to configure the local virtual machine's port for data synchronization by having the execution entity run the network security program within the data synchronization software package. The data synchronization software package includes a network security program. After shutting down the device by running the power-on / off program within the data synchronization software package, the execution entity can configure the port used for data synchronization by running the network security program within the data synchronization software package. This allows data received during data migration to pass through the port, for example, enabling the received data to pass through network security tools such as firewalls. This simplifies the data migration process and improves its efficiency. The port used for data synchronization by the cloud phone can be determined by the data synchronization program used by the data synchronization software package; this disclosure does not limit this. For example, if the data synchronization program uses Rsync software, the port used for data synchronization by the cloud phone 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 data from the target cloud phone sent by the target cloud phone according to the data transmission path configured in the data synchronization program.

[0074] Steps 603 to 604 above are the same as those in the previous steps. Figure 5 Steps 501 to 502 shown are the same; please refer to the original text for the same parts. Figure 5 The corresponding parts of the illustrated implementation are not described in detail here.

[0075] Optionally, after the executing entity finishes receiving data from the target cloud phone, it can also shut down the port used for data synchronization and power on / off by sequentially running the network security program and power-on / off program in the data synchronization software package, allowing the cloud phone to be used for subsequent upgrades and updates. Therefore, the data migration method in this embodiment may further include the following steps: running the network security program in the data synchronization software package to shut down the port used for data synchronization on the local virtual machine; running the power-on / 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 A flowchart of another embodiment of the data migration method shown is provided, wherein process 700 may include the following steps:

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

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

[0079] Steps 701 to 702 above are the same as those in the previous steps. Figure 5 Steps 501 to 502 shown are the same; please refer to the original text for the same parts. Figure 5 The corresponding parts of the illustrated implementation are not described in detail here.

[0080] Step 703: In response to receiving a signal from the target cloud phone to stop the data synchronization service, stop the data synchronization service process;

[0081] Building upon step 702, this step aims to have the execution entity stop the data synchronization service process in response to receiving a stop data synchronization service signal from the target cloud phone. This stop data synchronization service signal can be sent by the target cloud phone to the execution entity after data transmission is complete, or it can be sent by the target cloud phone after checking the data migration results; this disclosure does not limit the specific type of signal. Upon receiving the stop data synchronization service signal from the target cloud phone, the execution entity can stop the data synchronization service process and end the current data migration.

[0082] Optionally, the executing entity can also receive a signal from the target cloud phone to clear the migration data after checking the data migration result and determining that the data migration has failed. After receiving the signal from the target cloud phone to clear the migration data, the executing entity can clear the data received from the target cloud phone according to the signal, thus preventing this data from occupying the executing entity's storage space. Therefore, the data migration method of this embodiment may further include: Step 704: In response to receiving the signal from the target cloud phone to clear the migration data, clear the data received from the target cloud phone.

[0083] To enhance understanding, this disclosure also provides a specific implementation scheme based on a particular application scenario. Please refer to the example below. Figure 8 As shown. The management device 810 in the centralized data center, according to the data migration task, directs data to the corresponding source cloud phone SRC 820 in the data center (e.g., ...). Figure 1 The cloud phone 101' shown and the target cloud phone DST 830 (e.g.) Figure 1 The cloud phones 102' or 103' shown are each deployed with a data synchronization software package. After receiving the data synchronization software package, the source cloud phone SRC 820 and the destination cloud phone DST 830 execute data migration tasks by running the programs in the data synchronization software package. Figure 9 As shown, the data migration process 900 includes:

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

[0085] Step 902. SRC and DST: Run the network security program in the data synchronization package to configure 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: sends the data of the local virtual machine to the SRC according to the data transmission path configured by the data synchronization program;

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

[0090] Step 907. SRC: in response to the end of the data sending of the local virtual machine, runs the synchronization result checking program in the data synchronization software package to check the result of the data migration;

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

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

[0093] Step 909. DST: in response to receiving the signal to stop the data synchronization service sent by the SRC, stops 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 of the local virtual machine used for data synchronization;

[0095] Step 911. SRC and DST: run the startup and shutdown 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: sends a signal to stop the data synchronization service process to the DST;

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

[0099] Step 912. SRC: sends a signal to clear the migrated data to the DST;

[0100] Step 913. DST: in response to receiving the signal to clear the migrated data sent by the SRC, clears the data received from the SRC;

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

[0102] Step 911. SRC and DST: run the startup and shutdown program in the data synchronization software package to start the local virtual machine.

[0103] Further referenceFigure 10 As an implementation of the method shown in the above figures, the present disclosure provides a data migration device, an embodiment of which corresponds to an embodiment of the method shown in Figure 2 or Figure 5 .

[0104] As shown in Figure 10 , the data migration device 1000 of the present embodiment can include a processing module 1001 and a transceiver module 1002.

[0105] In the case where an embodiment of the data migration device 1000 corresponds to an embodiment of the method shown in Figure 2 .

[0106] The processing module 1001 is configured to run a 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 data of the 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 a data synchronization service process started by the data synchronization program in the data synchronization software package.

[0107] In the present embodiment, the specific processing of the processing module 1001 and the transceiver module 1002 in the data migration device 1000 and the technical effects brought by the same can be respectively referred to the related descriptions of steps 201-202 in the corresponding embodiments, which will not be repeated here. Figure 2

[0108] In some optional implementations of the present embodiment, the processing module 1001 is further configured to: run a shutdown program in the data synchronization software package to shut down the local virtual machine in response to receiving the data synchronization software package; run a network security program in the data synchronization software package to configure a 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 the present embodiment, the processing module 1001 is further configured to run a synchronization result checking program in the data synchronization software package to check a result of the data migration in response to the data transmission of the local virtual machine being completed.

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

[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 data transmission of the local virtual machine being completed.

[0112] ​In some optional implementations of the 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 for data synchronization; and run the power-on / off program in the data synchronization software package to start the local virtual machine.

[0113] In the embodiment of the data migration apparatus 1000, the processing module 1001 and the transceiver module 1002 correspond to the method shown in Figure 5

[0114] The processing module 1001 is configured to, in response to receiving the 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 in 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.

[0115] In the embodiment, the specific processing of the processing module 1001 and the transceiver module 1002 in the data migration apparatus 1000 and the technical effects brought by the specific processing can be respectively referred to the related descriptions of steps 501-502 in the corresponding embodiment, which will not be repeated here. Figure 5 The related descriptions of steps 501-502 in the corresponding embodiment, which will not be repeated here.

[0116] In some optional implementations of the 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 for data synchronization; and run the power-on / off program in the data synchronization software package to start the local virtual machine.

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

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

[0119] In some optional implementations of the 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 for data synchronization; and run the power-on / 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 further provides an electronic device, comprising: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to implement the data migration method described in any of the above embodiments when executed.

[0121] According to an embodiment of the present disclosure, the present disclosure further provides a system, comprising: a source cloud phone and a destination cloud phone, the source cloud phone is configured to execute the data migration method described in the above Figures 2 to 4 embodiments, and the destination cloud phone is configured to execute the data migration method described in the above Figures 5 to 7 embodiments.

[0122] According to an embodiment of the present disclosure, the present disclosure further provides a readable storage medium, which stores computer instructions for enabling 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 enables the data migration method described in any of the above embodiments when executed by a processor.

[0124] Figure 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 here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present disclosure described and / or claimed in this document.

[0125] As shown in Figure 11 the device 1100 includes a computing unit 1101 that can perform various appropriate actions and processes in accordance with 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. Various programs and data required for the operation of the device 1100 can also be stored in the RAM 1103. The computing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other through a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0126] A number of the 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 magnetic 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 over a computer network, such as the Internet, and / or various telecommunication networks.

[0127] The computing unit 1101 can be various general and / or special purpose 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 specialized artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 1101 performs various methods and processes described above, such as the data migration method. For example, in some embodiments, the data migration method can be implemented as a computer software program, which is tangibly embodied in a machine-readable medium, such as the storage unit 1108. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 1100 via the ROM 1102 and / or the communication unit 1109. When the computer program is loaded onto the RAM 1103 and executed by the computing unit 1101, one or more steps of the data migration method described above can be performed. Alternatively, in other embodiments, the computing unit 1101 can be configured to perform the data migration method by any other appropriate means, such as by means of firmware.

[0128] Various implementations of the systems and techniques described above herein can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0129] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces the functions / operations specified in the flowcharts and / or block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine as a standalone software package, or entirely on a remote machine or server.

[0130] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0131] To provide for interaction with a user, the systems and techniques described here 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 a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, 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, speech, or tactile input.

[0132] The systems and techniques described here can be implemented in a computing system that includes a back end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front end component, e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here, or any combination of such back end, middleware, or front end components. The components of the system can 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] The computer system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of large management difficulty and weak business scalability in traditional physical host and virtual private server (VPS, Virtual Private Server) services.

[0134] The data migration method provided by the embodiment of the present disclosure can realize data migration between two cloud phones by deploying a data synchronization software package in the cloud phone and running a data synchronization program in the data synchronization software package, so that data transmission can be performed between the two cloud phones. Since the two cloud phones are peer-to-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, without the need for external storage devices, can reduce costs, and can fully utilize the intranet bandwidth between the devices and the disk read-write performance of the devices themselves to meet the high-concurrency requirement of multiple devices simultaneously performing data migration.

[0135] It should be understood that the various forms of flow shown above can be reordered, additional or deleted steps. For example, the steps described in the present disclosure can be executed in parallel, sequentially or in different order, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, which is not limited herein.

[0136] The above detailed description does not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A data migration method applied to cloud phones, comprising: In response to receiving a data synchronization package, the power-on / off procedure in the data synchronization package is executed to shut down the local virtual machine; Run the network security program in the data synchronization software package to configure the port on the local virtual machine for data synchronization; Run the data synchronization program in the data synchronization software package; According to the data transmission path configured in the data synchronization program, the local virtual machine data 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; In response to the completion of data transmission from the local virtual machine, the synchronization result checker in the data synchronization software package is run to check the results of the data migration. In response to the data migration failure, a signal to clear the migration data is sent to the target cloud phone.

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

3. The method according to claim 1 or 2, further comprising: Run the network security program in the data synchronization software package to close the port used for data synchronization on the local virtual machine; Run the power-on / off procedure in the data synchronization software package to start the local virtual machine.

4. A data migration method applied to cloud phones, comprising: In response to receiving a data synchronization package, the power-on / off procedure in the data synchronization package is executed to shut down the local virtual machine; Run the network security program in the data synchronization software package to configure the port on 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; According to the data transmission path configured in the data synchronization program, the target cloud phone receives data sent by the target cloud phone, wherein the target cloud phone runs the data synchronization program in the data synchronization software package; In response to receiving a signal from the target cloud phone to stop the data synchronization service, the data synchronization service process is stopped; In response to receiving a signal from the target cloud phone to clear migration data, the received data from the target cloud phone is cleared.

5. The method according to claim 4, further comprising: Run the network security program in the data synchronization software package to close the port used for data synchronization on the local virtual machine; Run the power-on / off procedure in the data synchronization software package to start the local virtual machine.

6. A data migration apparatus, comprising: The processing module is configured to, in response to receiving a data synchronization package, run the power-on / off procedure in the data synchronization package to shut down the local virtual machine; Configure the local virtual machine's port for data synchronization using the network security program in the data synchronization software package; run the data synchronization program in the data synchronization software package; The transceiver module is configured to send data from the local virtual machine to the target cloud phone according to the data transmission path configured in 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; The processing module is also configured to run the synchronization result checker in the data synchronization software package to check the data migration result in response to the end of data transmission from the local virtual machine. The transceiver module is also configured to send a signal to the target cloud phone to clear the migrated data in response to the data migration failure.

7. The apparatus according to claim 6, wherein the transceiver module is further configured to send a signal to the target cloud phone to stop the data synchronization service process in response to the end of data transmission from the local virtual machine.

8. The apparatus according to claim 6 or 7, wherein the processing module is further configured to: Run the network security program in the data synchronization software package to close the port used for data synchronization on the local virtual machine; Run the power-on / off procedure in the data synchronization software package to start the local virtual machine.

9. A data migration apparatus, comprising: The processing module is configured to, in response to receiving a data synchronization package, run the power-on / off procedure in the data synchronization package to shut down the local virtual machine; Run the network security program in the data synchronization software package to configure the port used for data synchronization on the local virtual machine; run the data synchronization program in the data synchronization software package to start the data synchronization service process; The transceiver module is configured to receive data sent by the target cloud phone according to the data transmission path configured in the data synchronization program, wherein the target cloud phone runs the data synchronization program in the data synchronization software package; The processing module is further configured to stop the data synchronization service process in response to receiving a signal from the target cloud phone to stop the data synchronization service; and to clear the data received from the target cloud phone in response to receiving a signal from the target cloud phone to clear migration data.

10. The apparatus according to claim 9, wherein the processing module is further configured to: Run the network security program in the data synchronization software package to close the port used for data synchronization on the local virtual machine; Run the power-on / off procedure in the data synchronization software package to start the local virtual machine.

11. 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 to enable the at least one processor to perform the data migration method according to any one of claims 1-5.

12. A data migration system, comprising: The Yuanyun phone is configured to perform the data migration method according to any one of claims 1-3; The target cloud phone is configured to perform the data migration method according to any one of claims 4-5.

13. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the data migration method of any one of claims 1-5.

14. A computer program product comprising a computer program that, when executed by a processor, implements the steps of the data migration method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Cloud platform upgrading tool and upgrading method

    CN110795118A