CN110933120A - Computing method, device and system based on hybrid cloud - Google Patents

Computing method, device and system based on hybrid cloud Download PDF

Info

Publication number
CN110933120A
CN110933120A CN201811096061.7A CN201811096061A CN110933120A CN 110933120 A CN110933120 A CN 110933120A CN 201811096061 A CN201811096061 A CN 201811096061A CN 110933120 A CN110933120 A CN 110933120A
Authority
CN
China
Prior art keywords
data
request
storage manager
storage medium
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811096061.7A
Other languages
Chinese (zh)
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 CN201811096061.7A priority Critical patent/CN110933120A/en
Publication of CN110933120A publication Critical patent/CN110933120A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols 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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0664Virtualisation aspects at device level, e.g. emulation of a storage device or system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a hybrid cloud-based computing method, device and system, wherein the method is executed by a first storage manager in a first cloud network, and the method comprises the following steps: generating a first virtual storage medium corresponding to the mirror image file on the second cloud network; in response to a compute instance on a first cloud network being launched, receiving a data request related to the compute instance forwarded by a first virtual storage medium; and processing the data request by utilizing a second storage manager, wherein the second storage manager is a second virtual storage medium used for managing the storage image file on a second cloud network. By the method and the device, the virtual storage medium can be generated, data related to the calculation example are kept consistent in the virtual storage medium and the image file, and therefore the storage file and the calculation example can be decoupled.

Description

Computing method, device and system based on hybrid cloud
Technical Field
The present application relates to the field of computer technologies, and in particular, to a computing method, device, and system based on a hybrid cloud.
Background
A hybrid cloud may refer to a cloud network architecture consisting of two or more cloud networks that communicate and/or share data. A hybrid cloud may be an interaction between a private cloud and a public cloud, where the private cloud connects to and utilizes public cloud resources in a secure and extensible manner. The hybrid cloud model may provide advantages over other cloud models. For example, the hybrid cloud model allows an enterprise to protect its existing assets, maintain control over sensitive data and applications, and maintain control over its network, processing, and storage resources. Further, hybrid clouds may allow enterprises to expand their environment as their demand for processing resources and storage increases or decreases. This upward or downward expansion may occur with minimal or no impact on existing physical network resources (e.g., on-site physical servers).
Currently, enterprises have not satisfied storage functionality using only a hybrid cloud, but desire to utilize hybrid clouds for computing. The existing hybrid cloud computing method is to migrate all enterprise-related data to a public cloud and then execute computing by using a virtual machine in the public cloud. This approach has long data migration time and, moreover, if the enterprise desires to obtain the computation results, the computation results need to be returned to the enterprise after the public cloud performs the computation. Therefore, there is a need in the art for a solution that better performs computing in a hybrid cloud environment.
The above information is presented merely as background information to aid in understanding the present disclosure. No determination has been made, nor has a statement been made, as to whether any of the above information is applicable as prior art against the present disclosure.
Disclosure of Invention
Exemplary embodiments of the present application provide a hybrid cloud-based computing method, apparatus and system for solving the above-mentioned computing problem in a hybrid cloud environment.
An exemplary embodiment of the present application provides a hybrid cloud-based computing method, the method being performed by a first storage manager within a first cloud network, the method comprising: generating a first virtual storage medium corresponding to the mirror image file on the second cloud network; in response to a compute instance on a first cloud network being launched, receiving a data request related to the compute instance forwarded by a first virtual storage medium; and processing the data request by utilizing a second storage manager, wherein the second storage manager is a second virtual storage medium used for managing the storage image file on a second cloud network.
Another exemplary embodiment of the present application provides a computer-readable storage medium having stored thereon computer instructions, wherein the instructions, when executed, implement the above-described method.
Another exemplary embodiment of the present application provides a hybrid cloud-based computing apparatus, including: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to: generating a first virtual storage medium corresponding to the mirror image file on the second cloud network; in response to a compute instance on a first cloud network being launched, receiving a data request related to the compute instance forwarded by a first virtual storage medium; and processing the data request by utilizing a second storage manager, wherein the second storage manager is a second virtual storage medium used for managing the storage image file on a second cloud network.
Another exemplary embodiment of the present application provides a hybrid cloud system, including: a first cloud network comprising: a first storage manager configured to generate a first virtual storage medium corresponding to an image file on a second cloud network; in response to a computing instance on a first cloud network being launched, receiving a data request from a first virtual storage medium to send data related to the computing instance; sending the data request to a second storage manager; a second cloud network comprising: and the second storage manager is configured to manage a second virtual storage medium for storing the image file, and after receiving the data request from the first storage manager, read the data in the data request from the second virtual storage medium or write the data in the data request to the second virtual storage medium.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects: by adopting the method and the device, the virtual storage medium is generated, and the data request of the calculation example is executed through the first storage manager and the second storage manager, so that the data related to the calculation example is kept consistent in the virtual storage medium and the image file, and the storage file and the calculation example can be decoupled.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic diagram of a hybrid cloud architecture according to an exemplary embodiment of the present application;
FIG. 2 is a flow diagram of a hybrid cloud-based computing method according to an exemplary embodiment of the present application;
FIG. 3 shows a schematic diagram of an example of computing on a public cloud network based on a hybrid cloud computing method according to an example embodiment of the present application;
FIG. 4 shows a schematic diagram of an example of computing on a private cloud network based on a hybrid cloud computing method according to an example embodiment of the present application;
fig. 5 illustrates a block diagram of a hybrid cloud-based computing device according to an exemplary embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Before describing exemplary embodiments of the present application, terms referred to in the present application will be explained first to facilitate better understanding of the present application by those skilled in the art.
The degree of coupling refers to the degree of coupling between objects, that is, the degree of dependency between objects, and if an object needs to know the state of another object and needs to depend on the behavior of another object, it is said that there is coupling between the two objects.
Decoupling refers to reducing the degree of coupling between objects. Cloud computing generally binds an image file with a computing instance, but the image file and the computing instance can be decoupled by using the method of the exemplary embodiment of the present application, so that the technical effect of separation of computing and storage is achieved.
A Virtual Machine (Virtual Machine) refers to a complete computer system with complete hardware system functionality, operating in a completely isolated environment, simulated by software. In a public cloud network or a private cloud network, various functions can be realized together through the cooperative operation of a plurality of virtual machines.
An Elastic Computing Cloud (Elastic Computing Cloud) is a Cloud Computing service, that is, a local physical server is virtualized into a plurality of virtual servers for use based on a virtualization technology, so that the utilization rate of resources is increased, and the cost is compressed. By using the method of the exemplary embodiment of the application, the computing instance can be executed only by using the computing capacity or the storage capacity required by the computing instance in the elastic computing cloud environment, and the cost is saved.
The virtual volume may also be referred to as a virtual disk, and mainly refers to a storage resource provided for a virtual machine, as opposed to a physical disk, and is generally obtained by integrating and dividing physical storage resources.
An image file refers to a virtual data storage medium that a virtual machine reads/writes while running a certain system/instance (e.g., software developed by user 10 in fig. 1). That is, data of the system/computing instance running on the virtual machine is stored in the corresponding image file, and the virtual machine needs to read/write the data to the image file when executing the system/computing instance.
Fig. 1 is a schematic diagram of a hybrid cloud architecture according to an exemplary embodiment of the present application. As shown in fig. 1, a public cloud network 200 may provide services for a plurality of users, each of which may be connected to the public cloud network in the form of a private cloud network 100, and each of which is an internal network built by each user according to the situation thereof, thereby providing the most effective control of data, security, and quality of service. Often users may build their own private cloud networks using existing infrastructure. In fig. 1, the private cloud network 100 includes three private cloud networks, and when the user 10 executes a computing instance on an electronic device, the computing instance executed by the user 10 may be cooperatively completed by using a virtual machine in the private cloud networks. In this process, the company in which the user 10 is located may utilize a public cloud network storage resource or execute a computing instance.
Fig. 2 is a flowchart of a hybrid cloud-based computing method according to an exemplary embodiment of the present application. According to an example embodiment of the present application, the computing method may be performed by a first storage manager in a first cloud network, wherein the first storage manager may be used to manage virtual storage media for storing data on the first cloud network.
As shown in fig. 2, in step S210, a first virtual storage medium corresponding to an image file on a second cloud network is generated. Specifically, information of the image files, including the size and number of the image files, may be predetermined, and then a virtual storage medium (e.g., a virtual volume/virtual disk) is generated for each image file, it should be noted that the virtual storage medium is only a reserved storage space and does not include any data.
When the first cloud network is a public cloud network and the second cloud network is a private cloud network, the image file on the second cloud network refers to an image file corresponding to the specific private cloud network, and the image file may be one or more. And when the first cloud network is a private cloud network and the second cloud network is a public cloud network, the image file on the second cloud network is obtained by uploading the image file in the private cloud network to the public cloud network.
In step S220, in response to a computing instance on the first cloud network being started, a data request related to the computing instance forwarded by the first virtual storage medium is received. Specifically, the first cloud network may create and start a compute instance through an encapsulated open API (Application Programming Interface), in which process the compute instance needs to read data related to starting the compute instance from an image file. In the present application, the image file is separate from the computing instance (i.e., computing environment), and thus, in response to the computing instance being launched on the first cloud network, the computing instance may send a data request associated with the computing instance to the virtual storage medium corresponding to the image file.
As can be seen from the above description, the virtual storage medium does not include any data, and therefore, after receiving the data request, the virtual storage medium can read data from the image file, but because the image file is on the second cloud network, the virtual machine in the first cloud network does not have an authority to operate the image file, and if the image file is directly read and written, the data at both ends may be inconsistent.
The first virtual storage media then forwards the data request to the first storage manager. And the first storage manager processes the data request using a second storage manager in step S230, wherein the second storage manager is a second virtual storage medium on a second cloud network for managing storage of the mirror image file, that is, the first storage manager processes the data request by performing data transmission with the second storage manager on the second cloud network, and the second storage manager is a second virtual storage medium for managing storage of the mirror image file. And after the data transmission is carried out between the first storage manager and the second storage manager, the data included in the data request is kept consistent in the virtual storage medium and the image file. In other words, a processing result of processing the data included in the data request may be received from a storage manager that manages a virtual storage medium for storing the image file, and the processing result may ensure that the data included in the data request is consistent in the virtual storage medium and the image file, that is, consistent in the first cloud network and the second cloud network.
Specifically, the image file may be stored in a second virtual storage medium in the second cloud network, and the second virtual storage medium may be managed by using a second storage manager, that is, after receiving a read-write request for the virtual storage medium, the read-write request may be sent to a second storage manager corresponding to the second virtual storage medium, and the read-write operation for the second virtual storage medium is implemented by the second storage manager, it should be noted that the second storage manager corresponds to the image file, and the image file may be stored in a plurality of virtual storage media, and therefore, the second storage manager may manage the plurality of virtual storage media, that is, the second virtual storage medium may be one or more virtual storage media.
For example, when the data request is a read operation, the first storage manager may forward the read operation to the second storage manager, the second storage manager reads data from a virtual storage medium storing an image file and sends the data to the first storage manager, and the first storage manager may send the data to a virtual storage medium in a second cloud network for reading by the compute instance. When the data request is a write operation, the write operation may be forwarded to the second storage manager, and the second storage manager writes the data to the corresponding virtual storage medium according to the write operation, that is, finally writes the data to the image file. As can be seen, the data ultimately associated with the compute instance, whether it be a read operation or a write operation, is consistent across the virtual storage media and the image file.
According to an example embodiment of the present application, a CACHE (CACHE) corresponding to a first storage manager may be provided in a first cloud network. CACHE is a small-scale but fast-access memory that is constructed. The CACHE stores a copy of some of the data in memory (called the memory image) so that when data is read or written, the CHAHE can be accessed first, and when no desired data exists in the CACHE, the memory can be accessed again.
When a CACHE is set in the first cloud network, when the data request is a read operation, the first storage manager may access the CACHE before forwarding the read operation to the second storage manager, if the CACHE stores data expected in the read operation, the data is sent from the CACHE to the first storage manager, and if the CACHE does not store the data expected in the read operation, the read operation is forwarded to the second storage manager, the second storage manager reads the data from the virtual storage medium storing the image file and sends the data to the first storage manager, and the first storage manager may send the data to the virtual storage medium in the first cloud network for reading by the computing instance. When the data request is a write operation, data in the write operation may be written into the CACHE first, and then the write operation may be forwarded to the second storage manager, and the second storage manager writes the data into the corresponding virtual storage medium according to the write operation, that is, finally writes the data into the image file. As can be seen, the data ultimately associated with the compute instance, whether it be a read operation or a write operation, is consistent across the virtual storage media and the image file.
That is, before data transmission is performed by the second storage manager on the second cloud network, data reading or data writing may be performed on the CACHE according to the data request, so that the data processing rate may be increased.
The following describes processes of processing a computing instance on a private cloud and a computing instance on a public cloud with reference to fig. 3 and 4, respectively. Fig. 3 shows a schematic diagram of an example of computing on a public cloud network based on a hybrid cloud computing method according to an example embodiment of the present application. Fig. 4 shows a schematic diagram of an example of computing on a private cloud network based on a hybrid cloud computing method according to an example embodiment of the present application.
Fig. 3 shows that the computing instance is started in the public cloud network, which illustrates that the user selects the computing capability of the public cloud network in the service of purchasing the public cloud network, and stores the image file in the private cloud network. As shown in fig. 3, on the private cloud side, a virtual machine in the private cloud network may store an image file in a virtual storage medium, and a private cloud storage manager controls reading and writing of data on the virtual storage medium.
On the public cloud side, the public cloud storage manager may generate a virtual storage medium for an image file in the private cloud network, and then, in response to the computing instance being started, the computing instance requests data from the virtual storage medium, the virtual storage medium does not have data therein, so the virtual storage medium sends the request to the public cloud storage manager.
The public cloud storage manager can utilize data communication with the private cloud storage manager to realize the requirement of the computing instance on data. For example, when the computing instance needs a read operation, the public cloud storage manager may forward the read operation to the private cloud storage manager, the private cloud storage manager sends data required for the read operation to the public cloud storage manager after acquiring the data from the virtual storage medium storing the mirror image file, the public cloud storage manager sends the data to the virtual storage medium directly accessed by the computing instance after acquiring the data, and finally the computing instance may acquire the required data from the virtual storage medium. In this process, the public cloud storage manager may first access the CACHE to determine whether there is data requested in the read operation in the CACHE, and if so, may directly read the data from the CACHE, and if not, may read the data as described above.
And when the computing instance executes the write operation, the public cloud storage manager can send the write operation to the private cloud storage manager, and the private cloud storage manager can write data included in the write operation into the virtual storage medium, so that the image file and the virtual storage medium in the public cloud are kept consistent with respect to the write data. In the process, the public cloud storage manager can write the written data into the CACHE firstly, and then can forward the writing operation to the private cloud storage manager, and the private cloud storage manager writes the data into the corresponding virtual storage medium according to the writing operation, that is, finally writes the data into the image file.
Fig. 4 shows that the computing instance is started in the private cloud network, which illustrates that the storage capability of the public cloud network is selected by the user in the service of purchasing the public cloud network, so that the user can upload and store the image file in the public cloud network in advance. As shown in fig. 4, on the public cloud side, the virtual machine in the public cloud network may store the image file in the virtual storage medium, and the public cloud storage manager controls reading and writing of data on the virtual storage medium.
On the private cloud side, the private cloud storage manager may generate a virtual storage medium for an image file in the public cloud network, and then, in response to the computing instance being started, the computing instance requests data from the virtual storage medium, the virtual storage medium does not have data therein, so the virtual storage medium sends the request to the private cloud storage manager.
The private cloud storage manager can utilize data communication with the public cloud storage manager to realize the requirement of the computing instance on data. For example, when the computing instance needs a read operation, the private cloud storage manager may forward the read operation to the public cloud storage manager, the public cloud storage manager sends data required for the read operation to the private cloud storage manager after acquiring the data from the virtual storage medium storing the mirror image file, the private cloud storage manager sends the data to the virtual storage medium directly accessed by the computing instance after acquiring the data, and finally the computing instance may acquire the required data from the virtual storage medium. In this process, the private cloud storage manager may also access the CACHE first to determine whether there is data requested in the read operation in the CACHE, and if so, may directly read the data from the CACHE, and if not, may read the data as described above.
And when the computing instance executes the write operation, the private cloud storage manager can send the write operation to the public cloud storage manager, and the public cloud storage manager can write data included in the write operation into the virtual storage medium, so that the image file and the virtual storage medium in the private cloud are consistent with respect to the write data. In the process, the private cloud storage manager can write the write data into the CACHE first, and then can forward the write operation to the public cloud storage manager, and the public cloud storage manager writes the data into the corresponding virtual storage medium according to the write operation, that is, finally writes the data into the image file.
In summary, according to the hybrid cloud-based computing method of the exemplary embodiments of the present application, a first storage manager in a first cloud network may be utilized to generate a virtual storage medium and keep data related to a computing instance consistent in the virtual storage medium and an image file, so that a storage file can be decoupled from the computing instance. Furthermore, CACHE can be utilized in the process of executing data operation, so that the data reading and writing speed is faster.
There is also provided, in accordance with an exemplary embodiment of the present application, a hybrid cloud system, the system including: a first cloud network comprising: a first storage manager configured to generate a first virtual storage medium corresponding to an image file on a second cloud network; in response to a computing instance on a first cloud network being launched, receiving a data request from a first virtual storage medium to send data related to the computing instance; sending the data request to a second storage manager; a second cloud network comprising: and the second storage manager is configured to manage a second virtual storage medium for storing the image file, and after receiving the data request from the first storage manager, read data in the data request from the second virtual storage medium or write data in the data request to the second virtual storage medium.
In order to more clearly understand the inventive concept of the exemplary embodiments of the present application, a block diagram of a hybrid cloud-based computing device of the exemplary embodiments of the present application will be described below with reference to fig. 5. Those of ordinary skill in the art will understand that: only the components related to the present exemplary embodiment are shown in fig. 5, and general components other than those shown in fig. 5 are also included in the hybrid cloud-based computing apparatus.
Fig. 5 illustrates a block diagram of a hybrid cloud-based computing device of an exemplary embodiment of the present application. It should be noted that the hybrid cloud-based computing device refers to a device that can perform a hybrid cloud-based computing method. Referring to fig. 5, at a hardware level, the hybrid cloud-based computing device includes a processor, an internal bus, and a computer-readable storage medium, wherein the computer-readable storage medium includes volatile memory and non-volatile memory. The processor reads the corresponding computer program from the non-volatile memory and then runs it. Of course, besides the software implementation, the present application does not exclude other implementations, such as logic devices or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
Specifically, the processor performs the following operations: generating a first virtual storage medium corresponding to the mirror image file on the second cloud network; in response to a compute instance on a first cloud network being launched, receiving a data request related to the compute instance forwarded by a first virtual storage medium; and processing the data request by utilizing a second storage manager, wherein the second storage manager is a second virtual storage medium used for managing the storage image file on a second cloud network.
Optionally, the processing, by the processor in the implementing step, the data request by using the second storage manager includes: and processing the data request by using a second storage manager in a data processing mode corresponding to the request type of the data request.
Optionally, in the implementation step, the processing, by the first storage manager, the data request by using the second storage manager in a data processing manner corresponding to the request type of the data request includes: determining that the data request is a read request to read data; sending the read request to a second storage manager; and sending and storing the read data received from the second storage manager to the first virtual storage medium, wherein the read data is read from the first virtual storage medium by the computing instance.
Optionally, before the step of sending the read request to the second storage manager, the processor further includes: sending the read request to a cache; determining whether the read data is present in a cache; if the read data does not exist in the cache, the read request is sent to a second storage manager.
Optionally, the processor further implements the steps of: and if the read data exists in the cache, obtaining the read data from the cache, and sending and storing the read data to a first virtual storage medium.
Optionally, the processing, by the processor in the implementation step, the processing the data request by using a data processing manner corresponding to the request type of the data request by using a second storage manager includes: determining that the data request is a write request to write data; sending the write request to a second storage manager; and the write data is written into the second virtual storage medium by the second storage manager according to the write request.
Optionally, before the step of sending the write request to the second storage manager, the processor further includes: the write data is written to a cache.
In summary, the hybrid cloud-based computing device according to the exemplary embodiments of the present application may generate a virtual storage medium using a first storage manager in a first cloud network and keep data related to a computing instance consistent in the virtual storage medium and an image file, so that a storage file can be decoupled from the computing instance. Furthermore, CACHE can be utilized in the process of executing data operation, so that the data reading and writing speed is faster.
It should be noted that the execution subjects of the steps of the method provided in embodiment 1 may be the same device, or different devices may be used as the execution subjects of the method. For example, the execution subject of steps 21 and 22 may be device 1, and the execution subject of step 23 may be device 2; for another example, the execution subject of step 21 may be device 1, and the execution subjects of steps 22 and 23 may be device 2; and so on.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A hybrid cloud-based computing method, the method performed by a first storage manager within a first cloud network, comprising:
generating a first virtual storage medium corresponding to the mirror image file on the second cloud network;
in response to a compute instance on a first cloud network being launched, receiving a data request related to the compute instance forwarded by a first virtual storage medium;
and processing the data request by utilizing a second storage manager, wherein the second storage manager is a second virtual storage medium used for managing the storage image file on a second cloud network.
2. The method of claim 1, wherein processing the data request with a second storage manager comprises:
and processing the data request by using a second storage manager in a data processing mode corresponding to the request type of the data request.
3. The method of claim 2, wherein the first storage manager processing the data request with the second storage manager in a data processing manner corresponding to a request type of the data request comprises:
determining that the data request is a read request to read data;
sending the read request to a second storage manager;
and sending and storing the read data received from the second storage manager to the first virtual storage medium, wherein the read data is read from the first virtual storage medium by the computing instance.
4. The method of claim 3, wherein sending the read request to the second storage manager further comprises:
sending the read request to a cache;
determining whether the read data is present in a cache;
if the read data does not exist in the cache, the read request is sent to a second storage manager.
5. The method of claim 4, further comprising:
and if the read data exists in the cache, obtaining the read data from the cache, and sending and storing the read data to a first virtual storage medium.
6. The method of claim 2, wherein processing the data request with a second storage manager in a data processing manner corresponding to a request type of the data request comprises:
determining that the data request is a write request to write data;
sending the write request to a second storage manager;
and the written data is written into the second virtual storage medium by the second storage manager according to the writing request.
7. The method of claim 6, wherein sending the write request to the second storage manager further comprises:
the write data is written to a cache.
8. A computer readable storage medium having computer instructions stored thereon that, when executed, implement the method of any of claims 1 to 7.
9. A hybrid cloud-based computing apparatus, comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the method of any of claims 1 to 7.
10. A hybrid cloud system, comprising:
a first cloud network comprising:
a first storage manager configured to, in response to a compute instance on a first cloud network being started,
generating a first virtual storage medium corresponding to the mirror image file on the second cloud network; receiving a data request sent by a first virtual storage medium in relation to the compute instance; sending the data request to a second storage manager;
a second cloud network comprising:
a second storage manager configured to manage a second virtual storage medium storing the image file,
and after receiving the data request from the first storage manager, reading the data in the data request from the second virtual storage medium or writing the data in the data request to the second virtual storage medium.
CN201811096061.7A 2018-09-19 2018-09-19 Computing method, device and system based on hybrid cloud Pending CN110933120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811096061.7A CN110933120A (en) 2018-09-19 2018-09-19 Computing method, device and system based on hybrid cloud

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811096061.7A CN110933120A (en) 2018-09-19 2018-09-19 Computing method, device and system based on hybrid cloud

Publications (1)

Publication Number Publication Date
CN110933120A true CN110933120A (en) 2020-03-27

Family

ID=69855203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811096061.7A Pending CN110933120A (en) 2018-09-19 2018-09-19 Computing method, device and system based on hybrid cloud

Country Status (1)

Country Link
CN (1) CN110933120A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111429140A (en) * 2020-03-30 2020-07-17 上海简苏网络科技有限公司 Method and device for realizing atomicity of multi-level intelligent contract stack

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102467408A (en) * 2010-11-12 2012-05-23 阿里巴巴集团控股有限公司 Method and device for accessing data of virtual machine
US20140181436A1 (en) * 2012-12-20 2014-06-26 Dropbox, Inc. Isolating data storage mirroring operations
CN105988721A (en) * 2015-02-10 2016-10-05 中兴通讯股份有限公司 Data caching method and apparatus for network disk client
US20170147601A1 (en) * 2015-11-23 2017-05-25 Netapp Inc. Synchronous replication for file access protocol storage
US9785647B1 (en) * 2012-10-02 2017-10-10 Axcient, Inc. File system virtualization

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102467408A (en) * 2010-11-12 2012-05-23 阿里巴巴集团控股有限公司 Method and device for accessing data of virtual machine
US9785647B1 (en) * 2012-10-02 2017-10-10 Axcient, Inc. File system virtualization
US20140181436A1 (en) * 2012-12-20 2014-06-26 Dropbox, Inc. Isolating data storage mirroring operations
CN105988721A (en) * 2015-02-10 2016-10-05 中兴通讯股份有限公司 Data caching method and apparatus for network disk client
US20170147601A1 (en) * 2015-11-23 2017-05-25 Netapp Inc. Synchronous replication for file access protocol storage

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗伟: "面向多级缓存的大规模虚拟机镜像存储系统的研究与实现", 《中国优秀硕士学位论文全文数据库(电子期刊)》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111429140A (en) * 2020-03-30 2020-07-17 上海简苏网络科技有限公司 Method and device for realizing atomicity of multi-level intelligent contract stack

Similar Documents

Publication Publication Date Title
US11023286B2 (en) Container based service management
US11061709B2 (en) Storage management for deployment of virtual machine
US10606881B2 (en) Sharing container images between mulitple hosts through container orchestration
US10609145B2 (en) Serializing access to data objects in a logical entity group in a network storage
US20160092119A1 (en) Data migration between different types of storage systems
US20150302071A1 (en) Cloud Based Data Migration and Replication
US9886398B2 (en) Implicit sharing in storage management
US11036889B2 (en) Efficient auditing of data in object storage
US20190155534A1 (en) Methods and systems for improving efficiency in cloud-as-backup tier
US11093272B2 (en) Virtual machine allocation and migration between hardware devices by destroying and generating enclaves using transmitted datafiles and cryptographic keys
US11061746B2 (en) Enqueue-related processing based on timing out of an attempted enqueue
US20230115261A1 (en) Migrating stateful workloads between container clusters with different storage backends
CN108459910A (en) A kind of method and apparatus for deleting resource
US11113075B2 (en) Launching a middleware-based application
CN111078127B (en) Data migration method, system and device
WO2021013185A1 (en) Virtual machine migration processing and strategy generation method, apparatus and device, and storage medium
US11003652B1 (en) Multi-write database modification
US11570153B2 (en) Virtual machine perfect forward secrecy
CN110933120A (en) Computing method, device and system based on hybrid cloud
US10102020B2 (en) Methods, systems, and computer readable media for virtual machine (VM) deployment using read-only memory
CN111435320B (en) Data processing method and device
US10789008B2 (en) Reducing write collisions in data copy
US11409615B2 (en) Cloning storage volumes from backup
CN112527323A (en) Method and device for installing Ambari and Ambari framework
US11977785B2 (en) Non-volatile memory device-assisted live migration of virtual machine data

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40026855

Country of ref document: HK

RJ01 Rejection of invention patent application after publication

Application publication date: 20200327

RJ01 Rejection of invention patent application after publication