The present invention relates to the field of digital computer systems, and more specifically, to a method for performing a set of a matrix convolution on a multidimensional input matrix for obtaining a multidimensional output matrix using a memristive crossbar array.
The computational memory is a promising approach in the field of non-von Neumann computing paradigms, in which nanoscale resistive memory devices are simultaneously storing data performing basic computational tasks. For example, by arranging these devices in a crossbar configuration, matrix-vector multiplications may be performed. However, there is a continuous need to improve the usage of these crossbar configurations.
Various embodiments of the present invention provide a method for performing a matrix convolution on a multidimensional input matrix for obtaining a multidimensional output matrix using a memristive crossbar array, and crossbar array as described by the subject matter of the independent claims. Embodiments of the present invention can be freely combined with each other if they are not mutually exclusive.
In one embodiment, the invention relates to a method for performing a matrix convolution on a multidimensional input matrix for obtaining a multidimensional output matrix. The matrix convolution may involve a set of dot product operations for obtaining all elements of the output matrix. Each dot product operation of the set of dot product operations may involve an input submatrix of the input matrix and at least one convolution matrix. The method may include providing a memristive crossbar array configured to perform a vector matrix multiplication, computing a subset of the set of dot product operations by storing the convolution matrices of the subset of dot product operations in the crossbar array, and inputting to the crossbar array one input vector comprising all distinct elements of the input submatrices of the subset.
In another embodiment, the invention relates to a memristive crossbar array for performing a matrix convolution on a multidimensional input matrix for obtaining a multidimensional output matrix. The matrix convolution may involve a set of dot product operations for obtaining all elements of the output matrix. Each dot product operation of the set of dot product operations may involve an input submatrix of the input matrix and at least one convolution matrix. The crossbar array may be configured to store the convolution matrices in the crossbar array such that one input vector comprising all distinct elements of the input submatrices can be input to the crossbar array in order to perform a subset of dot product operations of the set of dot product operations.
In the following embodiments of the invention are explained in greater detail, by way of example only, making reference to the drawings in which:
The descriptions of the various embodiments of the present invention will be presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
The matrix-vector multiplication of a matrix W and vector x may be realized through the memristive crossbar array by representing each matrix element with the conductance of the corresponding memristor element of the array. The multiplication of the matrix W and vector x may be performed by inputting voltages representing the vector values to the crossbar array. The resulting currents are indicative of the product of W and x. A resistive memory element (or device) of the crossbar array may for example be one of a phase change memory (PCM), metal-oxide resistive RAM, conductive bridge RAM and magnetic RAM. In another example, the crossbar array may comprise charge-based memory elements such as SRAM and Flash (NOR and NAND) elements. A representation scheme of the matrix W and conductance G of the crossbar array that enables to obtain the final product may be the following scheme
where Gmax is given by the conductance range of the crossbar array and Wmax is chosen depending on the magnitude of matrix W.
Embodiments of the present invention may provide an area efficient usage of a crossbar array. This may enable an improved parallel computation of dot product operations. By providing a single vector that has all the elements of the input submatrices, the convolution matrices may be stored in a compact way in the crossbar array. For example, embodiments of the present invention may be used for learning and inferring neural networks.
A submatrix of the multidimensional input matrix may also be a multidimensional matrix. For example, the size of the input matrix may be defined as xin*yin*din and the size of the submatrix of the input matrix may be defined as
subxin*subyin*din Equation X
where subxin<xin and subyin<yin and din is the same for the input matrix and its submatrix. The columns of a submatrix of the input matrix are consecutive columns of the input matrix and the rows of the submatrix are consecutive rows of the input matrix. The multidimensional input matrix may be referred to as feature map having din channels. The submatrix may comprise din channel-matrices of size subxin*subyin. The channel-matrices of the submatrix have the same element positions (subxin, subyin). A dot product operation of the set of dot product operations involves an input submatrix of the input matrix and at least one distinct convolution matrix. For example, the dot product operation of submatrix subxin*subyin*din involves din kernels, wherein each kernel has the size subxin*subyin. The din kernels may be the same or different kernels.
The multidimensional output matrix may have a size of xout*yout*dout. An element of the output matrix may be defined by a single value or element (xout, yout, dout). A pixel of the output matrix may be defined by clout elements. An element of the output matrix may be obtained by a dot product of a submatrix subxin*subyin*din and din kernels, wherein the din kernels are associated with the channel of the output matrix to which said element belongs. That is, for obtaining all elements of the output matrix, dout*din kernels of size (subxin, subyin) may be used for performing the set of dot product operations.
According to one embodiment, the computing step comprises selecting the subset of dot product operations such that the computation of the subset of dot product operations result in elements along two dimensions of the output matrix and such that each selected subset of dot product operations involves a different input vector. The subset of dot product operations is selected so that they can be performed at once by the crossbar array. For example, by inputting all elements of the input vector at the same time to the crossbar array, the subset of dot product operations may be performed in parallel.
According to one embodiment, the computing step may include selecting the subset of dot product operations such that the computation of the subset of dot product operations result in elements along three dimensions of the output matrix and such that each selected subset of dot product operations involves a different input vector.
According to one embodiment, a training or inference of a convolutional neural network (CNN) involves, at each layer of the CNN, a layer operation that can be computed by a memristive crossbar array, wherein the matrix convolution is the layer operation of a given layer of the CNN.
According to one embodiment, the method may include providing further memristive crossbar arrays such that each further layer of the CNN is associated with a memristive crossbar array, interconnecting the memristive crossbar arrays for execution in a pipelined fashion, and performing the computation step for each further layer of the CNN using a respective subset of dot product operations and the memristive crossbar array associated with the further layer.
According to one embodiment, the subset of dot product operations computed by each memristive crossbar array may be selected such that the bandwidth requirement for each interconnection between the interconnected memristive crossbar arrays is identical.
According to one embodiment, the memristive crossbar array may include row lines and column lines intersecting the row lines. The resistive memory elements may be coupled between the row lines and the column lines at the junctions formed by the row and column lines. Each resistive memory element of the resistive memory elements may represent an element of a matrix, wherein storing the convolution matrices comprises for each dot product operation of the subset of dot product operations storing all elements of convolution matrices involved in the dot product operation in resistive memory elements of a respective single column line of the crossbar array. This may enable a compact storage of the convolution matrices and may enable to use the crossbar array for further parallel computations.
According to one embodiment, the columns lines of the convolution matrices may be consecutive lines of the crossbar array. This may enable a compact storage of the convolution matrices and may enable to use the crossbar array for further parallel computations.
According to one embodiment, the memristive crossbar array comprises row lines and column lines intersecting the row lines, and resistive memory elements coupled between the row lines and the column lines at the junctions formed by the row and column lines. A resistive memory element of the resistive memory elements may represent an element of a matrix, wherein storing of the convolution matrices may include storing all elements of convolution matrices involved in each dot product operation of the subset of dot product operations in a respective column line. The column lines of the convolution matrices may be consecutive lines of the crossbar array.
According to one embodiment, the memristive crossbar array comprises row lines and column lines intersecting the row lines, and resistive memory elements coupled between the row lines and the column lines at the junctions formed by the row and column lines. A resistive memory element of the resistive memory elements may represent an element of a matrix, wherein storing of the convolution matrices may include identifying a group of convolution matrices that are to be multiplied by the same input submatrix, storing all elements of each convolution matrix of the group in a same column line, and repeating the identifying step and storing step for zero or more further groups of convolution matrices of the subset of dot product operations. This embodiment may make efficient use of the surface of the crossbar array. This may enable to perform a maximum number of parallel dot product operations.
According to one embodiment, the memristive crossbar array comprises row lines and column lines intersecting the row lines, and resistive memory elements coupled between the row lines and the column lines at the junctions formed by the row and column lines, a resistive memory element of the resistive memory elements representing an element of a matrix. This may enable a controlled production of the crossbar arrays that is well suitable for performing dot product operations.
According to one embodiment, the method further comprises training a convolutional neural network (CNN). The CNN may be configured to perform the inputting and the storing steps.
According to one embodiment, the CNN may be configured to perform further sets of dot product operations using the crossbar array by performing the storing of all convolution matrices and repeating the inputting steps for each set of the further sets. The set of dot product operations and the further sets of dot product operations may form all dot product operations required during the inference of the CNN.
According to one embodiment, the CNN may be configured to perform further sets of dot product operations using the crossbar array by consecutively repeating the storing and the inputting steps for each set of the further sets.
Embodiments of the present invention may be advantageous as they may enable to compute the most expensive computations involved in the training or inference of a CNN. For example, the inference stage of a CNN may be dominated in complexity by convolutions. For example, convolutional layers of the CNN contain more than 90% of the total required computations. For example, the training of the CNN or the inference of a trained CNN may involve operations or computations such as dot products or convolutions at each layer of the CNN. A dot product operation can be computed through many multiply-accumulate operations, each of which computes the product of two operands and adds the result. In CNNs, the number of total dot product operations is relatively high, for example, for a 224×224 image, a single category labeling classification with 1000 classes requires close to 1 Giga operations using AlexNet.
Embodiments of the present invention may make use of parallel feature map activation computation to provide a pipeline speedup for the execution of CNNs while keeping the same communication bandwidth and memory requirement. In a pipelined execution of a CNN, at every computational cycle one feature pixel across all channels may be computed. Feature map pixels are communicated to a next in-memory computational unit in the pipeline.
According to one embodiment, the input matrices are activation matrices of feature maps of a CNN and the convolution matrices are kernels.
According to one embodiment, the input matrices are pixels of an image or activation matrices of feature maps of a CNN.
The conductive column wires may be referred to as column lines and conductive row wires may be referred to as row lines. The intersections between the set of row wires and the set of column wires are separated by memristors, which are shown in
Input voltages v1 . . . vn are applied to row wires 102a-n respectively. Each column wire 108a-n sums the currents I1, I2 . . . Im generated by each memristor along the particular column wire. For example, as shown in
I
2
=v
1
·G
21
+v
2
·G
22
+v
3
·G
23
+ . . . +v
n
·G
2n. Equation 1
Thus, array 100 computes the matrix-vector multiplication by multiplying the values stored in the memristors by the row wire inputs, which are defined by voltages v1-n. Accordingly, the multiplication may be performed locally at each memristor 120 of array 100 using the memristor itself plus the relevant row or column wire of array 100.
The crossbar array of
where Gmax is given by the conductance range of the crossbar array 100 and Wmax is chosen depending on the magnitude of matrix W.
The size of the crossbar array 100 may be determined by the number of row lines n and the number of column lines m, wherein the number of memristors is n×m. In one example, n=m.
In order to obtain all elements of the output matrix 323, the matrix convolution on the input matrix 321 may involve a set of dot product operations. For example, the set of dot product operations may involve din*dout convolution matrices of size k*k. For example, one element of the output matrix 323 may be obtained by a respective dot product operation, wherein the result of the dot product operation may be the output of a single column of the crossbar array. That single column may store all convolution matrices needed to perform that dot product operation. The set of dot product operations may be split into multiple subsets of dot product operations such that each subset of dot product operations may be performed in parallel by a crossbar array e.g. 100. If for example, a single crossbar array is used, all the elements of the output matrix may be obtained by processing (e.g. consecutively) each of the subsets of dot product operations in the crossbar array. For example, for performing two subsets of dot product operations, all convolution matrices of said subsets are stored in the crossbar array and the two input vectors of said subsets are consecutively input to the crossbar array.
Each dot product operation of the set of dot product operations involves an input submatrix of the input matrix 321 and at least one distinct convolution matrix. Each dot product yields one element of the output matrix 323. The input submatrices have a size of
(subxin*subyin)*1 Equation X
where subxin<xin and subyin<yin. The dot product operation is the process of multiplying locally similar entries of two matrices and summing the sum results. Each dot product operation of the set of dot product operations may involve an input submatrix having the same size as the size of the convolution matrix. The input submatrices for different dot products may share elements. The terms “input submatrix” and “convolution matrix” are used for naming purpose to distinguish the first (left operand) and second (right operand) operands of a dot product operation.
subxin*subyin*1 Equation X
where subxin<xin and subyin<yin. The example of
In one example, the first dot product operation and second dot product operation may be part of a (overall) convolution of the respective kernels 305 and 307 with the input matrix 321. For example, the convolution of the kernel 305 with the input matrix 321 may comprise the first dot product operation and additional dot product operations that result from sliding the kernel 305 on the input matrix 321. This may particularly be advantageous as the present method may be used in convolutions involved in neural network's operations. Thus, following the example of
Referring back to
In order to compute the subset of dot product operations, an input vector that comprises distinct elements of the input submatrices may be provided. The distinct elements may be placed in the input vector following a predefined order, so that the elements of the input vector may be configured to be input at the same time to the crossbar array to the corresponding sequence of row lines of the crossbar array. For example, if the input vector comprises 5 elements, the 5 elements may be input at once to the respective 5 consecutive row lines of the crossbar array. The 5 consecutive row lines may be the first 5 row lines 102.1-5 or another sequence of the 5 consecutive row lines of the crossbar array. For example, the first element of the input vector may be input to a given row line, for example the first row line 102.1 of the crossbar array, the second element of the input vector may be input to the subsequent row line, for example the second row line 102.2 of the crossbar array and so on. Following the example of
Depending on the position and order of the distinct elements in the input vector 310, the convolution matrices may be stored in step 201 accordingly in the crossbar array. For example, this may be performed by rearranging the distinct elements in the input vector multiple times, resulting in multiple rearranged input vectors. For each of the multiple rearranged input vectors the corresponding set of storage positions of the convolution matrices in the crossbar array may be determined. This may result in multiple sets of storage positions. For example, for a given rearranged input vector, the storage of the convolution matrices in the corresponding set of storage positions would enable to compute the set of dot product operations by inputting the given rearranged input vector to respective row lines of the crossbar array. Each of the set of storage position may occupy a surface of the crossbar array. In step 201, the convolution matrices may be stored in the set of storage positions that occupy the smallest surface.
The input vector of distinct elements may be input in step 203 to the crossbar array so that the subset of dot product operations may be performed using the stored convolution matrices. For example, each element of the input vector may be input to the corresponding row line of the crossbar array. The output of the columns of the crossbar array may enable to obtain the result of the subset of dot product operations.
Following the example of
For example, in order to obtain pixel values (e.g. pix1_1 and pix2_1) of a single channel of the output feature map 503 the following may be performed. A k×k kernel may be slide through a channel of the input feature map 501 in order to perform the convolution. This may result for each pixel and for each channel in a dot product operation between one kernel and one submatrix of size k*k*din. Following the example of
In step 401, it may be determined which subset of dot product operations, of the overall set of dot product operations, is to be performed together or in parallel using a single crossbar array. For example, in
In step 403, the distinct elements of the input submatrices involved in the determined subset of dot product operations may be identified. In the example of
din*k*k+(N−1)*k*din Equation 3
where N is the number of pixels to be computed e.g. in
In step 405, all the kernels required for performing the determined subset of dot product operations may be stored in the crossbar array.
For example,
For example,
Thus, as shown in
In step 407, the input vector of distinct elements may be input to the crossbar array 520 in order to collect the result of the computation of the determined subset of dot product operations from the crossbar array. The input vector may be input at the same time to the crossbar array so that the crossbar array can perform all the subset of dot product operations e.g. in one clock cycle.
In the example of
The method of
For example, by fixing the size d1 (in the vertical direction) to two pixels pix1 and pix5, other pixels on the horizontal direction may be chosen or selected. For example, if it is decided to compute four pixels, the computation of pix2 and pix6 (following the horizontal direction) may be added to the computation of pix1 and pix5. For example, if it is decided to compute 8 pixels (as shown in
The total number of pixels to be computed determines the subset of dot product operations to be performed by the crossbar array. For example, by fixing d1 (i.e. fix one direction) the pixels along the other direction may be computed in parallel. In the example, of
The interconnects between the crossbar arrays of the layers 710 of the ResNet may be designed based on the maximum bandwidth although some interconnects may need less than that maximum bandwidth. As a result a crossbar array of level 2702 can be used to calculate 4 (=64/16) times as many pixels and a crossbar array of level 3703 can calculate 2 (=64/32) times as many pixels. This way the maximum bandwidth 64 may always be used.
In one example, a CNN where each layer is associated with a crossbar array may be provided. The training or inference of the CNN may involve layer operations, such as, for example, for producing output feature maps. The crossbar arrays of the CNN may be configured to compute respective pixels of the output feature maps using the present method so that the pixels can be produced in parallel by the respective crossbar array and in a number of pixels such that the bandwidth is constant through the whole CNN network.
Aspects of the present invention are described herein 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 block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
Referring to
The computer 1010 may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. The method steps and system components and techniques may be embodied in modules of the program 1060 for performing the tasks of each of the steps of the method and system. The modules are generically represented in
The method of the present disclosure can be run locally on a device such as a mobile device, or can be run a service, for instance, on the server 1100 which may be remote and can be accessed using the communications network 1200. The program or executable instructions may also be offered as a service by a provider. The computer 1010 may be practiced in a distributed cloud computing environment where tasks are performed by remote processing devices that are linked through a communications network 1200. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
More specifically, as shown in
The bus 1014 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnects (PCI) bus.
The computer 1010 can include a variety of computer readable media. Such media may be any available media that is accessible by the computer 1010 (e.g., computer system, or server), and can include both volatile and non-volatile media, as well as, removable and non-removable media. Computer memory 1030 can include additional computer readable media 1034 in the form of volatile memory, such as random access memory (RAM), and/or cache memory 1038. The computer 1010 may further include other removable/non-removable, volatile/non-volatile computer storage media, in one example, portable computer readable storage media 1072. In one embodiment, the computer readable storage medium 1050 can be provided for reading from and writing to a non-removable, non-volatile magnetic media. The computer readable storage medium 1050 can be embodied, for example, as a hard drive. Additional memory and data storage can be provided, for example, as the storage system 1110 (e.g., a database) for storing data 1114 and communicating with the processing unit 1020. The database can be stored on or be part of a server 1100. Although not shown, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can be provided. In such instances, each can be connected to bus 1014 by one or more data media interfaces. As will be further depicted and described below, memory 1030 may include at least one program product which can include one or more program modules that are configured to carry out the functions of embodiments of the present invention.
The method of the present disclosure, for example, may be embodied in one or more computer programs, generically referred to as a program(s) 1060 and can be stored in memory 1030 in the computer readable storage medium 1050. The program modules 1064 can generally carry out functions and/or methodologies of embodiments of the invention as described herein. The one or more programs 1060 are stored in memory 1030 and are executable by the processing unit 1020. By way of example, the memory 1030 may store an operating system 1052, one or more application programs 1054, other program modules, and program data on the computer readable storage medium 1050. It is understood that the program 1060, and the operating system 1052 and the application program(s) 1054 stored on the computer readable storage medium 1050 are similarly executable by the processing unit 1020.
The computer 1010 may also communicate with one or more external devices 1074 such as a keyboard, a pointing device, a display 1080, etc.; one or more devices that enable a user to interact with the computer 1010; and/or any devices (e.g., network card, modem, etc.) that enables the computer 1010 to communicate with one or more other computing devices. Such communication can occur via the Input/Output (I/O) interfaces 1022. Still yet, the computer 1010 can communicate with one or more networks 1200 such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) via network adapter/interface 1026. As depicted, network adapter 1026 communicates with the other components of the computer 1010 via bus 1014. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with the computer 1010. Examples, include, but are not limited to: microcode, device drivers 1024, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
It is understood that a computer or a program running on the computer 1010 may communicate with a server, embodied as the server 1100, via one or more communications networks, embodied as the communications network 1200. The communications network 1200 may include transmission media and network links which include, for example, wireless, wired, or optical fiber, and routers, firewalls, switches, and gateway computers. The communications network may include connections, such as wire, wireless communication links, or fiber optic cables. A communications network may represent a worldwide collection of networks and gateways, such as the Internet, that use various protocols to communicate with one another, such as Lightweight Directory Access Protocol (LDAP), Transport Control Protocol/Internet Protocol (TCP/IP), Hypertext Transport Protocol (HTTP), Wireless Application Protocol (WAP), etc. A network may also include a number of different types of networks, such as, for example, an intranet, a local area network (LAN), or a wide area network (WAN).
In one example, a computer can use a network which may access a website on the Web (World Wide Web) using the Internet. In one embodiment, a computer 1010, including a mobile device, can use a communications system or network 1200 which can include the Internet, or a public switched telephone network (PSTN) for example, a cellular network. The PSTN may include telephone lines, fiber optic cables, microwave transmission links, cellular networks, and communications satellites. The Internet may facilitate numerous searching and texting techniques, for example, using a cell phone or laptop computer to send queries to search engines via text messages (SMS), Multimedia Messaging Service (MMS) (related to SMS), email, or a web browser. The search engine can retrieve search results, that is, links to websites, documents, or other downloadable data that correspond to the query, and similarly, provide the search results to the user via the device as, for example, a web page of search results.
It is to be understood that although this disclosure includes a detailed description on cloud computing, implementation of the teachings recited herein are not limited to a cloud computing environment. Rather, embodiments of the present invention are capable of being implemented in conjunction with any other type of computing environment now known or later developed.
Cloud computing is a model of service delivery for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service. This cloud model may include at least five characteristics, at least three service models, and at least four deployment models.
Characteristics are as follows:
On-demand self-service: a cloud consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with the service's provider.
Broad network access: capabilities are available over a network and accessed through standard mechanisms that promote use by heterogeneous thin or thick client platforms (e.g., mobile phones, laptops, and PDAs).
Resource pooling: the provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to demand. There is a sense of location independence in that the consumer generally has no control or knowledge over the exact location of the provided resources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter).
Rapid elasticity: capabilities can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and rapidly released to quickly scale in. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be purchased in any quantity at any time.
Measured service: cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency for both the provider and consumer of the utilized service.
Service Models are as follows:
Software as a Service (SaaS): the capability provided to the consumer is to use the provider's applications running on a cloud infrastructure. The applications are accessible from various client devices through a thin client interface such as a web browser (e.g., web-based e-mail). The consumer does not manage or control the underlying cloud infrastructure including network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.
Platform as a Service (PaaS): the capability provided to the consumer is to deploy onto the cloud infrastructure consumer-created or acquired applications created using programming languages and tools supported by the provider. The consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, or storage, but has control over the deployed applications and possibly application hosting environment configurations.
Infrastructure as a Service (IaaS): the capability provided to the consumer is to provision processing, storage, networks, and other fundamental computing resources where the consumer is able to deploy and run arbitrary software, which can include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure but has control over operating systems, storage, deployed applications, and possibly limited control of select networking components (e.g., host firewalls).
Deployment Models are as follows:
Private cloud: the cloud infrastructure is operated solely for an organization. It may be managed by the organization or a third party and may exist on-premises or off-premises.
Community cloud: the cloud infrastructure is shared by several organizations and supports a specific community that has shared concerns (e.g., mission, security requirements, policy, and compliance considerations). It may be managed by the organizations or a third party and may exist on-premises or off-premises.
Public cloud: the cloud infrastructure is made available to the general public or a large industry group and is owned by an organization selling cloud services.
Hybrid cloud: the cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technology that enables data and application portability (e.g., cloud bursting for load-balancing between clouds).
A cloud computing environment is service oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure that includes a network of interconnected nodes.
Referring now to
Referring now to
Hardware and software layer 60 includes hardware and software components. Examples of hardware components include: mainframes 61; RISC (Reduced Instruction Set Computer) architecture based servers 62; servers 63; blade servers 64; storage devices 65; and networks and networking components 66. In some embodiments, software components include network application server software 67 and database software 68.
Virtualization layer 70 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers 71; virtual storage 72; virtual networks 73, including virtual private networks; virtual applications and operating systems 74; and virtual clients 75.
In one example, management layer 80 may provide the functions described below. Resource provisioning 81 provides dynamic procurement of computing resources and other resources that are utilized to perform tasks within the cloud computing environment. Metering and Pricing 82 provide cost tracking as resources are utilized within the cloud computing environment, and billing or invoicing for consumption of these resources. In one example, these resources may include application software licenses. Security provides identity verification for cloud consumers and tasks, as well as protection for data and other resources. User portal 83 provides access to the cloud computing environment for consumers and system administrators. Service level management 84 provides cloud computing resource allocation and management such that required service levels are met. Service Level Agreement (SLA) planning and fulfillment 85 provide pre-arrangement for, and procurement of, cloud computing resources for which a future requirement is anticipated in accordance with an SLA.
Workloads layer 90 provides examples of functionality for which the cloud computing environment may be utilized. Examples of workloads and functions which may be provided from this layer include: mapping and navigation 91; software development and lifecycle management 92; virtual classroom education delivery 93; data analytics processing 94; transaction processing 95; and data classification 96.
The programs described herein are identified based upon the application for which they are implemented in a specific embodiment of the invention. However, it should be appreciated that any particular program nomenclature herein is used merely for convenience, and thus the invention should not be limited to use solely in any specific application identified and/or implied by such nomenclature.
The present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
Aspects of the present invention are described herein 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 block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer readable program instructions may be provided to a processor of a computer, 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/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be accomplished as one step, executed concurrently, substantially concurrently, in a partially or wholly temporally overlapping manner, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.