CN114143328A - Data migration method, device, equipment and medium of cloud mobile phone - Google Patents
Data migration method, device, equipment and medium of cloud mobile phone Download PDFInfo
- Publication number
- CN114143328A CN114143328A CN202111401305.XA CN202111401305A CN114143328A CN 114143328 A CN114143328 A CN 114143328A CN 202111401305 A CN202111401305 A CN 202111401305A CN 114143328 A CN114143328 A CN 114143328A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- cloud mobile
- cloud
- data
- source
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 230000005012 migration Effects 0.000 title claims abstract description 56
- 238000013508 migration Methods 0.000 title claims abstract description 56
- 238000004891 communication Methods 0.000 claims description 25
- 230000008569 process Effects 0.000 claims description 12
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 claims description 2
- 239000000126 substance Substances 0.000 claims description 2
- 230000008447 perception Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000001953 sensory effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/178—Techniques for file synchronisation in file systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/084—Configuration by using pre-existing information, e.g. using templates or copying from other elements
- H04L41/0846—Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
- H04W8/245—Transfer of terminal data from a network towards a terminal
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
The disclosure provides a data migration method, a data migration device, data migration equipment and a storage medium of a cloud mobile phone, and relates to the technical field of computers, in particular to the fields of cloud computing and cloud mobile phones. The specific implementation scheme is as follows: when a mobile phone replacement requirement for replacing a source cloud mobile phone of a user with a target cloud mobile phone is generated, acquiring hardware configuration parameters of the source cloud mobile phone; setting hardware configuration parameters of the target cloud mobile phone according to the hardware configuration parameters of the source cloud mobile phone; and migrating the local data of the source cloud mobile phone to a target cloud mobile phone to be used as the local data of the target cloud mobile phone. The cloud mobile phone replacing method and device can guarantee integrity, consistency and non-perception experience when the cloud mobile phone of the user is replaced.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to cloud computing and cloud phone technologies.
Background
The cloud mobile phone is a mobile phone which applies a cloud computing technology to network terminal service and realizes cloud service through a cloud server. The cloud mobile phone is a smart mobile phone deeply combined with network services, and the mobile phone can realize a plurality of functions through a network by means of a system of the mobile phone and a network terminal erected by a manufacturer.
If the cloud mobile phone fails, the cloud mobile phone is upgraded, or the user requires to replace the cloud mobile phone, the user needs to perform operations of cloud mobile phone allocation and data loading again.
Therefore, the prior art needs to provide an effective scheme to ensure the integrity, consistency and non-perception experience when the cloud mobile phone of the user is replaced.
Disclosure of Invention
The disclosure provides a data migration method, device, equipment and medium of a cloud mobile phone, so as to ensure integrity, consistency and non-perception experience when the cloud mobile phone is replaced.
According to an aspect of the present disclosure, a data migration method for a cloud phone is provided, which is applied to a cloud server, and the method includes:
when a mobile phone replacement requirement for replacing a source cloud mobile phone of a user with a target cloud mobile phone is generated, acquiring hardware configuration parameters of the source cloud mobile phone;
setting hardware configuration parameters of the target cloud mobile phone according to the hardware configuration parameters of the source cloud mobile phone;
and migrating the local data of the source cloud mobile phone to a target cloud mobile phone to be used as the local data of the target cloud mobile phone.
According to another aspect of the present disclosure, an apparatus for data migration is provided, which is applied to a cloud server, and the apparatus includes:
the system comprises a parameter acquisition module, a parameter selection module and a parameter selection module, wherein the parameter acquisition module is used for acquiring hardware configuration parameters of a source cloud mobile phone when a mobile phone replacement requirement for replacing the source cloud mobile phone of a user with a target cloud mobile phone is generated;
the parameter configuration module is used for setting the hardware configuration parameters of the target cloud mobile phone according to the hardware configuration parameters of the source cloud mobile phone;
and the data migration module is used for migrating the local data of the source cloud mobile phone to the target cloud mobile phone to be used as the local data of the target cloud mobile phone.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
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 execute the data migration method of the cloud mobile phone provided by any embodiment of the disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to execute the data migration method of a cloud phone provided in any embodiment of the present disclosure.
According to the cloud mobile phone replacing method and device, when the cloud mobile phone is migrated, the hardware configuration parameters of the target cloud mobile phone are set according to the hardware configuration parameters of the source cloud mobile phone, the hardware configuration parameters and the local data of the target cloud mobile phone are both corresponding to the source cloud mobile phone, integrity, consistency and non-perception experience of the cloud mobile phone during replacement are guaranteed, and the use experience of a user on the cloud mobile phone and the use experience of the user in the process of replacing the cloud mobile phone is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a schematic diagram of a data migration method of a cloud handset according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a data migration method of a cloud handset according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a data migration apparatus of a cloud handset according to an embodiment of the present disclosure;
FIG. 4 is a block diagram of an electronic device used to implement embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a data migration method of a cloud mobile phone according to an embodiment of the present disclosure, which is applicable to a situation where a cloud mobile phone is replaced in a cloud server. The method can be executed by a data migration device of the cloud mobile phone, the device can be realized in a hardware and/or software mode, and the device can be configured in a cloud server. Referring to fig. 1, the method specifically includes the following steps:
s110, when a mobile phone replacement requirement for replacing a source cloud mobile phone of a user with a target cloud mobile phone is generated, acquiring hardware configuration parameters of the source cloud mobile phone.
The source cloud mobile phone is a data provider in data migration, and the target cloud mobile phone is a data receiver in the data migration process. The hardware configuration parameters may be configuration parameters required by the cloud mobile phone to operate corresponding hardware devices in the cloud server.
Specifically, when a mobile phone replacement requirement of a user is detected, a source cloud mobile phone and a target cloud mobile phone corresponding to the replacement requirement are determined. Optionally, the generation of the mobile phone replacement requirement for replacing the source cloud mobile phone of the user with the target cloud mobile phone may be that when the source cloud mobile phone is monitored to have an equipment fault or an equipment upgrading requirement, the mobile phone replacement requirement is determined according to the determination, the target cloud mobile phone is determined according to the mobile phone replacement requirement, and the source mobile phone is actively monitored through the cloud service end, so that when the source cloud mobile phone needs to be objectively replaced, a replacement process can be timely performed; or when a mobile phone replacement instruction input by a user is received, the generation of a mobile phone replacement requirement is determined, a target cloud mobile phone is determined according to the mobile phone replacement requirement, and a subjective request of the user is fed back by passively receiving the replacement instruction of the user, so that the use experience of the user is improved.
Optionally, the hardware configuration parameters include: processor hardware parameters, communication hardware parameters, storage hardware parameters, and cloud mobile phone brand and model; wherein the communication hardware parameters include an International Mobile Equipment Identity (IMEI) and a multimedia access control address (MAC).
The processor hardware parameter may refer to an operating parameter of a Central Processing Unit (CPU), and may be, for example, a main frequency, an operating voltage, and the like of the CPU. The storage hardware parameters may refer to working parameters of a Random Access Memory (RAM) and a Read Only Memory (ROM) in the cloud mobile phone, for example, the size of a storage space of the RAM or the ROM in the cloud mobile phone, respective working frequencies, and call priorities of the system when a plurality of storage hardware of the same type are used. The cloud mobile phone brand and model can be the same as those of the existing entity mobile phone equipment, and can also be completely distinguished from those of the existing entity mobile phone. Different processor hardware parameters and storage hardware parameters can affect the running speed of the cloud mobile phone, while communication hardware parameters, cloud mobile phone brands and models, such as IMEI and MAC, can uniquely identify the network access identity of the equipment, and by acquiring the hardware configuration parameters, the use experience of a user and the consistency of identity authentication can be ensured in the subsequent switch process.
S120, setting the hardware configuration parameters of the target cloud mobile phone according to the hardware configuration parameters of the source cloud mobile phone.
Specifically, as the hardware configuration parameters can affect the functions of the cloud mobile phone, such as program operation, user identity recognition, network communication and the like, in order to ensure that the user can use the target cloud mobile phone as well as the source cloud mobile phone, in the embodiment of the present disclosure, the source configuration parameters of the target cloud mobile phone can be set according to the hardware configuration parameters of the source cloud mobile phone, so that the hardware parameters used by the user and used by the user can be continued to the target cloud mobile phone after the user changes the source cloud mobile phone, and therefore, the integrity, consistency and non-perception experience of the cloud mobile phone during the replacement can be ensured.
And S130, migrating the local data of the source cloud mobile phone to a target cloud mobile phone to be used as the local data of the target cloud mobile phone.
The local data is other data of non-hardware configuration parameters stored in the source cloud mobile phone.
Specifically, before the local data of the source cloud data is migrated to the target cloud data, the local data to be migrated may be determined according to user requirements, or the local data to be migrated may be determined according to real-time working conditions of the cloud server. Optionally, part of the local data may be migrated to the target cloud mobile phone, and the remaining local data may be stored in a storage space preset by the cloud service, so that the migration process of the local data is recovered when the subsequent target cloud mobile phone is idle. Therefore, when the user is in a hurry to use the target cloud mobile phone or the server operation pressure is too high, the use experience of the user is improved, and the server pressure is relieved.
Optionally, in the process of migrating the local data of the source cloud mobile phone to the target cloud mobile phone, if the control operation of the user on the source cloud mobile phone is detected, the migration operation is controlled to be interrupted, after the control operation is stopped, the migrated data is adjusted according to the update of the local data by the control operation, or if the control operation of the user on the source cloud mobile phone is detected, the migration operation is controlled to be stopped, and after the control operation is stopped, the migration operation of the local data is triggered to be executed again.
Specifically, in the process of data migration, a user may suddenly have a demand for using a source cloud mobile phone, and this may change the migrated data, and continuing migration may cause data to be abnormal. Therefore, when the operation of the user on the source cloud mobile phone is detected, the data migration is interrupted, whether the user changes the migrated data during the operation is determined, and if the user changes the migrated data, the migrated data is adjusted according to the update of the local data by the corresponding control operation; if no change is made to the migrated data, the migration operation of the native data is continued after the control operation is stopped.
The local data may include operating system configuration parameters, programs and data for applications, and user data, among others.
Specifically, the configuration parameters of the operating system are mainly embodied in the settings of the operating system and the desktop, such as the arrangement mode of desktop applications and tools, the setting of the automatic screen brightness adjustment mode according to the work and rest habits of the user, shortcut keys, shortcut entries and other configuration parameters. The application programs include pre-factory application programs necessary for the mobile phone system to work, such as dialers, settings, cameras and the like, and application programs which are subsequently installed by users, such as WeChat users, hundred-degree users, take-out users and the like according to the requirements of the users. The data of the application program is data related to the program and required for program running, such as a user chat record in a social application program, a picture, an emoticon, a video and the like collected by the user, or a cache file generated by running each program. The user data is native data that is not relevant to the particular application, such as a photograph of the current user.
In the embodiment of the disclosure, when data of the cloud mobile phone is migrated, the hardware configuration parameters of the target cloud mobile phone are set according to the hardware configuration parameters of the source cloud mobile phone, so that the hardware configuration parameters and the local data of the target cloud mobile phone correspond to those of the source cloud mobile phone, integrity, consistency and non-sensory experience during cloud mobile phone replacement are ensured, and the use experience of a user on the cloud mobile phone and a user replacing process is improved.
On the basis of the above disclosure, optionally, the data migration method of the cloud mobile phone further includes: acquiring hardware configuration parameters of the target cloud mobile phone, and setting the hardware configuration parameters of the source cloud mobile phone according to the hardware configuration parameters of the target cloud mobile phone; the hardware configuration parameters are cloud uniqueness hardware parameters.
Specifically, the hardware configuration parameters of the target cloud mobile phone are set according to the hardware configuration parameters of the source cloud mobile phone, which may cause that two cloud mobile phones with identical hardware configuration information exist in the cloud server, and different cloud mobile phones cannot be normally distinguished and marked. Therefore, in the embodiment of the present disclosure, in addition to the hardware configuration parameters of the source cloud mobile phone, the cloud uniqueness hardware configuration parameters of the target cloud mobile phone are also obtained, and then the hardware configuration parameters of the source target mobile phone are set according to the cloud uniqueness hardware configuration parameters, so that on the basis that the source cloud mobile phone and the target cloud mobile phone can be distinguished and identified, a server is not required to generate and allocate new hardware configuration parameters, the work flow is shortened, and the consumption of computing resources is reduced.
The cloud uniqueness hardware parameter may include a communication hardware parameter. Since the communication hardware parameters are necessary parameters for each cloud handset to access the communication network. Therefore, the source cloud mobile phone and the target cloud mobile phone both have the hardware parameter, and the problem that the effective cloud uniqueness hardware configuration parameter cannot be acquired is solved. Meanwhile, the communication configuration parameters are read and identified in each networking process of the cloud mobile phone, the communication configuration parameters are set as cloud uniqueness hardware parameters, extra computing resources do not need to be distributed to the cloud to extract the uniqueness hardware parameters, and resource consumption of the server is further reduced.
On the basis of the above disclosure, optionally, after a mobile phone replacement requirement for replacing the source cloud mobile phone of the user with the target cloud mobile phone is generated, the method further includes: setting a forbidden state for the target cloud mobile phone to forbid association with other users; correspondingly, after the native data of the source cloud mobile phone is migrated to the target cloud mobile phone, an enabling state is set for the target cloud mobile phone.
Specifically, after the target cloud mobile phone is determined according to the change demand, the target cloud mobile phone needs to be locked to prevent the target cloud mobile phone from being used by multiple users at the same time, and only the user corresponding to the change demand can be associated with the target cloud mobile phone. After the data of the complete source cloud mobile phone is migrated, the hardware configuration parameters and the local data in the cloud mobile phone are consistent with those of the source mobile phone, and at the moment, the cloud mobile phone is set to be in an enabled state, so that a user can obtain the same use experience as that of using the source cloud mobile phone.
Fig. 2 is a flowchart of a data migration method of a cloud mobile phone according to another embodiment of the present disclosure, and the present disclosure optimizes and improves the data migration method of the cloud mobile phone based on the foregoing disclosures.
Further, the operation of transferring the local data of the source cloud mobile phone into the target cloud mobile phone and fining the local data as the local data of the target cloud mobile phone into a temporary directory created in the cloud server; mounting the catalog of the local data of the source cloud mobile phone into the temporary catalog; according to the directory, synchronizing the local data mirror image of the source cloud mobile phone to the temporary directory; after copying is finished, mounting connection between the source cloud mobile phone and the temporary directory is cancelled; mounting the temporary directory into the target cloud mobile phone; according to the temporary catalog, synchronizing data in the temporary catalog to the target cloud mobile phone; and after the copying is finished, the mounting connection between the target cloud mobile phone and the temporary directory is cancelled, so that the influence of the data migration process on the use of the target cloud mobile phone is reduced by generating the temporary directory, and the use experience of a user is improved.
Fig. 2 is a flowchart of a data migration method of a cloud phone, including:
s210, when a mobile phone replacement requirement for replacing a source cloud mobile phone of a user with a target cloud mobile phone is generated, acquiring hardware configuration parameters of the source cloud mobile phone;
s220, setting hardware configuration parameters of the target cloud mobile phone according to the hardware configuration parameters of the source cloud mobile phone;
and S230, creating a temporary directory in the cloud server.
The temporary directory is created in the cloud server, and the storage position of the temporary directory is a third-party storage space independent of the source cloud mobile phone and the target cloud mobile phone.
Specifically, a temporary directory corresponding to each cloud mobile phone may be created in advance in the cloud server, or one of the spare third-party storage spaces may be selected as a storage location of the temporary directory according to a request for changing the cloud mobile phone.
S240, mounting the catalog of the local data of the source cloud mobile phone into the temporary catalog.
The directory of the local data is data such as folder names, arrangement sequences, subfolder information and the like of the storage space of the source cloud mobile phone.
Specifically, after the storage space of the source cloud mobile phone is traversed to obtain the directory of the corresponding local data, the directory of the local data is completely duplicated in the temporary directory according to the same directory.
And S250, synchronizing the local data mirror image of the source cloud mobile phone to the temporary directory according to the directory.
Specifically, as the temporary catalog already has the catalog which is completely the same as the local data, the local data in the source cloud mobile phone can be copied into the temporary catalog in a one-to-one correspondence manner according to the corresponding relationship between the original catalog and the data, so that the local data can be orderly and completely acquired from the source cloud mobile phone and stored. Meanwhile, in the method, the mirror image synchronization mode is adopted, the existence of the local data of the source cloud mobile phone is reserved, and the mirror image synchronization of the local data between the source cloud mobile phone and the historical catalog can be carried out again when the subsequent data transmission is abnormal.
And S260, after the copying is finished, the mounting connection between the source cloud mobile phone and the temporary directory is cancelled.
Specifically, after the local data in the temporary directory and the directory are checked and verified to be correct with the source cloud mobile phone, the completion of copying is determined, and a communication link for synchronizing data established between the source cloud mobile phone and the cloud server is released, so that the mounting connection between the source cloud mobile phone and the temporary directory is cancelled.
S270, mounting the temporary catalog into the target cloud mobile phone.
S280, synchronizing the data in the temporary catalog to the target cloud mobile phone according to the temporary catalog.
And S290, after copying is completed, the mounting connection between the target cloud mobile phone and the temporary directory is cancelled.
Specifically, after the local data, the directory and the temporary directory in the target cloud mobile phone are checked and verified to be correct, the completion of copying is determined, and a communication link which is established between the target cloud mobile phone and the cloud server and used for synchronizing the data is released so as to cancel the mounting connection between the target cloud mobile phone and the temporary directory
On the basis of ensuring the integrity, consistency and non-perception experience during cloud mobile phone replacement, the temporary directory is further generated in the third-party storage space, the temporary directory is used as the transition of data migration between the source cloud mobile phone and the target cloud mobile phone, so that the data migration can be operated in the background of the target cloud mobile phone, and a user can normally use the target cloud mobile phone during the data migration.
Fig. 3 is a structural diagram of an apparatus for data migration of a cloud mobile phone according to yet another embodiment of the present disclosure, where the embodiment of the present disclosure is applicable to a case where a cloud mobile phone is replaced in a cloud server. The device is realized through software and/or hardware, and is specifically configured in a cloud server.
The parameter obtaining module 310 is configured to obtain a hardware configuration parameter of a source cloud mobile phone when a mobile phone replacement requirement for replacing the source cloud mobile phone of a user with a target cloud mobile phone is generated;
a parameter configuration module 320, configured to set a hardware configuration parameter of the target cloud mobile phone according to the hardware configuration parameter of the source cloud mobile phone;
the data migration module 330 is configured to migrate the local data of the source cloud mobile phone to the target cloud mobile phone to serve as the local data of the target cloud mobile phone.
The data migration device of the cloud mobile phone provided by the disclosure can execute the data migration method of the cloud mobile phone provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
Further, the apparatus further comprises a parameter interchanging module 340.
The parameter interchange module 340 is specifically configured to obtain a hardware configuration parameter of the target cloud mobile phone, and set the hardware configuration parameter of the source cloud mobile phone according to the hardware configuration parameter of the target cloud mobile phone; the hardware configuration parameters are cloud uniqueness hardware parameters.
Further, the data migration module 330 is specifically configured to create a temporary directory in the cloud server; mounting the catalog of the local data of the source cloud mobile phone into the temporary catalog; according to the directory, synchronizing the local data mirror image of the source cloud mobile phone to the temporary directory; after copying is finished, mounting connection between the source cloud mobile phone and the temporary directory is cancelled; mounting the temporary directory into the target cloud mobile phone; according to the temporary catalog, synchronizing data in the temporary catalog to the target cloud mobile phone; and after copying is finished, the mounting connection between the target cloud mobile phone and the temporary directory is cancelled.
Further, the parameter obtaining module 310 is further configured to, if control operation of the source cloud mobile phone by the user is detected, control to interrupt migration operation, and after the control operation is stopped, adjust migrated data according to update of the native data by the control operation; or if the control operation of the user on the source cloud mobile phone is detected, the migration operation is controlled to stop, and after the control operation is stopped, the migration operation of the local data is triggered and executed again.
Further, the parameter obtaining module 310 is specifically configured to, when it is monitored that the source cloud mobile phone has an equipment fault or an equipment upgrade requirement, generate a mobile phone replacement requirement according to a determination, and determine a target cloud mobile phone according to the mobile phone replacement requirement; or when a mobile phone replacement instruction input by a user is received, determining that a mobile phone replacement requirement is generated, and determining a target cloud mobile phone according to the mobile phone replacement requirement.
Further, the apparatus also includes a device limit module 350.
The device restriction module 350 is configured to set a disabled state for the target cloud mobile phone to prohibit association with other users; correspondingly, after the native data of the source cloud mobile phone is migrated to the target cloud mobile phone, an enabling state is set for the target cloud mobile phone.
Further, the cloud uniqueness hardware parameter comprises a communication hardware parameter.
Further, the hardware configuration parameters include: processor hardware parameters, communication hardware parameters, storage hardware parameters, and cloud mobile phone brand and model; wherein the communication hardware parameters include an international mobile equipment identity and a multimedia access control address.
Further, native data includes operating system configuration parameters, programs and data for applications, and user data.
The data migration device of the cloud mobile phone, which is further described in the above disclosure, can execute the data migration method of the cloud mobile phone provided in any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method.
According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
FIG. 4 shows a schematic block diagram of an example electronic device 400 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein. In the embodiment of the present disclosure, the electronic device may be a cloud server supporting cloud mobile phone services.
As shown in fig. 4, the apparatus 400 includes a computing unit 401 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)402 or a computer program loaded from a storage unit 404 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, ROM 402, and RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
A number of components in device 400 are connected to I/O interface 405, including: an input unit 406 such as a keyboard, a mouse, or the like; an output unit 407 such as various types of displays, speakers, and the like; a storage unit 404 such as a magnetic disk, an optical disk, or the like; and a communication unit 409 such as a network card, modem, wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods 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, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The 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, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
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 a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; 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 may be received in any form, including acoustic, speech, or tactile input.
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: local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the internet.
The computer system may 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. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.
Claims (12)
1. A data migration method of a cloud mobile phone is applied to a cloud server, and the method comprises the following steps:
when a mobile phone replacement requirement for replacing a source cloud mobile phone of a user with a target cloud mobile phone is generated, acquiring hardware configuration parameters of the source cloud mobile phone;
setting hardware configuration parameters of the target cloud mobile phone according to the hardware configuration parameters of the source cloud mobile phone;
and migrating the local data of the source cloud mobile phone to a target cloud mobile phone to be used as the local data of the target cloud mobile phone.
2. The method of claim 1, wherein the hardware configuration parameters comprise: processor hardware parameters, communication hardware parameters, storage hardware parameters, and cloud mobile phone brand and model; wherein the communication hardware parameters include an international mobile equipment identity and a multimedia access control address.
3. The method of claim 1, further comprising:
acquiring hardware configuration parameters of the target cloud mobile phone, and setting the hardware configuration parameters of the source cloud mobile phone according to the hardware configuration parameters of the target cloud mobile phone; the hardware configuration parameters are cloud uniqueness hardware parameters.
4. The method of claim 3, wherein the cloud uniqueness hardware parameter comprises a communication hardware parameter.
5. The method of claim 1, wherein the native data includes operating system configuration parameters, programs and data for applications, and user data.
6. The method of claim 1 or 5, wherein migrating the native data of the source cloud handset into the target cloud handset as native data of the target cloud handset comprises:
creating a temporary directory in a cloud server;
mounting the catalog of the local data of the source cloud mobile phone into the temporary catalog;
according to the directory, synchronizing the local data mirror image of the source cloud mobile phone to the temporary directory;
after copying is finished, mounting connection between the source cloud mobile phone and the temporary directory is cancelled;
mounting the temporary directory into the target cloud mobile phone;
according to the temporary catalog, synchronizing data in the temporary catalog to the target cloud mobile phone;
and after copying is finished, the mounting connection between the target cloud mobile phone and the temporary directory is cancelled.
7. The method of claim 1, wherein in the process of migrating the native data of the source cloud phone to the target cloud phone, the method further comprises:
if the control operation of the user on the source cloud mobile phone is detected, the migration operation is controlled to be interrupted, and after the control operation is stopped, the migrated data is adjusted according to the updating of the native data by the control operation; or
And if the control operation of the user on the source cloud mobile phone is detected, controlling to stop the migration operation, and after the control operation is stopped, re-triggering to execute the migration operation of the local data.
8. The method of claim 1, wherein generating a handset replacement requirement to replace a source cloud handset of a user with a target cloud handset comprises:
when equipment failure or equipment upgrading requirements of the source cloud mobile phone are monitored, mobile phone replacing requirements are generated according to determination, and a target cloud mobile phone is determined according to the mobile phone replacing requirements; or
When a mobile phone replacement instruction input by a user is received, a mobile phone replacement requirement is determined to be generated, and a target cloud mobile phone is determined according to the mobile phone replacement requirement.
9. The method of claim 1, after generating a handset replacement requirement to replace a source cloud handset of a user with a target cloud handset, further comprising:
setting a forbidden state for the target cloud mobile phone to forbid association with other users;
correspondingly, after the native data of the source cloud mobile phone is migrated to the target cloud mobile phone, the method further comprises the step of
And setting an enabling state for the target cloud mobile phone.
10. A data migration device of a cloud mobile phone is applied to a cloud server, and comprises:
the system comprises a parameter acquisition module, a parameter selection module and a parameter selection module, wherein the parameter acquisition module is used for acquiring hardware configuration parameters of a source cloud mobile phone when a mobile phone replacement requirement for replacing the source cloud mobile phone of a user with a target cloud mobile phone is generated;
the parameter configuration module is used for setting the hardware configuration parameters of the target cloud mobile phone according to the hardware configuration parameters of the source cloud mobile phone;
and the data migration module is used for migrating the local data of the source cloud mobile phone to the target cloud mobile phone to be used as the local data of the target cloud mobile phone.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the data migration method of the cloud handset of any of claims 1-9.
12. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the data migration method of the cloud handset according to any one of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111401305.XA CN114143328A (en) | 2021-11-19 | 2021-11-19 | Data migration method, device, equipment and medium of cloud mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111401305.XA CN114143328A (en) | 2021-11-19 | 2021-11-19 | Data migration method, device, equipment and medium of cloud mobile phone |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114143328A true CN114143328A (en) | 2022-03-04 |
Family
ID=80391290
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111401305.XA Pending CN114143328A (en) | 2021-11-19 | 2021-11-19 | Data migration method, device, equipment and medium of cloud mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114143328A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024051709A1 (en) * | 2022-09-08 | 2024-03-14 | 华为技术有限公司 | Data transmission method, electronic device and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102340770A (en) * | 2011-09-21 | 2012-02-01 | 宇龙计算机通信科技(深圳)有限公司 | Server and terminal setting method |
CN105491113A (en) * | 2015-11-25 | 2016-04-13 | 小米科技有限责任公司 | Migrating method, device and terminal |
CN105573830A (en) * | 2014-10-09 | 2016-05-11 | 中国银联股份有限公司 | Virtual machine migration method |
US20160321275A1 (en) * | 2015-05-01 | 2016-11-03 | Microsoft Technology Licensing, Llc | Data migration to a cloud computing system |
CN107741877A (en) * | 2017-11-06 | 2018-02-27 | 湖南红手指信息技术有限公司 | A kind of method, storage medium and the processor of cloud handset starting virtual opetrating system |
CN109587331A (en) * | 2018-11-26 | 2019-04-05 | 广州微算互联信息技术有限公司 | The method and system that cloud fault of mobile phone is automatically repaired |
CN110149375A (en) * | 2019-04-30 | 2019-08-20 | 广州微算互联信息技术有限公司 | Data sharing method, system and storage medium between network storage cloud mobile phone |
CN110489135A (en) * | 2019-07-31 | 2019-11-22 | 湖南微算互联信息技术有限公司 | A kind of moving method, server, Yun Shouji and the system of cloud mobile phone |
CN113126924A (en) * | 2021-04-21 | 2021-07-16 | 山东英信计算机技术有限公司 | Data migration method, device and equipment and computer readable storage medium |
CN113553218A (en) * | 2021-07-21 | 2021-10-26 | 武汉晃游网络科技有限公司 | Method for cloning and backing up real machine based on cloud mobile phone, terminal device and storage medium |
-
2021
- 2021-11-19 CN CN202111401305.XA patent/CN114143328A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102340770A (en) * | 2011-09-21 | 2012-02-01 | 宇龙计算机通信科技(深圳)有限公司 | Server and terminal setting method |
CN105573830A (en) * | 2014-10-09 | 2016-05-11 | 中国银联股份有限公司 | Virtual machine migration method |
US20160321275A1 (en) * | 2015-05-01 | 2016-11-03 | Microsoft Technology Licensing, Llc | Data migration to a cloud computing system |
CN105491113A (en) * | 2015-11-25 | 2016-04-13 | 小米科技有限责任公司 | Migrating method, device and terminal |
CN107741877A (en) * | 2017-11-06 | 2018-02-27 | 湖南红手指信息技术有限公司 | A kind of method, storage medium and the processor of cloud handset starting virtual opetrating system |
CN109587331A (en) * | 2018-11-26 | 2019-04-05 | 广州微算互联信息技术有限公司 | The method and system that cloud fault of mobile phone is automatically repaired |
CN110149375A (en) * | 2019-04-30 | 2019-08-20 | 广州微算互联信息技术有限公司 | Data sharing method, system and storage medium between network storage cloud mobile phone |
CN110489135A (en) * | 2019-07-31 | 2019-11-22 | 湖南微算互联信息技术有限公司 | A kind of moving method, server, Yun Shouji and the system of cloud mobile phone |
CN113126924A (en) * | 2021-04-21 | 2021-07-16 | 山东英信计算机技术有限公司 | Data migration method, device and equipment and computer readable storage medium |
CN113553218A (en) * | 2021-07-21 | 2021-10-26 | 武汉晃游网络科技有限公司 | Method for cloning and backing up real machine based on cloud mobile phone, terminal device and storage medium |
Non-Patent Citations (1)
Title |
---|
赵丹;沈苏彬;吴振宇;: "一种面向节能的虚拟机在线迁移解决方案", 计算机技术与发展, no. 02, 19 October 2017 (2017-10-19) * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024051709A1 (en) * | 2022-09-08 | 2024-03-14 | 华为技术有限公司 | Data transmission method, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102376713B1 (en) | Composite partition functions | |
EP3598301A1 (en) | Cloud management platform, virtual machine management method, system thereof | |
CN106657433B (en) | Naming method and device for physical network card in multi-network snap ring environment | |
CN110609656B (en) | Storage management method, electronic device, and computer program product | |
US10205813B2 (en) | Method and system for detecting abnormal contact information and server | |
CN108234551B (en) | Data processing method and device | |
CN114143328A (en) | Data migration method, device, equipment and medium of cloud mobile phone | |
TWI668634B (en) | Software container based systems and methods for providing cloud services | |
CN113010238A (en) | Permission determination method, device and system for micro application call interface | |
CN111124256B (en) | Method, apparatus and computer program product for managing storage | |
CN114070889B (en) | Configuration method, traffic forwarding device, storage medium, and program product | |
CN113747423B (en) | Cloud mobile phone state synchronization method, device, equipment, storage medium and program product | |
CN113360689B (en) | Image retrieval system, method, related device and computer program product | |
CN114595069B (en) | Service offline method and device, electronic equipment and storage medium | |
CN112751693A (en) | Data processing method and device of distributed storage system and electronic equipment | |
EP4009167A1 (en) | Instantiated request generation method, interface virtual machine configuration method, nfvo, and vim | |
CN113051122B (en) | Performance data acquisition method, device, electronic equipment and medium | |
CN109165067B (en) | Android horizontal and vertical screen data synchronization method and device, terminal and readable medium | |
JP7495474B2 (en) | Method for managing communications between a first device and a second device over a first network and a second network - Patents.com | |
CN113872808B (en) | Application processing method and device | |
US11853560B2 (en) | Conditional role decision based on source environments | |
KR101173821B1 (en) | Configuration data management system for mobile device | |
CN113596172B (en) | Method and device for updating nodes in distributed cluster | |
CN114238108A (en) | Virtual machine production method and device, computer equipment and storage medium | |
CN114489734A (en) | Robot resource sharing method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |