The present invention relates generally to the field of software product development, and more particularly to identifying incorrect variable values in a software program or application that may result in software bugs (e.g., errors or other defects).
Software development and testing environments may implement a set of processes and programming tools to investigate a software product. Typically, users of software development, testing and production environments (e.g., software product developers) may use a program logs, crash reports, and debuggers to investigate the quality of a software program or application.
Embodiments of the present invention provide systems, methods, and computer program products for identifying incorrect variable values in software testing and development environments. A test suite is executed to test a computer program for a plurality of variables. A variable value is generated for each variable of the plurality of variables at a predetermined location of the computer program. Whether a test included in the test suite is successful is determined. Responsive to determining that the test is successful, the variable value is recorded as part of a success value set. Responsive to determining the test is not successful, the variable value is recorded as part of a failure value set. A confidence metric is calculated for the variable value, wherein the confidence metric indicates a level of certainty in the correctness of the variable value. A relevance metric for each variable of the plurality of variables is measured, based on a Jaccard distance between the success value set and the failure value set. The failure value set, the success value set, the confidence metric for the variable value, and the relevance metric for each variable of the plurality of variables are presented.
Typically, a software developer may write source code in a computer programming language to specify functions to be performed by a computer. An executable program or file includes machine code that may be executed by a computer to perform specified functions according to encoded instructions. In computer programming, a variable is a storage location paired with a symbolic name, such as an identifier, which contains some known or unknown quantity of information, which is referred to as the variable value. For example, the identifier in source code may be bound (e.g., reference) to a variable value during run time, and the variable value may change during the duration of program execution.
In certain instances, during program execution, software program or application bugs or defects may arise due to incorrect variable values that are relied upon by the source code. Typically, software development and testing environments may implement program logs, crash reports, and debuggers to assist software developers in reporting lists of variable values. However, typically it is the responsibility of the software developers to manually determine which of the listed variables contain incorrect values and which of the listed variables may result in software bugs and/or defects. This process may be burdensome and tedious in instances where software programs use a large number of variables.
Embodiments of the present invention may assist a user of a software development and testing environments to identify incorrect variable values. Embodiments of the present invention may be implemented by the user of the software development and testing environments to process crash reports and identify which variables may have caused a software program crash. Furthermore, embodiments of the present invention may provide a filtered set of variables with possible incorrect variable values during a debugging process.
Network 120 may be, for example, a local area network (LAN), a wide area network (WAN) such as the Internet, or a combination of the two, and include wired, wireless, or fiber optic connections. In general, network 120 may be any combination of connections and protocols that will support communications between computer system 110 and computer system 130, in accordance with an embodiment of the invention.
Computer system 130 represents a platform configured to store, compile, and execute source code for program 132. Computer system 130 may be a desktop computer, a laptop computer, a specialized computer server, or any other computer system known in the art. In certain embodiments, computer system 130 represents a computer system utilizing clustered computers and components to act as a single pool of seamless resources when accessed through network 120.
Program 132 represents a software program that a user of software development and testing environment 100 manages. For example, a user of software development and testing environment 100 may use computer system 130 to create, modify, and/or debug program 132. In another embodiment, program 132 may be a part of computer system 110. In yet another embodiment, portions of program 132 source code may be distributed between more than one computer system 130 (not depicted), such as part of a distributed compiling/testing environment. In general, program 132 includes variables at various program locations, such as function entries, function exits, and write statements.
Computer system 110 represents a platform configured to test program 132 and present data generated from testing program 132 to a user (e.g., a software developer) of computer system 110. Computer system 110 may be a desktop computer, a laptop computer, a specialized computer server, or any other computer system known in the art. In certain embodiments, computer system 110 represents a computer system utilizing clustered computers and components to act as a single pool of seamless resources when accessed through network 120. In this embodiment, computer system 110 includes test application 112, confidence module 114, relevance module 116, and data presentation module 118. In one embodiment, computer system 110 may include a system of record, such as a storage repository (not depicted).
Test application 112 represents a software program or application that is used to test program 132. Test application 112 may include a collection of test cases or test scripts, such as a test suite, where each test case may be a set of conditions under which a determination of whether program 132 or one of its features is working as it was intended. For example, test application 112 may utilize a test oracle to determine whether program 132 passes or fails a particular test case. In this example, the utilization of the test oracle may involve comparing the output(s) of program 132 during testing for the particular test case, to the output(s) that the test oracle determines that program 132 should output (i.e., actual output compared to expected output). Furthermore, the outputs that are compared to determine whether program 132 passes or fails a particular test case may be the variable values from variables in each program location of program 132, which include but are not limited to, function entries, function exits, and write statements. In one embodiment, tests executed by test application 112 may test the source code of program 132 line-by-line, such that each line of source code is tested or analyzed with respect to a particular test before testing on a next line of source code with respect to the particular test. In this manner, test application 112 may encounter portions of source code that include assertion statements, function entries, function exits, and write statements, as described in greater detail below. For example, after testing the first five lines of the source code for program 132, if test application 112 determines that the sixth line includes an assertion statement, then test application 112 indicates that an assertion statement is encountered, as subsequent processing and analysis is required.
In this embodiment, test application 112 is executed to test program 132 and determine whether program 132 passes or fails a particular test case. Each test, test case, or test script used by test application 112 to test program 132 generates zero or more variable values for each variable at each program location of program 132. If test application 112 determines that program 132 passes a particular test case (e.g., a test is successful), then the variable values at all program locations of program 132 observed, or generated, during the testing are identified as successful variable values. Accordingly, the successful variable values are recorded in the system of record of computer system 110 and are labeled, or identified, as success variable values. If test application 112 determines that program 132 fails a particular test case (e.g., a test is not successful), then the variable values at all program locations of program 132 observed during the testing are identified as failure variable values. Accordingly, the failure variable values are recorded in the system of record of computer system 110 and are labeled, or identified, as success variable values. After test application 112 completes necessary testing of program 132, failure variable values which were recorded in the system of record are aggregated and grouped into a failure value set. Similarly, success variable values which were recorded in the system of record are aggregated and grouped into a success value set. In one embodiment, completion of necessary testing of program 132 occurs when a specified number of test cases, test scripts, or other tests are executed by test application 112 to test program 132 (e.g., user specified, program specified, system specified, etc.). In another embodiment, completion of testing of program 132 occurs when all required test cases, test scripts, or other tests that are identified for execution are executed by test application 112 to test program 132, where the required test cases, test scripts, or other tests may be previously identified by the user based on quality assurance guidelines and policies.
Test application 112 is also configured to determine if a test succeeds (i.e., program 132 operates as intended). For example, test application 112 can utilize a test oracle as a mechanism for determining whether program 132 passed or failed a particular test case or test script. In this embodiment, when all the tests are completed, the success values at each variable at each program location from all the tests are aggregated to produce a success value set for each variable at each program location. Similarly, when all the tests are completed, the failure values at each variable at each program location from all the tests are aggregated to produce a failure value set for each variable at each program location. Furthermore, a number of occurrences for each variable value is also counted and stored in the system of record, as described in greater detail below.
It should be understood that, more than one test may be executed by test application 112 to test program 132, and that each test may provide different outcomes (e.g., pass or fail) independent of another test. For example, if a first test executed by test application 112 for program 132 succeeds, then all of the variable values at all program location of program 132 that were observed during the first test are recorded as success variable values in the system of record. In this example, if a second test executed by test application 112 for program 132 fails, then all of the variable values at all program location of program 132 that were observed during the second test are recorded as failure variable values. Furthermore, a portion of the variable values observed during the first and second test for a particular variable may be included in the success variable values identified based on the outcome of the first test, and the portion of the variable values for the particular variable also may be included in the failure variable values identified based on the outcome of the second test.
Failure value sets, success value sets and variable values included in each value set may have different properties. For example, variable values that are not part of a success value set can be identified as potential causes for software bugs. In this example, the variable values that are not part of a success value set may be part of a failure value set, or may be excluded from both a failure value set and success value set (i.e., the variable values were not observed during testing). In another example, variable values included in a success value set that have low occurrences may be identified as potential causes for software bugs. In another example, variable values included in a failure value set may be either distinct (i.e., include variable values that are not part of any other type of value set) or overlap with one or more variable values included in a success value set. In yet another example, a variable value that is included in both the success value may be identified as a variable value having low relevance, as described in greater detail below.
Confidence module 114 represents a software program or application configured to manage confidence counters for observed variable values during testing of program 132 and determine confidence metrics based on the confidence counters. Confidence module 114 may implement a formula for determining a confidence metric of a variable value for a particular variable at a program location of program 132, where the formula involves summing the total number of occurrences for the variable value with the confidence counter for the variable value. Furthermore, a confidence metric may provide an indication of how certain (i.e., a level of certainty) confidence module 114 is with respect to the completeness and correctness of the observed variable values. In one embodiment, the confidence in the completeness and correctness of the variable values increases with more samples. In this embodiment, when a variable value of a particular variable at a program location of program 132 is first observed during testing, confidence module 114 assigns a confidence counter the observed variable value. Furthermore, the confidence counter is incremented or not incremented based on various determinations involving assertion statements and whether identified variable values are within a scope of encountered function exits, function entries, and/or write statements, as described in greater detail with regard to
Relevance module 116 represents a software program or application configured to determine the relevance of a variable during testing of program 132. In one embodiment, relevance module 116 may calculate a Jaccard distance to determine the relevance of a variable. In example embodiments using the Jaccard distance, relevance of a variable may be calculated by dividing the difference of the sizes of a union and the intersection of a failure value set and success value set by the size of the union. Furthermore, if S is a success value set, and F is a failure value set, then relevance module 116 may calculate relevance by performing the following calculation: (|S∪F|−|S∩F|)/|S∪F|. In one embodiment, the relevance, or relevance metric, calculated by relevance module 116 may range between 0 and 1. Accordingly, a relevance metric with a value of 1 indicates that the success value set and the failure value set are completely disjoint (i.e., the variable at that particular program location is very relevant) and a relevance metric with a value of 0 indicates that the success value set and the failure value set intersect completely (i.e., the variable at that program location provide no useful information). It should be understood that relevance module 116 calculates the relevance, or a relevance metric, for variables at each program location to determine whether variable values provide information as to whether the variable may cause software bugs or defects.
Data presentation module 118 represents a software program or application configured to present to a user of computer system 110 testing information, as described in greater detail below. For example, data presentation module 118 may provide a user interface for editing content (i.e., source code), debugger variable filtering, and crash report analysis, as described in greater detail with regard to
Confidence module 114 assigns a confidence counter for each variable value observed during testing of program 132 (step 204). In this embodiment, when a variable value of a particular variable at a program location of program 132 is first observed during testing, confidence module 114 assigns a confidence counter of the observed variable value. In one embodiment, the confidence counter may be considered a type of memory that stores a single natural number, which is initially set a value equal to zero. For example, at a first line of source code for program 132, if test application 112 determines that a first variable is declared based on an analysis of the source code structure, then confidence module 114 may assign a confidence counter for each of the variable values of the first variable that are observed during testing.
As previously discussed in
If confidence module 114 determines that the expression evaluates to true (‘yes’ branch, decision 206), then confidence module 114 determines, or identifies, the variables contained, or associated with, in the expression and the set of variable values that result in the expression to evaluate to true (step 208). In one embodiment, confidence module 114 may identify the one or more variables relied upon by the assertion statement, and then identify the set of variable values for the one or more variables that result in the expression of the assertion statement to evaluate to true.
If the assertion statement is executed and the expression is evaluated to false (‘no’ branch, decision 206), then confidence module 114 examines the assertion statement (step 210). In one embodiment, examining the assertion statement may further involve transforming the expression to its logical negation, then determine, or identify, the variables contained, or associated with, in the logical negation of the expression and the set of variable values that cause the logical negation expression to evaluate to true (i.e. an expression which evaluates to false is equal to the logical negation of the expression which evaluates to true). Furthermore, after determining, or identifying, which variables and variable values are associated with the expression or a logical negation of the expression, then confidence module 114 may permit testing of program 132 to proceed.
As program 132 continues to undergo testing by test application 112, function entries, function exits, and/or write statements may be encountered. In one embodiment, if a function entry or function exit is encountered, then confidence module 114 may determine whether the variables associated with the expression of the assertion statement or logical negation of the expression of the assertion statement are within a scope of the function entry or function exit (decision 212). In one embodiment, confidence module 114 may identify all of the local variables that are within the local scope of the function entry or function exit, and compare the identified local variables with the variables associated with the expression of the assertion statement or logical negation of the expression of the assertion statement.
If confidence module 114 determines that a variable associated with the expression of the assertion statement or logical negation of the expression of the assertion statement is within a scope of an encountered function entry or function exit (‘yes’ branch, decision 212), then confidence module 114 increments a confidence counter for the variable value (step 214). It should be understood that, if more than one variable associated with the expression of the assertion statement or logical negation of the expression of the assertion statement is within a scope of an encountered function entry or function exit, then confidence module 114 increments a confidence counter for each of the variable values associated with each of the more than one variables. In one embodiment, if confidence module 114 determines that the all of the variables associated with the expression of the assertion statement or logical negation of the expression of the assertion statement are included in the identified local variables from the encountered function entry or function exit, then confidence module 114 determines that the at least one variable associated with the expression of the assertion statement or logical negation of the expression of the assertion statement is within the scope of an encountered function entry or function exit.
If confidence module 114 determines that a variable value associated with the expression of the assertion statement or logical negation of the expression of the assertion statement is not within a scope of an encountered function entry or function exit (‘no’ branch decision 212), then operational steps proceed to decision 216. In one embodiment, if confidence module 114 determines that the at least one of the variables associated with the expression of the assertion statement or logical negation of the expression of the assertion statement is not included in the identified local variables from the encountered function entry or function exit, then confidence module 114 determines that the at least one variable associated with the expression of the assertion statement or logical negation of the expression of the assertion statement is not within the scope of an encountered function entry or function exit.
In certain embodiments, a write statement may be encountered while testing program 132. For example, at a tenth line of source code for program 132, if confidence module 114 determines that a write statement is included in the tenth line of source code, based on an analysis of the source code structure, then confidence module 114 may determine that a write statement has been encountered. If a write statement is encountered, then confidence module 114 determines whether a variable associated with the expression of the assertion statement or logical negation of the expression of the assertion statement is within a scope of the encountered write statement (decision 216). In one embodiment, if confidence module 114 determines that the all of the variables associated with the expression of the assertion statement or logical negation of the expression of the assertion statement are included in identified local variables from the encountered write statement, then confidence module 114 determines that the at least a variable associated with the expression of the assertion statement or logical negation of the expression of the assertion statement is within the scope of the encountered write statement.
If confidence module 114 determines that the variable associated with the expression or logical negation of the expression of the assertion statement is within a scope of the encountered write statement (‘yes’ branch, decision 216), then confidence module 114 no longer increments the confidence counter for variable values associated with the variable (step 218). In one embodiment, if confidence module 114 determines that the variable associated with the expression or logical negation of the expression of the assertion statement is within a scope of the encountered write statement, then the confidence counters for variable values associated with the variable may be no longer incremented even if the variable values are relied upon in subsequent lines of source code of program 132.
Test application 112 records variable values as well as an occurrence for each value (step 304). For example, if a particular variable value is observed three times during testing of program 132, then test application 112 may store in a system of record that three occurrences of the particular variable have been observed. In one embodiment, recording variable values during testing may be performed by predefining program locations before testing program 132, such as by injecting trace statements at program locations, or by using hardware storage change detection and trapping to signal variable value changes for recording.
Afterwards, confidence module 114 maintains confidence counters for each observed variable, as previously discussed with regard to
Relevance module 116 uses the generated success and failure value sets to determine the relevance, or relevance metric, of each observed variable (step 310). As previously described, relevance module 116 may determine the relevance of an observed variable by calculating a Jaccard distance. For example, relevance of a variable may be calculated by dividing the difference of the sizes of a union and the intersection of a failure value set and success value set by the size of the union. Furthermore, if S is a success value set, and F is a failure value set, then relevance module 116 may calculate relevance by performing the following calculation: (|S∪F|−|S∩F|)/|S∪F|.
A value for a relevance metric can range between 0 and 1. A relevance metric with a value of 1 indicates that the success value set and the failure value set are completely disjoint, such that a relatively low number of variable values included in the success value set overlap with variable values included in the failure value set. Accordingly, relevance module 116 may indicate that a variable at a program location of program 132 that is associated with the variable values included in the failure value set is relevant to the user (e.g., developer), because the variable values included in the failure value set which are completely disjoint from the variable values of the success value set are potential causes for program 132 bugs and defects.
In contrast, a relevance metric with a value of 0 indicates that the success value set and the failure value set completely intersect, such that a relatively high number of variable values included in the success value set overlap with variable values included in the failure value set. Accordingly, relevance module 116 may indicate that a variable at a program location of program 132 that is associated with variable values included in both the failure value set and success value set is not relevant to the user, or that the variable at that program location provide no useful information regarding identifying potential causes for program 132 bugs and defects.
When a user (e.g., a developer) of an external source editor, with editor integration module 412, editor integration module 412 may provide functionality to send a function/method signature, class signature, and a file signature to the system of record (i.e., database 150 in
When a user (e.g., a developer) of an external bugger (e.g., external program 140 of
In certain embodiments, occurrence for each variable value in the success/failure value sets may be normalized by debugger integration module 414. For example, a normalized occurrence may be calculated by dividing a number of occurrences of a variable value for a particular variable by the total number of occurrences of the particular variable. For each variable, the current variable value is compared with the recorded success/failure value sets. Accordingly, a variable is flagged as a potential bug by debugger integration module 414 if: a current variable value is in the failure value set, a current variable value does not exist in the success value set, and/or a current variable value is equal to one of the variable values in the success value set with a low normalized occurrence (e.g., 0.01). A threshold for low normalized occurrence may be provided by a user interacting with debugger integration module 414.
In one embodiment, debugger integration module 414 may consist of a variable view, similar to the variable view described with respect to editor integration module 412. Furthermore, after debugger integration module 414 compares variable values, debugger integration module 414 may notify the developer of all flagged variables. For example, the notification may be performed by highlighting all flagged variables and their corresponding variable values in the variable view. Accordingly, the developer may have access to incorrect variable values more effectively via the notification provided by debugger integration module 414.
When program 132 undergoes an unexpected operational termination during testing or operational runtime (i.e., crashes), fault analysis integration module 416 may record variable values for each stack frame at the point of failure. For each stack frame, fault analysis integration module 416 may query for testing data at the program location closest but immediately prior to the stack frame's program location (i.e., immediately preceding). The query may return failure/success value sets, occurrences of each variable value, confidence and relevance data. Similar to debugger integration module 414, occurrences may be normalized by fault analysis integration module 416. Accordingly, a variable is flagged as a potential cause of the crash by fault analysis integration module 416 if: a reported variable value is in the failure value set, a reported variable value does not exist in the success value set, and/or a reported variable value is equal to one of the variable values in the success value set with a low normalized occurrence. Furthermore, similar to debugger integration module 414, fault analysis integration module 416 may provide notifications to the developer, such that the developer has near-real time access to a list of variables corresponding variable values that may have caused the crash. Accordingly, the developer may utilize information provided by fault analysis integration module 416 to more effectively identify which stack frame and variable may have caused program 132 to crash.
Computer system 500 includes communications fabric 502, which provides for communications between one or more processors 504, memory 506, persistent storage 508, communications unit 512, and one or more input/output (I/O) interfaces 514. Communications fabric 502 may be implemented with any architecture designed for passing data and/or control information between processors (such as microprocessors, communications and network processors, etc.), system memory, peripheral devices, and any other hardware components within a system. For example, communications fabric 502 may be implemented with one or more buses.
Memory 506 and persistent storage 508 are computer-readable storage media. In this embodiment, memory 506 includes random access memory (RAM) 516 and cache memory 518. In general, memory 506 may include any suitable volatile or non-volatile computer-readable storage media. Software is stored in persistent storage 508 for execution and/or access by one or more of the respective processors 504 via one or more memories of memory 506.
Persistent storage 508 may include, for example, a plurality of magnetic hard disk drives. Alternatively, or in addition to magnetic hard disk drives, persistent storage 508 may include one or more solid state hard drives, semiconductor storage devices, read-only memories (ROM), erasable programmable read-only memories (EPROM), flash memories, or any other computer-readable storage media that is capable of storing program instructions or digital information.
The media used by persistent storage 508 may also be removable. For example, a removable hard drive may be used for persistent storage 508. Other examples include optical and magnetic disks, thumb drives, and smart cards that are inserted into a drive for transfer onto another computer-readable storage medium that is also part of persistent storage 508.
Communications unit 512 provides for communications with other computer systems or devices via a network (e.g., network 120). In this exemplary embodiment, communications unit 512 includes network adapters or interfaces such as a TCP/IP adapter cards, wireless Wi-Fi interface cards, or 3G or 4G wireless interface cards or other wired or wireless communication links. The network may comprise, for example, copper wires, optical fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. Software and data used to practice embodiments of the present invention may be downloaded through communications unit 512 (e.g., via the Internet, a local area network or other wide area network). From communications unit 512, the software and data may be loaded onto persistent storage 508.
One or more I/O interfaces 514 allow for input and output of data with other devices that may be connected to computer system 500. For example, I/O interface 514 may provide a connection to one or more external devices 520, such as a keyboard, computer mouse, touch screen, virtual keyboard, touch pad, pointing device, or other human interface devices. External devices 520 may also include portable computer-readable storage media such as, for example, thumb drives, portable optical or magnetic disks, and memory cards. I/O interface 514 also connects to display 522.
Display 522 provides a mechanism to display data to a user and may be, for example, a computer monitor. Display 522 may also be an incorporated display and may function as a touch screen, such as a built-in display of a tablet computer.
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 comprise 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 software testing environment 96.
The present invention may be a system, a method, and/or a computer program product. 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 may be a tangible device that may 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 may 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, 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 conventional 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, may be implemented by computer readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose 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 may 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 block may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, 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, may 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.
It is understood in advance 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 may 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 may 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 may 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 may 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 may 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 may 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 comprising a network of interconnected nodes.
The descriptions of the various embodiments of the present invention have been 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 invention. The terminology used herein was chosen to best explain the principles of the embodiment, 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.
Number | Name | Date | Kind |
---|---|---|---|
7174536 | Kothari et al. | Feb 2007 | B1 |
7739664 | Bates et al. | Jun 2010 | B2 |
7747987 | Akarte | Jun 2010 | B1 |
8239843 | Song et al. | Aug 2012 | B2 |
20090144698 | Fanning | Jun 2009 | A1 |
20110154300 | Rao | Jun 2011 | A1 |
20110258601 | Ndem | Oct 2011 | A1 |
20120117041 | Rodriguez | May 2012 | A1 |
20120151453 | Finking | Jun 2012 | A1 |
20130283243 | Bates | Oct 2013 | A1 |
20140365990 | Nakao | Dec 2014 | A1 |
20150261596 | Muthukumsarasamy et al. | Sep 2015 | A1 |
20170208094 | Hollingshead | Jul 2017 | A1 |
Entry |
---|
IBM: List of IBM Patents or Patent Applications Treated as Related (Appendix P), May 2, 2018, pp. 1-2. |
Wu et al., “CrashLocator: Locating Crashing Faults Based on Crash Stacks”, Jul. 21-25, 2014, pp. 1-11. |
Mell et al., “The NIST Definition of Cloud Computing”, National Institute of Standards and Technology, Special Publication 800-145, Sep. 2011, pp. 1-7. |
Number | Date | Country | |
---|---|---|---|
20180129596 A1 | May 2018 | US |