CN110445841B - A method, device and storage medium for mounting a cloud disk on a cloud physical machine - Google Patents
A method, device and storage medium for mounting a cloud disk on a cloud physical machine Download PDFInfo
- Publication number
- CN110445841B CN110445841B CN201910631037.7A CN201910631037A CN110445841B CN 110445841 B CN110445841 B CN 110445841B CN 201910631037 A CN201910631037 A CN 201910631037A CN 110445841 B CN110445841 B CN 110445841B
- Authority
- CN
- China
- Prior art keywords
- cloud
- cloud disk
- disk
- random number
- physical machine
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000004044 response Effects 0.000 claims abstract description 4
- 238000004590 computer program Methods 0.000 claims description 16
- 239000003818 cinder Substances 0.000 claims description 6
- 238000004140 cleaning Methods 0.000 claims description 2
- 238000002955 isolation Methods 0.000 abstract description 3
- 230000000875 corresponding effect Effects 0.000 description 13
- 239000003795 chemical substances by application Substances 0.000 description 11
- 230000006870 function Effects 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 108010028984 3-isopropylmalate dehydratase Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/062—Securing storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
-
- 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
-
- 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
-
- 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/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开了一种云物理机挂载云盘的方法,包括步骤:从元数据服务获取需要挂载的云盘以及对应的随机数;判断所述获取的随机数与本地缓存的随机数是否相同;响应于所述获取的随机数与所述本地缓存的随机数不相同,执行扫描挂载所述云盘的操作。本发明还公开了一种计算机设备以及可读存储介质。本发明利用元数据服务对租户网和管理网的安全隔离特性,从元数据服务获取最新元数据,判断是否挂载或者卸载卷,以及对哪些远程卷做操作,不需要添加智能网卡和管理网,节省硬件成本,并具有很强的网络安全可靠性。
The invention discloses a method for mounting a cloud disk on a cloud physical machine, comprising the steps of: acquiring a cloud disk to be mounted and a corresponding random number from a metadata service; and judging whether the acquired random number and a locally cached random number are not the same; in response to the obtained random number being different from the locally cached random number, the operation of scanning and mounting the cloud disk is performed. The invention also discloses a computer device and a readable storage medium. The present invention utilizes the security isolation feature of the metadata service for the tenant network and the management network, obtains the latest metadata from the metadata service, determines whether to mount or unmount volumes, and operates on which remote volumes, without adding an intelligent network card and a management network. , save hardware cost, and have strong network security reliability.
Description
技术领域technical field
本发明涉及服务器领域,具体涉及一种云物理机挂载云盘的方法、设备以及存储介质。The invention relates to the field of servers, in particular to a method, device and storage medium for mounting a cloud disk on a cloud physical machine.
背景技术Background technique
Openstack云物理机是计算服务Nova、网络服务Neutron、镜像服务Glance以及云物理机部署服务Ironic等集成实现的,一台云物理机创建过程其实就是调度一台云物理机并对其进行装机的过程。云物理机创建时,Ironic通过IPMI远程控制云物理机从PXE启动,并下载装有agent的部署镜像,Ironic装机服务与agent交互,并通过iscsi协议将用户选择的用户镜像安装至云物理机本地磁盘,实现系统安装。Openstack cloud physical machine is realized by the integration of computing service Nova, network service Neutron, mirroring service Glance, and cloud physical machine deployment service Ironic. The process of creating a cloud physical machine is actually the process of scheduling a cloud physical machine and installing it. . When the cloud physical machine is created, Ironic remotely controls the cloud physical machine to start from PXE through IPMI, and downloads the deployment image with the agent installed. The Ironic installation service interacts with the agent, and installs the user image selected by the user to the local cloud physical machine through the iscsi protocol. disk for system installation.
由于云物理机的本地磁盘容易损坏,数据容易丢失,造成经济损失,因此,云物理机挂载云硬盘很有必要。虚拟机可以通过宿主机上的libvirt实现挂载远程的云硬盘。云物理机挂载云硬盘具有网络如何打通,云硬盘信息如何传递,系统内如何自动发现并挂载云硬盘等难题。目前若干云产品通过添加智能网卡+代理的方式实现云物理机挂载云硬盘,但是价格昂贵,成本太高;云物理机添加管理网+代理的方式又面临网络安全的重大问题。Because the local disk of the cloud physical machine is easily damaged, data is easily lost, and economic losses are caused. Therefore, it is necessary to mount the cloud hard disk on the cloud physical machine. The virtual machine can mount the remote cloud hard disk through libvirt on the host. Mounting a cloud hard disk on a cloud physical machine involves problems such as how to get through the network, how to transmit cloud hard disk information, and how to automatically discover and mount cloud hard disks in the system. At present, some cloud products implement cloud physical machines to mount cloud hard disks by adding smart network cards + agents, but the price is too high and the cost is too high; the method of adding management network + agents to cloud physical machines faces major network security problems.
因此,急需一种新的云物理机挂载云盘的方法。Therefore, a new method for mounting a cloud disk on a cloud physical machine is urgently needed.
发明内容SUMMARY OF THE INVENTION
有鉴于此,为了克服上述问题的至少一个方面,本发明实施例的提出一种云物理机挂载云盘的方法,包括步骤:In view of this, in order to overcome at least one aspect of the above problem, an embodiment of the present invention proposes a method for mounting a cloud disk on a cloud physical machine, including the steps:
从元数据服务获取需要挂载的云盘以及对应的随机数;Obtain the cloud disk to be mounted and the corresponding random number from the metadata service;
判断所述获取的随机数与本地缓存的随机数是否相同;Determine whether the obtained random number is the same as the locally cached random number;
响应于所述获取的随机数与所述本地缓存的随机数不相同,执行扫描挂载所述云盘的操作。In response to the obtained random number being different from the locally cached random number, an operation of scanning and mounting the cloud disk is performed.
在一些实施例中,从元数据服务获取需要挂载的云盘以及对应的随机数进一步包括:In some embodiments, obtaining the cloud disk to be mounted and the corresponding random number from the metadata service further includes:
周期性从所述元数据服务获取需要挂载的云盘以及对应的随机数。Periodically obtain the cloud disk to be mounted and the corresponding random number from the metadata service.
在一些实施例中,执行扫描挂载所述云盘的操作进一步包括:In some embodiments, performing the operation of scanning and mounting the cloud disk further includes:
用所述获取的随机数替换所述本地缓存的随机数。The locally cached random number is replaced with the obtained random number.
在一些实施例中,执行扫描挂载所述云盘的操作进一步包括:In some embodiments, performing the operation of scanning and mounting the cloud disk further includes:
根据所述需要挂载的云盘判断已经挂载的云盘中存在不需要继续挂载的云盘,对所述不需要继续挂载的云盘执行清理操作。According to the cloud disks to be mounted, it is determined that there are cloud disks that do not need to be mounted further in the mounted cloud disks, and a cleaning operation is performed on the cloud disks that do not need to be mounted further.
在一些实施例中,执行扫描挂载所述云盘的操作进一步包括:In some embodiments, performing the operation of scanning and mounting the cloud disk further includes:
根据所述需要挂载的云盘判断已经挂载的云盘中存在需要继续挂载的云盘,对所述需要继续挂载的云盘不执行操作。According to the cloud disk to be mounted, it is determined that there is a cloud disk that needs to be mounted further in the mounted cloud disk, and no operation is performed on the cloud disk that needs to be mounted further.
在一些实施例中,执行扫描挂载所述云盘的操作进一步包括:In some embodiments, performing the operation of scanning and mounting the cloud disk further includes:
根据所述需要挂载的云盘以及已经挂载的云盘,判断所述需要挂载的云盘中存在新的云盘,对所述新的云盘执行扫描挂载操作。According to the cloud disk to be mounted and the mounted cloud disk, it is determined that there is a new cloud disk in the cloud disk to be mounted, and a scan and mount operation is performed on the new cloud disk.
在一些实施例中,还包括:In some embodiments, it also includes:
确定所述需要挂载的云盘;Determine the cloud disk to be mounted;
关联所述需要挂载的云盘与所述云物理机;associating the cloud disk to be mounted with the cloud physical machine;
将所关联的所述需要挂载的云盘的信息发送至元数据服务,并生成对应的所述随机数。Send the associated information of the cloud disk to be mounted to the metadata service, and generate the corresponding random number.
在一些实施例中,关联所述需要挂载的云盘与所述云物理机进一步包括:利用cinder接口关联所述需要挂载的云盘与所述云物理机;In some embodiments, associating the cloud disk to be mounted and the cloud physical machine further includes: using a cinder interface to associate the cloud disk to be mounted and the cloud physical machine;
将所关联的所述需要挂载的云盘的信息发送至元数据服务进一步包括:利用metada接口将所关联的所述需要挂载的云盘的信息发送至元数据服务。Sending the associated information of the cloud disk to be mounted to the metadata service further includes: sending the associated information of the cloud disk to be mounted to the metadata service by using a metada interface.
基于同一发明构思,根据本发明的另一个方面,本发明的实施例还提供了一种计算机设备,包括:Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer device, including:
至少一个处理器;以及at least one processor; and
存储器,所述存储器存储有可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时执行如上所述的任一种云物理机挂载云盘的方法的步骤。A memory, where the memory stores a computer program that can be run on the processor, and is characterized in that, when the processor executes the program, any one of the above-mentioned methods for mounting a cloud disk on a cloud physical machine is performed. step.
基于同一发明构思,根据本发明的另一个方面,本发明的实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时执行如上所述的任一种云物理机挂载云盘的方法的步骤。Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor Perform the steps of any of the methods for mounting a cloud disk on a cloud physical machine as described above.
本发明具有以下有益技术效果之一:本发明利用元数据服务对租户网和管理网的安全隔离特性,从元数据服务获取最新元数据,判断是否挂载或者卸载卷,以及对哪些远程卷做操作,不需要添加智能网卡和管理网,节省硬件成本,并具有很强的网络安全可靠性。The present invention has one of the following beneficial technical effects: the present invention utilizes the security isolation feature of the metadata service for the tenant network and the management network, obtains the latest metadata from the metadata service, determines whether to mount or unmount volumes, and which remote volumes to perform Operation, no need to add intelligent network card and management network, save hardware costs, and has strong network security reliability.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的实施例。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other embodiments can also be obtained according to these drawings without creative efforts.
图1为本发明的实施例提供的一种云物理机挂载云盘的方法的流程示意图;1 is a schematic flowchart of a method for mounting a cloud disk on a cloud physical machine according to an embodiment of the present invention;
图2为本发明的实施例提供的一种云物理机挂载云盘的方法的流程框图;2 is a flowchart of a method for mounting a cloud disk on a cloud physical machine according to an embodiment of the present invention;
图3为本发明的实施例提供的一种云物理机挂载云盘的方法的结构框图;3 is a structural block diagram of a method for mounting a cloud disk on a cloud physical machine according to an embodiment of the present invention;
图4为本发明的实施例提供的计算机设备的结构示意图;4 is a schematic structural diagram of a computer device provided by an embodiment of the present invention;
图5为本发明的实施例提供的计算机可读存储介质的结构示意图。FIG. 5 is a schematic structural diagram of a computer-readable storage medium provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明实施例进一步详细说明。In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention will be further described in detail below with reference to the specific embodiments and the accompanying drawings.
需要说明的是,本发明实施例中所有使用“第一”和“第二”的表述均是为了区分两个相同名称非相同的实体或者非相同的参量,可见“第一”“第二”仅为了表述的方便,不应理解为对本发明实施例的限定,后续实施例对此不再一一说明。It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for the purpose of distinguishing two entities with the same name but not the same or non-identical parameters. It can be seen that "first" and "second" It is only for the convenience of expression and should not be construed as a limitation to the embodiments of the present invention, and subsequent embodiments will not describe them one by one.
需要说明的是,在本发明的实施例中,元数据服务是OpenStack计算服务的子模块,对外提供云主机元数据增删改查的Restful接口,例如阿里云、华为云等公有云均有这个服务。It should be noted that, in the embodiment of the present invention, the metadata service is a sub-module of the OpenStack computing service, which provides a Restful interface for adding, deleting, modifying and checking cloud host metadata. For example, public clouds such as Alibaba Cloud and Huawei Cloud have this service. .
根据本发明的一个方面,本发明的实施例提出一种云物理机挂载云盘的方法,如图1所示,其可以包括步骤:S1,从元数据服务获取需要挂载的云盘以及对应的随机数;S2,判断所述获取的随机数与本地缓存的随机数是否相同;S3,响应于所述获取的随机数与所述本地缓存的随机数不相同,执行扫描挂载所述云盘的操作。According to an aspect of the present invention, an embodiment of the present invention proposes a method for mounting a cloud disk on a cloud physical machine. As shown in FIG. 1 , the method may include steps: S1, obtaining a cloud disk to be mounted from a metadata service and corresponding random number; S2, determine whether the obtained random number is the same as the random number in the local cache; S3, in response to the obtained random number being different from the random number in the local cache, perform a scan to mount the Operation of the cloud disk.
本发明公开的方法通过利用元数据服务对租户网和管理网的安全隔离特性,从元数据服务获取最新元数据,判断是否挂载或者卸载卷,以及对哪些远程卷做操作,不需要添加智能网卡和管理网,节省硬件成本,并具有很强的网络安全可靠性。The method disclosed in the present invention obtains the latest metadata from the metadata service by utilizing the security isolation feature of the metadata service for the tenant network and the management network, determines whether to mount or unmount volumes, and which remote volumes to operate on, without adding intelligence. Network card and management network, save hardware costs, and have strong network security reliability.
下面结合图2示出的云物理机挂载云盘的方法的流程框图进行详细描述。The following is a detailed description in conjunction with the flowchart of the method for mounting a cloud disk on a cloud physical machine shown in FIG. 2 .
首先,需要从元数据服务中获取需要挂载的云盘以及对应的随机数。First, you need to obtain the cloud disk to be mounted and the corresponding random number from the metadata service.
在一些实施例中,可以首先确定所述需要挂载的云盘;然后在控制层面上关联所述需要挂载的云盘与所述云物理机;最后将所述需要挂载的云盘发送至元数据服务,并生成对应的所述随机数。In some embodiments, the cloud disk to be mounted may be determined first; then the cloud disk to be mounted and the cloud physical machine are associated at the control level; and finally the cloud disk to be mounted is sent to the metadata service, and generate the corresponding random number.
具体的,用户可以通过云平台操作界面确定哪些云盘需要挂载到云物理机,然后利用相关接口实现在控制层面上的云物理机与云盘的关联。Specifically, the user can determine which cloud disks need to be mounted to the cloud physical machine through the cloud platform operation interface, and then use the relevant interface to realize the association between the cloud physical machine and the cloud disk at the control level.
接口具体实现控制层面云物理机与云硬盘的绑定逻辑为:The interface specifically implements the binding logic between the cloud physical machine and the cloud hard disk at the control plane as follows:
接口URL为/baremeatl/{baremetal_id}/os-volume_attachments,POST方法;API获取body中的云硬盘UUID,调用API层bm_attach_volume的接口,该接口获取云物理机的DB对象,并通过rpc调用compute Manager的方法bm_attach_volume。bm_attach_volume通过ironic_client调用ironic接口获取云物理机信息,通过cinder_client调用cinder接口获取各个云硬盘的iqn信息(UUID序列号信息),并将云物理机注册进后端存储,将云硬盘绑定至云物理机。调用update_volume_metada接口去更新云物理机的元数据。update_volume_metada接口将云硬盘iqn信息列表更新至云物理机的元数据volume_list;并且生成一个随机数flag用于代理判断是否进行挂载操作,也更新至元数据。The interface URL is /baremeatl/{baremetal_id}/os-volume_attachments, and the POST method is used; the API obtains the cloud disk UUID in the body, and calls the API layer bm_attach_volume interface, which obtains the DB object of the cloud physical machine, and calls the compute manager's Method bm_attach_volume. bm_attach_volume calls the ironic interface through ironic_client to obtain the cloud physical machine information, calls the cinder interface through cinder_client to obtain the iqn information (UUID serial number information) of each cloud hard disk, registers the cloud physical machine into the back-end storage, and binds the cloud hard disk to the cloud physical machine machine. Call the update_volume_metada interface to update the metadata of the cloud physical machine. The update_volume_metada interface updates the cloud hard disk iqn information list to the metadata volume_list of the cloud physical machine; and generates a random number flag for the agent to determine whether to perform a mount operation, and also update the metadata to the metadata.
至此,控制层面的云物理机挂载云硬盘操作结束,cinder创建的云硬盘已和云物理机后端云物理机进行关联。At this point, the cloud physical machine at the control plane is attached to the cloud hard disk, and the cloud hard disk created by cinder has been associated with the cloud physical machine at the back end of the cloud physical machine.
需要说明的是,flag是一个元数据的key,它的值是一个随机数,持久化至元数据服务中,只有当用户通过云平台操作界面进行挂载/卸载操作时,控制层的服务才会将它更新。It should be noted that flag is a metadata key, and its value is a random number, which is persisted to the metadata service. Only when the user performs the mount/unmount operation through the cloud platform operation interface, the control layer service will update it.
当在控制层面上对需要挂载的云盘与云物理机进行关联后,即可在云物理机内利用进行挂载云硬盘的代理服务bm_volume_agent,此代理服务在制作云物理机镜像时安装至镜像中,并注册为systemd管理的service unit,开机服务自启动。After the cloud disk to be mounted is associated with the cloud physical machine at the control level, the agent service bm_volume_agent for mounting the cloud hard disk can be used in the cloud physical machine. This agent service is installed in the cloud physical machine image. In the image, and registered as a service unit managed by systemd, the boot service starts automatically.
在本发明的一些实施例中,从元数据服务获取需要挂载的云盘以及对应的随机数包括:周期性从所述元数据服务获取需要挂载的云盘以及对应的随机数。在本发明的若干进一步实施例中,执行扫描挂载云盘的操作进一步包括:用获取的随机数替换本地缓存的随机数。In some embodiments of the present invention, acquiring the cloud disk to be mounted and the corresponding random number from the metadata service includes: periodically acquiring the cloud disk to be mounted and the corresponding random number from the metadata service. In several further embodiments of the present invention, performing the operation of scanning and mounting the cloud disk further includes: replacing the locally cached random number with the acquired random number.
根据本发明的一个实施例,此代理核心是一个定时任务,每隔例如20秒周期性从元数据服务获取一次该云物理机的元数据,解析需要挂载云硬盘列表及挂载标志字段,从而获取需要挂载的云盘以及对应的随机数。According to an embodiment of the present invention, the agent core is a timed task, which periodically obtains the metadata of the cloud physical machine from the metadata service every 20 seconds, and parses the list of cloud hard disks to be mounted and the mount flag fields, Thereby, the cloud disk to be mounted and the corresponding random number are obtained.
需要说明的是,获取周期可以根据实际需求设定,并不仅仅限定于20秒。It should be noted that the acquisition period can be set according to actual needs, and is not limited to 20 seconds.
然后,判断所述随机数与本地缓存的随机数是否相同。Then, it is determined whether the random number is the same as the locally cached random number.
云物理机内的定时任务周期性的获取主机的元数据:volume_list以及flag,每次获取都会跟本地存的flag进行对比并且将新flag存至本地。通过对比本地缓存的挂载标志字段local_flag和元数据中的标志flag,判断是否做扫描挂盘操作。The scheduled task in the cloud physical machine periodically obtains the metadata of the host: volume_list and flag. Each time it is obtained, it will be compared with the flag stored locally and the new flag will be stored locally. By comparing the mount flag field local_flag of the local cache with the flag flag in the metadata, it is judged whether to perform the scan and mount operation.
若flag≠local_flag,则说明调用了云物理机挂载云硬盘接口,也即控制层进行了挂载操作,这时需要在数据层执行挂载任务,需要执行扫描挂载操作,将云硬盘列表中的远程卷挂载至本地,更新本地标志字段。If flag≠local_flag, it means that the cloud physical machine is called to mount the cloud disk interface, that is, the control layer performs the mount operation. At this time, the mount task needs to be performed on the data layer, and the scan mount operation needs to be performed to list the cloud disk. The remote volume in is mounted locally, and the local flag field is updated.
若flag=local_flag,则说明用户没有调用接口,不做操作。If flag=local_flag, it means that the user does not call the interface and does not operate.
在一些实施例中,执行扫描挂载操作可以包括:根据所述需要挂载的云盘判断已经挂载的云盘中存在不需要继续挂载的云盘,对所述不需要继续挂载的云盘执行清理操作。根据进一步的实施例,根据所述需要挂载的云盘判断已经挂载的云盘中存在需要继续挂载的云盘,对所述需要继续挂载的云盘不执行操作。根据进一步的实施例,根据所述需要挂载的云盘以及已经挂载的云盘,判断所述需要挂载的云盘中存在新的云盘,对所述新的云盘执行扫描挂载操作。In some embodiments, performing the scan and mount operation may include: judging, according to the cloud disks to be mounted, that there are cloud disks that do not need to be mounted in the mounted cloud disks; Perform a cleanup operation on the cloud disk. According to a further embodiment, according to the cloud disk to be mounted, it is determined that there is a cloud disk that needs to be mounted further in the mounted cloud disk, and no operation is performed on the cloud disk that needs to be mounted continuously. According to a further embodiment, according to the cloud disk to be mounted and the cloud disk that has been mounted, it is determined that there is a new cloud disk in the cloud disk to be mounted, and scan and mount is performed on the new cloud disk operate.
具体的,例如上次挂载的云盘为A,B,C,这次需要挂载的云盘为A,B,D。那么在执行挂载任务时,从元数据里获取到每个volume需要进行的动作,即A,B,D需要挂载,C需要卸载。Specifically, for example, the cloud disks that were mounted last time are A, B, and C, and the cloud disks that need to be mounted this time are A, B, and D. Then, when the mount task is performed, the actions that each volume needs to perform are obtained from the metadata, that is, A, B, and D need to be mounted, and C needs to be unloaded.
周期任务对每个要挂载的云硬盘进行操作时,先判断当前状态与目标状态是否相等,再做相应动作。如:A,B已挂载,目标为挂载,则不作动作;D没有挂载,则扫盘挂载。周期任务对每个要卸载的云硬盘进行操作时,直接执行清理操作。When a periodic task operates on each cloud disk to be mounted, it first determines whether the current state is equal to the target state, and then takes corresponding actions. For example, if A and B are already mounted, and the target is to mount, no action will be taken; if D is not mounted, scan the disk to mount. When the periodic task operates on each cloud disk to be uninstalled, it directly performs the cleanup operation.
在本发明的一些实施例中,方法还包括:确定需要挂载的云盘;关联需要挂载的云盘与云物理机;将所关联的需要挂载的云盘的信息发送至元数据服务,并生成对应的随机数。根据进一步的实施例,关联所述需要挂载的云盘与所述云物理机进一步包括:利用cinder接口关联所述需要挂载的云盘与所述云物理机。将所关联的所述需要挂载的云盘的信息发送至元数据服务进一步包括:利用metada接口将所关联的所述需要挂载的云盘的信息发送至元数据服务。In some embodiments of the present invention, the method further includes: determining the cloud disk to be mounted; associating the cloud disk to be mounted with the cloud physical machine; sending the associated information of the cloud disk to be mounted to the metadata service , and generate the corresponding random number. According to a further embodiment, associating the cloud disk to be mounted and the cloud physical machine further includes: using a cinder interface to associate the cloud disk to be mounted and the cloud physical machine. Sending the associated information of the cloud disk to be mounted to the metadata service further includes: sending the associated information of the cloud disk to be mounted to the metadata service by using a metada interface.
下面结合图3所示的结构框图进行详细描述。A detailed description will be given below with reference to the structural block diagram shown in FIG. 3 .
如图3所示,挂载云硬盘接口接收预挂载云硬盘uuid,添加至云物理机的元数据中,生成一个标志字段更新至元数据。调用cinder接口将云物理机与远程卷进行绑定。云物理机系统内由提前注入到镜像中且自启动的代理bm_volume_agent来完成挂载:定时任务周期获取云物理机元数据,并根据flag是否与本地保存的local_flag相等来判断上层是否操作。若不相等,则进行数据层上的挂载。As shown in Figure 3, the mount cloud disk interface receives the pre-mounted cloud disk uuid, adds it to the metadata of the cloud physical machine, and generates a flag field to update the metadata. Call the cinder interface to bind the cloud physical machine to the remote volume. In the cloud physical machine system, the agent bm_volume_agent, which is injected into the image in advance and starts automatically, completes the mounting: the scheduled task periodically obtains the metadata of the cloud physical machine, and judges whether the upper layer operates according to whether the flag is equal to the local_flag saved locally. If they are not equal, mount on the data layer.
基于同一发明构思,根据本发明的另一个方面,如图4所示,本发明的实施例还提供了一种计算机设备501,包括:Based on the same inventive concept, according to another aspect of the present invention, as shown in FIG. 4 , an embodiment of the present invention further provides a
至少一个处理器520;以及at least one
存储器510,存储器510存储有可在处理器上运行的计算机程序511,处理器520执行程序时执行如上的任一种云物理机挂载云盘的方法的步骤。The
基于同一发明构思,根据本发明的另一个方面,如图5所示,本发明的实施例还提供了一种计算机可读存储介质601,计算机可读存储介质601存储有计算机程序指令610,计算机程序指令610被处理器执行时执行如上的任一种云物理机挂载云盘的方法的步骤。Based on the same inventive concept, according to another aspect of the present invention, as shown in FIG. 5 , an embodiment of the present invention further provides a computer-
最后需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关硬件来完成,的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,的存储介质可为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。上述计算机程序的实施例,可以达到与之对应的前述任意方法实施例相同或者相类似的效果。Finally, it should be noted that those of ordinary skill in the art can understand that all or part of the process in the method of the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, When the program is executed, it may include the flow of the embodiments of the above-mentioned methods. Wherein, the storage medium can be a magnetic disk, an optical disk, a read only memory (ROM) or a random access memory (RAM) and the like. The above computer program embodiments can achieve the same or similar effects as any of the foregoing method embodiments corresponding thereto.
此外,典型地,本发明实施例公开的装置、设备等可为各种电子终端设备,例如手机、个人数字助理(PDA)、平板电脑(PAD)、智能电视等,也可以是大型终端设备,如服务器等,因此本发明实施例公开的保护范围不应限定为某种特定类型的装置、设备。本发明实施例公开的客户端可以是以电子硬件、计算机软件或两者的组合形式应用于上述任意一种电子终端设备中。In addition, typically, the apparatuses, devices, etc. disclosed in the embodiments of the present invention may be various electronic terminal devices, such as mobile phones, personal digital assistants (PDAs), tablet computers (PADs), smart TVs, etc., and may also be large-scale terminal devices. For example, a server, etc., therefore, the protection scope disclosed by the embodiments of the present invention should not be limited to a certain type of apparatus or equipment. The client disclosed in the embodiment of the present invention may be applied to any of the foregoing electronic terminal devices in the form of electronic hardware, computer software, or a combination of the two.
此外,根据本发明实施例公开的方法还可以被实现为由CPU执行的计算机程序,该计算机程序可以存储在计算机可读存储介质中。在该计算机程序被CPU执行时,执行本发明实施例公开的方法中限定的上述功能。In addition, the methods disclosed according to the embodiments of the present invention may also be implemented as a computer program executed by the CPU, and the computer program may be stored in a computer-readable storage medium. When the computer program is executed by the CPU, the above-mentioned functions defined in the methods disclosed in the embodiments of the present invention are executed.
此外,上述方法步骤以及系统单元也可以利用控制器以及用于存储使得控制器实现上述步骤或单元功能的计算机程序的计算机可读存储介质实现。In addition, the above-mentioned method steps and system units can also be implemented by using a controller and a computer-readable storage medium for storing a computer program that enables the controller to implement the functions of the above-mentioned steps or units.
此外,应该明白的是,本文的计算机可读存储介质(例如,存储器)可以是易失性存储器或非易失性存储器,或者可以包括易失性存储器和非易失性存储器两者。作为例子而非限制性的,非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦写可编程ROM(EEPROM)或快闪存储器。易失性存储器可以包括随机存取存储器(RAM),该RAM可以充当外部高速缓存存储器。作为例子而非限制性的,RAM可以以多种形式获得,比如同步RAM(DRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据速率SDRAM(DDRSDRAM)、增强SDRAM(ESDRAM)、同步链路DRAM(SLDRAM)、以及直接Rambus RAM(DRRAM)。所公开的方面的存储设备意在包括但不限于这些和其它合适类型的存储器。In addition, it should be understood that computer-readable storage media (eg, memory) herein can be volatile memory or non-volatile memory, or can include both volatile and non-volatile memory. By way of example and not limitation, nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory memory. Volatile memory may include random access memory (RAM), which may act as external cache memory. By way of example and not limitation, RAM is available in various forms such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to include, but not be limited to, these and other suitable types of memory.
本领域技术人员还将明白的是,结合这里的公开所描述的各种示例性逻辑块、模块、电路和算法步骤可以被实现为电子硬件、计算机软件或两者的组合。为了清楚地说明硬件和软件的这种可互换性,已经就各种示意性组件、方块、模块、电路和步骤的功能对其进行了一般性的描述。这种功能是被实现为软件还是被实现为硬件取决于具体应用以及施加给整个系统的设计约束。本领域技术人员可以针对每种具体应用以各种方式来实现的功能,但是这种实现决定不应被解释为导致脱离本发明实施例公开的范围。Those skilled in the art will also appreciate that the various exemplary logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends on the specific application and design constraints imposed on the overall system. Those skilled in the art may implement the functions in various ways for each specific application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
结合这里的公开所描述的各种示例性逻辑块、模块和电路可以利用被设计成用于执行这里功能的下列部件来实现或执行:通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或其它可编程逻辑器件、分立门或晶体管逻辑、分立的硬件组件或者这些部件的任何组合。通用处理器可以是微处理器,但是可替换地,处理器可以是任何传统处理器、控制器、微控制器或状态机。处理器也可以被实现为计算设备的组合,例如,DSP和微处理器的组合、多个微处理器、一个或多个微处理器结合DSP和/或任何其它这种配置。The various exemplary logical blocks, modules, and circuits described in connection with the disclosure herein can be implemented or executed using the following components designed to perform the functions herein: general purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, eg, a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors in combination with a DSP, and/or any other such configuration.
结合这里的公开所描述的方法或算法的步骤可以直接包含在硬件中、由处理器执行的软件模块中或这两者的组合中。软件模块可以驻留在RAM存储器、快闪存储器、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动盘、CD-ROM、或本领域已知的任何其它形式的存储介质中。示例性的存储介质被耦合到处理器,使得处理器能够从该存储介质中读取信息或向该存储介质写入信息。在一个替换方案中,存储介质可以与处理器集成在一起。处理器和存储介质可以驻留在ASIC中。ASIC可以驻留在用户终端中。在一个替换方案中,处理器和存储介质可以作为分立组件驻留在用户终端中。The steps of a method or algorithm described in connection with the disclosures herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium. In an alternative, the storage medium may be integrated with the processor. The processor and storage medium may reside in an ASIC. The ASIC may reside in the user terminal. In an alternative, the processor and storage medium may reside in the user terminal as discrete components.
在一个或多个示例性设计中,功能可以在硬件、软件、固件或其任意组合中实现。如果在软件中实现,则可以将功能作为一个或多个指令或代码存储在计算机可读介质上或通过计算机可读介质来传送。计算机可读介质包括计算机存储介质和通信介质,该通信介质包括有助于将计算机程序从一个位置传送到另一个位置的任何介质。存储介质可以是能够被通用或专用计算机访问的任何可用介质。作为例子而非限制性的,该计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其它光盘存储设备、磁盘存储设备或其它磁性存储设备,或者是可以用于携带或存储形式为指令或数据结构的所需程序代码并且能够被通用或专用计算机或者通用或专用处理器访问的任何其它介质。此外,任何连接都可以适当地称为计算机可读介质。例如,如果使用同轴线缆、光纤线缆、双绞线、数字用户线路(DSL)或诸如红外线、无线电和微波的无线技术来从网站、服务器或其它远程源发送软件,则上述同轴线缆、光纤线缆、双绞线、DSL或诸如红外线、无线电和微波的无线技术均包括在介质的定义。如这里所使用的,磁盘和光盘包括压缩盘(CD)、激光盘、光盘、数字多功能盘(DVD)、软盘、蓝光盘,其中磁盘通常磁性地再现数据,而光盘利用激光光学地再现数据。上述内容的组合也应当包括在计算机可读介质的范围内。In one or more exemplary designs, functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage medium can be any available medium that can be accessed by a general purpose or special purpose computer. By way of example and not limitation, the computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage devices, magnetic disk storage devices or other magnetic storage devices, or may be used to carry or store instructions in the form of or data structures and any other medium that can be accessed by a general purpose or special purpose computer or a general purpose or special purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave are used to send software from a website, server, or other remote source, the above coaxial cable Cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are all included in the definition of medium. As used herein, magnetic disks and optical disks include compact disks (CDs), laser disks, optical disks, digital versatile disks (DVDs), floppy disks, blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically with lasers . Combinations of the above should also be included within the scope of computer-readable media.
以上是本发明公开的示例性实施例,但是应当注意,在不背离权利要求限定的本发明实施例公开的范围的前提下,可以进行多种改变和修改。根据这里描述的公开实施例的方法权利要求的功能、步骤和/或动作不需以任何特定顺序执行。此外,尽管本发明实施例公开的元素可以以个体形式描述或要求,但除非明确限制为单数,也可以理解为多个。The above are exemplary embodiments of the present disclosure, but it should be noted that various changes and modifications may be made without departing from the scope of the disclosure of the embodiments of the present invention as defined in the claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements disclosed in the embodiments of the present invention may be described or claimed in the singular, unless explicitly limited to the singular, the plural may also be construed.
应当理解的是,在本文中使用的,除非上下文清楚地支持例外情况,单数形式“一个”旨在也包括复数形式。还应当理解的是,在本文中使用的“和/或”是指包括一个或者一个以上相关联地列出的项目的任意和所有可能组合。It should be understood that, as used herein, the singular form "a" is intended to include the plural form as well, unless the context clearly supports an exception. It will also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
上述本发明实施例公开实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned embodiments of the present invention disclose the serial numbers of the embodiments only for description, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The storage medium can be read-only memory, magnetic disk or optical disk, etc.
所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本发明实施例公开的范围(包括权利要求)被限于这些例子;在本发明实施例的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,并存在如上的本发明实施例的不同方面的许多其它变化,为了简明它们没有在细节中提供。因此,凡在本发明实施例的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本发明实施例的保护范围之内。Those of ordinary skill in the art should understand that the discussion of any of the above embodiments is only exemplary, and is not intended to imply that the scope (including the claims) disclosed by the embodiments of the present invention is limited to these examples; under the idea of the embodiments of the present invention , the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the above embodiments of the present invention, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present invention should be included within the protection scope of the embodiments of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910631037.7A CN110445841B (en) | 2019-07-12 | 2019-07-12 | A method, device and storage medium for mounting a cloud disk on a cloud physical machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910631037.7A CN110445841B (en) | 2019-07-12 | 2019-07-12 | A method, device and storage medium for mounting a cloud disk on a cloud physical machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110445841A CN110445841A (en) | 2019-11-12 |
CN110445841B true CN110445841B (en) | 2022-04-22 |
Family
ID=68429662
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910631037.7A Active CN110445841B (en) | 2019-07-12 | 2019-07-12 | A method, device and storage medium for mounting a cloud disk on a cloud physical machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110445841B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111694519B (en) * | 2020-05-29 | 2023-11-21 | 北京世纪互联宽带数据中心有限公司 | Method, system and server for mounting cloud hard disk on bare metal server |
CN112003963B (en) * | 2020-08-27 | 2022-05-17 | 苏州浪潮智能科技有限公司 | A method, system, device and medium for mounting a volume on a bare metal server |
CN112235371A (en) * | 2020-09-30 | 2021-01-15 | 北京联众国际通信有限公司 | System and method for cloud desktop mounting network disk based on distributed storage |
CN114546920B (en) * | 2022-02-20 | 2024-02-20 | 中电云计算技术有限公司 | Hot plug method for bare metal server data disc under Feiteng CPU architecture based on intelligent network card |
CN114647456A (en) * | 2022-05-13 | 2022-06-21 | 中电云数智科技有限公司 | Server disk hot mounting method and intelligent network card |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104468548A (en) * | 2014-11-28 | 2015-03-25 | 华为技术有限公司 | Data verification method, disaster recovery storage and production storage |
CN107368737A (en) * | 2016-05-13 | 2017-11-21 | 阿里巴巴集团控股有限公司 | A kind of processing method for preventing copy-attack, server and client |
CN109040107A (en) * | 2018-08-29 | 2018-12-18 | 百度在线网络技术(北京)有限公司 | Data processing method, server, unmanned equipment and readable storage medium storing program for executing |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10372419B2 (en) * | 2017-04-18 | 2019-08-06 | International Business Machines Corporation | Trusted random number generation by a cloud server |
CN107547242B (en) * | 2017-05-24 | 2019-11-12 | 新华三技术有限公司 | The acquisition methods and device of VM configuration information |
CN109802976A (en) * | 2017-11-16 | 2019-05-24 | 航天信息股份有限公司 | Cloud hard disk dynamic dispatching method, device and the electronic system of Open Stack cloud platform |
CN109032753B (en) * | 2018-06-20 | 2022-02-22 | 上海市信息网络有限公司 | Heterogeneous virtual machine hard disk hosting method and system, storage medium and Nova platform |
CN109597717B (en) * | 2018-12-07 | 2020-12-25 | 北京金山云网络技术有限公司 | Data backup and recovery method and device, electronic equipment and storage medium |
CN109951525A (en) * | 2019-02-18 | 2019-06-28 | 山东浪潮云信息技术有限公司 | A kind of cloud disk carry system and method based on container |
-
2019
- 2019-07-12 CN CN201910631037.7A patent/CN110445841B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104468548A (en) * | 2014-11-28 | 2015-03-25 | 华为技术有限公司 | Data verification method, disaster recovery storage and production storage |
CN107368737A (en) * | 2016-05-13 | 2017-11-21 | 阿里巴巴集团控股有限公司 | A kind of processing method for preventing copy-attack, server and client |
CN109040107A (en) * | 2018-08-29 | 2018-12-18 | 百度在线网络技术(北京)有限公司 | Data processing method, server, unmanned equipment and readable storage medium storing program for executing |
Also Published As
Publication number | Publication date |
---|---|
CN110445841A (en) | 2019-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110445841B (en) | A method, device and storage medium for mounting a cloud disk on a cloud physical machine | |
CN110943860B (en) | BMC (baseboard management controller) firmware updating method and system, electronic equipment and storage medium | |
WO2018050040A1 (en) | Method and apparatus for realizing communication between web page and native application, and electronic device | |
CN102780603B (en) | Web traffic control method and device | |
CN109213604B (en) | Data source management method and device | |
CN107092628B (en) | Method and device for processing time series data | |
KR102567900B1 (en) | Method and Apparatus for Ensuring Continuous Device Operational Stability in Cloud Degraded Mode | |
WO2019019670A1 (en) | Application accessing method and device, computer apparatus, and storage medium | |
CN110413376A (en) | Method, device and storage medium for virtual machine management USB device | |
CN111708664A (en) | A client log management method, device and medium | |
CN110752953A (en) | A method, device and storage medium for updating the number of connections based on load balancing | |
CN110262821A (en) | A kind of management method of software module, device and server | |
CN112083945B (en) | Update prompt method, device, electronic device and storage medium for NPM installation package | |
CN111880996B (en) | Bare metal data acquisition method, device, equipment and readable storage medium | |
CN111291007B (en) | File aggregation method, system, device and medium | |
CN114185804B (en) | Interface testing method and device and terminal equipment | |
CN104104701A (en) | Online service configuration updating method and system | |
CN107305608A (en) | The management method and device of terminal device | |
CN111309264B (en) | Method, system, device and medium for making directory quota compatible with snapshot | |
CN111723369A (en) | A file management method, device and medium of an FTP server | |
CN111723140A (en) | A method, apparatus, device and readable medium for user access to storage | |
CN113742376A (en) | Data synchronization method, first server and data synchronization system | |
CN110753059A (en) | A rights management method, device and storage medium | |
CN115061743B (en) | Interface calling method and device, computer readable medium and electronic device | |
WO2017107762A1 (en) | Application tracing method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |