CN117609148A - Data migration method, device, equipment and storage medium - Google Patents
Data migration method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN117609148A CN117609148A CN202311553184.XA CN202311553184A CN117609148A CN 117609148 A CN117609148 A CN 117609148A CN 202311553184 A CN202311553184 A CN 202311553184A CN 117609148 A CN117609148 A CN 117609148A
- Authority
- CN
- China
- Prior art keywords
- storage block
- server
- destination
- data
- distributed file
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
- G06F16/119—Details of migration of file systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed file systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本申请关于一种数据迁移方法、装置、设备及存储介质,涉及通信技术领域,应用于目的端,目的端归属于分布式文件系统,分布式文件系统还包括:源端和服务器;分布式文件系统为开源系统。该方法包括:响应于挂载指令,挂载服务器中的目标存储块;其中,目标存储块存储有源端的目标数据;之后,响应于迁移指令,将目标存储块中的数据迁移到目的端。本申请用于安全的进行数据迁移。
This application relates to a data migration method, device, equipment and storage medium, which relates to the field of communication technology and is applied to the destination. The destination belongs to a distributed file system. The distributed file system also includes: a source and a server; distributed files The system is an open source system. The method includes: responding to a mounting instruction, mounting a target storage block in the server; wherein the target storage block stores target data of the source end; and then, responding to the migration instruction, migrating the data in the target storage block to the destination end. This application is used for secure data migration.
Description
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种数据迁移方法、装置、设备及存储介质。The present application relates to the field of communication technology, and in particular, to a data migration method, device, equipment and storage medium.
背景技术Background technique
云平台提供的云计算技术可以使得企业能够根据实际需求调整计算能力、存储资源和网络资源,灵活应对业务需求的变化,而不必担心硬件资源不足或浪费。因此,企业需要将业务系统迁移至云平台。The cloud computing technology provided by the cloud platform allows enterprises to adjust computing power, storage resources and network resources according to actual needs, and flexibly respond to changes in business needs without worrying about insufficient or wasted hardware resources. Therefore, enterprises need to migrate business systems to cloud platforms.
现有技术通常在企业的本地端和云平台安装迁移软件,并在两个迁移软件之间搭建传输隧道,从而完成从本地端到云平台的业务系统迁移。The existing technology usually installs migration software on the local side of the enterprise and the cloud platform, and builds a transmission tunnel between the two migration software, thereby completing the migration of the business system from the local side to the cloud platform.
但是,由于迁移软件存在不安全性,无法保证业务系统迁移的安全性。However, due to the insecurity of the migration software, the security of business system migration cannot be guaranteed.
发明内容Contents of the invention
本申请提供一种数据迁移方法、装置、设备及存储介质,以至少解决现有技术由于迁移软件存在不安全性,无法保证业务系统迁移的安全性的问题。本申请的技术方案如下:This application provides a data migration method, device, equipment and storage medium to at least solve the problem in the existing technology that the security of business system migration cannot be guaranteed due to the insecurity of migration software. The technical solution of this application is as follows:
第一方面,提供一种数据迁移方法,应用于目的端,目的端归属于分布式文件系统,分布式文件系统还包括:源端和服务器;分布式文件系统为开源系统;该方法包括:响应于挂载指令,挂载服务器中的目标存储块;目标存储块存储有源端的目标数据;响应于迁移指令,将目标存储块中的数据迁移到目的端。The first aspect is to provide a data migration method, which is applied to the destination. The destination belongs to the distributed file system. The distributed file system also includes: the source and the server; the distributed file system is an open source system; the method includes: response In response to the mount instruction, the target storage block in the server is mounted; the target storage block stores the target data of the source end; in response to the migration instruction, the data in the target storage block is migrated to the destination end.
在一种可能的实施方式中,目标存储块包括:第一存储块,或者,第二存储块;第一存储块为对目标数据进行复制得到的;第二存储块为对第一存储块进行快照得到的。In a possible implementation, the target storage block includes: a first storage block, or a second storage block; the first storage block is obtained by copying the target data; the second storage block is obtained by copying the first storage block. Snapshot obtained.
在一种可能的实施方式中,上述方法还包括:接收服务器发送的用户信息和权限信息;根据用户信息和权限信息,建立目的端与服务器的连接关系。In a possible implementation, the above method further includes: receiving user information and permission information sent by the server; and establishing a connection relationship between the destination and the server based on the user information and permission information.
第二方面,提供一种数据迁移方法,应用于源端,源端归属于分布式文件系统,分布式文件系统还包括:目的端和服务器;分布式文件系统为开源系统;该方法包括:响应于挂载指令,挂载服务器中的第一存储块;响应于复制指令,将源端的目标数据复制到第一存储块,以使得目的端根据第一存储块将目标数据迁移到目的端。In the second aspect, a data migration method is provided, which is applied to the source end. The source end belongs to the distributed file system. The distributed file system also includes: the destination end and the server; the distributed file system is an open source system; the method includes: response In response to the mount instruction, the first storage block in the server is mounted; in response to the copy instruction, the target data of the source end is copied to the first storage block, so that the destination end migrates the target data to the destination end according to the first storage block.
在一种可能的实施方式中,上述方法还包括:接收服务器发送的用户信息和权限信息;根据用户信息和权限信息,建立源端与服务器的连接关系。In a possible implementation, the above method further includes: receiving user information and permission information sent by the server; and establishing a connection relationship between the source end and the server based on the user information and permission information.
第三方面,提供了一种数据迁移装置,应用于目的端,目的端归属于分布式文件系统,分布式文件系统还包括:源端和服务器;分布式文件系统为开源系统;该数据迁移装置包括:挂载单元和迁移单元;挂载单元,用于响应于挂载指令,挂载服务器中的目标存储块;目标存储块存储有源端的目标数据;迁移单元,用于响应于迁移指令,将目标存储块中的数据迁移到目的端。In the third aspect, a data migration device is provided, which is applied to the destination. The destination belongs to the distributed file system. The distributed file system also includes: the source and the server; the distributed file system is an open source system; the data migration device It includes: a mounting unit and a migration unit; the mounting unit is used to mount the target storage block in the server in response to the mounting instruction; the target storage block stores the target data of the source end; the migration unit is used to respond to the migration instruction, Migrate the data in the target storage block to the destination.
在一种可能的实施方式中,目标存储块包括:第一存储块,或者,第二存储块;第一存储块为对目标数据进行复制得到的;第二存储块为对第一存储块进行快照得到的。In a possible implementation, the target storage block includes: a first storage block, or a second storage block; the first storage block is obtained by copying the target data; the second storage block is obtained by copying the first storage block. Snapshot obtained.
在一种可能的实施方式中,上述数据迁移装置还包括接收单元和建立单元;接收单元,用于接收服务器发送的用户信息和权限信息;建立单元,用于根据用户信息和权限信息,建立目的端与服务器的连接关系。In a possible implementation, the above-mentioned data migration device further includes a receiving unit and an establishing unit; the receiving unit is used to receive user information and authority information sent by the server; and the establishing unit is used to establish the purpose based on the user information and authority information. The connection relationship between the client and the server.
第四方面,提供了一种数据迁移装置,应用于源端,源端归属于分布式文件系统,分布式文件系统还包括:目的端和服务器;分布式文件系统为开源系统;该数据迁移装置包括挂载单元和复制单元;挂载单元,用于响应于挂载指令,挂载服务器中的第一存储块;复制单元,用于响应于复制指令,将源端的目标数据复制到第一存储块,以使得目的端根据第一存储块将目标数据迁移到目的端。In the fourth aspect, a data migration device is provided, which is applied to the source end. The source end belongs to the distributed file system. The distributed file system also includes: the destination end and the server; the distributed file system is an open source system; the data migration device It includes a mounting unit and a copying unit; the mounting unit is used to mount the first storage block in the server in response to the mounting instruction; the copying unit is used to copy the target data from the source to the first storage in response to the copying instruction. block, so that the destination end migrates the target data to the destination end based on the first storage block.
在一种可能的实施方式中,上述数据迁移装置还包括接收单元和建立单元;接收单元,用于接收服务器发送的用户信息和权限信息;建立单元,用于根据用户信息和权限信息,建立源端与服务器的连接关系。In a possible implementation, the above-mentioned data migration device further includes a receiving unit and a establishing unit; the receiving unit is used to receive user information and authority information sent by the server; and the establishing unit is used to establish the source based on the user information and authority information. The connection relationship between the client and the server.
第五方面,提供一种电子设备,包括:处理器。用于存储处理器可执行指令的存储器。其中,处理器被配置为执行指令,以实现上述第一方面及其任一种可能的实施方式的方法,或者,实现上述第二方面及其任一种可能的实施方式的方法。A fifth aspect provides an electronic device, including: a processor. Memory used to store instructions executable by the processor. Wherein, the processor is configured to execute instructions to implement the method of the above-mentioned first aspect and any possible implementation thereof, or to implement the method of the above-mentioned second aspect and any possible implementation thereof.
第六方面,提供一种计算机可读存储介质,当计算机可读存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行上述第一方面及其任一种可能的实施方式的方法,或者,执行上述第二方面及其任一种可能的实施方式的方法。A sixth aspect provides a computer-readable storage medium that, when instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to execute the above-mentioned first aspect and any of its possible implementations. method, or a method for performing the above second aspect and any possible implementation thereof.
第七方面,提供一种计算机程序产品,计算机程序产品包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述第一方面及其任一种可能的实施方式的方法,或者,执行上述第二方面及其任一种可能的实施方式的方法。A seventh aspect provides a computer program product. The computer program product includes computer instructions. When the computer instructions are run on an electronic device, the electronic device causes the electronic device to execute the method of the first aspect and any of its possible implementations, or, The method of performing the above second aspect and any possible implementation manner thereof.
本申请提供的第一方面的技术方案至少带来以下有益效果:现有技术采用迁移软件进行数据迁移,由于迁移软件存在不安全性,无法保证业务系统迁移的安全性。本申请提供一种数据迁移方法,应用于目的端,目的端归属于分布式文件系统,分布式文件系统还包括:源端和服务器;分布式文件系统为开源系统;该方法包括:响应于挂载指令,挂载服务器中的目标存储块;其中,目标存储块存储有源端的目标数据;之后,响应于迁移指令,将目标存储块中的数据迁移到目的端。由于分布式文件系统为开源系统,可以保障数据迁移的安全性,提高了数据迁移的安全性。The first aspect of the technical solution provided by this application at least brings the following beneficial effects: the existing technology uses migration software for data migration. Due to the insecurity of the migration software, the security of business system migration cannot be guaranteed. This application provides a data migration method, which is applied to the destination end. The destination end belongs to the distributed file system. The distributed file system also includes: the source end and the server; the distributed file system is an open source system; the method includes: responding to the hanging The load instruction is used to mount the target storage block in the server; the target storage block stores the target data of the source end; and then, in response to the migration instruction, the data in the target storage block is migrated to the destination end. Since the distributed file system is an open source system, it can ensure the security of data migration and improve the security of data migration.
需要说明的是,第二方面至第七方面中的任一种实现方式所带来的技术效果可参见第一方面中对应实现方式所带来的技术效果,此处不再赘述。It should be noted that the technical effects brought by any implementation method in the second to seventh aspects can be referred to the technical effects brought by the corresponding implementation method in the first aspect, and will not be described again here.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit the present application.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理,并不构成对本申请的不当限定。The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the description to explain the principles of the present application, and do not constitute undue limitations on the present application.
图1是根据一示例性实施例示出的一种分布式文件系统的结构示意图;Figure 1 is a schematic structural diagram of a distributed file system according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种数据迁移方法的流程图;Figure 2 is a flow chart of a data migration method according to an exemplary embodiment;
图3是根据一示例性实施例示出的又一种数据迁移方法的流程图;Figure 3 is a flow chart of yet another data migration method according to an exemplary embodiment;
图4是根据一示例性实施例示出的一种数据迁移方法的示意图;Figure 4 is a schematic diagram of a data migration method according to an exemplary embodiment;
图5是根据一示例性实施例示出的一种数据迁移装置的框图;Figure 5 is a block diagram of a data migration device according to an exemplary embodiment;
图6是根据一示例性实施例示出的又一种数据迁移装置的框图;Figure 6 is a block diagram of yet another data migration device according to an exemplary embodiment;
图7是根据一示例性实施例示出的一种电子设备的框图。FIG. 7 is a block diagram of an electronic device according to an exemplary embodiment.
具体实施方式Detailed ways
为了使本领域普通人员更好地理解本申请的技术方案,下面将结合附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable ordinary people in the art to better understand the technical solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。It should be noted that the terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the appended claims.
在对本申请提供的数据迁移方法进行详细介绍之前,先对本申请涉及的背景技术进行简单介绍。Before introducing the data migration method provided in this application in detail, the background technology involved in this application will be briefly introduced.
随着云计算技术的发展,越来越多的企业会使用云计算技术承载自身的业务。而不同云运营商根据云计算的发展,不断的推出各种产品。企业可以根据产品的特性,选择适合自身的云平台。但是,若企业为第一次使用云平台,则需要将企业本地的业务系统迁移到云平台。若企业更换云运营商,则需要将源端的业务系统迁移到目的端。With the development of cloud computing technology, more and more enterprises will use cloud computing technology to carry their own business. Different cloud operators continue to launch various products based on the development of cloud computing. Enterprises can choose a cloud platform that suits them based on the characteristics of the product. However, if it is the first time for an enterprise to use a cloud platform, it needs to migrate its local business systems to the cloud platform. If an enterprise changes cloud operators, it needs to migrate the source business system to the destination.
现有技术通常通过以下两种方法进行业务系统的迁移:一、部署新的业务系统。但是,部署新的业务系统需要花费大量的时间进行调试、数据恢复、业务测试,这会对现有的业务造成很大的影响。二、将现有的应用程序、数据和业务流程从本地端(如私有数据中心)迁移到云平台。云迁移涉及将应用程序和数据从物理服务器、虚拟机或其他云环境迁移到云服务提供商的云平台上。该方法可以降低在云端重新部署业务系统的成本。同时,无需对现有的业务进行改动,在允许的时间内,将业务系统切换至云端。Existing technologies usually migrate business systems through the following two methods: 1. Deploy a new business system. However, deploying new business systems requires a lot of time for debugging, data recovery, and business testing, which will have a great impact on existing businesses. 2. Migrate existing applications, data and business processes from the local side (such as private data centers) to the cloud platform. Cloud migration involves moving applications and data from physical servers, virtual machines, or other cloud environments to a cloud service provider's cloud platform. This approach can reduce the cost of redeploying business systems in the cloud. At the same time, there is no need to make changes to the existing business, and the business system can be switched to the cloud within the allowed time.
但是,上述第二种方法存在以下缺点:一、需要在本地端与云平台之间建立网络隧道。而网络隧道在网络质量差的情况下,会导致迁移数据出错,从而使得迁移失败。二、通过网络隧道进行数据迁移,无法在迁移的过程中进行数据备份,导致在数据丢失的情况下,无法恢复迁移数据。三、网络隧道为服务器所提供的,耗费额外的资源。四、需要在本地端和云平台上安装迁移软件才能建立网络隧道,而迁移软件可能会影响本地端的稳定性和安全性。五、跨系统迁移要求本地端与目的端的存储容量、中央处理器(central processingunit,CPU)数量、内存一致,并且依赖中间服务器端的软件和硬件性能,增加了迁移的难度。However, the above-mentioned second method has the following shortcomings: 1. A network tunnel needs to be established between the local end and the cloud platform. When the network quality of the network tunnel is poor, it will cause errors in the migration data, causing the migration to fail. 2. When data is migrated through a network tunnel, data cannot be backed up during the migration process, resulting in the inability to restore the migrated data in the event of data loss. 3. The network tunnel is provided by the server and consumes additional resources. 4. Migration software needs to be installed on the local side and the cloud platform to establish a network tunnel, and the migration software may affect the stability and security of the local side. 5. Cross-system migration requires that the storage capacity, central processing unit (CPU) number, and memory of the local end and the destination end are consistent. It also relies on the software and hardware performance of the intermediate server, which increases the difficulty of migration.
在对本申请提供的数据迁移方法进行详细介绍之前,先对本申请涉及的实施环境(实施架构)进行简单介绍。Before introducing the data migration method provided in this application in detail, the implementation environment (implementation architecture) involved in this application will be briefly introduced.
本申请实施例提供的数据迁移方法可以适用于分布式文件系统。图1示出了该分布式文件系统的一种结构示意图。如图1所示,分布式文件系统10包括服务器11、源端12、目的端13。The data migration method provided by the embodiments of this application can be applied to distributed file systems. Figure 1 shows a schematic structural diagram of the distributed file system. As shown in FIG. 1 , the distributed file system 10 includes a server 11 , a source end 12 , and a destination end 13 .
服务器11,用于配置用户信息和权限信息,并向源端12发送用户信息和权限信息。服务器11还用于,向目的端13发送用户信息和权限信息。The server 11 is used to configure user information and permission information, and send the user information and permission information to the source end 12 . The server 11 is also used to send user information and authority information to the destination 13 .
源端12,用于接收服务器发送的用户信息和权限信息。根据用户信息和权限信息,建立源端12与服务器11的连接关系。The source end 12 is used to receive user information and permission information sent by the server. According to the user information and authority information, the connection relationship between the source end 12 and the server 11 is established.
目的端13,用于接收服务器发送的用户信息和权限信息。根据用户信息和权限信息,建立目的端13与服务器11的连接关系。The destination 13 is used to receive user information and permission information sent by the server. According to the user information and authority information, a connection relationship between the destination terminal 13 and the server 11 is established.
源端12,还用于响应于挂载指令,挂载服务器11中的第一存储块。响应于复制指令,将源端的目标数据复制到第一存储块,以使得目的端根据第一存储块将目标数据迁移到目的端。The source end 12 is also configured to mount the first storage block in the server 11 in response to the mount instruction. In response to the copy instruction, the target data of the source end is copied to the first storage block, so that the destination end migrates the target data to the destination end according to the first storage block.
服务器11,用于将对第一存储块进行快照,得到第二存储块。The server 11 is used to take a snapshot of the first storage block to obtain the second storage block.
目的端13,用于响应于挂载指令,挂载服务器中的目标存储块。目标存储块包括:第一存储块,或者,第二存储块。第一存储块为对目标数据进行复制得到的。第二存储块为对第一存储块进行快照得到的。The destination end 13 is used to mount the target storage block in the server in response to the mount instruction. The target storage block includes: a first storage block, or a second storage block. The first storage block is obtained by copying the target data. The second storage block is obtained by taking a snapshot of the first storage block.
目的端13,还用于响应于迁移指令,将目标存储块中的数据迁移到目的端。The destination 13 is also used to migrate the data in the target storage block to the destination in response to the migration instruction.
为了便于理解,以下结合附图对本申请提供的数据迁移方法进行具体介绍。For ease of understanding, the data migration method provided by this application is introduced in detail below with reference to the accompanying drawings.
图2是根据一示例性实施例示出的一种数据迁移方法的流程图,应用于分布式文件系统中的目的端。如图2所示,该数据迁移方法包括以下步骤:FIG. 2 is a flow chart of a data migration method according to an exemplary embodiment, which is applied to the destination end in the distributed file system. As shown in Figure 2, this data migration method includes the following steps:
S201、目的端响应于挂载指令,挂载服务器中的目标存储块。S201. The destination responds to the mounting instruction and mounts the target storage block in the server.
其中,目标存储块存储有源端的目标数据。Among them, the target storage block stores the target data of the source end.
作为一种可能的实现方式,在目标存储块为第一存储块的情况下,源端将目标数据复制到第一存储块。之后,目的端响应于挂载指令,挂载服务器中的第一存储块。As a possible implementation manner, when the target storage block is the first storage block, the source end copies the target data to the first storage block. Afterwards, the destination responds to the mount instruction and mounts the first storage block in the server.
作为另一种可能的实现方式,在目标存储块为第二存储块的情况下,源端将目标数据复制到第一存储块。之后,服务器对第一存储块进行快照,得到第二存储块。进一步的,目的端响应于挂载指令,挂载服务器中的第二存储块。As another possible implementation manner, when the target storage block is the second storage block, the source end copies the target data to the first storage block. Afterwards, the server takes a snapshot of the first storage block and obtains the second storage block. Further, the destination responds to the mount instruction and mounts the second storage block in the server.
示例性的,源端为需要被迁移的主机,目的端为将源端迁移到的主机。For example, the source end is the host that needs to be migrated, and the destination end is the host to which the source end is migrated.
S202、目的端响应于迁移指令,将目标存储块中的数据迁移到目的端。S202. The destination responds to the migration instruction and migrates the data in the target storage block to the destination.
作为一种可能的实现方式,目的端响应于迁移指令,将第一存储块中的数据迁移到目的端。As a possible implementation manner, the destination responds to the migration instruction and migrates the data in the first storage block to the destination.
作为另一种可能的实现方式,目的端响应于迁移指令,将第二存储块中的数据迁移到目的端。As another possible implementation manner, the destination responds to the migration instruction and migrates the data in the second storage block to the destination.
可以理解的是,现有技术采用迁移软件进行数据迁移,由于迁移软件存在不安全性,无法保证业务系统迁移的安全性。本申请提供一种数据迁移方法,应用于目的端,目的端归属于分布式文件系统,分布式文件系统还包括:源端和服务器。分布式文件系统为开源系统。该方法包括:响应于挂载指令,挂载服务器中的目标存储块。其中,目标存储块存储有源端的目标数据。之后,响应于迁移指令,将目标存储块中的数据迁移到目的端。由于分布式文件系统为开源系统,可以保障数据迁移的安全性,提高了数据迁移的安全性。It is understandable that the existing technology uses migration software for data migration. Due to the insecurity of the migration software, the security of business system migration cannot be guaranteed. This application provides a data migration method, which is applied to the destination end. The destination end belongs to the distributed file system. The distributed file system also includes: the source end and the server. The distributed file system is an open source system. The method includes: in response to a mount instruction, mounting a target storage block in the server. Among them, the target storage block stores the target data of the source end. Afterwards, in response to the migration instruction, the data in the target storage block is migrated to the destination. Since the distributed file system is an open source system, it can ensure the security of data migration and improve the security of data migration.
在一种可能的实施方式中,目标存储块包括:第一存储块,或者,第二存储块。第一存储块为对目标数据进行复制得到的。第二存储块为对第一存储块进行快照得到的。In a possible implementation, the target storage block includes: a first storage block, or a second storage block. The first storage block is obtained by copying the target data. The second storage block is obtained by taking a snapshot of the first storage block.
可以理解的是,通过对第一存储块进行快照,可以得到第二存储块,可以实现对目标数据的备份,从而在出现将目标数据由目标存储块迁移至目的端的过程中,目标数据被修改的情况下,通过第一存储块或者第二存储块实现数据还原。It can be understood that by taking a snapshot of the first storage block, the second storage block can be obtained, and the target data can be backed up, so that in the process of migrating the target data from the target storage block to the destination, the target data is modified. In this case, data restoration is achieved through the first storage block or the second storage block.
本申请实施例提供了又一种数据迁移方法,应用于分布式文件系统,如图3所示,该方法包括以下步骤:The embodiment of the present application provides another data migration method, which is applied to the distributed file system. As shown in Figure 3, the method includes the following steps:
S301、服务器响应于配置指令,配置用户信息和权限信息。S301. The server responds to the configuration instruction and configures user information and permission information.
作为一种可能的实现方式,服务器响应于创建指令,在存储池中创建第一存储块。之后,服务器响应于配置指令,配置用户信息和权限信息。As a possible implementation manner, the server creates the first storage block in the storage pool in response to the creation instruction. Afterwards, the server responds to the configuration instructions and configures user information and permission information.
作为另一种可能的实现方式,人工准备服务器和网络设备。之后,人工规划互联网协议(internet protocol,IP)地址、存储通道和管理通道,以调通各网络设备之间的网络。接着,人工在在服务器上安装操作系统、监视器(monitor)、存储库(librados)、存储块设备(rados block device,RBD)服务。然后,人工进行终点(endpoint)、认证、存储池的基础配置。接着,人工输入创建指令,服务器响应于创建指令,在存储池中创建第一存储块。进一步的,人工输入配置指令,服务器响应于配置指令,配置用户信息和权限信息。之后,服务器将用户信息和权限信息输入钥匙环(keyring)文件。As another possible implementation, manually prepare servers and network equipment. After that, Internet protocol (IP) addresses, storage channels, and management channels are manually planned to adjust the network between various network devices. Next, the operating system, monitor (monitor), storage library (librados), and storage block device (rados block device, RBD) services are manually installed on the server. Then, manually perform the basic configuration of endpoint, authentication, and storage pool. Next, a creation instruction is manually input, and the server creates the first storage block in the storage pool in response to the creation instruction. Further, the configuration instructions are manually input, and the server responds to the configuration instructions and configures user information and permission information. Afterwards, the server enters the user information and permission information into the keyring file.
示例性的,分布式文件系统可以为ceph系统。As an example, the distributed file system can be a ceph system.
S302、服务器响应于发送指令,向源端发送用户信息和权限信息。S302. In response to the sending instruction, the server sends user information and permission information to the source end.
S303、源端接收服务器发送的用户信息和权限信息。S303. The source receives the user information and permission information sent by the server.
作为一种可能的实现方式,人工根据源端的操作系统,下载操作系统对应的分布式文件系统客户端。之后,人工根据钥匙环文件对分布式文件系统客户端进行参数设置。进一步的,源端接收服务器发送的用户信息和权限信息。As a possible implementation method, manually download the distributed file system client corresponding to the operating system based on the source operating system. After that, manually set the parameters of the distributed file system client based on the key ring file. Further, the source receives the user information and permission information sent by the server.
示例性的,分布式文件系统客户端可以为ceph client。As an example, the distributed file system client can be a ceph client.
S304、源端根据用户信息和权限信息,建立源端与服务器的连接关系。S304. The source end establishes a connection relationship between the source end and the server based on the user information and permission information.
作为一种可能的实现方式,人工在源端对应的分布式文件系统客户端中输入用户信息和权限信息,登录源端对应的分布式文件系统客户端。之后,源端响应于登录指令,根据用户信息和权限信息,建立源端与服务器的连接关系。As a possible implementation method, manually enter user information and permission information into the distributed file system client corresponding to the source end, and log in to the distributed file system client corresponding to the source end. Afterwards, the source end responds to the login instruction and establishes a connection relationship between the source end and the server based on the user information and permission information.
S305、源端响应于挂载指令,挂载服务器中的第一存储块。S305. The source end responds to the mounting instruction and mounts the first storage block in the server.
作为一种可能的实现方式,人工在源端对应的分布式文件系统客户端中输入挂载指令。之后,源端响应于挂载指令,挂载服务器中的第一存储块。As a possible implementation method, manually enter the mount instructions in the distributed file system client corresponding to the source end. Afterwards, the source responds to the mount instruction and mounts the first storage block in the server.
S306、源端响应于复制指令,将源端的目标数据复制到第一存储块,以使得目的端根据第一存储块将目标数据迁移到目的端。S306. In response to the copy instruction, the source end copies the target data of the source end to the first storage block, so that the destination end migrates the target data to the destination end according to the first storage block.
作为一种可能的实现方式,源端响应于复制指令,将源端的目标数据复制到第一存储块。As a possible implementation manner, the source end copies the target data of the source end to the first storage block in response to the copy instruction.
示例性的,在源端的操作系统为windows的情况下,复制指令可以为windows自带的“备份现在的文件”指令,复制指令还可以为第三方软件的系统迁移指令。在源端的操作系统为l inux的情况下,复制指令可以为dd、cp等指令。For example, when the source operating system is Windows, the copy command can be the "backup current file" command that comes with Windows. The copy command can also be a system migration command of a third-party software. When the source operating system is Linux, the copy instructions can be dd, cp and other instructions.
S307、服务器响应于快照指令,对第一存储块进行快照,得到第二存储块。S307. In response to the snapshot instruction, the server takes a snapshot of the first storage block to obtain the second storage block.
S308、服务器响应于发送指令,向目的端发送用户信息和权限信息。S308. In response to the sending instruction, the server sends user information and permission information to the destination.
S309、目的端接收服务器发送的用户信息和权限信息。S309. The destination receives the user information and permission information sent by the server.
作为一种可能的实现方式,人工根据目的端的操作系统,下载操作系统对应的分布式文件系统客户端。之后,人工根据钥匙环文件对分布式文件系统客户端进行参数设置。进一步的,目的端接收服务器发送的用户信息和权限信息。As a possible implementation method, manually download the distributed file system client corresponding to the operating system based on the operating system of the destination. After that, manually set the parameters of the distributed file system client based on the key ring file. Further, the destination receives the user information and permission information sent by the server.
S310、目的端根据用户信息和权限信息,建立目的端与服务器的连接关系。S310. The destination establishes a connection relationship between the destination and the server based on the user information and permission information.
作为一种可能的实现方式,人工在目的端对应的分布式文件系统客户端中输入用户信息和权限信息,登录目的端对应的分布式文件系统客户端。之后,源端响应于登录指令,根据用户信息和权限信息,建立目的端与服务器的连接关系。As a possible implementation method, manually enter user information and permission information into the distributed file system client corresponding to the destination, and log in to the distributed file system client corresponding to the destination. Afterwards, the source end responds to the login instruction and establishes a connection relationship between the destination end and the server based on the user information and permission information.
S311、目的端响应于挂载指令,挂载服务器中的第二存储块。S311. The destination responds to the mounting instruction and mounts the second storage block in the server.
S312、目的端响应于迁移指令,将第二存储块中的数据迁移到目的端。S312. The destination responds to the migration instruction and migrates the data in the second storage block to the destination.
作为一种可能的实现方式,目的端响应于迁移指令,将第二存储块中的数据迁移到目的端。As a possible implementation manner, the destination responds to the migration instruction and migrates the data in the second storage block to the destination.
示例性的,在目的端的操作系统为windows的情况下,迁移指令可以为windows自带的“还原”指令,还原指令还可以为第三方软件的系统迁移指令。在目的端的操作系统为linux的情况下,迁移指令可以为dd、cp等指令。For example, when the operating system of the destination is Windows, the migration instruction can be the "restore" instruction provided by Windows. The restore instruction can also be the system migration instruction of a third-party software. When the operating system of the destination is Linux, the migration instructions can be dd, cp and other instructions.
示例性的,在将第二存储块的数据迁移到目的端之后,还需要根据虚拟化软件调整启动盘,以将完成迁移的系统盘作为系统盘。For example, after migrating the data of the second storage block to the destination, the boot disk needs to be adjusted according to the virtualization software so that the migrated system disk can be used as the system disk.
示例性的,在将第二存储块的数据迁移到目的端之后,还需要验证数据还原的性能、资料等。例如,在操作系统为windows的情况下,需要调整数据盘的盘符,保证链接的有效性。验证完成后,可以解挂分布式文件系统提供的存储块。例如,解挂源端挂载的第一存储块和目的端挂载的第二存储块。同时,在需要再次进行数据迁移的情况下,直接挂载第一存储块或者第二存储块即可。在目标数据的迁移涉及硬件的更换的情况下,需要在目的端安装对应的驱动。For example, after migrating the data of the second storage block to the destination, the performance and data of data restoration need to be verified. For example, when the operating system is Windows, the drive letter of the data disk needs to be adjusted to ensure the validity of the link. After the verification is completed, the storage blocks provided by the distributed file system can be unmounted. For example, detach the first storage block mounted on the source end and the second storage block mounted on the destination end. At the same time, if data migration needs to be performed again, just mount the first storage block or the second storage block directly. When the migration of target data involves hardware replacement, the corresponding driver needs to be installed on the destination.
示例性的,在将第二存储块的数据迁移到目的端之后,可以删除源端的目标数据,节省存储资源。For example, after migrating the data of the second storage block to the destination, the target data of the source can be deleted to save storage resources.
可以理解的是,由于分布式文件系统为开源系统,通过构建分布式文件系统,可以在保证数据安全的基础上进行数据迁移。同时,由于对第一存储块进行快照得到第二存储块,可以在将第二存储块与目的端进行数据迁移的过程中出现问题的情况下,挂载第一存储块或者再次对第一存储块进行快照,保障迁移到目的端的数据为源端的目标数据,进一步保证了数据迁移的有效性。It is understandable that since the distributed file system is an open source system, by building a distributed file system, data migration can be carried out while ensuring data security. At the same time, since the second storage block is obtained by taking a snapshot of the first storage block, if a problem occurs during data migration between the second storage block and the destination, the first storage block can be mounted or the first storage block can be mounted again. Block snapshots are taken to ensure that the data migrated to the destination is the target data of the source, further ensuring the effectiveness of data migration.
图4为本申请实施例提供的一种数据迁移方法的示意图。如图4所示,源端挂载第一存储块之后,将源端中的目标数据复制到第一存储块。之后,服务器对第一存储块进行快照,得到第二存储块。接着,目的端挂载第二存储块,并将第二存储块中的目标数据复制到目的端中,从而完成数据迁移。Figure 4 is a schematic diagram of a data migration method provided by an embodiment of the present application. As shown in Figure 4, after the source end mounts the first storage block, the target data in the source end is copied to the first storage block. Afterwards, the server takes a snapshot of the first storage block and obtains the second storage block. Then, the destination mounts the second storage block and copies the target data in the second storage block to the destination, thereby completing the data migration.
上述主要从方法的角度对本申请实施例提供的方案进行了介绍。为了实现上述功能,数据迁移装置或电子设备包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The above mainly introduces the solutions provided by the embodiments of the present application from the perspective of methods. In order to realize the above functions, the data migration device or electronic device includes hardware structures and/or software modules corresponding to each function. Persons skilled in the art should easily realize that, with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving the hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法,示例性的对数据迁移装置或电子设备进行功能模块的划分,例如,数据迁移装置或电子设备可以包括对应各个功能划分的各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。Embodiments of the present application can exemplarily divide the data migration apparatus or electronic equipment into functional modules according to the above method. For example, the data migration apparatus or electronic equipment may include functional modules corresponding to each functional division, or two or Two or more functions are integrated into one processing module. The above integrated modules can be implemented in the form of hardware or software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. In actual implementation, there may be other division methods.
图5是根据一示例性实施例示出的一种数据迁移装置400,应用于目的端,目的端归属于分布式文件系统,分布式文件系统还包括:源端和服务器。分布式文件系统为开源系统。如图5所示,该数据迁移装置400包括:挂载单元401、迁移单元402、接收单元403和建立单元404。Figure 5 shows a data migration device 400 according to an exemplary embodiment. It is applied to the destination end. The destination end belongs to the distributed file system. The distributed file system also includes: a source end and a server. The distributed file system is an open source system. As shown in FIG. 5 , the data migration device 400 includes: a mounting unit 401 , a migration unit 402 , a receiving unit 403 and an establishing unit 404 .
挂载单元401,用于响应于挂载指令,挂载服务器中的目标存储块。目标存储块存储有源端的目标数据。The mounting unit 401 is used to mount the target storage block in the server in response to the mounting instruction. The target storage block stores the target data of the source side.
迁移单元402,用于响应于迁移指令,将目标存储块中的数据迁移到目的端。The migration unit 402 is used to migrate the data in the target storage block to the destination in response to the migration instruction.
可选的,目标存储块包括:第一存储块,或者,第二存储块。第一存储块为对目标数据进行复制得到的。第二存储块为对第一存储块进行快照得到的。Optionally, the target storage block includes: a first storage block, or a second storage block. The first storage block is obtained by copying the target data. The second storage block is obtained by taking a snapshot of the first storage block.
可选的,为了建立目的端与服务器的连接关系,如图5所示,接收单元403,用于接收服务器发送的用户信息和权限信息。Optionally, in order to establish a connection relationship between the destination end and the server, as shown in Figure 5, the receiving unit 403 is used to receive user information and permission information sent by the server.
建立单元404,用于根据用户信息和权限信息,建立目的端与服务器的连接关系。The establishment unit 404 is used to establish a connection relationship between the destination and the server based on the user information and authority information.
图6是根据一示例性实施例示出的一种数据迁移装置500,应用于源端,源端归属于分布式文件系统,分布式文件系统还包括:目的端和服务器。分布式文件系统为开源系统。如图6所示,该数据迁移装置500包括挂载单元501、复制单元502、接收单元503和建立单元504。Figure 6 shows a data migration device 500 according to an exemplary embodiment. It is applied to the source end. The source end belongs to the distributed file system. The distributed file system also includes: a destination end and a server. The distributed file system is an open source system. As shown in FIG. 6 , the data migration device 500 includes a mounting unit 501 , a copying unit 502 , a receiving unit 503 and an establishing unit 504 .
挂载单元501,用于响应于挂载指令,挂载服务器中的第一存储块。The mounting unit 501 is configured to mount the first storage block in the server in response to the mounting instruction.
复制单元502,用于响应于复制指令,将源端的目标数据复制到第一存储块,以使得目的端根据第一存储块将目标数据迁移到目的端。The copy unit 502 is configured to copy the target data of the source end to the first storage block in response to the copy instruction, so that the destination end migrates the target data to the destination end according to the first storage block.
可选的,为了建立源端与服务器的连接关系,如图6所示,接收单元503,用于接收服务器发送的用户信息和权限信息。Optionally, in order to establish a connection relationship between the source end and the server, as shown in Figure 6, the receiving unit 503 is used to receive user information and permission information sent by the server.
建立单元504,用于根据用户信息和权限信息,建立源端与服务器的连接关系。The establishment unit 504 is used to establish a connection relationship between the source end and the server based on the user information and permission information.
图7是根据一示例性实施例示出的一种电子设备的框图。如图7所示,电子设备600包括但不限于:处理器601和存储器602。FIG. 7 is a block diagram of an electronic device according to an exemplary embodiment. As shown in FIG. 7 , the electronic device 600 includes but is not limited to: a processor 601 and a memory 602 .
其中,上述的存储器602,用于存储上述处理器601的可执行指令。可以理解的是,上述处理器601被配置为执行指令,以实现上述实施例中的数据迁移方法。The above-mentioned memory 602 is used to store executable instructions of the above-mentioned processor 601. It can be understood that the above-mentioned processor 601 is configured to execute instructions to implement the data migration method in the above embodiment.
需要说明的是,本领域技术人员可以理解,图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图7所示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be noted that those skilled in the art can understand that the structure of the electronic device shown in Figure 7 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in Figure 7, or a combination of certain components. components, or different component arrangements.
处理器601是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器602内的软件程序和/或模块,以及调用存储在存储器602内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器601可包括一个或多个处理单元。可选的,处理器601可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器601中。The processor 601 is the control center of the electronic device, using various interfaces and lines to connect various parts of the entire electronic device, by running or executing software programs and/or modules stored in the memory 602, and calling data stored in the memory 602 , perform various functions of the electronic device and process data, thereby overall monitoring the electronic device. Processor 601 may include one or more processing units. Optionally, the processor 601 can integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above modem processor may not be integrated into the processor 601.
存储器602可用于存储软件程序以及各种数据。存储器602可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能模块所需的应用程序等(比如挂载单元、复制单元、接收单元和建立单元)。此外,存储器602可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 602 may be used to store software programs as well as various data. The memory 602 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, an application program required by at least one functional module, etc. (such as a mounting unit, a copy unit, a receiving unit, and a creation unit). In addition, memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
在示例性实施例中,还提供了一种包括指令的计算机可读存储介质,例如包括指令的存储器,上述指令可由电子设备的处理器执行以实现上述实施例中的数据迁移方法。In an exemplary embodiment, a computer-readable storage medium including instructions, such as a memory including instructions, is also provided, and the instructions can be executed by a processor of an electronic device to implement the data migration method in the above embodiment.
在实际实现时,挂载单元401、迁移单元402、接收单元403和建立单元404,或者,挂载单元501、复制单元502、接收单元503和建立单元504的功能均可以由图7中的处理器601调用存储器602中存储的计算机程序实现。其具体的执行过程可参考上述实施例中的数据迁移方法部分的描述,这里不再赘述。In actual implementation, the functions of the mounting unit 401, the migration unit 402, the receiving unit 403 and the establishing unit 404, or the functions of the mounting unit 501, the copying unit 502, the receiving unit 503 and the establishing unit 504 can all be processed by the process in Figure 7 The processor 601 calls the computer program stored in the memory 602 for implementation. For its specific execution process, please refer to the description of the data migration method in the above embodiment, and will not be described again here.
可选地,计算机可读存储介质可以是非临时性计算机可读存储介质,例如,该非临时性计算机可读存储介质可以是只读存储器(read-on ly memory,ROM)、随机存储存储器(random access memory,RAM)、CD-ROM、磁带、软盘和光数据存储设备等。Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium. For example, the non-transitory computer-readable storage medium may be a read-only memory (read-only memory, ROM) or a random access memory (random memory). access memory (RAM), CD-ROM, tapes, floppy disks and optical data storage devices, etc.
在示例性实施例中,本申请实施例还提供了一种包括一条或多条指令的计算机程序产品,该一条或多条指令可以由电子设备的处理器执行以完成上述实施例中的方法。In an exemplary embodiment, the embodiment of the present application also provides a computer program product including one or more instructions, which can be executed by a processor of an electronic device to complete the method in the above embodiment.
需要说明的是,上述计算机可读存储介质中的指令或计算机程序产品中的一条或多条指令被电子设备的处理器执行时实现上述方法实施例的各个过程,且能达到与上述方法相同的技术效果,为避免重复,这里不再赘述。It should be noted that when the instructions in the computer-readable storage medium or one or more instructions in the computer program product are executed by the processor of the electronic device, each process of the above method embodiment is implemented, and the same results as the above method can be achieved. To avoid repetition, the technical effects will not be repeated here.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the above description of the embodiments, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be allocated as needed. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be combined or can be integrated into another device, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separate. A component shown as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or it may be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Integrated units may be stored in a readable storage medium if they are implemented in the form of software functional units and sold or used as independent products. Based on this understanding, the technical solutions of the embodiments of the present application are essentially or contribute to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium , including several instructions to cause a device (which can be a microcontroller, a chip, etc.) or a processor to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be covered by the protection scope of the present application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311553184.XA CN117609148A (en) | 2023-11-20 | 2023-11-20 | Data migration method, device, equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311553184.XA CN117609148A (en) | 2023-11-20 | 2023-11-20 | Data migration method, device, equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN117609148A true CN117609148A (en) | 2024-02-27 |
Family
ID=89959017
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202311553184.XA Pending CN117609148A (en) | 2023-11-20 | 2023-11-20 | Data migration method, device, equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN117609148A (en) |
-
2023
- 2023-11-20 CN CN202311553184.XA patent/CN117609148A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8060074B2 (en) | Virtual instance architecture for mobile device management systems | |
| US9323820B1 (en) | Virtual datacenter redundancy | |
| CN112311646B (en) | Hybrid cloud based on super-fusion system and deployment method | |
| CN103810444B (en) | The method and system of multi-tenant application isolation in a kind of cloud computing platform | |
| CN108352995B (en) | A kind of SMB service fault processing method and storage device | |
| WO2016121830A1 (en) | Virtual network function management device, system, healing method, and program | |
| JP2006107500A (en) | Updating software during its execution | |
| CN104239122B (en) | A kind of virtual machine migration method and device | |
| CN102932409B (en) | The method and system that a kind of virtual machine moves online | |
| WO2022267407A1 (en) | Automated operation and maintenance tool-based proxy deployment method and apparatus | |
| CN112035062B (en) | Migration method of local storage of cloud computing, computer equipment and storage medium | |
| US8595192B1 (en) | Systems and methods for providing high availability to instance-bound databases | |
| JP7718013B2 (en) | Virtualized Block Storage Servers in Cloud Provider Substrate Extensions | |
| CN105740052A (en) | Method, device and system for online migration of virtual machines of non-shared memories | |
| US11829261B2 (en) | Providing a logical data isolation with intermittent connectivity | |
| WO2016045439A1 (en) | Vnfm disaster-tolerant protection method and device, nfvo and storage medium | |
| US20200334061A1 (en) | Automated disaster recovery of discrete virtual machines | |
| CN112394881B (en) | A cloud host migration method and electronic device | |
| CN104468811B (en) | Upgrade method and device | |
| US11921590B2 (en) | Application consistent network backup using three phase full quorum | |
| US20230168998A1 (en) | Concurrent memory recycling for collection of servers | |
| CN117609148A (en) | Data migration method, device, equipment and storage medium | |
| US20080072222A1 (en) | Client outsourcing service | |
| CN109756356B (en) | Equipment upgrading method and device | |
| US8065561B1 (en) | Method and apparatus for automating device recovery using device configuration information |
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 |