CN110399248A - A kind of image file creation, acquisition methods, device and server - Google Patents

A kind of image file creation, acquisition methods, device and server Download PDF

Info

Publication number
CN110399248A
CN110399248A CN201810381789.8A CN201810381789A CN110399248A CN 110399248 A CN110399248 A CN 110399248A CN 201810381789 A CN201810381789 A CN 201810381789A CN 110399248 A CN110399248 A CN 110399248A
Authority
CN
China
Prior art keywords
disk
image file
server
description information
storage
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.)
Granted
Application number
CN201810381789.8A
Other languages
Chinese (zh)
Other versions
CN110399248B (en
Inventor
杨育兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810381789.8A priority Critical patent/CN110399248B/en
Publication of CN110399248A publication Critical patent/CN110399248A/en
Application granted granted Critical
Publication of CN110399248B publication Critical patent/CN110399248B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1461Backup scheduling policy

Abstract

The application provides a kind of image file creation, acquisition methods, device and server, this method comprises: creation the first disk corresponding with image file in storage equipment;First disk is mounted to first server;The image file is written to first disk.By the technical solution of the application, the distribution efficiency of image file can be improved, accelerate the distribution of image file, save time overhead, save storage resource.

Description

A kind of image file creation, acquisition methods, device and server
Technical field
This application involves Internet technical fields, more particularly, to a kind of image file creation, acquisition methods, device and clothes Business device.
Background technique
Cloud PaaS (Platform as a Service, platform service) platform is one and is established based on cloud computing technology Operation supporting platform, third party software developer can be in cloud PaaS platform application deployment product, and provides services to the user. Conventional cloud PaaS platform generallys use the isolation that virtual machine realizes different software developer application, and using virtual machine as scheduling Minimum unit, but when using virtual machine as minimum unit, there is also many problems, such as start that the time is long, occupies system provides More, migration adjustment time-consuming in source etc..On this basis, Novel cloud PaaS platform can realize that different software is opened using container technique The isolation of quotient's application is sent out, and using container as the minimum unit of scheduling.Wherein, container technique is a kind of virtualization technology, is passed through The mode of virtualizing operating systems is applied to manage, and includes a whole user environment space exclusively enjoyed in each container.
Since there are many number of users,, can be in a large amount of containers of server disposition in order to provide services to the user, this A little containers provide service jointly for user, to avoid the overload of certain container.Moreover, these containers are available same Image file, and the image file is run, to provide services to the user.
Currently, server is locally generated image file, by image file storage to storage server, each container is from storage Image file is obtained in server, by image file storage to local.Under normal conditions, image file can be bigger, as 3G is big It is small, therefore when being locally generated image file, need to occupy a large amount of disk spaces;Server is by image file storage to storage When server, massive band width can be occupied, and needs to consume a longer time.Each container is obtaining image file from storage server When, massive band width can be occupied, and need to consume a longer time;Each container by image file storage to it is local when, need to occupy A large amount of disk spaces.
Summary of the invention
The application provides a kind of image file creation method, is applied to first server, comprising:
Creation the first disk corresponding with image file in storage equipment;
First disk is mounted to the first server;
The image file is written to first disk.
The application provides a kind of image file acquisition methods, is applied to second server, comprising:
Obtain the description information of the first disk in storage equipment;
Third disk is created in the storage device according to the description information of first disk, wherein the third Disk includes the image file in first disk;
The third disk is mounted to the second server;
Run the image file in the third disk.
The application provides a kind of image file creating device, is applied to first server, comprising:
Creation module, for creation the first disk corresponding with image file in storage equipment;
Carry module, for first disk to be mounted to the first server;
Writing module, for the image file to be written to first disk.
The application provides a kind of image file acquisition device, is applied to second server, comprising:
Module is obtained, for obtaining the description information of the first disk in storage equipment;
Creation module, for creating third disk in the storage device according to the description information of first disk, Wherein, the third disk includes the image file in first disk;
Carry module, for the third disk to be mounted to the second server;
Module is run, for running the image file in the third disk.
The application provides a kind of first server, comprising: processor and machine readable storage medium, it is described machine readable to deposit Several computer instructions are stored on storage media, the processor is handled as follows when executing the computer instruction: depositing Store up creation the first disk corresponding with image file in equipment;First disk is mounted to the first server;By institute It states image file and is written to first disk.
The application provides a kind of second server, comprising: processor and machine readable storage medium, it is described machine readable to deposit Several computer instructions are stored on storage media, the processor is handled as follows when executing the computer instruction: obtaining Store the description information of the first disk in equipment;It is created in the storage device according to the description information of first disk Third disk, wherein the third disk includes the image file in first disk;The third disk is mounted to institute State second server;Run the image file in the third disk.
Based on the above-mentioned technical proposal, in the embodiment of the present application, first server when generating image file, is set in storage For middle creation the first disk corresponding with image file, and the first disk is mounted to first server, image file is written To the first disk.In this way, first server can use the disk space of storage equipment, without occupying the big of first server Measure disk space.Moreover, first server is that the description information of the first disk is supplied to second server, rather than by mirror image File is stored to storage server, and the size of description information is far smaller than the size of image file, to solve to occupy a large amount of bands Width, the problems such as consuming a longer time.Second server (container of such as second server) is that will store when obtaining image file Third disk in equipment is mounted to second server, and runs the image file in third disk.In this way, second server can With a large amount of disk spaces using the disk space of storage equipment, without occupying second server.Second server only needs The description information of the first disk is obtained, and does not have to obtain image file from storage server, since the size of description information is remote Much smaller than the size of image file, to solve to occupy massive band width, the problems such as consuming a longer time.Obviously, it is based on above-mentioned side The distribution efficiency of image file can be improved in formula, accelerates the distribution of image file, saves time overhead, saves the sheet of server Ground storage resource.
Detailed description of the invention
It, below will be to the application in order to clearly illustrate the embodiment of the present application or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is only some embodiments as described in this application, for those of ordinary skill in the art, can also be according to this Shen Please these attached drawings of embodiment obtain other attached drawings.
Fig. 1 is the flow chart of the image file creation method in a kind of embodiment of the application;
Fig. 2 is the flow chart of the image file acquisition methods in the application another embodiment;
Fig. 3 A is the application scenarios schematic diagram in a kind of embodiment of the application;
Fig. 3 B is the flow chart of the image file acquisition methods in the application another embodiment;
Fig. 3 C is the flow chart of the image file acquisition methods in the application another embodiment;
Fig. 4 is the structure chart of the image file creating device in a kind of embodiment of the application;
Fig. 5 is the structure chart of the image file acquisition device in the application another embodiment.
Specific embodiment
In term used in this application merely for the sake of for the purpose of describing particular embodiments, rather than limit the application.This Shen Please it is also intended to the "an" of singular used in claims, " described " and "the" including most forms, unless Context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to comprising one or more Associated any or all of project listed may combine.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, in addition, used word " if " can be construed to " ... when " or " when ... " Or " in response to determination ".
A kind of image file creation method is proposed in the embodiment of the present application, this method can be applied to first server, ginseng It as shown in Figure 1, is the flow chart of the image file creation method, this method may include:
Step 101, creation the first disk corresponding with image file in storage equipment.
Wherein, creation the first disk corresponding with image file in storage equipment, can include but is not limited to:
Situation one determines the disk size that image file occupies, and sends the wound for carrying the disk size to storage equipment Build message;The creation message stores equipment creation the first disk corresponding with the disk size for making.
Situation two, the determining description information with the associated second disk of image file, and according to the description of the second disk Information creation first disk corresponding with the image file in storage equipment.Further, according to the description of the second disk Information creation first disk corresponding with the image file in storage equipment, can also include but is not limited to: determine the mirror image The disk size that file occupies;The creation for sending the description information for carrying the disk size and the second disk to storage equipment disappears Breath;Wherein, which is used to that storage equipment to be made to obtain the mirror in the second disk according to the description information of the second disk As file, and the first disk corresponding with the disk size is created, moreover, including the mirror in the second disk in first disk As file.
Wherein it is determined that the description information with the associated second disk of image file, may include: in the determining second disk The corresponding Mirror Info of image file, and obtain the description information of corresponding with Mirror Info second disk.Further, The description information of second disk corresponding with the Mirror Info is obtained, can also include but is not limited to such as under type: be taken from storage The description information of second disk corresponding with the Mirror Info is inquired in business device;Wherein, the storage server is for recording The corresponding relationship of Mirror Info and description information.
Step 102, the first disk is mounted to first server.
Step 103, image file is written to the first disk.
In one example, after image file being written to the first disk, the description information of the first disk can also be mentioned Second server is supplied, so that second server obtains the text of the mirror image in first disk according to the description information of the first disk Part.For example, the description information of the first disk is supplied to second server, comprising: directly send out the description information of the first disk Give second server;Or, storing the description information of the first disk into storage server, so that second server is from storage The description information of the first disk is obtained in server.
Further, the description information of the first disk is stored into storage server, so that second server is from storage The description information that the first disk is obtained in server may include: the corresponding mirror image of image file in determining first disk Information, and the Mirror Info and the corresponding relationship of the description information of first disk are stored into storage server;It can incite somebody to action The Mirror Info is sent to second server, believes so that the second server is inquired from the storage server with the mirror image Cease the description information of corresponding first disk.
In the above-described embodiments, second server may include the container for running image file.In addition, the first disk The description information corresponding snapshot that may include: the first disk in storage equipment description information.
In one example, above-mentioned execution sequence is intended merely to facilitate description to provide example, in practical applications, Sequence is executed between can also changing the step, with no restrictions to this execution sequence.Moreover, in other embodiments, and it is different The fixed sequence for showing and describing according to this specification is come the step of executing correlation method, step included by method can be than this It is more or less described in specification.In addition, single step described in this specification, it in other embodiments may quilt Multiple steps are decomposed into be described;Multiple steps described in this specification may also be merged into other embodiments Single step is described.
Based on the above-mentioned technical proposal, in the embodiment of the present application, first server when generating image file, is set in storage For middle creation the first disk corresponding with image file, and the first disk can be mounted to first server, and mirror image is literary Part is written to the first disk.In this way, first server can use the disk space of storage equipment, without occupying first service A large amount of disk spaces of device.Moreover, first server be the description information of the first disk is supplied to second server, rather than Image file is stored to storage server, since the size of description information is far smaller than the size of image file, so as to It solves to occupy massive band width, the problems such as consuming a longer time.Further, it is based on aforesaid way, image file can be improved Distribute efficiency, accelerate the distribution of image file, saves time overhead, that saves server is locally stored resource.
A kind of image file acquisition methods are proposed in the embodiment of the present application, this method can be applied to second server, ginseng It as shown in Figure 2, is the flow chart of the image file acquisition methods, this method may include:
Step 201, the description information of the first disk in storage equipment is obtained.Wherein, the description information of the first disk can To include but is not limited to: the description information of the first disk corresponding snapshot in storage equipment.
In one example, the description information for obtaining the first disk in storage equipment, can include but is not limited to: obtain The corresponding Mirror Info of image file in first disk;Obtain the description letter of the first disk corresponding with the Mirror Info Breath.Further, the description information for obtaining corresponding with the Mirror Info the first disk can also include but is not limited to: from depositing The description information of the first disk corresponding with the Mirror Info is inquired in storage server;Wherein, storage server is for recording The corresponding relationship of Mirror Info and description information.
Step 202, third disk is created in storage equipment according to the description information of first disk.
Wherein, which may include the image file in first disk.
Wherein, third disk is created in storage equipment according to the description information of first disk, may include but unlimited In: the first disk corresponding to the description information is cloned in storage equipment, obtains the third disk (magnetic after cloning Disk).Further, the first disk corresponding to the description information is cloned in storage equipment, is obtained third disk, may be used also To include but is not limited to: sending the clone's message for carrying the description information of the first disk to storage equipment;Wherein, clone's message For making to store equipment acquisition the first disk corresponding with the description information of the first disk, and the first disk is cloned, is obtained To third disk.
Step 203, which is mounted to second server.
Step 204, the image file in the third disk is run.
Wherein, second server can also include the container for running image file;Based on this, the third disk is run In image file, may include: the image file run by container in the third disk.
In one example, above-mentioned execution sequence is intended merely to facilitate description to provide example, in practical applications, Sequence is executed between can also changing the step, with no restrictions to this execution sequence.Moreover, in other embodiments, and it is different The fixed sequence for showing and describing according to this specification is come the step of executing correlation method, step included by method can be than this It is more or less described in specification.In addition, single step described in this specification, it in other embodiments may quilt Multiple steps are decomposed into be described;Multiple steps described in this specification may also be merged into other embodiments Single step is described.
Based on the above-mentioned technical proposal, in the embodiment of the present application, second server is that will store to set when obtaining image file Third disk in standby is mounted to second server, runs the image file in third disk.In this way, second server can benefit With storage equipment disk space, without occupy second server a large amount of disk spaces.Second server only needs to obtain The description information of first disk, and do not have to obtain image file from storage server, since the size of description information is much small In the size of image file, to solve to occupy massive band width, the problems such as consuming a longer time.Based on aforesaid way, Ke Yiti The distribution efficiency of high image file accelerates the distribution of image file, saves time overhead, can save being locally stored for server Resource.
Below in conjunction with concrete application scene, above-mentioned technical proposal is described in detail, referring to shown in Fig. 3 A, for the present invention The application scenarios schematic diagram of embodiment.First server is properly termed as packaged service device, for constructing the image file of application;It deposits Storage equipment can be distributed block equipment, also referred to as block device cluster, can provide creation disk, to disk carry out snapshot, from Snapshot clones the functions such as disk;Storage server can be mirror image warehouse or database, and the mirror image for memory image file is believed Corresponding relationship between breath and the description information of disk, the also functions such as offer authentication service, unified file storage service;Second clothes Business device can be the running environment of container, the disk for storing equipment can be mounted to second server, for container use.
In one example, distributed block equipment may include a large amount of memory blocks (memory block of such as fixed size), these Memory block can be supplied to server, in this way, the memory block that server can be provided using distributed block equipment creates disk, The disk can be made of multiple memory blocks, for example, disk size is 100M, when storage block size is 4M, then the disk just by 25 memory block compositions.Server is directed to the processing of the disk, in fact, being the processing for this 25 memory blocks, that is, is dividing Storing data in the memory block of cloth block device.
Disk in the present embodiment can be SSD (Solid State Drive, solid state drive), HHD (Hybrid Hard Drive, hybrid hard drive), the disks of the types such as HDD (Hard Disk Drive, hard disk drive), can also be with It is the disk of phase change memory type, the disk of quantum memory type, the disk etc. of graphene type of memory, to this disk Type with no restrictions, as long as storing data.
Wherein it is possible to the container for running image file is disposed in second server, and by running the image file, To provide services to the user.Moreover, being directed to a certain application (such as merchandise mart application), in order to provide services to the user, may be used also To dispose a large amount of containers, these containers can be deployed in multiple second servers.For example, container 1- container 10 is deployed in the second clothes Business device 1, container 11 are deployed in second server 2, and container 12- container 18 is deployed in second server 3, and so on, to this portion Management side formula is with no restrictions.
In traditional approach, first server is that image file is written in local disk, to occupy a large amount of disk spaces; In the embodiment of the present application, first server applies for one piece of disk from storage equipment, and by the disk carry in local, in this way, Image file is directly write in storage equipment, to save disk space.
In traditional approach, first server is that image file storage to storage server is occupied massive band width, and need It consumes a longer time;In the embodiment of the present application, first server is to store the description information of disk to storage server, due to The size (such as 1K) of description information is far smaller than the size (such as 3G) of image file, to accelerate the storage speed of data, solves Massive band width is occupied, the problems such as consuming a longer time.
In traditional approach, second server needs obtain image file from storage server, occupy massive band width, and need It consumes a longer time;In the embodiment of the present application, second server only needs to obtain the description letter of disk from storage server Breath, to accelerate data reading speed, is solved since the size (such as 1K) of description information is much smaller than the size (such as 3G) of image file The problems such as certainly occupying massive band width, consuming a longer time.
In traditional approach, second server needs to store image file to local, to occupy a large amount of disk spaces;This Apply in embodiment, the disk for storing equipment can be mounted to second server by second server, run the disk by container In image file then start container such as using the mount directory of disk as container root, so that container be made to run the magnetic Image file in disk, to save local disk space.
Referring to shown in Fig. 3 B, for the flow chart of image file acquisition methods, this method may include:
Step 301, first server obtains image file A, determines the disk size that image file A is occupied.
For example, first server can receive the image file A of developer's input, image file A may include mirror image The disk size (subsequent to be illustrated by taking disk size 1 as an example, for example, disk size 1 can be 3G) that file A is occupied.Certainly, Image file A can also include other contents, without limitation.
Step 302, first server sends the creation message for carrying disk size 1 to storage equipment.
Step 303, storage equipment is localling create corresponding with disk size 1 first after receiving the creation message Disk, it is subsequent that first disk is known as disk A, and the size of disk A is disk size 1.
Step 304, disk A is mounted to first server by first server.For example, first server creation is directed to mirror image The catalogue of file A, and disk A is mounted under the catalogue of first server.
Wherein, disk A is mounted to first server to refer to, the disk A of long-range storage equipment is mounted to the first clothes Business device directly uses, and the operation to disk A is exactly the operation directly to long-range storage equipment.
Step 305, image file A is written to disk A by first server.For example, first server is to writing under the catalogue When entering image file A, in fact, being that image file A is written to disk A.
Wherein, image file A is written to the process of disk A by first server, actually directly writes image file A Enter the disk A to storage equipment, the disk without being written to first server local.
Step 306, the disk A stored in equipment is converted to snapshot A by first server.
Wherein, after image file A is written to disk A by first server, if image file A write-in is completed, storage is set Complete image file A is just written in standby disk A.In view of disk A is a read-write disk, therefore, in order to keep away Exempt to modify to the image file A in disk A, disk A can be converted to snapshot A (such as first server to storage equipment The conversion command for being directed to disk A is sent, disk A is converted into snapshot A by storage equipment, with no restrictions to this conversion process), it should The content of snapshot A is identical as the content of disk A, i.e. snapshot A also includes complete image file A.Moreover, snapshot A is one Readable not writeable snapshot can not modify to the image file A in snapshot A.Moreover, it is also possible to use this snapshot A Disk identical with disk A is cloned, subsequent embodiment introduces the cloning procedure.
Step 307, first server determines the description information of disk A, wherein the description information can include but is not limited to The description information of disk A corresponding snapshot (such as snapshot A) in storage equipment.
For example, after disk A is converted to snapshot A by storage equipment, it can be by description information (such as name of snapshot A of snapshot A Title, creation time etc., without limitation) it is sent to first server, first server can receive the description letter of snapshot A Breath, description information, that is, disk A description information of snapshot A.
Step 308, first server by the Mirror Info of the description information of disk A and image file A (such as mirror image title, It is image parameter etc., without limitation) corresponding relationship store into storage server.
Wherein, image file A can also include the Mirror Info of image file A, and first server can be from image file A In get the Mirror Info, and the description information of disk A and the Mirror Info are sent to storage server, so that storage takes The description information of device storage disk A of being engaged in and the corresponding relationship of the Mirror Info.
Step 309, the Mirror Info of image file A is sent to second server by first server.
It is, of course, also possible to the Mirror Info of image file A is sent to second server using other way, for example, opening The Mirror Info of image file A is sent to second server by originator, without limitation.
Step 310, second server obtains the corresponding Mirror Info of image file A.
Step 311, second server inquires description information corresponding with the Mirror Info from storage server.Its In, due to being stored with the corresponding relationship of the Mirror Info of image file A and the description information of disk A in storage server, Second server can inquire and the Mirror Info after the Mirror Info for getting image file A from storage server Corresponding description information, the i.e. description information of disk A.
Step 312, second server sends the clone's message for carrying the description information of disk A to storage equipment.
Step 313, storage equipment inquires and the description information of disk A (such as snapshot A after receiving clone's message Title, creation time etc.) corresponding snapshot A, and snapshot A is cloned and (to the process that snapshot A is cloned, is equivalent to Disk A is cloned), the disk B after being cloned.
Wherein, since snapshot A includes image file A, disk B also includes image file A.
Step 314, disk B is mounted to second server by second server.For example, second server can create disk The mount directory of B, and disk B is mounted under the mount directory of second server.
Step 315, the image file A in second server operation disk B.For example, can using above-mentioned mount directory as Container root, then starts container, to make the image file A in container operation disk B.
Wherein, the process of the image file A in second server operation disk B, actually directly operation stores equipment Disk B in image file A, rather than use second server local disk.
Wherein, the second server where each container can use above-mentioned steps 310- step 315, to run storage Image file A in the disk of equipment then provides a user service corresponding with image file A.
Referring to shown in Fig. 3 C, for another flow chart of image file acquisition methods, this method may include:
Step 321, first server obtains image file B, and determines the disk size that image file B is occupied, and determine With the Mirror Info of the associated image file of image file B.For example, then should when image file A is associated with image file B Mirror Info may include the Mirror Info of image file A.
Wherein, image file A is associated with image file B and refers to: the function in order to realize image file B is then needed in mirror As realizing on the basis of file A, i.e., image file B can be multiplexed the content of image file A.
For example, first server can receive the image file B of developer's input, image file B may include and mirror As the Mirror Info of the associated image file A of file B.In addition, image file B may include image file B occupy disk it is big It is small (subsequent to be illustrated by taking disk size 2 as an example, for example, disk size 2 can be 4G).Certainly, image file B can also be wrapped Other contents are included, it is without limitation.
Step 322, first server inquires description information corresponding with the Mirror Info from storage server.Its In, due to being stored with the corresponding relationship of the Mirror Info of image file A and the description information of disk A in storage server, First server can also inquire from storage server and believe with the mirror image after the Mirror Info for getting image file A Cease corresponding description information, the i.e. description information of disk A.
Step 323, first server sends creation message to storage equipment, wherein the creation message can carry disk The description information description information of snapshot A (such as disk A corresponding) of size 2 and disk A.
Step 324, storage equipment is localling create disk corresponding with disk size 2 after receiving the creation message C, the i.e. size of disk C are disk size 2.Moreover, first inquiring the description information with disk A when storage equipment creation disk C (title, creation time of such as snapshot A) corresponding snapshot A, and (the mistake cloned to snapshot A is cloned to snapshot A Journey is equivalent to and clones to disk A), the disk D after being cloned, then, storage equipment are created on the basis of disk D Disk C, that is to say, that may include the image file A in snapshot A in disk D, and include image file A in disk C.
Step 325, disk C is mounted to first server by first server.For example, first server creation is directed to mirror image The catalogue of file B, and disk C is mounted under the catalogue of first server.
Step 326, image file B is written to disk C by first server.For example, first server is to writing under the catalogue When entering image file B, in fact, being that image file B is written to disk C.
Wherein, image file B is written to the process of disk C by first server, actually directly writes image file B Enter the disk C to storage equipment, the disk without being written to first server local.Moreover, image file B is written to magnetic After disk C, disk C may include image file A and image file B.
Step 327, the disk C stored in equipment is converted to snapshot C by first server.
Wherein, after image file B is written to disk C by first server, if image file B write-in is completed, storage is set Image file A and image file B are just written in standby disk C.In view of disk C is therefore a read-write disk is Avoid in disk C image file A and image file B modify, disk C can be converted to snapshot C, snapshot C Content it is identical as the content of disk C, i.e., snapshot C also may include image file A and image file B.Moreover, snapshot C is One readable not writeable snapshot, i.e., can not in snapshot C image file A and image file B modify.Moreover, may be used also To use this snapshot C to clone disk identical with disk C, subsequent embodiment introduces the cloning procedure.
Step 328, first server determines the description information of disk C, wherein the description information can include but is not limited to The description information of disk C corresponding snapshot (such as snapshot C) in storage equipment.
For example, after disk C is converted to snapshot C by storage equipment, it can be by description information (such as name of snapshot C of snapshot C Title, creation time etc., without limitation) it is sent to first server, first server can receive the description letter of snapshot C Breath, the description information of snapshot C i.e. the description information of disk C.
Step 329, first server by the Mirror Info of the description information of disk C and image file B (such as mirror image title, It is image parameter etc., without limitation) corresponding relationship store into storage server.
Wherein, image file B can also include the Mirror Info of image file B, and first server can be from image file B In get the Mirror Info, and the description information of disk C and the Mirror Info are sent to storage server, so that storage takes The description information of device storage disk C of being engaged in and the corresponding relationship of the Mirror Info.
Step 330, the Mirror Info of image file B is sent to second server by first server.
It is, of course, also possible to the Mirror Info of image file B is sent to second server using other way, for example, opening The Mirror Info of image file B is sent to second server by originator, without limitation.
Step 331, second server obtains the corresponding Mirror Info of image file B.
Step 332, second server inquires description information corresponding with the Mirror Info from storage server.Its In, due to being stored with the corresponding relationship of the Mirror Info of image file B and the description information of disk C in storage server, Second server can inquire and the Mirror Info after the Mirror Info for getting image file B from storage server Corresponding description information, the i.e. description information of disk C.
Step 333, second server sends the clone's message for carrying the description information of disk C to storage equipment.
Step 334, storage equipment inquires and the description information of disk C (such as snapshot C after receiving clone's message Title, creation time etc.) corresponding snapshot C, and snapshot C is cloned and (to the process that snapshot C is cloned, is equivalent to Disk C is cloned), the disk E after being cloned.Since snapshot C includes image file A and image file B, then disk E It also include image file A and image file B.
Step 335, disk E is mounted to second server by second server.For example, second server can create disk The mount directory of E, and disk E is mounted under the mount directory of second server.
Step 336, the image file A and image file B in second server operation disk E.For example, can be by above-mentioned extension Catalogue is carried as container root, then starts container, to make the image file A and image file in container operation disk E B, so as to provide a user service corresponding with image file B.
Based on the above-mentioned technical proposal, in the embodiment of the present application, first server when generating image file, is set in storage For middle creation the first disk corresponding with image file, and the first disk is mounted to first server, image file is written To the first disk.In this way, first server can use the disk space of storage equipment, without occupying the big of first server Measure disk space.Moreover, first server is that the description information of the first disk is supplied to second server, rather than by mirror image File is stored to storage server, and the size of description information is far smaller than the size of image file, to solve to occupy a large amount of bands Width, the problems such as consuming a longer time.Second server (container of such as second server) is that will store when obtaining image file Third disk in equipment is mounted to second server, and runs the image file in third disk.In this way, second server can With a large amount of disk spaces using the disk space of storage equipment, without occupying second server.Second server only needs The description information of the first disk is obtained, and does not have to obtain image file from storage server, since the size of description information is remote Much smaller than the size of image file, to solve to occupy massive band width, the problems such as consuming a longer time.Obviously, it is based on above-mentioned side The distribution efficiency of image file can be improved in formula, accelerates the distribution of image file, saves time overhead, saves the sheet of server Ground storage resource.
In the above-described embodiments, in order to protect to storage equipment, the concurrency of storage equipment can also be controlled.Example Such as, it is no more than preset threshold (such as 2000) to the number of containers of storage equipment application disk;Alternatively, being stored by real-time detection The flow of equipment, it is determined whether receive the application process of new container, such as when the flow for storing equipment is not more than threshold value, then allow New container application disk does not allow new container application disk then when the flow for storing equipment is greater than threshold value.Certainly, above-mentioned side Formula is example, without limitation.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of image file creating device, It can be applied to first server, as shown in figure 4, being the structure chart of the device, which includes:
Creation module 401, for creation the first disk corresponding with image file in storage equipment;
Carry module 402, for first disk to be mounted to the first server;
Writing module 403, for the image file to be written to first disk.
The creation module 401 is specifically used for when creating the first disk corresponding with image file in storing equipment: really Determine the disk size of image file occupancy;The creation message for carrying the disk size is sent to the storage equipment;Wherein, institute Creation message is stated for making the storage equipment create the first disk corresponding with the disk size;Alternatively, it is determining with it is described The description information of the associated second disk of image file;According to the description information of second disk storage equipment in create and mirror image Corresponding first disk of file.
It is specifically used for when the determination of creation module 401 and the description information of the associated second disk of the image file: Determine the corresponding Mirror Info of image file in second disk;Obtain the description of second disk corresponding with the Mirror Info Information;The creation module 401 is specifically used for when obtaining the description information of second disk corresponding with the Mirror Info: from depositing The description information of the second disk corresponding with the Mirror Info is inquired in storage server;Storage server is for recording The corresponding relationship of Mirror Info and description information.
In one example, the image file creating device can also include (not shown in FIG.):
Sending module, for the description information of first disk to be supplied to second server, so that second clothes Business device obtains the image file in first disk according to the description information.
The sending module is specifically used for when the description information of the first disk is supplied to second server: determining the first magnetic The corresponding Mirror Info of image file in disk;By the storage of the corresponding relationship of the description information of Mirror Info and the first disk to depositing It stores up in server;The Mirror Info is sent to second server, make second server inquired from storage server with The description information of corresponding first disk of the Mirror Info.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of first server, comprising: place Device and machine readable storage medium are managed, is stored with several computer instructions, the processor on the machine readable storage medium It is handled as follows when executing the computer instruction: creation the first disk corresponding with image file in storage equipment;It will First disk is mounted to the first server;The image file is written to first disk.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of machine readable storage medium, Several computer instructions are stored on the machine readable storage medium, the computer instruction is performed to be located as follows Reason: creation the first disk corresponding with image file in storage equipment;First disk is mounted to the first service Device;The image file is written to first disk.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of image file acquisition device, It can be applied to second server, as shown in figure 5, being the structure chart of the device, which includes:
Module 501 is obtained, for obtaining the description information of the first disk in storage equipment;
Creation module 502, for creating third magnetic in the storage device according to the description information of first disk Disk, wherein the third disk includes the image file in first disk;
Carry module 503, for the third disk to be mounted to the second server;
Module 504 is run, for running the image file in the third disk.
Described obtain when module 501 obtains the description information for storing the first disk in equipment is specifically used for: obtaining first The corresponding Mirror Info of image file in disk;Obtain the description letter of first disk corresponding with the Mirror Info Breath;Described obtain when module 501 obtains the description information of first disk corresponding with the Mirror Info is specifically used for: from The description information of first disk corresponding with the Mirror Info is inquired in storage server;Storage server is for remembering Record the corresponding relationship of Mirror Info and description information.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of second server, comprising: place Device and machine readable storage medium are managed, is stored with several computer instructions, the processor on the machine readable storage medium It is handled as follows when executing the computer instruction: obtaining the description information of the first disk in storage equipment;According to described The description information of first disk creates third disk in the storage device, wherein the third disk includes described first Image file in disk;The third disk is mounted to the second server;It runs described in the third disk Image file.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of machine readable storage medium, Several computer instructions are stored on the machine readable storage medium, the computer instruction is performed to be located as follows Reason: the description information of the first disk in storage equipment is obtained;According to the description information of first disk in storage equipment Third disk is created, the third disk includes the image file in the first disk;Third disk is mounted to second clothes Business device;Run the image file in third disk.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of any several equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes computer usable program code that the embodiment of the present application, which can be used in one or more, The computer implemented in computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of program product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It is generally understood that being realized by computer program instructions each in flowchart and/or the block diagram The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computer journeys Sequence instruct to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor with A machine is generated, so that the instruction generation executed by computer or the processor of other programmable data processing devices is used for Realize the dress for the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram It sets.
Moreover, these computer program instructions also can store be able to guide computer or other programmable datas processing set In standby computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates Manufacture including command device, the command device are realized in one process of flow chart or multiple processes and/or block diagram one The function of being specified in a box or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing devices, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer Or the instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram The step of function of being specified in one box or multiple boxes.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (26)

1. a kind of image file creation method, which is characterized in that be applied to first server, comprising:
Creation the first disk corresponding with image file in storage equipment;
First disk is mounted to the first server;
The image file is written to first disk.
2. the method according to claim 1, wherein
Creation first disk corresponding with image file in storage equipment, comprising:
Determine the disk size that image file occupies;
The creation message for carrying the disk size is sent to the storage equipment;Wherein, the creation message is described for making It stores equipment and creates the first disk corresponding with the disk size.
3. the method according to claim 1, wherein
Creation first disk corresponding with image file in storage equipment, comprising:
The determining description information with the associated second disk of the image file;
The first disk corresponding with image file is created in storage equipment according to the description information of second disk.
4. according to the method described in claim 3, it is characterized in that, the description information according to second disk is in storage equipment It is middle to create the first disk corresponding with image file, comprising:
Determine the disk size that image file occupies;
The creation message for carrying the description information of the disk size and the second disk is sent to the storage equipment;Its In, the creation message is for obtaining the storage equipment in the second disk according to the description information of the second disk Image file, and corresponding with the disk size the first disk is created, including the second disk in first disk In image file.
5. according to the method described in claim 3, it is characterized in that,
The description information of the determination and the associated second disk of the image file, comprising:
Determine the corresponding Mirror Info of image file in the second disk;
Obtain the description information of the second disk corresponding with the Mirror Info.
6. according to the method described in claim 5, it is characterized in that,
The description information for obtaining the second disk corresponding with the Mirror Info, comprising:
The description information of the second disk corresponding with the Mirror Info is inquired from storage server;
Wherein, the storage server is used to record the corresponding relationship of Mirror Info and description information.
7. the method according to claim 1, wherein
It is described the image file is written to first disk after, the method also includes:
The description information of first disk is supplied to second server, so that the second server is believed according to the description Breath obtains the image file in first disk.
8. the method according to the description of claim 7 is characterized in that
The description information by first disk is supplied to second server, comprising:
The description information of first disk is stored into storage server, so that the second server takes from the storage The description information of first disk is obtained in business device.
9. according to the method described in claim 8, it is characterized in that,
The description information by first disk is stored into storage server, so that the second server is deposited from described The description information of first disk is obtained in storage server, comprising:
Determine the corresponding Mirror Info of image file in first disk;
The corresponding relationship of the description information of the Mirror Info and first disk is stored into storage server;It will be described Mirror Info is sent to the second server so that the second server inquired from the storage server with it is described The description information of corresponding first disk of Mirror Info.
10. the method according to claim 1, wherein
The second server includes the container for running the image file.
11. the method according to claim 1, wherein the description information of first disk includes: described first The description information of disk corresponding snapshot in the storage device.
12. a kind of image file acquisition methods, which is characterized in that be applied to second server, comprising:
Obtain the description information of the first disk in storage equipment;
Third disk is created in the storage device according to the description information of first disk, wherein the third disk Including the image file in first disk;
The third disk is mounted to the second server;
Run the image file in the third disk.
13. according to the method for claim 12, which is characterized in that
The description information for obtaining the first disk in storage equipment, comprising:
Obtain the corresponding Mirror Info of image file in first disk;
Obtain the description information of first disk corresponding with the Mirror Info.
14. according to the method for claim 13, which is characterized in that
The description information for obtaining first disk corresponding with the Mirror Info, comprising:
The description information of first disk corresponding with the Mirror Info is inquired from storage server;
Wherein, the storage server is used to record the corresponding relationship of Mirror Info and description information.
15. according to the method for claim 12, which is characterized in that
The description information according to first disk creates third disk in the storage device, comprising:
The first disk corresponding to the description information is cloned in storage equipment, obtains third disk.
16. according to the method for claim 15, which is characterized in that described corresponding to the description information in storage equipment The first disk cloned, obtain third disk, comprising:
The clone's message for carrying the description information of first disk is sent to the storage equipment;Wherein, clone's message For making the storage equipment obtain the first disk corresponding with the description information of first disk, and to first disk It is cloned, obtains third disk.
17. according to the method for claim 12, which is characterized in that
The second server includes the container for running the image file;
The image file in the operation third disk, comprising:
The image file in the third disk is run by the container.
18. according to the method for claim 12, which is characterized in that the description information of first disk includes: described the The description information of one disk corresponding snapshot in the storage device.
19. a kind of image file creating device, which is characterized in that be applied to first server, comprising:
Creation module, for creation the first disk corresponding with image file in storage equipment;
Carry module, for first disk to be mounted to the first server;
Writing module, for the image file to be written to first disk.
20. device according to claim 19, which is characterized in that
The creation module is specifically used for when creating the first disk corresponding with image file in storing equipment:
Determine the disk size that image file occupies;The creation message for carrying the disk size is sent to the storage equipment; Wherein, the creation message is for making the storage equipment create the first disk corresponding with the disk size;Alternatively, determining With the description information of the associated second disk of the image file;It is created in storage equipment according to the description information of second disk The first disk corresponding with image file.
21. device according to claim 20, which is characterized in that the creation module determination is associated with the image file Second disk description information when be specifically used for: determine the corresponding Mirror Info of image file in the second disk;It obtains Take the description information of the second disk corresponding with the Mirror Info;
The creation module is specifically used for when obtaining the description information of the second disk corresponding with the Mirror Info: from depositing The description information of the second disk corresponding with the Mirror Info is inquired in storage server;Wherein, the storage service Device is used to record the corresponding relationship of Mirror Info and description information.
22. device according to claim 19, which is characterized in that further include:
Sending module, for the description information of first disk to be supplied to second server, so that the second server The image file in first disk is obtained according to the description information;
The sending module is specifically used for when the description information of first disk is supplied to second server: determining described The corresponding Mirror Info of image file in one disk;By the correspondence of the description information of the Mirror Info and first disk Relationship is stored into storage server;The Mirror Info is sent to the second server, so that the second server The description information of first disk corresponding with the Mirror Info is inquired from the storage server.
23. a kind of image file acquisition device, which is characterized in that be applied to second server, comprising:
Module is obtained, for obtaining the description information of the first disk in storage equipment;
Creation module, for creating third disk in the storage device according to the description information of first disk, wherein The third disk includes the image file in first disk;
Carry module, for the third disk to be mounted to the second server;
Module is run, for running the image file in the third disk.
24. device according to claim 23, which is characterized in that the module that obtains obtains the first magnetic stored in equipment It is specifically used for when the description information of disk: obtains the corresponding Mirror Info of image file in first disk;Obtain with it is described The description information of corresponding first disk of Mirror Info;
Described obtain when module obtains the description information of corresponding with the Mirror Info first disk is specifically used for: from depositing The description information of first disk corresponding with the Mirror Info is inquired in storage server;Wherein, the storage service Device is used to record the corresponding relationship of Mirror Info and description information.
25. a kind of first server characterized by comprising processor and machine readable storage medium, it is described machine readable to deposit Several computer instructions are stored on storage media, the processor is handled as follows when executing the computer instruction: depositing Store up creation the first disk corresponding with image file in equipment;First disk is mounted to the first server;By institute It states image file and is written to first disk.
26. a kind of second server characterized by comprising processor and machine readable storage medium, it is described machine readable to deposit Several computer instructions are stored on storage media, the processor is handled as follows when executing the computer instruction: obtaining Store the description information of the first disk in equipment;It is created in the storage device according to the description information of first disk Third disk, wherein the third disk includes the image file in first disk;The third disk is mounted to institute State second server;Run the image file in the third disk.
CN201810381789.8A 2018-04-25 2018-04-25 Image file creation and acquisition method, device and server Active CN110399248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810381789.8A CN110399248B (en) 2018-04-25 2018-04-25 Image file creation and acquisition method, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810381789.8A CN110399248B (en) 2018-04-25 2018-04-25 Image file creation and acquisition method, device and server

Publications (2)

Publication Number Publication Date
CN110399248A true CN110399248A (en) 2019-11-01
CN110399248B CN110399248B (en) 2023-08-15

Family

ID=68320029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810381789.8A Active CN110399248B (en) 2018-04-25 2018-04-25 Image file creation and acquisition method, device and server

Country Status (1)

Country Link
CN (1) CN110399248B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559077A (en) * 2020-12-21 2021-03-26 厦门市美亚柏科信息股份有限公司 Disk self-adaptive partitioning method, device and system based on mirror image
CN112657185A (en) * 2020-12-25 2021-04-16 北京像素软件科技股份有限公司 Game data processing method, device, system, server and storage medium
CN113986124A (en) * 2021-10-25 2022-01-28 深信服科技股份有限公司 User configuration file access method, device, equipment and medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605618A (en) * 2013-11-20 2014-02-26 浪潮电子信息产业股份有限公司 Non-write-back mirror image and direct write switching method for cache mirror image system
CN104199683A (en) * 2014-08-07 2014-12-10 杭州华三通信技术有限公司 ISO mirror image document loading method and device
WO2015051641A1 (en) * 2013-10-12 2015-04-16 华为技术有限公司 Method and apparatus for reclaiming space of magnetic disk image
CN105740052A (en) * 2016-01-28 2016-07-06 浪潮(北京)电子信息产业有限公司 Method, device and system for online migration of virtual machines of non-shared memories
US9396205B1 (en) * 2011-09-20 2016-07-19 Netapp, Inc. Detection and handling of namespace changes in a data replication system
CN105843704A (en) * 2016-03-15 2016-08-10 上海爱数信息技术股份有限公司 Data protection method and system capable of combining with snapshot function based on distributed block storage
CN106469117A (en) * 2015-08-14 2017-03-01 中国电信股份有限公司 A kind of SRM method and device for virtual machine storage migration
CN106598692A (en) * 2015-10-20 2017-04-26 中兴通讯股份有限公司 Method for creating mirror image file in logical volume and starting virtual machine, and server
CN106815095A (en) * 2016-12-13 2017-06-09 龚平 Virtual-machine data guard method under a kind of cloud platform environment
CN107273183A (en) * 2017-06-12 2017-10-20 上海优刻得信息科技有限公司 Disk bleach-out process, device, system and the server of loaded virtual machine mirror image
CN107562483A (en) * 2017-07-26 2018-01-09 博为科技有限公司 A kind of method and device of carry guiding file system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9396205B1 (en) * 2011-09-20 2016-07-19 Netapp, Inc. Detection and handling of namespace changes in a data replication system
WO2015051641A1 (en) * 2013-10-12 2015-04-16 华为技术有限公司 Method and apparatus for reclaiming space of magnetic disk image
CN103605618A (en) * 2013-11-20 2014-02-26 浪潮电子信息产业股份有限公司 Non-write-back mirror image and direct write switching method for cache mirror image system
CN104199683A (en) * 2014-08-07 2014-12-10 杭州华三通信技术有限公司 ISO mirror image document loading method and device
CN106469117A (en) * 2015-08-14 2017-03-01 中国电信股份有限公司 A kind of SRM method and device for virtual machine storage migration
CN106598692A (en) * 2015-10-20 2017-04-26 中兴通讯股份有限公司 Method for creating mirror image file in logical volume and starting virtual machine, and server
CN105740052A (en) * 2016-01-28 2016-07-06 浪潮(北京)电子信息产业有限公司 Method, device and system for online migration of virtual machines of non-shared memories
CN105843704A (en) * 2016-03-15 2016-08-10 上海爱数信息技术股份有限公司 Data protection method and system capable of combining with snapshot function based on distributed block storage
CN106815095A (en) * 2016-12-13 2017-06-09 龚平 Virtual-machine data guard method under a kind of cloud platform environment
CN107273183A (en) * 2017-06-12 2017-10-20 上海优刻得信息科技有限公司 Disk bleach-out process, device, system and the server of loaded virtual machine mirror image
CN107562483A (en) * 2017-07-26 2018-01-09 博为科技有限公司 A kind of method and device of carry guiding file system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
SHENGTAO YANG: ""MeshFS: A distributed file system for cloud-based wireless mesh network"", 《JOURNAL OF SYSTEMS AND SOFTWARE》, vol. 131, pages 201 - 217 *
YZY121403725: ""详解Docker挂载本地目录及实现文件共享"", pages 1 - 6, Retrieved from the Internet <URL:《https://blog.51cto.com/lookingdream/2060992》> *
毕雪峰: ""一种基于XenServer的虚拟机机群管理机制"", 《中国优秀硕士学位论文全文数据库 信息科技辑》, no. 2018, pages 137 - 5 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559077A (en) * 2020-12-21 2021-03-26 厦门市美亚柏科信息股份有限公司 Disk self-adaptive partitioning method, device and system based on mirror image
CN112559077B (en) * 2020-12-21 2023-03-17 厦门市美亚柏科信息股份有限公司 Disk self-adaptive partitioning method, device and system based on mirror image
CN112657185A (en) * 2020-12-25 2021-04-16 北京像素软件科技股份有限公司 Game data processing method, device, system, server and storage medium
CN113986124A (en) * 2021-10-25 2022-01-28 深信服科技股份有限公司 User configuration file access method, device, equipment and medium
CN113986124B (en) * 2021-10-25 2024-02-23 深信服科技股份有限公司 User configuration file access method, device, equipment and medium

Also Published As

Publication number Publication date
CN110399248B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
CN105468473B (en) Data migration method and data migration device
CN106487850B (en) The methods, devices and systems of mirror image are obtained under a kind of cloud environment
CN105338358B (en) The method and device that image is decoded
CN106446159B (en) A kind of method of storage file, the first virtual machine and name node
CN104050216B (en) For customizing the file system manager of resource allocation
CN107430528A (en) Opportunistic resource migration is placed with optimizing resource
CN104572656B (en) A kind of method and device of disk mirroring space reclamation
CN104881466B (en) The processing of data fragmentation and the delet method of garbage files and device
US20140136712A1 (en) Cloud resources as a service multi-tenant data model
CN110399248A (en) A kind of image file creation, acquisition methods, device and server
CN109614202A (en) Backup, recovery and the mirror processing method and system of container environment
CN105635311A (en) Method for synchronizing resource pool information in cloud management platform
CN113419881B (en) Local shared memory operation method and system based on universal blackboard
CN109992956A (en) The processing method and relevant apparatus of the security strategy of container
CN110007858A (en) Memory allocation method and device
CN108475201A (en) A kind of data capture method in virtual machine start-up course and cloud computing system
US11157456B2 (en) Replication of data in a distributed file system using an arbiter
CN114594914A (en) Control method and system for distributed storage system
US9342527B2 (en) Sharing electronic file metadata in a networked computing environment
CN110134735A (en) The storage method and device of distributed transaction log
US11003652B1 (en) Multi-write database modification
CN102722543B (en) Method for storing files
CN109977079A (en) A kind of data processing method and device based on distributed file system
CN112286448B (en) Object access method and device, electronic equipment and machine-readable storage medium
KR101838944B1 (en) Rendering system and method

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