Software may be distributed as one or more executable files or as a library, i.e., a collection of files that may be compiled into executable code. Frequently, software developers incorporate one or more software libraries into software programs that are distributed in the form of one or more executable files. In other instances, software developers may distribute software in the form of object code within one or more libraries, and users of the software libraries may generate the executable files.
Software piracy represents a significant economic loss for the producers of software products. Accordingly, software licensing enforcement schemes receive continued attention in the software industry. To date, most software licensing schemes operate according to a model that requires registration and/or the entry of a code, and denies access to users incapable of providing accurate information. Moreover, software licensing for libraries has not been implemented yet to work at run time: to the present date library licensing only occurs either at installation time or when creating executable files. It is desirable to be able to check software library licensing only when the linked application is executed.
In some instances, a more flexible approach to software licensing management is desirable.
A method of computing comprises executing a software application, wherein the software application comprises at least first and second versions of a subroutine for performing a specific function, wherein the first version exhibits a first behavior and the second version exhibits a second behavior; and selecting for execution one of the first version or the second version based on whether one or more licensing criteria are satisfied.
Optionally, the behavior of second version can be redefined on a user basis. The method can be implemented and distributed within software libraries.
Described herein are exemplary system and methods for software licensing management. These methods are particularly useful for licensing software libraries. Certain of the methods described herein may be embodied as logic instructions on a computer-readable medium. When executed on a processor, the logic instructions cause a general purpose computing device to be programmed as a special-purpose machine that implements the described methods. The processor, when configured by the logic instructions to execute the methods recited herein, constitutes structure for performing the described methods.
Many commercial software products incorporate one or more subroutines from a commercially available software library such as library 110. Common examples of commercially available libraries include HP-Math Library (MLIB), Intel Math Kernel Library (MKL), AMD Core Math Library (ACML), etc. Such libraries may be linked to the object code 150, e.g., by a linker, and incorporated into the executable code 160 distributed by the software vendor.
Typically, a commercially available library such as library 110 comprises a plurality of subroutines, which are designated as subroutine F1 120, F2 126, F3 132, F4 138, and may extend through an arbitrary number of subroutines represented by Fn 144. Each subroutine has a unique behavior associated with it. This behavior is referred to herein as the licensed version of the subroutine. Traditional licensing approaches grant access to the licensed version of each subroutine only if a valid license is present and if no valid license is present, the library will stop the executable code from running.
The proposed invention is a software library licensing model where each library subroutine may contain two distinct versions encoded within the library. It allows differentiated behavior based on a valid license for the library been present or not. Unlike previous software library licensing methods, the described method is more flexible by requiring license checking only when the linked application is executed. Moreover, the proposed invention allows software developers to redefine the behavior of the unlicensed version of any give routine. More particularly, software library 110 includes multiple versions of at least one of the subroutines. Hence,
In one embodiment, object code 150 may be linked to one or more subroutines from software library 110 during a linking process, and may thereby be incorporated into executable code 160. During the linking process both the licensed and unlicensed version of a particular subroutine will be unconditionally incorporated into executable code 160. The software developer may be presented with the option to redefine the unlicensed version of the subprograms to be incorporated into executable code 160. Run time licensing module 112 will also be incorporated into executable code 160. In the illustration provided in
The executable code 160 may be distributed to users as a component of a software product which may be executed on a computing system.
Memory 218 includes an operating system 220 for managing operations of computer 208. The particular operating system is not important, and the operating system may be embodied as a commercially available operating system such as the Windows® brand operating system, UNIX, Linux or variants thereof. In one embodiment memory 218 further includes a license key table 228 that includes information identifying licensing criteria that are satisfied for one or more software modules resident in the memory 218 of computer 208. In one embodiment the license key table identifies to software modules if the computer and/or its user are licensed to use. Memory 218 further includes one or more application modules 222, including an application module that comprises executable code 160 and run time licensing module 112. Operation of the system 200 is explained in greater detail below.
Exemplary Embodiments of Operations
In one embodiment, the computer system of
If, at operation 315, a valid license for the executable code 160 is located in the license key table 228, then control passes to operation 325 and the licensed versions of the subroutines extracted from the library 110 are selected for execution in executable code 160. By contrast, if at operation 315 a valid license for the executable code 160 is not located in the license key table 228, then control passes to operation 320 and unlicensed versions of the subroutines will be selected.
The unlicensed version selected by operation 320 may either be the original unlicensed version provided with the software library, e.g. version 148 of subroutine Fn 144 in
In one embodiment function pointers may be used to select between the licensed and the unlicensed versions of the subroutines. By way of example, executable code 160 may declare a user-visible wrapper for a particular function and separate structures for the licensed and unlicensed versions. If, a valid license exists in the license key database 228 then a function pointer may be set to the licensed version. By contrast, if no valid license exists in the license key database 228 then a function pointer may be set to the unlicensed version. By redefining user-visible wrapper, a software developer may redefine the unlicensed version used.
The licensed version of a subroutine in the library 110 exhibits at least one difference in behavior with respect to the unlicensed version of the same subroutine. In one embodiment the licensed version is configured to for normal operation, while the unlicensed version includes a time-out function that operates to throttle the speed of operation of the subroutine. In alternate embodiments the unlicensed version may be configured to present a visible or audible indication that no valid license exists for use of the executable program 160, and/or to transmit a notice to a remote computer (e.g., a license compliance monitoring service) that an unlicensed version of executable program 160 is being used.
Exemplary Computing Environment
Select embodiments discussed herein (such as those discussed with reference to
The various components and functionality described herein are implemented with a number of individual computers.
Generally, various different general purpose or special purpose computing system configurations can be used. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with the invention include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The functionality of the computers is embodied in many cases by computer-executable instructions, such as program modules, that are executed by the computers. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Tasks might also be performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media.
The instructions and/or program modules are stored at different times in the various computer-readable media that are either part of the computer or that can be read by the computer. Programs are typically distributed, for example, on floppy disks, CD-ROMs, DVD, or some form of communication media such as a modulated signal. From there, they are installed or loaded into the secondary memory of a computer. At execution, they are loaded at least partially into the computer's primary electronic memory. The invention described herein includes these and other various types of computer-readable media when such media contain instructions, programs, and/or modules for implementing the steps described below in conjunction with a microprocessor or other data processors. The invention also includes the computer itself when programmed according to the methods and techniques described below.
For purposes of illustration, programs and other executable program components such as the operating system are illustrated herein as discrete blocks, although it is recognized that such programs and components reside at various times in different storage components of the computer, and are executed by the data processor(s) of the computer.
With reference to
Computer 400 typically includes a variety of computer-readable media. Computer-readable media can be any available media that can be accessed by computer 400 and includes both volatile and nonvolatile media, removable and non-removable media. By way of example, and not limitation, computer-readable media may comprise computer storage media and communication media. “Computer storage media” includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by computer 400.
The system memory 406 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 410 and random access memory (RAM) 412. A basic input/output system 414 (BIOS), containing the basic routines that help to transfer information between elements within computer 400, such as during start-up, is typically stored in ROM 410. RAM 412 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 404. By way of example, and not limitation,
The computer 400 may also include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only, the computer system of
The drives and their associated computer storage media discussed above and illustrated in
The computer may operate in a networked environment using logical connections to one or more remote computers, such as a remote computing device 450. The remote computing device 450 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to computer 400. The logical connections depicted in
When used in a LAN networking environment, the computer 400 is connected to the LAN 452 through a network interface or adapter 456. When used in a WAN networking environment, the computer 400 typically includes a modem 458 or other means for establishing communications over the Internet 454. The modem 458, which may be internal or external, may be connected to the system bus 406 via the I/O interface 442, or other appropriate mechanism. In a networked environment, program modules depicted relative to the computer 400, or portions thereof, may be stored in the remote computing device 450. By way of example, and not limitation,
Moreover, some embodiments may be provided as computer program products, which may include a machine-readable or computer-readable medium having stored thereon instructions used to program a computer (or other electronic devices) to perform a process discussed herein. The machine-readable medium may include, but is not limited to, floppy diskettes, hard disk, optical disks, CD-ROMs, and magneto-optical disks, ROMs, RAMs, erasable programmable ROMs (EPROMs), electrically EPROMs (EEPROMs), magnetic or optical cards, flash memory, or other suitable types of media or computer-readable media suitable for storing electronic instructions and/or data. Moreover, data discussed herein may be stored in a single database, multiple databases, or otherwise in select forms (such as in a table).
Additionally, some embodiments discussed herein may be downloaded as a computer program product, wherein the program may be transferred from a remote computer (e.g., a server) to a requesting computer (e.g., a client) by way of data signals embodied in a carrier wave or other propagation medium via a communication link (e.g., a modem or network connection). Accordingly, herein, a carrier wave shall be regarded as comprising a machine-readable medium.
Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least an implementation. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment.
Thus, although embodiments have been described in language specific to structural features and/or methodological acts, it is to be understood that claimed subject matter may not be limited to the specific features or acts described. Rather, the specific features and acts are disclosed as sample forms of implementing the claimed subject matter.
Number | Name | Date | Kind |
---|---|---|---|
5138712 | Corbin | Aug 1992 | A |
5530752 | Rubin | Jun 1996 | A |
6059838 | Fraley et al. | May 2000 | A |
6185734 | Saboff et al. | Feb 2001 | B1 |
6188995 | Garst et al. | Feb 2001 | B1 |
6324649 | Eyres | Nov 2001 | B1 |
6567107 | Stannard | May 2003 | B1 |
6615359 | Eyres | Sep 2003 | B2 |
7111285 | Smith et al. | Sep 2006 | B2 |
7225430 | Eatough et al. | May 2007 | B2 |
7472286 | Burkhardt et al. | Dec 2008 | B2 |
7702536 | Alabraba et al. | Apr 2010 | B1 |
7725929 | Ostergren et al. | May 2010 | B2 |
20020107750 | Kanevsky et al. | Aug 2002 | A1 |
20020107809 | Biddle et al. | Aug 2002 | A1 |
20020133804 | Sheedy | Sep 2002 | A1 |
20020169625 | Yang | Nov 2002 | A1 |
20020169725 | Eng | Nov 2002 | A1 |
20030088516 | Remer | May 2003 | A1 |
20030126456 | Birzer | Jul 2003 | A1 |
20030135756 | Verma | Jul 2003 | A1 |
20030160823 | Stannard | Aug 2003 | A1 |
20030212905 | Tran | Nov 2003 | A1 |
20040019565 | Goringe | Jan 2004 | A1 |
20040030564 | Hartinger | Feb 2004 | A1 |
20040068734 | Bond et al. | Apr 2004 | A1 |
20040128251 | Adam | Jul 2004 | A1 |
20040267590 | Clark | Dec 2004 | A1 |
20050027554 | Chahrouri | Feb 2005 | A1 |
20050038752 | Gaetano | Feb 2005 | A1 |
20050049976 | Yang | Mar 2005 | A1 |
20050050315 | Burkhardt et al. | Mar 2005 | A1 |
20060212854 | Borges et al. | Sep 2006 | A1 |
Number | Date | Country | |
---|---|---|---|
20060212854 A1 | Sep 2006 | US |