A portion of the disclosure of this patent document contains material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.
The present invention relates generally to database systems, and more particularly to systems and methods for managing license objects to applications in an application platform.
Previous systems and methods have been developed for managing custom objects to applications in an application platform that associates data from a computer database. Computer databases, however, are plagued by numerous problems in general. Each organization, business, or agency, installs its own copy of the database. It was not long, however, before users wished to add their own custom objects and applications to their database in addition to the standard objects and standard applications already provided.
The desire for customization lead to disparate schema, an organization of the types of information being stored in the database, as well as applications relying upon that schema being implemented by different users. Disparate schema, in turn blocked any hope of users in different organizations of sharing information or applications among one another. As a result, systems, mechanisms and methods of creating, exporting, viewing and testing, and importing custom applications in a multi-tenant environment were subsequently provided.
In a multi-tenant application platform, subscribers wish to download and license customized applications from a partner organization wherein the customized applications have been created by third party developers updating standard database objects and applications with new features. However, licensors of the database objects and applications need to manage and audit such use according to a predetermined user defined set of workflow rules. For example, if a subscriber wishes to purchase ten user seat licenses of a particular application, the licensor would like to monitor or prohibit any use in excess of the contracted limits. Existing systems in such a multi-tenant application platform provide manual means of enforcement for such licensing paradigms, leading to expensive intellectual property enforcement.
A new method and system for managing notification to a licensor of both custom and standard applications in a multi-tenant platform environment is therefore needed. A method and system of providing such notification of a licensor by modifying a license object and creating a license manager automated application is further needed.
Systems and methods are provided by embodiments for managing license objects to applications in an application platform. One method embodiment typically includes associating a license manager application (“LMA”) with an application installed to the application platform by a developer, notifying a license manager to which the license manager application is installed of the installation of the application to the application platform, and managing subscriber access to the application using the license manager application.
One embodiment provides a method for managing license objects to applications in an application platform that includes performing a verification process to determine if a manifest violates a set of provider controlled rules. A version control step in an LMA may be validated to determine whether a user selected version is an upgrade or an extension and managing necessary prerequisite package installations. A license object may be associated with a user and a package. The license package may be installed and associated with an LMA such that an application installed to the application platform by a developer and downloaded by a subscriber matches the license on either a per package basis or on a per object basis. A set of provider defined rules may be applied to those packages that are managed.
Another embodiment provides a method for managing license objects to applications in a multi-tenant application platform that includes installing a license manager organization (“LMO”) to obtain a proxy user in a partner organization. The proxy user has authority to disable the package and appears to the subscriber as editing a record in a multi-tenant application platform. An object edit step allows the proxy user to edit package objects, version objects, and licensee objects in a database schema wherein the proxy user determines status changes as either active or disabled and implements notification of a new or upgraded version of a custom application being uploaded to the application services platform application exchange. Another aspect of object editing is directed to licensee objects wherein the licensee objects comprise license properties including package version, license status, install date, the number of seats, formula for the number of seats, expiration date and formula, the proxy user, account and contact information. In a replication step, all license property, package and version objects are updated across the subscriber instance of the multi-tenant application platform in the network when a package is installed. In a separate aspect of the replication step, all updates of the subscriber instance are associated with the multi-tenant application platform across multiple time zones during a replication of the database schema. In another aspect of the replication step, the replication is performed asynchronously to achieve schema updates when a subscriber organization instance is offline for maintenance.
Another embodiment provides a computer readable medium that implements a method for managing license objects to applications in a multi-tenant application platform. One embodiment includes a program code for associating an LMA with an application installed to the application platform by a developer. Another aspect of the application provides program code for notifying a license manager to which the license manager application is installed of the installation of the application to the application platform. An additional aspect of the application provides program code for managing subscriber access to the application using the license manager application.
A further embodiment includes a method for providing a bootstrap sequence when a license management application is created to install into the LMO. Initially, an LMA is created and associated with an LMO in a host developer organization. The initial step is next verified by making a check call to the organization to make sure that it has the LMA already installed. Once the LMO has the LMA installed, the host developer uploads the LMA into the application exchange directory. The next step in the bootstrap sequence determines if the package exists when an LMA is downloaded into the LMO. If it does not exist, a message servers creates the package. The message server creates the package by downloading an LMA associated with the LMO and creating a package license in the LMO. Once the package is associated with both the LMA and LMO, an installation sequence is executed to complete the bootstrap sequence.
In another embodiment, a method is provided for managing license objects to applications in a multi-tenant application platform. The method includes installing an LMO to obtain a proxy user in a partner organization. The proxy user has authority to disable the package and appears to the subscriber as editing a record in a multi-tenant application platform. The proxy user may be provided with the capability to edit package objects, version objects, and licensee objects in a database schema. Further, the proxy user has the ability to track three messages including a version upload, a package installation upgrade, and a package uninstallation. During a package uninstallation tracking step, a message is sent to the LMO and the status of the license object is changes to uninstalled. The proxy user determines status changes as in either an active or disabled mode and implements notification of a new or upgraded version of a custom application being uploaded to the application services platform, application exchange. The licensee objects may include license properties, such as for example and without limitation, package version, license status, install date, the number of seats, formula for the number of seats, expiration date and formula, the proxy user, account and contact information. License properties, package and version object updates may be replicated across the subscriber instance of the multi-tenant application platform in the network when a package is installed, upgraded or uninstalled in a cross instance, two phase commit process aspect of the embodiment. To implement the cross instance, two phase commit process, a record displayed is verified to belong in the database table to gain access to the package update data for the subscriber instance. In another aspect of the embodiment, updates of the subscriber instance associated with the multi-tenant application platform may be replicated across multiple time zones. Further, asynchronous replications may be performed to update a subscriber organization instance when the subscriber organization instance is offline for maintenance or the like. A similar, analogous procedure is implemented to uninstall a package, upload a version update, and install a package upgrade using the two phase commit, cross instance aspect of the embodiment.
Reference to the remaining portions of the specification, including the drawings and claims, will realize other features and advantages of the present invention. Further features and advantages of the present invention, as well as the structure and operation of various embodiments of the present invention, are described in detail below with respect to the accompanying drawings. In the drawings, like reference numbers indicate identical or functionally similar elements.
The present invention provides systems and methods for managing license objects to applications in an application platform. The systems and methods are particularly useful in an on-demand database service. System, mechanism and method embodiments can provide the ability to associate a subscriber license with a customized version of an application installed to the application platform by a developer. A subscriber license is a license permitting a subscriber to use an application installed to the platform. Further, some system and method embodiments can notify a licensor of a standard object when a third party had customized the application. A standard object is a member of a set of objects included with an instance of an on-demand service at initiation of the service. Some embodiments can further provide a tracking mechanism to determine when a subscriber exceeds a contracted number of users of both the customized application and standard application. These and other benefits may be realized by proper practice of the described embodiments.
The users of one or more of user system 12 might be users in differing capacities, and the capacity of a particular user system 12 might be entirely determined by permissions (permission levels) for the current user. For example, where a salesperson is using a particular user system 12 to interact with System 16, that user system has the capacities allotted to that salesperson. However, while an administrator is using that user system to interact with System 16, that user system has the capacities allotted to that administrator. In systems with an hierarchical role model, users at one permission level may have access to applications, data, and database information accessible by a lower permission level user, but may not have access to certain applications, database information, and data accessible by a user at a higher permission level. Thus, different users will have different capabilities with regard to accessing and modifying application and database information, depending on a user's security or permission level.
Network 14 can be a LAN (local area network), WAN (wide area network), wireless network, point-to-point network, star network, token ring network, hub network, or other appropriate configuration. As the most common type of network in current use is a TCP/IP (Transfer Control Protocol and Internet Protocol) network such as the global internetwork of networks often referred to as the “Internet” with a capital “I,” that will be used in many of the examples herein. However, it should be understood that the networks that the present invention might use are not so limited, although TCP/IP is a frequently implemented protocol.
User system 12 might communicate with System 16 using TCP/IP and, at a higher network level, use other common Internet protocols to communicate, such as HTTP, FTP, AFS, WAP, etc. In an example where HTTP is used, user system 12 might include an HTTP client commonly referred to as a “browser” for sending and receiving HTTP messages to and from an HTTP server at System 16. Such HTTP server might be implemented as the sole network interface between System 16 and network 14, but other techniques might be used as well or instead. In some implementations, the interface between System 16 and network 14 includes load sharing functionality, such as round-robin HTTP request distributors to balance loads and distribute incoming HTTP requests evenly over a plurality of servers. At least as for the users that are accessing that server, each of the plurality of servers has access to the MTS' data; however, other alternative configurations are contemplated.
In one embodiment, the system shown in
One arrangement for elements of System 16 is shown in
Several elements in the system shown in
As discussed above, embodiments are suitable for use with the Internet, which refers to a specific global internetwork of networks. However, it should be understood that other networks can be used instead of the Internet, such as an intranet, an extranet, a virtual private network (VPN), a non-TCP/IP based network, any LAN or WAN or the like.
According to one embodiment, each user system 12 and all of its components are operator configurable using applications, such as a browser, including computer code run using a central processing unit such as an Intel Pentium® processor or the like. Similarly, System 16 (and additional instances of an MTS, where more than one is present) and all of their components might be operator configurable using application(s) including computer code run using a central processing unit such as an Intel Pentium® processor or the like, or multiple processor units. A computer program product embodiment includes a machine-readable storage medium (media) having instructions stored thereon/in which can be used to program a computer to perform any of the processes of the embodiments described herein. Computer code for operating and configuring System 16 to intercommunicate and to process web pages, applications and other data and media content as described herein is preferably downloaded and stored on a hard disk, but the entire program code, or portions thereof, may also be stored in any other volatile or non-volatile memory medium or device as is well known, such as a ROM or RAM, or provided on any media capable of storing program code, such as any type of rotating media including floppy disks, optical discs, digital versatile disk (DVD), compact disk (CD), microdrive, and magneto-optical disks, and magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data. Additionally, the entire program code, or portions thereof, may be transmitted and downloaded from a software source over a transmission medium, e.g., over the Internet, or from another server, as is well known, or transmitted over any other conventional network connection as is well known (e.g., extranet, VPN, LAN, etc.) using any communication medium and protocols (e.g., TCP/IP, HTTP, HTTPS, Ethernet, etc.) as are well known. It will also be appreciated that computer code for implementing embodiments of the present invention can be implemented in any programming language that can be executed on a client system and/or server or server system such as, for example, in C, C++, HTML, any other markup language, Java™, JavaScript, ActiveX, any other scripting language such as VBScript, and many other programming languages as are well known. (Java™ is a trademark of Sun Microsystems, Inc.).
According to one embodiment, each System 16 is configured to provide web pages, forms, applications, data and media content to user (client) system 12 to support the access by user system 12 as tenants of System 16. As such, System 16 provides security mechanisms to keep each tenant's data separate unless the data is shared. If more than one MTS is used, they may be located in close proximity to one another (e.g., in a server farm located in a single building or campus), or they may be distributed at locations remote from one another (e.g., one or more servers located in city A and one or more servers located in city B). As used herein, each MTS could include one or more logically and/or physically connected servers distributed locally or across one or more geographic locations. Additionally, the term “server” is meant to include a computer system, including processing hardware and process space(s), and an associated storage system and database application (e.g., OODBMS or RDBMS) as is well known in the art. It should also be understood that “server system” and “server” are often used interchangeably herein. Similarly, the database object described herein can be implemented as single databases, a distributed database, a collection of distributed databases, a database with redundant online or offline backups or other redundancies, etc., and might include a distributed database or storage network and associated processing intelligence.
Application platform 18 includes an application setup mechanism 38 that supports application developers' creation and management of applications, which may be saved as metadata into tenant database 108 by save routines 36 for execution by subscribers as one or more tenant processes 104 managed by tenant management process 110 for example. Invocations to such applications may be coded using PL/SOQL 34 that provides a programming language style interface extension to API 32. Invocations to applications may be detected by one or more system processes, which manages retrieving application metadata 116 for the subscriber making the invocation and executing the metadata as an application in a virtual machine.
It should also be understood that each application server 100 may be communicably coupled to database systems, e.g., system database 106 and tenant database(s) 108, via a different network connection. For example, one server 1001 might be coupled via the Internet 14, another server 100N-I might be coupled via a direct network link, and another server 100N might be coupled by yet a different network connection. Transfer Control Protocol and Internet Protocol (TCP/IP) are typical protocols for communicating between servers 100 and the database system; however, it will be apparent to one skilled in the art that other transport protocols may be used to optimize the system depending on the network interconnect used.
In certain embodiments, each application server 100 is configured to handle requests for any user associated with any organization that is a tenant. Because it is desirable to be able to add and remove application servers from the server pool at any time for any reason, there is preferably no server affinity for a user and/or organization to a specific application server 100. In one embodiment, therefore, an interface system implementing a load balancing function (e.g., an F5 Big-IP load balancer) is communicably coupled between the servers 100 and the user systems 12 to distribute requests to the servers 100. In one embodiment, the load balancer uses a least connections algorithm to route user requests to the servers 100. Other examples of load balancing algorithms, such as round robin and observed response time, also can be used. For example, in certain embodiments, three consecutive requests from the same user could hit three different servers 100, and three requests from different users could hit the same server 100. In this manner, System 16 is multi-tenant, wherein System 16 handles storage of, and access to, different objects, data and applications across disparate users and organization.
As an example of storage, one tenant might be a company that employs a sales force where each salesperson uses System 16 to manage their sales process. Thus, a user might maintain contact data, leads data, customer follow-up data, performance data, goals and progress data, etc., all applicable to that user's personal sales process (e.g., in tenant database 108). In an example MTS arrangement, since all of this data and the applications to access, view, modify, report, transmit, calculate, etc., can be maintained and accessed by a user system having nothing more than network access, the user can manage his or her sales efforts and cycles from any of many different user systems. For example, if a salesperson is visiting a customer and the customer has Internet access in their lobby, the salesperson can obtain critical updates as to that customer while waiting for the customer to arrive in the lobby.
While each user's data might be separate from other users' data regardless of the employers of each user, some data might be organization-wide data shared or accessible by a plurality of users or all of the users for a given organization that is a tenant. Thus, there might be some data structures managed by System 16 that are allocated at the tenant level while other data structures might be managed at the user level. Because an MTS might support multiple tenants including possible competitors, the MTS should have security protocols that keep data, applications, and application use separate. Also, because many tenants will opt for access to an MTS rather than maintain their own system, redundancy, up-time, and backup are additional critical functions and need to be implemented in the MTS.
In addition to user-specific data and tenant-specific data, System 16 might also maintain system level data usable by multiple tenants or other data. Such system level data might include industry reports, news, postings, and the like that are sharable among tenants.
In certain embodiments, client system 12 communicate with application servers 100 to request and update system -level and tenant-level data from System 16 that may require one or more queries to database system 106 and/or database system 108. System 16 (e.g., an application server 100 in System 16) automatically generates one or more SQL statements (the SQL query) designed to access the desired information. Database system 108 may generate query plans to access the requested data from the database.
Each database can generally be viewed as a collection of objects, such as a set of logical tables, containing data fitted into predefined categories. A “table” is one representation of a data object, and is used herein to simplify the conceptual description of objects and custom objects according to the present invention. It should be understood that “table” and “object” may be used interchangeably herein. Each table generally contains one or more data categories logically arranged as columns or fields in a viewable schema. Each row or record of a table contains an instance of data for each category defined by the fields. For example, a CRM database may include a table that describes a customer with fields for basic contact information such as name, address, phone number, fax number, etc. Another table might describe a purchase order, including fields for information such as customer, product, sale price, date, etc. In some multi-tenant database systems, standard entity tables might be provided for use by all tenants. For CRM database applications, such standard entities might include tables for Account, Contact, Lead and Opportunity data, each containing pre-defined fields. It should be understood that “entity” may also be used interchangeably herein with “object” and “table”.
In some multi-tenant database systems, tenants may be allowed to create and store custom objects, or they may be allowed to customize standard entities or objects, for example by creating custom fields for standard objects, including custom index fields. U.S. patent application Ser. No. 10/817,161, filed Apr. 2, 2004, entitled “Custom Entities and Fields in a Multi-Tenant Database System”, and which is hereby incorporated herein by reference, teaches systems and methods for creating custom objects as well as customizing standard objects in a multi-tenant database system. In certain embodiments, for example, all custom entity data rows are stored in a single multi-tenant physical table, which may contain multiple logical tables per organization. It is transparent to customers that their multiple “tables” are in fact stored in one large table or that their data may be stored in the same table as the data of other customers.
According to one embodiment as illustrated in
As used herein, the term “organization” can mean a single tenant in a multi-tenant system and/or a set of metadata (both application data and metadata) for a single tenant in a multi-tenant system. An organization may be associated with an LMO and a Subscriber to create an instance of the disclosed method and system. A license object includes various properties such as package version, license status, install date, the number of seats, formula for the number of seats, expiration date and formula, a proxy user, account and contact information and other such pertinent information depending upon the embodiment. An example of a license object and associated fields implemented in one embodiment is further described and illustrated in
The method 300 typically includes associating an LMA with an application and correspondingly downloading a custom application that has been created and uploaded to an application exchange by a third party developer. In an embodiment, a license manager implements the process of method 300 and views install information from subscribers. In block 310, a third party license manager may download an LMA to its organization. In block 320, an application installation sequence is executed to create a lead and a license copy in the LMO.
In block 330, a third party developer may create a custom application in the developer partner organization. During packaging, the developer specifies the LMO that is associated with the package. In block 340, the developer may upload the custom application into the application exchange directory. An outbound message may then notify the license manager of the package information. The subscriber instance of the downloaded package may be asynchronously updated to all linked database schema via a two phase commit process and updated to the host organization database schema. Updates can include status changes in object and field attributes that define whether that field or object can be altered. For example, an “immutable” field may not be able to be altered by anyone. The source user can set an immutable flag so that nobody is able to modify the field or object after it has been packaged and published. An upgrade process that executes checks on each of such fields, where present, determines the extent that customizations are maintained upon upgrades and on updates. Updates may also include the various properties from the license as discussed above.
In block 350, subscribers may download the custom application into their own organization 362. In block 360, the license manager may monitor the LMA to view the installation information. Upon inspecting the LMA records, a local installation record may be displayed. Subsequent to blocks 310, 350 and 362, block 320 executes an application installation in a sequence of blocks, including creating a license administration user and a corresponding license object; sending an outbound message to a message server 342 with license information and a session identification; and making an API call to the subscriber to get the license manager organization 344 identification record, user and organization information upon receiving a message from the third party developer.
Some method embodiments include notifying a license manager to which the license manager application is installed of the installation of the application to the application platform includes creating, by a third party developer, block 330, a custom application and specifying the LMO when packaging the custom application, uploading, by the third party developer, the custom application into the application platform, and sending a message to the LMA so LMA can get package information for the custom application 320. In certain embodiments, managing subscriber access to the application using the license manager application includes downloading a custom application by a subscriber 350, and tracking a subscriber's install of the custom application by the LMA. In some embodiment, the method also includes notifying of a new version of a custom application being uploaded to the application services platform. In certain embodiments, the method also includes notifying of upgrading versions of a custom application to make available in the application services platform application exchange. In another embodiment, the method also includes notifying of uninstallation of a custom application to limit availability in the application services platform application exchange. An uninstallation can be implemented because the system keeps track of which metadata objects belong to the package through the package database schema.
In an embodiment of the method embodiment, once the custom application is installed, 350, the following are executed including creating a license administration user and a license object, sending an outbound message 340 to a message server 342, with license information and session identification. Upon receiving the message, message server 342 makes an API call to the subscriber to get the license manager organization identification, user and organization information 320. Next, message server then makes another API call to license manager (using the proxy user instance created when the LMA was installed in the license manager (a proxy user), to create a lead and a license copy in the license manager organization 320.
According to another embodiment, a method is provided for providing an association between a partner and a client creating a client specific instance of an application exchange directory which enables partners to determine which customers have installed particular versions of their application, when such use occurred and whether such use was in accordance with an agreed upon licensing agreement clicked through when the custom application version was installed 342, 360, 362. To implement the functionality under the current security framework, the entire license management process is supplemented with the additional steps including installing a tracking process 360 and, once a managed application is downloaded into an organization 350, providing an installation sequence 320 that will be executed.
In an embodiment of the system and method, the installation tracking process comprises a computer-readable medium of providing code to perform the steps of downloading a third party LMO into a third party organization, executing installation sequence steps in the license manager organization instance, creating a custom application in a partner developer organization by a third party developer and then specifying the LMO, uploading the custom application into the application exchange directory by a developer, sending an outbound message from the application exchange directory to the LMA such that the LMA can get the package information, downloading the custom application into the subscriber organization, executing the installation sequence, and tracking the subscriber's installation by an LMA.
According to another embodiment, a method is disclosed of providing an installation sequence 440. The method includes creating a license administration user and a license object 441, sending an outbound message to the message server with license object and session identification 442, upon receiving the message, making an API call to the subscriber by the message server and getting the user, subscriber organization identification record, and license management organization identification 443. In block 444, then making another API call to the publisher (using the proxy user created when the LMA was installed in the publisher) to create a license (install) record 441 in the LMO, message server then uses the proxy user information to create a package, lead, license copy in the proxy user organization instance.
According to an embodiment illustrated by
In another embodiment of the present invention as illustrated in
In other embodiments as illustrated by
When a new package is first uploaded into the application exchange directory, the directory server must send an outbound message to the LMO so the message server can create the data record that corresponds with the new package. Subsequently, if a package is upgraded, the application exchange server will send another message so the LMA can get the changes as shown in method 900.
U.S. patent application Ser. No. 11/530,394 filed Sep. 8, 2006, which claims priority from U.S. Provisional Patent Application No. 60/715,749, filed Sep. 9, 2005 which is incorporated by reference discloses additional aspects and embodiments regarding application package creation and exporting.
While the invention has been described by way of example and in terms of the specific embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications and similar arrangements as would be apparent to those skilled in the art. Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
This application claims the benefit of U.S. Provisional Application Ser. No. 60/828,023 , the entire disclosure of which is incorporated by reference for all purposes.
Number | Date | Country | |
---|---|---|---|
60828023 | Oct 2006 | US |