A portion of the disclosure of this patent document contains material which 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 current invention relates generally to sharing information, and more particularly to sharing information across businesses.
The subject matter discussed in the background section should not be assumed to be prior art merely as a result of its mention in the background section. Similarly, a problem mentioned in the background section or associated with the subject matter of the background section should not be assumed to have been previously recognized in the prior art. The subject matter in the background section merely represents different approaches, which in and of themselves may also be inventions.
In conventional database systems, information stored in a database is generally accessible to users with privileges to such database. For example, the information may include information owned by the company, where only the company has access to the information. Unfortunately, techniques for allowing database information to be shared among different owners have traditionally been limited.
For example, each owner is typically associated with a separate database (e.g. on a separate network, etc.), thus preventing sharing of information via a single database and/or network location storing such information. As another example, owners have generally been required to manually provide information to other owners, for sharing the same, such that automated sharing has been unavailable.
In accordance with embodiments, there are provided mechanisms and methods for sharing tenant information utilizing a multi-tenant on-demand database service. These mechanisms and methods for sharing tenant information utilizing a multi-tenant on-demand database service can allow automatic sharing of information owned by a first tenant with other tenants of the multi-tenant on-demand database service. In this way, collaboration among tenants of the multi-tenant on-demand database service may be enabled via the sharing of the tenant information.
In an embodiment and by way of example, a method is provided for sharing tenant information utilizing a multi-tenant on-demand database service. In use, an indication of permission to share a portion of first tenant information with a second tenant is received from a first tenant, the first tenant information managed using a multi-tenant on-demand database service, wherein the second tenant is otherwise blocked from accessing the portion of first tenant information absent the indication of permission. Further, the second tenant is permitted to access the portion of first tenant information based on the indication of permission.
While the present invention is described with reference to an embodiment in which techniques for sharing tenant information utilizing a multi-tenant on-demand database service are implemented in an application server providing a front end for a multi-tenant database on-demand service, the present invention is not limited to multi-tenant databases or deployment on application servers. Embodiments may be practiced using other database architectures, i.e., ORACLE®, DB2® and the like without departing from the scope of the embodiments claimed.
Any of the above embodiments may be used alone or together with one another in any combination. Inventions encompassed within this specification may also include embodiments that are only partially mentioned or alluded to or are not mentioned or alluded to at all in this brief summary or in the abstract. Although various embodiments of the invention may have been motivated by various deficiencies with the prior art, which may be discussed or alluded to in one or more places in the specification, the embodiments of the invention do not necessarily address any of these deficiencies. In other words, different embodiments of the invention may address different deficiencies that may be discussed in the specification. Some embodiments may only partially address some deficiencies or just one deficiency that may be discussed in the specification, and some embodiments may not address any of these deficiencies.
Systems and methods are provided for sharing tenant information utilizing a multi-tenant on-demand database service.
To date, information stored in a database is generally accessible to owners of such database. Unfortunately, techniques for allowing database information to be shared among different owners have traditionally been limited. Thus, mechanisms and methods are provided herein for sharing tenant information utilizing a multi-tenant on-demand database service and can allow automatic sharing of information owned by a first tenant with other tenants of the multi-tenant on-demand database service, such that, for example, collaboration among tenants of the multi-tenant on-demand database service may be enabled via the sharing of the tenant information.
Next, mechanisms and methods for sharing tenant information utilizing a multi-tenant on-demand database service will be described with reference to exemplary embodiments.
With respect to the present embodiment, the first tenant from which the indication of permission is received may include any tenant of the multi-tenant on-demand database service. For example, the first tenant may include a company and/or any other entity with information (herein referred to as first tenant information) managed by the multi-tenant on-demand database service. In one embodiment, the multi-tenant on-demand database service may manage the first tenant information by storing the first tenant information in a database of the multi-tenant on-demand database service, permitting sharing of the first tenant information (as described herein), etc.
Additionally, the second tenant for which the indication of permission is received may include any tenant capable of accessing at least a portion of the first tenant information, based on the indication of permission provided by the first tenant. In one embodiment, similar to the first tenant, the second tenant may also be a tenant of the multi-tenant on-demand database service, such that the second tenant may optionally include a company and/or any other entity with information (herein referred to as second tenant information) managed by the multi-tenant on-demand database service. To this end, the first tenant and the second tenant may include different tenants of the multi-tenant on-demand database service.
Of course, in another embodiment, the second tenant may be a tenant outside of the on-demand database service. Thus, the second tenant information may not necessarily be managed by the multi-tenant on-demand database service. For example, the second tenant information may be stored in a database separate from the multi-tenant on-demand database service (e.g. may be stored in a database locally owned by the second tenant, may be stored in a database provided by a third party web service, etc.).
It should be noted that with respect to the present embodiment, the multi-tenant on-demand database service may include any service that relies on a database system that is accessible over a network, in which various elements of hardware and software of the database system may be shared by one or more customers. For instance, a given application server may simultaneously process requests for a great number of customers, and a given database table may store rows for a potentially much greater number of customers. Various examples of such a multi-tenant on-demand database service will be set forth in the context of different embodiments that will be described during reference to subsequent figures.
As noted above, the first tenant information may include any information managed by the multi-tenant on-demand database service on behalf of the first tenant. For example, the first tenant information may describe a business of the first tenant. As another example, the first tenant information may include a plurality of records. In various embodiments, the first tenant information may include tasks, accounts, contacts, products, opportunities, cases, comments and/or any other objects (e.g. custom objects, etc.) capable of being associated with the first tenant (e.g. where each is stored as a separate record, etc.).
Accordingly, the portion of first tenant information (for which the indication of permission to share the same with the second tenant is received) may include a subpart of the first tenant information or an entirety of the first tenant information. In one embodiment, the indication of permission may only be for a single record of the first tenant information (e.g. a single task, account, contact, etc.). In another embodiment, the indication of permission may be for a group of records of the first tenant information. For example, the group of records may include records (e.g. child records) grouped under a parent record. In still yet another embodiment, the indication of permission may be for the entirety of the first tenant information.
Moreover, the indication of permission to share the portion of first tenant information may include any type of indicator capable of being received from the first tenant for indicating that the second tenant is permitted to share the portion of first tenant information. As an option, the indication of permission may include an identifier of the portion of first tenant information that is being permitted by the first tenant to be shared with the second tenant. As another option, if the indication of permission is to share a parent record, such indication may automatically an indication of permission to share child records of such parent record. As yet another option, the indication of permission may include an identifier of the second tenant with which the portion of first tenant information is to be shared.
In one embodiment, the indication of permission may be received from the first tenant via a graphical user interface (GUI) of the multi-tenant on-demand database service. For example, a graphical user interface displaying details of the portion of first tenant information (e.g. a particular record or optionally a plurality of records of a certain type, such as tasks, contacts, etc.) may include a configurable option (e.g. for each displayed record, for all displayed records, etc.) capable of being configured by the first tenant for indicating that such portion of first tenant information is to be shared with the second tenant. By configuring the option, the indication of permission may be received from the first tenant (e.g. by the multi-tenant on-demand database service).
Just by way of example, the configurable option may include a drop down menu associated with the portion of first tenant information which displays an identifier of the second tenant (and optionally other tenants with which the portion of first tenant information may be shared), such that selection of the identifier of the second tenant via the drop down menu results in receipt of the indication of permission to share the portion of first tenant information with the second tenant.
As noted above, the indication of permission may be for the portion of first tenant information to be shared with the second tenant, where the second tenant would otherwise be blocked from accessing the portion of first tenant information absent such indication of permission. For example, the second tenant may be blocked from accessing the portion of first tenant information by preventing the second tenant from having access to a database storing the portion of first tenant information, preventing the second tenant from having access to a GUI utilized to display the portion of first tenant, etc. In this way, the indication of permission may enable access to the portion of first tenant information which is otherwise blocked with respect to the second tenant.
Further, the second tenant is permitted to access the portion of first tenant information based on the indication of permission. See operation 104. In this way, upon receipt of the indication of permission, the second tenant may be permitted to access the portion of the first tenant information. In various embodiments, permitting the second tenant to access the portion of first tenant information may include permitting the second tenant to view, update, etc. the portion of first tenant information.
As another option, permitting the second tenant to access the portion of first tenant information may include permitting the second tenant to store the portion of first tenant information in association with information associated with the second tenant (e.g. the second tenant information). For example, upon receipt of the indication of permission to share the portion of first tenant information with the second tenant, the portion of first tenant information may be automatically inserted and linked to a parent record of the second tenant. Of course, as another example, the portion of first tenant information may be automatically stored as a new record of the second tenant.
As an option, the access to the portion of first tenant information may be permitted via the multi-tenant on-demand database service. For example, if the second tenant is a tenant of the multi-tenant on-demand database service, the second tenant may be permitted to access the portion of first tenant information utilizing a GUI of the multi-tenant on-demand database service. As another example, if the second tenant is a tenant outside of the multi-tenant on-demand database service, access to the portion of first tenant information may be provided utilizing a mark-up language [e.g. Extensible Markup Language (XML), etc.].
It should be noted that tenant information of one tenant may be permitted by such tenant to be shared with any number of other tenants (whether or not such tenants are tenants of the multi-tenant on-demand database service). For example, another indication of permission to share the portion of first tenant information with a third tenant may be received from the first tenant. Furthermore, the third tenant may be permitted to access the portion of first tenant information based on the other indication of permission. As an option, permitting the second tenant to access the portion of first tenant information and permitting the third tenant to access the portion of first tenant information may be separate, such that subsequently blocking one of the same may prevent an impact on the other. Thus, for example, the second tenant may continue to be permitted to access the portion of first tenant information even after the second tenant's access to the portion of first tenant information is blocked (e.g. by the first tenant).
As another option, reciprocity of sharing of tenant information may also be provided between tenants. For example, another indication of permission to share a portion of the second tenant information with the first tenant may be received from the second tenant, where the second tenant information is managed by the multi-tenant on-demand database service and where the first tenant is otherwise blocked from accessing the portion of second tenant information absent the other indication of permission. As a result, the first tenant may be permitted to access the portion of second tenant information based on the indication of permission, such that reciprocity of sharing of tenant information is provided between the first tenant and the second tenant.
As still yet another option, real-time updates on the shared data may be provided. For example, if the portion of first tenant information is updated by the first tenant, the update may be automatically visible to the second tenant sharing such portion of first tenant information. As another example, if the portion of first tenant information is updated by the second tenant sharing the portion of first tenant information, second tenant sharing such portion of first tenant information first tenant.
As an option, an application program interface (API) may be provided for use by the multi-tenant on-demand database service for automatically indicating permission and blocking already established permission to tenant information for particular tenants. For example, predefined rules may be used to automatically provide an indication of permission to share particular tenant information or an indication to block sharing of particular tenant information with certain tenants.
To this end, by permitting the second tenant to access the portion of first tenant information based on the indication of permission received from the first tenant, business collaboration both within and across tenants may be provided. For example, such tenants may be enabled to share leads, opportunities, cases and other information, as noted above.
With respect to the present GUI 200, a tenant with privileges to access such GUI 200 may be able to utilize such GUI 200 to share any task (e.g. including tasks linked to a shared parent record), including a new task, a task for logging a call, a task for sending an email, etc. For example, the tenant may include an original owner (e.g. may have originally created) the tasks displayed via the GUI 200. Standalone tasks where the parent is not shared may optionally be prevented from being shared among tenants. In order to share a task, various fields of the task may optionally be required to be configured, such as a subject of a publish field of the task, a subject of a subscribe field of the task, etc.
Also with respect to the present GUI 200, the tenant may be capable of sharing with other tenants any open and/or closed tasks when sharing the parent record. As shown, the GUI 200 may be used to share the task with another tenant. Of course, it should be noted that while not shown, the GUI 200 may optionally be utilized to share a task with a plurality of other tenants. Once an indication of permission to share a task with another tenant is made via the GUI 200, the task may be automatically inserted and linked to the other tenant's parent record. Optionally, the parent record's owner field may be used to set the owner of the task. As another option, the owner's default record type may be used to set the record type of the task.
As also shown, the ability to share a task may be available via the Open Activity (or Activity History) related list on the parent record. The tenant may have the option to share the task with any other tenants with which the parent record is shared. If the task has multiple parent records, visibility of other tenants with which the task may be shared may be driven by the parent from which the tenant has accessed the GUI 200. Options to share the task (via the “forward” drop down menu as shown) or block access to an otherwise shared task may also be provided via the GUI 200. Such options may be visible via the GUI 200 if sharing is enabled for the tenant (e.g. enabled by the multi-tenant on-demand database service), the parent record is currently shared with at least one other tenant, and if the task is both published and subscribed with the other tenant on the parent record associated with the task (e.g. from which the GUI 200 displaying the task was accessed).
As noted above, the GUI 200 may be used by the tenant to block (e.g. deactivate, etc.) sharing of an otherwise shared task (whether opened or closed) at any time for a particular tenant with which the task is shared, all tenants with which the task is shared, etc. Sent and received indications of permission to share a task may also be displayed in association with the task, as an option.
In some embodiments, a task may have multiple parents. Thus, if sharing is terminated on any parent record associated with the task, sharing with a particular tenant may remain on the task if any of the parent records of the tenant or the particular tenant are still shared. Otherwise, sharing may be terminated with termination of the sharing of the parent record between the tenant and such other particular tenant. Additionally, since a task may be shared with one or more tenants, sharing with one tenant may be deactivated without impacting the sharing with the other tenant.
As shown, the GUI 300 may be used to allow collaboration between tenants on accounts (e.g. customer accounts, etc.). For example, the tenants may optionally share both business and person accounts with other tenants. In order to share an account, various fields of the account may optionally be required to be configured, such as a name on a publish field of the account (e.g. a last name field of a person account), a name of a subscribe field of the account (e.g. a last name field of a person account), etc.
Further, an indication of permission to share each account may be provided via the GUI 300. In one embodiment, an option of the GUI 300 may be manually selected for indication such permission. As shown, for a particular account, the GUI 300 may be utilized to select the tenants (connections as shown) with which the account is to be shared. In particular, the tenants may be selected from a list of available tenants. Of course, in another embodiment (not shown), the indication of such permission may be automatically provided for sharing an account with a tenant, for example, based on predefined rules.
Upon indicating permission to share the account with another tenant, a notification may be sent to such tenant (e.g. representatives of the tenant). The notification may notify the tenant that access to the account is available, and the tenant may be provided with the opportunity to accept the access provided to the account, as described in more detail with respect to
When sharing an account, a tenant may select options of the GUI 300 to also share records related to the account (e.g. child records of the parent account). In one embodiment, the GUI 300 may include an option to share all related records (not shown), or the GUI 300 may include multiple options to share related records, in order of a predetermined priority of each type of related record, including open and/or closed tasks related to the account, opportunities associated with the account (such as only those not already shared), contacts associated with the account (only those not already shared), etc.
As shown, the GUI 400 displays a list of accounts for which sharing with a second tenant has been permitted by a first tenant. Thus, the GUI 400 may be accessible by the second tenant. In association with each account is information associated with such account (e.g. name of account, billing city/state/country of account, type of account, connection name associated with the account, date in which the sharing was permitted by the first tenant, etc.), in addition to an option for the second tenant to accept the sharing of the account.
To this end, the second tenant may accept one account at a time, in one embodiment. Upon acceptance of sharing of an account, another GUI (e.g. shown in
As shown, various options may be provided via the GUI 500 for accepting sharing of an account. In one embodiment, the sharing of the account may be accepted by creating the account as a new account. As an option, the account may be created by entering an account record type. In another embodiment, the sharing of the account may be accepted by selecting an existing account (e.g. of the tenant accessing the GUI 500) with which the shared account is to be integrated.
As another option, if a new account is created via the GUI 500, as described above, a user (of the tenant) to which the account is assigned may be configured. The GUI 500 may also provide an option to send a notification (e.g. email) to such user informing the user of the new account.
In other various embodiments (not necessarily limited to the present GUI 500), sent and received connection name fields may be available for the account (person account) object. Additionally, the same fields may also be made available to show a message at the top of a shared record. Further, a history may also be displayed (via reports, via a GUI, etc.) in which updates on accounts, records, etc. from other tenants with which such accounts, records, etc. are shared are tracked.
Collaboration between tenants on contacts (e.g. customer contacts, etc.) may be provided via a GUI (not shown). For example, the tenants may optionally share both business and person contacts with other tenants. In order to share a contact, various fields of the contact may optionally be required to be configured, such as a name on a publish field of the contact, a name of a subscribe field of the contact, etc.
Further, an indication of permission to share each contact may be provided via a GUI (not shown). In one embodiment, an option of the GUI may be manually selected for indication such permission. As shown, for a particular contact, the GUI may be utilized to select the tenants (connections) with which the contact is to be shared. In particular, the tenants may be selected from a list of available tenants. Of course, in another embodiment (not shown), the indication of such permission may be automatically provided for sharing a contact with a tenant, for example, based on predefined rules.
Upon indicating permission to share the contact with another tenant, a notification may be sent to such tenant (e.g. representatives of the tenant). The notification may notify the tenant that access to the contact is available, and the tenant may be provided with the opportunity to accept the access provided to the contact, as shown with respect to the present GUI 600.
When sharing a contact, a tenant may select options (not shown) to also share records related to the contact (e.g. child records of the parent contact). In one embodiment, an option to share all related records may be provided, or multiple options may be provided to share related records, in order of a predetermined priority of each type of related record, including open and/or closed tasks related to the contact, opportunities associated with the contact (such as only those not already shared), accounts associated with the contact (only those not already shared), etc.
As shown, the GUI 400 displays a list of contacts for which sharing with a second tenant has been permitted by a first tenant. Thus, the GUI 400 may be accessible by the second tenant. In association with each contact is information associated with such contact (e.g. name of contact, name of account associated with the contact, billing city/state/country of account associated with the contact, email of the contact, phone number of the contact, connection name associated with the contact, date in which the sharing was permitted by the first tenant, etc.), in addition to an option for the second tenant to accept the sharing of the contact.
To this end, the second tenant may accept one contact at a time, in one embodiment. Upon acceptance of sharing of a contact, another GUI (e.g. shown in
As shown, various options may be provided via the GUI 700 for accepting sharing of a contact. In one embodiment, the sharing of the contact may be accepted by creating an account to be associated with the contact as a new account. As an option, the account may be created by entering an account record type. In another embodiment, the sharing of the contact may be accepted by selecting an existing account (e.g. of the tenant accessing the GUI 700) with which the shared account is to be integrated. Of course, in another embodiment, the sharing of the contact may be accepted without creating a new account or selecting an existing account.
Further, the sharing of the contact may be accepted by creating a new contact to be stored in association with information of the tenant or selecting an existing contact of the tenant and integrating (e.g. linking) the contact with the existing contact. As another option, if a new contact is created via the GUI 700, as described above, a user (of the tenant) to which the contact is assigned may be configured. The GUI 700 may also provide an option to send a notification (e.g. email) to such user informing the user of the new contact.
If the contact is automatically being shared as a result of selection of an option to share child records for a parent record (e.g. account) of the contact being shared, the GUI 700 may optionally only be allowed to create a new contact or select and existing contact with the options to create an account or select an existing account being disabled, such that account selection is defaulted to the related parent account.
In other various embodiments (not necessarily limited to the present GUI 700), sent and received connection name fields may be available for the contact object. Additionally, the same fields may also be made available to show a message at the top of a shared record. Further, a history may also be displayed (via reports, via a GUI, etc.) in which updates on contacts, records, etc. from other tenants with which such contacts, records, etc. are shared are tracked.
System Overview
Environment 810 is an environment in which an on-demand database service exists. User system 812 may be any machine or system that is used by a user to access a database user system. For example, any of user systems 812 can be a handheld computing device, a mobile phone, a laptop computer, a work station, and/or a network of computing devices. As illustrated in
An on-demand database service, such as system 816, is a database system that is made available to outside users that do not need to necessarily be concerned with building and/or maintaining the database system, but instead may be available for their use when the users need the database system (e.g., on the demand of the users). Some on-demand database services may store information from one or more tenants stored into tables of a common database image to form a multi-tenant database system (MTS). Accordingly, “on-demand database service 816” and “system 816” will be used interchangeably herein. A database image may include one or more database objects. A relational database management system (RDMS) or the equivalent may execute storage and retrieval of information against the database object(s). Application platform 818 may be a framework that allows the applications of system 816 to run, such as the hardware and/or software, e.g., the operating system. In an embodiment, on-demand database service 816 may include an application platform 818 that enables creation, managing and executing one or more applications developed by the provider of the on-demand database service, users accessing the on-demand database service via user systems 812, or third party application developers accessing the on-demand database service via user systems 812.
The users of user systems 812 may differ in their respective capacities, and the capacity of a particular user system 812 might be entirely determined by permissions (permission levels) for the current user. For example, where a salesperson is using a particular user system 812 to interact with system 816, that user system has the capacities allotted to that salesperson. However, while an administrator is using that user system to interact with system 816, that user system has the capacities allotted to that administrator. In systems with a 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 814 is any network or combination of networks of devices that communicate with one another. For example, network 814 can be any one or any combination of a LAN (local area network), WAN (wide area network), telephone network, wireless network, point-to-point network, star network, token ring network, hub network, or other appropriate configuration. As the most common type of computer 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 network 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 systems 812 might communicate with system 816 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 812 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 816. Such an HTTP server might be implemented as the sole network interface between system 816 and network 814, but other techniques might be used as well or instead. In some implementations, the interface between system 816 and network 814 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 may be used instead.
In one embodiment, system 816, shown in
One arrangement for elements of system 816 is shown in
Several elements in the system shown in
According to one embodiment, each user system 812 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 816 (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 to run using a central processing unit such as processor system 817 of
According to one embodiment, each system 816 is configured to provide webpages, forms, applications, data and media content to user (client) systems 812 to support the access by user systems 812 as tenants of system 816. As such, system 816 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.
User system 812, network 814, system 816, tenant data storage 822, and system data storage 824 were discussed above in
Application platform 818 includes an application setup mechanism 938 that supports application developers' creation and management of applications, which may be saved as metadata into tenant data storage 822 by save routines 936 for execution by subscribers as one or more tenant process spaces 804 managed by tenant management process 910 for example. Invocations to such applications may be coded using PL/SOQL 934 that provides a programming language style interface extension to API 932. A detailed description of some PL/SOQL language embodiments is discussed in commonly owned U.S. Provisional Patent Application 60/828,192 entitled, “PROGRAMMING LANGUAGE METHOD AND SYSTEM FOR EXTENDING APIS TO EXECUTE IN CONJUNCTION WITH DATABASE APIS,” by Craig Weissman, filed Oct. 4, 2006, which is incorporated in its entirety herein for all purposes. Invocations to applications may be detected by one or more system processes, which manage retrieving application metadata 916 for the subscriber making the invocation and executing the metadata as an application in a virtual machine.
Each application server 900 may be communicably coupled to database systems, e.g., having access to system data 825 and tenant data 823, via a different network connection. For example, one application server 9001 might be coupled via the network 814 (e.g., the Internet), another application server 900N-1 might be coupled via a direct network link, and another application server 900N might be coupled by yet a different network connection. Transfer Control Protocol and Internet Protocol (TCP/IP) are typical protocols for communicating between application servers 900 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 900 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 900. 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 application servers 900 and the user systems 812 to distribute requests to the application servers 900. In one embodiment, the load balancer uses a least connections algorithm to route user requests to the application servers 900. 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 application servers 900, and three requests from different users could hit the same application server 900. In this manner, system 816 is multi-tenant, wherein system 816 handles storage of, and access to, different objects, data and applications across disparate users and organizations.
As an example of storage, one tenant might be a company that employs a sales force where each salesperson uses system 816 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 data storage 822). In an example of a MTS arrangement, since all of the 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 816 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 may opt for access to an MTS rather than maintain their own system, redundancy, up-time, and backup are additional functions that may be implemented in the MTS. In addition to user-specific data and tenant-specific data, system 816 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, user systems 812 (which may be client systems) communicate with application servers 900 to request and update system-level and tenant-level data from system 816 that may require sending one or more queries to tenant data storage 822 and/or system data storage 824. System 816 (e.g., an application server 900 in system 816) automatically generates one or more SQL statements (e.g., one or more SQL queries) that are designed to access the desired information. System data storage 824 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 may be 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 the word “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,” 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.
It should be noted that any of the different embodiments described herein may or may not be equipped with any one or more of the features set forth in one or more of the following published applications: US2003/0233404, titled “OFFLINE SIMULATION OF ONLINE SESSION BETWEEN CLIENT AND SERVER,” filed Nov. 4, 2002; US2004/0210909, titled “JAVA OBJECT CACHE SERVER FOR DATABASES,” filed Apr. 17, 2003, now issued U.S. Pat. No. 7,209,929; US2005/0065925, titled “QUERY OPTIMIZATION IN A MULTI-TENANT DATABASE SYSTEM,” filed Sep. 23, 2003; US2005/0223022, titled “CUSTOM ENTITIES AND FIELDS IN A MULTI-TENANT DATABASE SYSTEM,” filed Apr. 2, 2004; US2005/0283478, titled “SOAP-BASED WEB SERVICES IN A MULTI-TENANT DATABASE SYSTEM,” filed Jun. 16, 2004; US2006/0206834, titled “SYSTEMS AND METHODS FOR IMPLEMENTING MULTI-APPLICATION TABS AND TAB SETS,” filed Mar. 8, 2005; US2008/0010243, titled “METHOD AND SYSTEM FOR PUSHING DATA TO A PLURALITY OF DEVICES IN AN ON-DEMAND SERVICE ENVIRONMENT,” filed Jun. 1, 2007; and/or US 2009/0030906, title “METHOD AND SYSTEM FOR SHARING DATA BETWEEN SUBSCRIBERS OF A MULTI-TENANT DATABASE SERVICE,” filed Jun. 24, 2008, which are each incorporated herein by reference in their entirety for all purposes.
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 is a continuation of U.S. application Ser. No. 13/886,200, filed May 2, 2013, which is a continuation of U.S. application Ser. No. 13/554,905, filed Jul. 20, 2012, which is a continuation of U.S. application Ser. No. 12/437,459, filed May 7, 2009, which claims the benefit of U.S. Provisional Patent Application No. 61/051,589, filed May 8, 2008, the entire contents of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5577188 | Zhu | Nov 1996 | A |
5608872 | Schwartz et al. | Mar 1997 | A |
5649104 | Carleton et al. | Jul 1997 | A |
5715450 | Ambrose et al. | Feb 1998 | A |
5761419 | Schwartz et al. | Jun 1998 | A |
5819038 | Carleton et al. | Oct 1998 | A |
5821937 | Tonelli et al. | Oct 1998 | A |
5831610 | Tonelli et al. | Nov 1998 | A |
5873096 | Lim et al. | Feb 1999 | A |
5918159 | Fomukong et al. | Jun 1999 | A |
5963953 | Cram et al. | Oct 1999 | A |
6092083 | Brodersen et al. | Jul 2000 | A |
6161149 | Achacoso et al. | Dec 2000 | A |
6169534 | Raffel et al. | Jan 2001 | B1 |
6178425 | Brodersen et al. | Jan 2001 | B1 |
6189011 | Lim et al. | Feb 2001 | B1 |
6216135 | Brodersen et al. | Apr 2001 | B1 |
6233617 | Rothwein et al. | May 2001 | B1 |
6266669 | Brodersen et al. | Jul 2001 | B1 |
6295530 | Ritchie et al. | Sep 2001 | B1 |
6324568 | Diec | Nov 2001 | B1 |
6324693 | Brodersen et al. | Nov 2001 | B1 |
6336137 | Lee et al. | Jan 2002 | B1 |
D454139 | Feldcamp | Mar 2002 | S |
6367077 | Brodersen et al. | Apr 2002 | B1 |
6393605 | Loomans | May 2002 | B1 |
6405220 | Brodersen et al. | Jun 2002 | B1 |
6434550 | Warner et al. | Aug 2002 | B1 |
6446089 | Brodersen et al. | Sep 2002 | B1 |
6535909 | Rust | Mar 2003 | B1 |
6549908 | Loomans | Apr 2003 | B1 |
6553563 | Ambrose et al. | Apr 2003 | B2 |
6560461 | Fomukong et al. | May 2003 | B1 |
6574635 | Stauber et al. | Jun 2003 | B2 |
6577726 | Huang et al. | Jun 2003 | B1 |
6601087 | Zhu et al. | Jul 2003 | B1 |
6604117 | Lim et al. | Aug 2003 | B2 |
6604128 | Diec | Aug 2003 | B2 |
6609150 | Lee et al. | Aug 2003 | B2 |
6621834 | Scherpbier et al. | Sep 2003 | B1 |
6654032 | Zhu et al. | Nov 2003 | B1 |
6665648 | Brodersen et al. | Dec 2003 | B2 |
6665655 | Warner et al. | Dec 2003 | B1 |
6684438 | Brodersen et al. | Feb 2004 | B2 |
6711565 | Subramaniam et al. | Mar 2004 | B1 |
6724399 | Katchour et al. | Apr 2004 | B1 |
6728702 | Subramaniam et al. | Apr 2004 | B1 |
6728960 | Loomans | Apr 2004 | B1 |
6732095 | Warshavsky et al. | May 2004 | B1 |
6732100 | Brodersen et al. | May 2004 | B1 |
6732111 | Brodersen et al. | May 2004 | B2 |
6754681 | Brodersen et al. | Jun 2004 | B2 |
6763351 | Subramaniam et al. | Jul 2004 | B1 |
6763501 | Zhu et al. | Jul 2004 | B1 |
6768904 | Kim | Jul 2004 | B2 |
6772229 | Achacoso et al. | Aug 2004 | B1 |
6782383 | Subramaniam et al. | Aug 2004 | B2 |
6804330 | Jones et al. | Oct 2004 | B1 |
6826565 | Ritchie et al. | Nov 2004 | B2 |
6826582 | Chatterjee et al. | Nov 2004 | B1 |
6826745 | Coker et al. | Nov 2004 | B2 |
6829655 | Huang et al. | Dec 2004 | B1 |
6842748 | Warner et al. | Jan 2005 | B1 |
6850895 | Brodersen et al. | Feb 2005 | B2 |
6850949 | Warner et al. | Feb 2005 | B2 |
7062502 | Kesler | Jun 2006 | B1 |
7069231 | Cinarkaya et al. | Jun 2006 | B1 |
7181758 | Chan | Feb 2007 | B1 |
7289976 | Kihneman et al. | Oct 2007 | B2 |
7340411 | Cook | Mar 2008 | B2 |
7356482 | Frankland et al. | Apr 2008 | B2 |
7401094 | Kesler | Jul 2008 | B1 |
7412455 | Dillon | Aug 2008 | B2 |
7508789 | Chan | Mar 2009 | B2 |
7620655 | Larsson et al. | Nov 2009 | B2 |
7698160 | Beaven et al. | Apr 2010 | B2 |
7779039 | Weissman et al. | Aug 2010 | B2 |
7865521 | Bird et al. | Jan 2011 | B2 |
8001611 | Nelson et al. | Aug 2011 | B2 |
8015495 | Achacoso et al. | Sep 2011 | B2 |
8082301 | Ahlgren et al. | Dec 2011 | B2 |
8095413 | Beaven | Jan 2012 | B1 |
8095594 | Beaven et al. | Jan 2012 | B2 |
8271536 | Amradkar et al. | Sep 2012 | B2 |
8275836 | Beaven et al. | Sep 2012 | B2 |
8457545 | Chan | Jun 2013 | B2 |
8484111 | Frankland et al. | Jul 2013 | B2 |
8713043 | Hess | Apr 2014 | B2 |
20010044791 | Richter et al. | Nov 2001 | A1 |
20020022986 | Coker et al. | Feb 2002 | A1 |
20020029161 | Brodersen et al. | Mar 2002 | A1 |
20020029376 | Ambrose et al. | Mar 2002 | A1 |
20020035577 | Brodersen et al. | Mar 2002 | A1 |
20020042264 | Kim | Apr 2002 | A1 |
20020042843 | Diec | Apr 2002 | A1 |
20020072951 | Lee et al. | Jun 2002 | A1 |
20020082892 | Raffel et al. | Jun 2002 | A1 |
20020129352 | Brodersen et al. | Sep 2002 | A1 |
20020140731 | Subramaniam et al. | Oct 2002 | A1 |
20020143997 | Huang et al. | Oct 2002 | A1 |
20020161602 | Dougherty et al. | Oct 2002 | A1 |
20020162090 | Parnell et al. | Oct 2002 | A1 |
20020165742 | Robins | Nov 2002 | A1 |
20030004971 | Gong et al. | Jan 2003 | A1 |
20030018705 | Chen et al. | Jan 2003 | A1 |
20030018830 | Chen et al. | Jan 2003 | A1 |
20030066031 | Laane | Apr 2003 | A1 |
20030066032 | Ramachandran et al. | Apr 2003 | A1 |
20030069936 | Warner et al. | Apr 2003 | A1 |
20030070000 | Coker et al. | Apr 2003 | A1 |
20030070004 | Mukundan et al. | Apr 2003 | A1 |
20030070005 | Mukundan et al. | Apr 2003 | A1 |
20030074418 | Coker | Apr 2003 | A1 |
20030120675 | Stauber et al. | Jun 2003 | A1 |
20030151633 | George et al. | Aug 2003 | A1 |
20030159136 | Huang et al. | Aug 2003 | A1 |
20030187921 | Diec | Oct 2003 | A1 |
20030189600 | Gune et al. | Oct 2003 | A1 |
20030204427 | Gune et al. | Oct 2003 | A1 |
20030206192 | Chen et al. | Nov 2003 | A1 |
20030225730 | Warner et al. | Dec 2003 | A1 |
20040001092 | Rothwein et al. | Jan 2004 | A1 |
20040010489 | Rio | Jan 2004 | A1 |
20040015981 | Coker et al. | Jan 2004 | A1 |
20040027388 | Berg et al. | Feb 2004 | A1 |
20040128001 | Levin et al. | Jul 2004 | A1 |
20040186860 | Lee et al. | Sep 2004 | A1 |
20040193510 | Catahan, Jr. et al. | Sep 2004 | A1 |
20040199489 | Barnes-Leon et al. | Oct 2004 | A1 |
20040199536 | Barnes Leon et al. | Oct 2004 | A1 |
20040199543 | Braud et al. | Oct 2004 | A1 |
20040249854 | Barnes-Leon et al. | Dec 2004 | A1 |
20040260534 | Pak et al. | Dec 2004 | A1 |
20040260659 | Chan et al. | Dec 2004 | A1 |
20040268299 | Lei et al. | Dec 2004 | A1 |
20050050555 | Exley et al. | Mar 2005 | A1 |
20050091098 | Brodersen et al. | Apr 2005 | A1 |
20050223022 | Weissman et al. | Oct 2005 | A1 |
20060021019 | Hinton et al. | Jan 2006 | A1 |
20080162491 | Becker et al. | Jul 2008 | A1 |
20080249972 | Dillon | Oct 2008 | A1 |
20090025063 | Thomas | Jan 2009 | A1 |
20090063415 | Chatfield et al. | Mar 2009 | A1 |
20090100342 | Jakobson | Apr 2009 | A1 |
20090177744 | Marlow et al. | Jul 2009 | A1 |
20110099621 | Lizarraga et al. | Apr 2011 | A1 |
20110218958 | Warshavsky et al. | Sep 2011 | A1 |
20110247051 | Bulumulla et al. | Oct 2011 | A1 |
20120042218 | Cinarkaya et al. | Feb 2012 | A1 |
20130218948 | Jakobson | Aug 2013 | A1 |
20130218949 | Jakobson | Aug 2013 | A1 |
20130218966 | Jakobson | Aug 2013 | A1 |
20130247216 | Cinarkaya et al. | Sep 2013 | A1 |
20140188939 | Hess | Jul 2014 | A1 |
20140359537 | Jackobson et al. | Dec 2014 | A1 |
20150006289 | Jakobson et al. | Jan 2015 | A1 |
20150007050 | Jakobson et al. | Jan 2015 | A1 |
20150095162 | Jakobson et al. | Apr 2015 | A1 |
20150142596 | Jakobson et al. | May 2015 | A1 |
20150172563 | Jakobson et al. | Jun 2015 | A1 |
Entry |
---|
Non-Final Office Action from U.S. Appl. No. 14/197,154, dated Mar. 23, 2015. |
Number | Date | Country | |
---|---|---|---|
20150006583 A1 | Jan 2015 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13886200 | May 2013 | US |
Child | 14490579 | US | |
Parent | 13554905 | Jul 2012 | US |
Child | 13886200 | US | |
Parent | 12437459 | May 2009 | US |
Child | 13554905 | US | |
Parent | 61051589 | May 2008 | US |
Child | 12437459 | US |