CROSS-REFERENCE TO RELATED APPLICATIONSThis patent document claims priority to Provisional U.S. Patent Application No. 62/735,321 (A4138PROV_SFDCP005P) by Doti et al., titled “INTEGRATING AN APPLICATION OR SERVICE WITH A LEARNING PLATFORM USING A DATABASE SYSTEM”, filed Sep. 24, 2018. Provisional U.S. Patent Application No. 62/735,321 is hereby incorporated by reference in its entirety and for all purposes.
COPYRIGHT NOTICEA 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 United States Patent and Trademark Office patent file or records but otherwise reserves all copyright rights whatsoever
FIELD OF TECHNOLOGYThis patent document relates generally to database systems and more specifically to integrating an application or service with a learning platform using a database system.
BACKGROUND“Cloud computing” services provide shared resources, applications, and information to computers and other devices upon request. In cloud computing environments, services can be provided by one or more servers accessible over the Internet rather than installing software locally on in-house computer systems. Users can interact with cloud computing services to undertake a wide range of tasks.
BRIEF DESCRIPTION OF THE DRAWINGSThe included drawings are for illustrative purposes and serve only to provide examples of possible structures and operations for the disclosed inventive systems, apparatus, methods and computer program products for processing keyboard input to perform events in relation to calendar items using a web browser-based application or online service. These drawings in no way limit any changes in form and detail that may be made by one skilled in the art without departing from the spirit and scope of the disclosed implementations.
FIG. 1 shows a flowchart of an example of a method for integrating an application or service with a learning platform using a database system, performed in accordance with some implementations.
FIG. 2 shows an example of a Graphical User Interface (GUI), in accordance with some implementations.
FIG. 3 shows a block diagram of an example of a system for integrating a learning platform and an application or service, in accordance with some implementations.
FIGS. 4-6 show examples of GUIs, in accordance with some implementations.
FIG. 7 shows a block diagram of an example of an environment that includes an on-demand database service configured in accordance with some implementations.
FIG. 8A shows a system diagram of an example of architectural components of an on-demand database service environment, configured in accordance with some implementations.
FIG. 8B shows a system diagram further illustrating an example of architectural components of an on-demand database service environment, in accordance with some implementations.
FIG. 9 illustrates one example of a computing device, configured in accordance with one or more embodiments.
DETAILED DESCRIPTIONSome implementations of the disclosed systems, apparatus, methods and computer program products are configured for integrating an application or service with a learning platform using a database system. As described in further detail below, such a user learning platform may provide interactive training exercises and other content relating to use of any type of application or service such as a Customer Relationship Management (CRM) Platform, a social networking system, any type of consumer or business software, etc. While CRM platforms are discussed herein as an example of an application or service, one having skill in the art can appreciate that the examples of applications or services described herein may be substituted for any suitable application or service such as those described above.
Conventional learning platforms such as those provided by Lynda® and Treehouse® can be poorly integrated with the subject matter they are attempting to teach, leading to inefficient training and missed opportunities to incentivize learning. By way of illustration, Wuthering Lights, a multinational corporation specializing in the sale of candles, is implementing a new CRM platform. Catherine, the Chief Executive Officer (CEO) of Wuthering Lights, employs a conventional learning platform to teach Wuthering Lights employees how to use the new CRM platform. Heathcliff, a salesman at Wuthering Lights, diligently works to complete training exercises in his spare time while struggling to learn the new CRM platform. Unfortunately, instead of receiving hands-on learning, Heathcliff's learning experience is completely separate from his day-to-day use of the new CRM platform. Such separation between the learning platform and the CRM platform causes Heathcliff to waste valuable time switching between platforms and prevents him from being aware of several important deficiencies that would be more apparent if the platforms were better integrated. Furthermore, Heathcliff's achievements in the learning platform are not recognized in the CRM platform and vice versa, leading to a missed opportunity to provide incentives to Heathcliff for learning about new features of the CRM platform.
By contrast, some of the disclosed techniques can be used to integrate a learning platform with an application or service, displaying learning content to a user intelligently as he or she navigates the application or service. Returning to the above example, Wuthering Lights can use the disclosed techniques to provide a learning platform that is completely integrated with their CRM platform. By way of illustration, as Heathcliff performs tasks in the CRM platform (e.g., logging sales or adding new leads,) opportunities to engage in training exercises related to these tasks can be presented to him via the learning platform. Furthermore, information relating to Heathcliff's performance in the learning platform can be displayed to him as he interacts with the CRM platform, reminding Heathcliff that he needs to complete further training.
In some implementations, the learning platform can be leveraged to provide automated verification to ensure that users can only perform tasks in the application or service for which they have received adequate training. By way of example, Nelly attempts to convert a lead in the CRM platform. This is Nelly's first lead conversion, and she does not yet know the proper procedure for performing a lead conversion. As such, the CRM platform can access Nelly's data in the learning platform. It can be determined that she has not completed any training related to lead conversion. Therefore, she can be prevented from entering the lead conversion and presented with a training exercise that covers the basics of lead conversion via the learning platform. Once she has completed the training exercise, data indicating her completion of the training exercise may be provided to the CRM platform. Nelly may then be automatically provided with authorization to perform the lead conversion in the CRM platform.
FIG. 1 shows a flowchart of an example of a method for integrating an application or service with a learning platform using a database system, performed in accordance with some implementations.FIG. 1 is described below in the context ofFIGS. 2-6.FIG. 2 shows an example of a Graphical User Interface (GUI), in accordance with some implementations.FIG. 3 shows a block diagram of an example of a system for integrating a learning platform and an application or service, in accordance with some implementations.FIGS. 4-6 show examples of GUIs, in accordance with some implementations.
At104 ofFIG. 1, a user interface, such asuser interface200 ofFIG. 2 is displayed on a computing device of a user of an application or service. The user interface displayed at104 ofFIG. 1 may be a user interface of any type of application or service, as described above. For example,user interface200 is the user interface of a CRM platform.User interface200 includesopportunities page204, which includes a list of opportunities that were recently viewed by Nelly Dean, a user of the CRM platform.
At108 ofFIG. 1, the user is identified as being associated with a learning platform. By way of illustration, returning to the example of the preceding paragraph, when Nelly Dean logs into the CRM platform, a database system may identify Nelly Dean's login information as being cross-referenced with a user account in the learning platform. As such, Nelly Dean can be automatically identified as being both a user of the CRM platform and the learning platform at the time he logs into either the CRM platform or the learning platform.
At112 ofFIG. 1, data related to performance of the user in the learning platform is accessed. Such data may be accessed by the application or service via a connector connecting the learning platform and the application or service. Such a connector may be configurable to provide a variety of connections between the application or service and the learning platform. By way of example, inFIG. 3, integratedlearning system300 includeslearning platform304 and application orservice308. Thelearning platform304 and the application orservice308 are connected via connector306, which includes connections312(1)-(n). Each connection312(1)-(n) represents a particular instance of information sharing between thelearning platform304 and the application orservice308. For instance, connection312(1) may represent the sharing or rank and profile data between thelearning platform304 and the application orservice308. Theintegrated learning system300 may be provided to user devices316 via an on-demand computing environment, as discussed further below in the context ofFIGS. 7-9. By way of example, thelearning platform304 and the application orservice308 may be provided to a variety of tenant organizations in a multi-tenant database system, as described below.
The connector306 may be implemented in a variety of manners. By way of illustration, an application programming interface (API) may be implemented to allow the learning platform and the application or service to securely share data. In some implementations, the connector may be implemented using a web browser extension, such as a Chrome® plugin. Such a browser extension may be configured to access information from the learning platform and provide the information to the application or service and vice versa. By way of example, the web browser extension may operate while a Heathcliff is interacting with the CRM platform using his web browser. The browser extension may make API calls to a server implementing the learning platform; thus, allowing information from the learning platform to be presented to the Heathcliff as he interacts with the CRM platform. Similarly, the browser extension may send information related to Heathcliff's interaction with the CRM platform to a server implementing the learning platform such that the Heathcliff's behavior in the CRM platform can be logged in the learning platform.
The data accessed from the learning platform by the application or service at112 ofFIG. 1 may take a variety of forms. For instance, in some implementations, the data accessed at112 ofFIG. 1 may include history, status, progress, rank, or profile information related to the user's history, status, progress, rank, or profile the learning platform. By way of example, when Nelly attempts to convert her first lead in the CRM platform, the CRM platform may access Nelly's history in the learning platform to determine that Nelly has not yet consumed any learning content relating to lead conversion, as discussed further below.
Also of alternatively, the application or service may access information relating to a user's achievements in the learning platform. By way of illustration, when Heathcliff logs a sale, the CRM platform may access data relating to Heathcliff's achievements in the learning platform to determine that Heathcliff has received the “Sales Expert Badge,” indicating that Heathcliff has completed many exercises relating to sales in the learning platform. Heathcliff may, therefore, be presented with an optional “advanced sales module” via the CRM platform, which touches on advanced sales concepts that are designed for presentation for a sales expert like Heathcliff.
In some implementations, data accessed from the learning platform by the application or service at112 ofFIG. 1 may be displayed in the user interface of the application or service. By way of example, inFIG. 2, apresentation208 of Nelly Dean's status and progress data from the learning platform is displayed in theuser interface200 of the CRM platform.
At116 ofFIG. 1, an interaction with the application or service is processed. Such an interaction may include any type of input from a user using with the application or service. By way of example, Nelly may perform an interaction with the CRM platform by attempting to convert her first lead, Heathcliff may perform an interaction with the CRM platform by logging his most recent sale, Catherine may perform an interaction with the CRM platform by generating a new custom object for users of the Wuthering Lights organization, etc.
At120 ofFIG. 1, it is determined that the user is unauthorized to perform the interaction with the application or service. The determination that the user is unauthorized to perform the interaction may be made based on the data accessed at112 ofFIG. 1. By way of example, in response to Nelly attempting to convert her first lead in the CRM platform, it may be determined that Nelly is unauthorized to convert a lead in the CRM platform because Nelly's history in the learning platform indicates that Nelly has not yet consumed requisite learning content relating to lead conversion.
At124 ofFIG. 1, the user is presented with learning content of the learning platform. The user may be presented with such learning content in response to the determination at120 ofFIG. 1 that the user is unauthorized to perform the interaction with the application or service. By way of illustration, returning to the example of the preceding paragraph, in response to the determination that Nelly is unauthorized to convert the lead, Nelly may be presented with an “Introduction to Lead Conversion” module via the user interface of the CRM platform.
At128 ofFIG. 1, it is determined that the user has completed the learning content presented to her at124. By way of example, returning to the above example, when Nelly finishes the Introduction to Lead Conversion module, a database system implementing the learning platform may determine that Nelly has completed the Introduction to Lead Conversion module. As such, data indicating Nelly's completion of the Introduction to Lead Conversion module may be provided to the CRM platform from the learning platform.
At132 ofFIG. 1, authorization is provided to the user to perform the interaction with the application or service. In some implementations, such authorization may be provided responsive to the determination at128 ofFIG. 1 that the user has completed the learning content. By way of illustration, when it the CRM platform receives the data indicating that Nelly has completed the Introduction to Lead Conversion module, authorization may be provided to Nelly to convert the lead.
In some implementations, a user's activity in the application or service may drive optional learning in the learning platform. For example, at136 ofFIG. 1, an interaction with the application or service is processed. As discussed above in the context of116 ofFIG. 1, such an interaction may include any type of input from a user using with the application or service. By way of example, Lockwood, a new employee of Wuthering Lights may be logging into the CRM platform for the first time, Nelly may be modifying an account record, Catherine may be adding a new user to the CRM platform, etc.
In some implementations, at140 ofFIG. 1, optional learning content from the learning platform is identified. Such learning content may be identified based on the interaction processed at136 ofFIG. 1. By way of illustration, referring to an example from the preceding paragraph, an optional training exercise relating to the modification of account records may be identified based on Nelly's modification of an account record.
At144, the user is presented with the optional learning content identified at140. In some implementations, the user may be presented with such optional learning content in response to the identification of such optional learning content at140. By way of example, returning to the above example, once the optional training exercise has been identified in response to on Nelly's modification of an account record in the application or service, Nelly may be automatically presented with the optional training exercise via the learning platform.
In some implementations, any of the learning content discussed herein may include a customizable list of learning content also referred to as a “trailmix.” Such a customizable list of learning content may be configurable by an authorized user of the application or service to include any type of learning content from the learning platform. By way of example, such a customizable list may include modules, videos, walkthroughs or other interactive training exercises, videos, URLs to web-based learning content such as articles, .pdf files containing text from books or journals, courses or lessons, etc. Such a customizable list of learning content may be shareable to any users or groups of users in a particular organization that is implementing the application or service. By way of example, a customizable list of learning content from the learning platform may be assigned via the CRM platform to users having certain roles, e.g., sales representatives, administrators, customer service representatives, etc.
A customizable list of learning content may mix and match learning content that can be tailored for any desired learning experience. For example, Catherine may create a customizable list of learning content entitled “the onboarding presentation.” The onboarding presentation may include any type of learning content that is helpful in getting new employees of Wuthering Lights up to speed with the CRM platform. By way of illustration, when Lockwood logs into the CRM platform for the first time, the CRM platform may access optional training content from the learning platform to help with Lockwood's on-boarding process using the techniques described above. As such, Lockwood may be presented withprompt400 ofFIG. 4, when he logs onto the CRM platform for the first time. Lockwood may access the onboarding presentation created by Catherine by clicking ortapping button404.
In some implementations, the application or service may be dynamically updated as the learning content is created or modified via the learning platform. By way of example, using list customization screen502 (which is a user interface for generating and/or modifying customizable lists of learning content in the learning platform,) Catherine specifies “salesforce release strategies,”504 “spring 18 release highlights,”508, and “get an overview . . . ”516 to be included inwelcome mat500.Welcome mat500 is a customizable list of learning content that is presented to users when they log into the Spring 2018 release of the CRM platform. At some point, Catherine may decide that she no longer wants to include “spring 18 release highlights”508 in thewelcome mat500. As such, Catherine may remove “spring 18 release highlights”508 from thewelcome mat500 via thelist customization screen502 of the learning platform. Heathcliff may be interacting with thewelcome mat500 via the CRM platform when Catherine removes “spring 18 release highlights”508 from thewelcome mat500. Using the techniques described above, the learning platform may act as a data source for the CRM platform. As such, if Heathcliff refreshes his Internet browser after Catherine removes “spring 18 release highlights”508 from thewelcome mat500, “spring 18 release highlights”508 may be automatically removed from the user interface of the CRM platform as displayed on Heathcliff's computing device.
Similarly, in some implementations, data in the learning platform may be dynamically updated in response to a user's interactions with the application or service. By way of illustration, returning to the example of the preceding paragraph, Heathcliff may complete the learning content of thewelcome mat500 via the CRM platform. As such, the learning platform may be automatically informed that Heathcliff has completed thewelcome mat500, and Heathcliff's profile in the learning platform may be updated accordingly, using the techniques described above.
In some implementations, at148 ofFIG. 1, a request to disable a connection between the application or service and the learning platform is processed. By way of illustration, an administrator at a particular organization may wish to disable a particular one of connections312(1)-(n) between thelearning platform304 and the application orservice308 ofFIG. 3. For example, if Wuthering Lights employees are becoming too competitive as a result of being able to see rank and progress indicators, Catherine may navigate to settings screen600 ofFIG. 6 andtoggle switch604 to disable the sharing of data related to users' rank and progress information between the learningplatform learning platform304 and the application orservice308 ofFIG. 3. Alternatively, if Catherine wishes to disable all of the connections312(1)-(n) between thelearning platform304 and the application orservice308, she may toggleswitch608 ofFIG. 6. In another example, if Catherine wishes to disable notifications of content updates for a user's activity in the learning platform, she may toggleswitch612. Similarly, if Catherine wishes to disable achievements in the application or service, discussed below, she may toggleswitch616.
In some implementations at152 ofFIG. 1, a connection between the application or service and the learning platform is disabled. By way of illustration, returning to the example of the preceding paragraph, in response to Catherine toggling of switch704 ofFIG. 7, the sharing of data related to users' rank and progress between the learningplatform learning platform304 and the application orservice308 ofFIG. 3 may be disabled.
The techniques described herein may be applied to integrate a variety of applications or services with a learning platform. For example, one having skill in the art can appreciate that several applications or services may be integrated with a learning platform using the techniques described above. By way of illustration, Wuthering Lights may choose to implement both a CRM platform and an enterprise social networking system such as Chatter®. Wuthering Lights may integrate both their CRM platform and their enterprise social networking system using the techniques described above.
In some implementations, recommendations of learning content from the learning platform may be presented. By way of example, a user may choose to receive recommendations of learning contentment from a learning platform as she interacts with an application or service. Such recommendations may be provided from the learning platform to the application or service using the techniques described above in the context ofFIG. 1. Such recommendations may be automatically generated using a predictive analytics such as machine learning techniques, classification models, or frequentist or Bayesian statistical inference. Such recommendations may be generated based on behavior of a user in the learning platform and/or the application or service. By way of illustration, ninety three percent of users who have a skill profile similar to Heathcliff also complete a particular learning exercise. Therefore, Heathcliff may be provided with a recommendation to complete the particular learning exercise. In another example, Heathcliff may express interest in a new position of employment. It may be determined that the new position of employment requires particular skills that Heathcliff is yet to acquire. As such, learning content that teaches the particular skills may be automatically recommended to Heathcliff.
In some implementations, an integrated reward system that incentivizes achievements in both the learning platform and the application or service can be provided. By way of illustration, “stamps” may be a type of award provided to users for completing certain tasks in the CRM platform. As such, stamps can be provided to Heathcliff as he uses various features in the CRM platform. As he earns more and more stamps, Heathcliff becomes excited about learning, so he begins completing optional tasks in the learning platform attaining other types of awards such as “badges,” “super badges,” and “master badges” that are available in the learning platform. Each type of award may be worth a certain amount of points, which total across the learning platform, the CRM platform, and other integrated applications or services. Heathcliff wants to increase his point totals for his own personal enjoyment as well as to keep up with his peers. As a result, Heathcliff increases his knowledge of the CRM platform through both hands-on experience and through the completion of training exercises.
FIG. 7 shows a block diagram of an example of anenvironment710 that includes an on-demand database service configured in accordance with some implementations.Environment710 may includeuser systems712,network714,database system716,processor system717,application platform718,network interface720,tenant data storage722,tenant data723, system data storage724,system data725,program code726,process space728, User Interface (UI)730, Application Program Interface (API)732, PL/SOQL734, saveroutines736,application setup mechanism738, application servers750-1 through750-N,system process space752,tenant process spaces754, tenantmanagement process space760,tenant storage space762,user storage764, andapplication metadata766. Some of such devices may be implemented using hardware or a combination of hardware and software and may be implemented on the same physical device or on different devices. Thus, terms such as “data processing apparatus,” “machine,” “server” and “device” as used herein are not limited to a single hardware device, but rather include any hardware and software configured to provide the described functionality.
An on-demand database service, implemented usingsystem716, may be managed by a database service provider. Some services may store information from one or more tenants into tables of a common database image to form a multi-tenant database system (MTS). 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. Databases described herein may be implemented as single databases, distributed databases, collections of distributed databases, or any other suitable database system. A database image may include one or more database objects. A relational database management system (RDBMS) or a similar system may execute storage and retrieval of information against these objects.
In some implementations, theapplication platform18 may be a framework that allows the creation, management, and execution of applications insystem716. Such applications may be developed by the database service provider or by users or third-party application developers accessing the service.Application platform718 includes anapplication setup mechanism738 that supports application developers' creation and management of applications, which may be saved as metadata intotenant data storage722 by saveroutines736 for execution by subscribers as one or moretenant process spaces754 managed bytenant management process760 for example. Invocations to such applications may be coded using PL/SOQL734 that provides a programming language style interface extension toAPI732. A detailed description of some PL/SOQL language implementations is discussed in commonly assigned U.S. Pat. No. 7,730,478, titled METHOD AND SYSTEM FOR ALLOWING ACCESS TO DEVELOPED APPLICATIONS VIA A MULTI-TENANT ON-DEMAND DATABASE SERVICE, by Craig Weissman, issued on Jun. 1, 2010, and hereby incorporated by reference in its entirety and for all purposes. Invocations to applications may be detected by one or more system processes. Such system processes may manage retrieval ofapplication metadata766 for a subscriber making such an invocation. Such system processes may also manage execution ofapplication metadata766 as an application in a virtual machine.
In some implementations, each application server750 may handle requests for any user associated with any organization. A load balancing function (e.g., an F5 Big-IP load balancer) may distribute requests to the application servers750 based on an algorithm such as least-connections, round robin, observed response time, etc. Each application server750 may be configured to communicate withtenant data storage722 and thetenant data723 therein, and system data storage724 and thesystem data725 therein to serve requests ofuser systems712. Thetenant data723 may be divided into individualtenant storage spaces762, which can be either a physical arrangement and/or a logical arrangement of data. Within eachtenant storage space762,user storage764 andapplication metadata766 may be similarly allocated for each user. For example, a copy of a user's most recently used (MRU) items might be stored touser storage764. Similarly, a copy of MRU items for an entire tenant organization may be stored to tenantstorage space762. AUI730 provides a user interface and anAPI732 provides an application programming interface tosystem716 resident processes to users and/or developers atuser systems712.
System716 may implement a web-based learning platform and/or application or service. For example, in some implementations,system716 may include application servers configured to implement and execute software applications related to the learning platform and/or the application or service. The application servers may be configured to provide related data, code, forms, web pages and other information to and fromuser systems712. Additionally, the application servers may be configured to store information to, and retrieve information from a database system. Such information may include related data, objects, and/or Webpage content. With a multi-tenant system, data for multiple tenants may be stored in the same physical database object intenant data storage722, however, tenant data may be arranged in the storage medium(s) oftenant data storage722 so that data of one tenant is kept logically separate from that of other tenants. In such a scheme, one tenant may not access another tenant's data, unless such data is expressly shared.
Several elements in the system shown inFIG. 7 include conventional, well-known elements that are explained only briefly here. For example,user system712 may includeprocessor system712A,memory system712B,input system712C, andoutput system712D. Auser system712 may be implemented as any computing device(s) or other data processing apparatus such as a mobile phone, laptop computer, tablet, desktop computer, or network of computing devices.User system12 may run an Internet browser allowing a user (e.g., a subscriber of an MTS) ofuser system712 to access, process and view information, pages and applications available fromsystem716 overnetwork714.Network714 may be any network or combination of networks of devices that communicate with one another, such as any one or any combination of a LAN (local area network), WAN (wide area network), wireless network, or other appropriate configuration.
The users ofuser systems712 may differ in their respective capacities, and the capacity of aparticular user system712 to access information may be determined at least in part by “permissions” of theparticular user system712. As discussed herein, permissions generally govern access to computing resources such as data objects, components, and other entities of a computing system, such as a learning platform, a social networking system, a CRM database system, and/or any other type of application or service. “Permission sets” generally refer to groups of permissions that may be assigned to users of such a computing environment. For instance, the assignments of users and permission sets may be stored in one or more databases ofSystem716. Thus, users may receive permission to access certain resources. A permission server in an on-demand database service environment can store criteria data regarding the types of users and permission sets to assign to each other. For example, a computing device can provide to the server data indicating an attribute of a user (e.g., geographic location, industry, role, level of experience, etc.) and particular permissions to be assigned to the users fitting the attributes. Permission sets meeting the criteria may be selected and assigned to the users. Moreover, permissions may appear in multiple permission sets. In this way, the users can gain access to the components of a system.
In some an on-demand database service environments, an Application Programming Interface (API) may be configured to expose a collection of permissions and their assignments to users through appropriate network-based services and architectures, for instance, using Simple Object Access Protocol (SOAP) Web Service and Representational State Transfer (REST) APIs.
In some implementations, a permission set may be presented to an administrator as a container of permissions. However, each permission in such a permission set may reside in a separate API object exposed in a shared API that has a child-parent relationship with the same permission set object. This allows a given permission set to scale to millions of permissions for a user while allowing a developer to take advantage of joins across the API objects to query, insert, update, and delete any permission across the millions of possible choices. This makes the API highly scalable, reliable, and efficient for developers to use.
In some implementations, a permission set API constructed using the techniques disclosed herein can provide scalable, reliable, and efficient mechanisms for a developer to create tools that manage a user's permissions across various sets of access controls and across types of users. Administrators who use this tooling can effectively reduce their time managing a user's rights, integrate with external systems, and report on rights for auditing and troubleshooting purposes. By way of example, different users may have different capabilities with regard to accessing and modifying application and database information, depending on a user's security or permission level, also called authorization. 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.
As discussed above,system716 may provide on-demand database service touser systems712 using an MTS arrangement. By way of example, one tenant organization may be a company that employs a sales force where each salesperson usessystem716 to manage their sales process. Thus, a user in such an organization may 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 storage722). In this arrangement, a user may manage his or her sales efforts and cycles from a variety of devices, since relevant data and applications to interact with (e.g., access, view, modify, report, transmit, calculate, etc.) such data may be maintained and accessed by anyuser system712 having network access.
When implemented in an MTS arrangement,system716 may separate and share data between users and at the organization-level in a variety of manners. For example, for certain types of data each user's data might be separate from other users' data regardless of the organization employing such users. Other data may be organization-wide data, which is shared or accessible by several users or potentially all users form a given tenant organization. Thus, some data structures managed bysystem716 may be 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 may have security protocols that keep data, applications, and application use separate. In addition to user-specific data and tenant-specific data,system716 may also maintain system-level data usable by multiple tenants or other data. Such system-level data may include industry reports, news, postings, and the like that are sharable between tenant organizations.
In some implementations,user systems712 may be client systems communicating with application servers750 to request and update system-level and tenant-level data fromsystem716. By way of example,user systems712 may send one or more queries requesting data of a database maintained intenant data storage722 and/or system data storage724. An application server750 ofsystem716 may automatically generate one or more SQL statements (e.g., one or more SQL queries) that are designed to access the requested data. System data storage724 may generate query plans to access the requested data from the database.
The database systems described herein may be used for a variety of database applications. By way of example, 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 some implementations. 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 case, account, contact, lead, and opportunity data objects, 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 implementations, 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. Commonly assigned U.S. Pat. No. 7,779,039, titled CUSTOM ENTITIES AND FIELDS IN A MULTI-TENANT DATABASE SYSTEM, by Weissman et al., issued on Aug. 17, 2010, and hereby incorporated by reference in its entirety and for all purposes, teaches systems and methods for creating custom objects as well as customizing standard objects in an MTS. In certain implementations, for example, all custom entity data rows may be stored in a single multi-tenant physical table, which may contain multiple logical tables per organization. It may be 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.
FIG. 8A shows a system diagram of an example of architectural components of an on-demanddatabase service environment800, configured in accordance with some implementations. A client machine located in thecloud804 may communicate with the on-demand database service environment via one ormore edge routers808 and812. A client machine may include any of the examples ofuser systems712 described above. Theedge routers808 and812 may communicate with one or more core switches820 and824 viafirewall816. The core switches may communicate with aload balancer828, which may distribute server load over different pods, such as thepods840 and844 by communication via pod switches832 and836. Thepods840 and844, which may each include one or more servers and/or other computing resources, may perform data processing and other operations used to provide on-demand services. Components of the environment may communicate with adatabase storage856 via adatabase firewall848 and adatabase switch852.
Accessing an on-demand database service environment may involve communications transmitted among a variety of different components. Theenvironment800 is a simplified representation of an actual on-demand database service environment. For example, some implementations of an on-demand database service environment may include anywhere from one to many devices of each type. Additionally, an on-demand database service environment need not include each device shown, or may include additional devices not shown, inFIGS. 8A and 8B.
Thecloud804 refers to any suitable data network or combination of data networks, which may include the Internet. Client machines located in thecloud804 may communicate with the on-demanddatabase service environment800 to access services provided by the on-demanddatabase service environment800. By way of example, client machines may access the on-demanddatabase service environment800 to retrieve, store, edit, and/or process a variety of information such as learning content from a learning platform or data from an application or service such as a CRM platform.
In some implementations, theedge routers808 and812 route packets between thecloud804 and other components of the on-demanddatabase service environment800. Theedge routers808 and812 may employ the Border Gateway Protocol (BGP). Theedge routers808 and812 may maintain a table of IP networks or ‘prefixes’, which designate network reachability among autonomous systems on the internet.
In one or more implementations, thefirewall816 may protect the inner components of theenvironment800 from internet traffic. Thefirewall816 may block, permit, or deny access to the inner components of the on-demanddatabase service environment800 based upon a set of rules and/or other criteria. Thefirewall816 may act as one or more of a packet filter, an application gateway, a stateful filter, a proxy server, or any other type of firewall.
In some implementations, the core switches820 and824 may be high-capacity switches that transfer packets within theenvironment800. The core switches820 and824 may be configured as network bridges that quickly route data between different components within the on-demand database service environment. The use of two or more core switches820 and824 may provide redundancy and/or reduced latency.
In some implementations, communication between thepods840 and844 may be conducted via the pod switches832 and836. The pod switches832 and836 may facilitate communication between thepods840 and844 and client machines, for example via core switches820 and824. Also or alternatively, the pod switches832 and836 may facilitate communication between thepods840 and844 and thedatabase storage856. Theload balancer828 may distribute workload between the pods, which may assist in improving the use of resources, increasing throughput, reducing response times, and/or reducing overhead. Theload balancer828 may include multilayer switches to analyze and forward traffic.
In some implementations, access to thedatabase storage856 may be guarded by adatabase firewall848, which may act as a computer application firewall operating at the database application layer of a protocol stack. Thedatabase firewall848 may protect thedatabase storage856 from application attacks such as structure query language (SQL) injection, database rootkits, and unauthorized information disclosure. Thedatabase firewall848 may include a host using one or more forms of reverse proxy services to proxy traffic before passing it to a gateway router and/or may inspect the contents of database traffic and block certain content or database requests. Thedatabase firewall848 may work on the SQL application level atop the TCP/IP stack, managing applications' connection to the database or SQL management interfaces as well as intercepting and enforcing packets traveling to or from a database network or application interface.
In some implementations, thedatabase storage856 may be an on-demand database system shared by many different organizations. The on-demand database service may employ a single-tenant approach, a multi-tenant approach, a virtualized approach, or any other type of database approach. Communication with thedatabase storage856 may be conducted via thedatabase switch852. Thedatabase storage856 may include various software components for handling database queries. Accordingly, thedatabase switch852 may direct database queries transmitted by other components of the environment (e.g., thepods840 and844) to the correct components within thedatabase storage856.
FIG. 8B shows a system diagram further illustrating an example of architectural components of an on-demand database service environment, in accordance with some implementations. Thepod844 may be used to render services to user(s) of the on-demanddatabase service environment800. Thepod844 may include one or morecontent batch servers864,content search servers868,query servers882,file servers886, access control system (ACS)servers880,batch servers884, andapp servers888. Also, thepod844 may includedatabase instances890, quick file systems (QFS)892, andindexers894. Some or all communication between the servers in thepod844 may be transmitted via theswitch836.
In some implementations, theapp servers888 may include a framework dedicated to the execution of procedures (e.g., programs, routines, scripts) for supporting the construction of applications provided by the on-demanddatabase service environment800 via thepod844. One or more instances of theapp server888 may be configured to execute all or a portion of the operations of the services described herein.
In some implementations, as discussed above, thepod844 may include one ormore database instances890. Adatabase instance890 may be configured as an MTS in which different organizations share access to the same database, using the techniques described above. Database information may be transmitted to theindexer894, which may provide an index of information available in thedatabase890 to fileservers886. TheQFS892 or other suitable filesystem may serve as a rapid-access file system for storing and accessing information available within thepod844. TheQFS892 may support volume management capabilities, allowing many disks to be grouped together into a file system. TheQFS892 may communicate with thedatabase instances890,content search servers868 and/orindexers894 to identify, retrieve, move, and/or update data stored in the network file systems (NFS)896 and/or other storage systems.
In some implementations, one ormore query servers882 may communicate with theNFS896 to retrieve and/or update information stored outside of thepod844. TheNFS896 may allow servers located in thepod844 to access information over a network in a manner similar to how local storage is accessed. Queries from the query servers822 may be transmitted to theNFS896 via theload balancer828, which may distribute resource requests over various resources available in the on-demanddatabase service environment800. TheNFS896 may also communicate with theQFS892 to update the information stored on theNFS896 and/or to provide information to theQFS892 for use by servers located within thepod844.
In some implementations, thecontent batch servers864 may handle requests internal to thepod844. These requests may be long-running and/or not tied to a particular customer, such as requests related to log mining, cleanup work, and maintenance tasks. Thecontent search servers868 may provide query and indexer functions such as functions allowing users to search through content stored in the on-demanddatabase service environment800. Thefile servers886 may manage requests for information stored in thefile storage898, which may store information such as documents, images, basic large objects (BLOBs), etc. Thequery servers882 may be used to retrieve information from one or more file systems. For example, thequery system882 may receive requests for information from theapp servers888 and then transmit information queries to theNFS896 located outside thepod844. TheACS servers880 may control access to data, hardware resources, or software resources called upon to render services provided by thepod844. Thebatch servers884 may process batch jobs, which are used to run tasks at specified times. Thus, thebatch servers884 may transmit instructions to other servers, such as theapp servers888, to trigger the batch jobs.
While some of the disclosed implementations may be described with reference to a system having an application server providing a front end for an on-demand database service capable of supporting multiple tenants, the disclosed implementations are not limited to multi-tenant databases nor deployment on application servers. Some implementations may be practiced using various database architectures such as ORACLE®, DB2® by IBM and the like without departing from the scope of present disclosure.
FIG. 9 illustrates one example of a computing device. According to various embodiments, asystem900 suitable for implementing embodiments described herein includes aprocessor901, amemory module903, astorage device905, aninterface911, and a bus915 (e.g., a PCI bus or other interconnection fabric.)System900 may operate as variety of devices such as an application server, a database server, or any other device or service described herein. Although a particular configuration is described, a variety of alternative configurations are possible. Theprocessor901 may perform operations such as those described herein. Instructions for performing such operations may be embodied in thememory903, on one or more non-transitory computer readable media, or on some other storage device. Various specially configured devices can also be used in place of or in addition to theprocessor901. Theinterface911 may be configured to send and receive data packets over a network. Examples of supported interfaces include, but are not limited to: Ethernet, fast Ethernet, Gigabit Ethernet, frame relay, cable, digital subscriber line (DSL), token ring, Asynchronous Transfer Mode (ATM), High-Speed Serial Interface (HSSI), and Fiber Distributed Data Interface (FDDI). These interfaces may include ports appropriate for communication with the appropriate media. They may also include an independent processor and/or volatile RAM. A computer system or computing device may include or communicate with a monitor, printer, or other suitable display for providing any of the results mentioned herein to a user.
Any of the disclosed implementations may be embodied in various types of hardware, software, firmware, computer readable media, and combinations thereof. For example, some techniques disclosed herein may be implemented, at least in part, by computer-readable media that include program instructions, state information, etc., for configuring a computing system to perform various services and operations described herein. Examples of program instructions include both machine code, such as produced by a compiler, and higher-level code that may be executed via an interpreter. Instructions may be embodied in any suitable language such as, for example, Apex, Java, Python, C++, C, HTML, any other markup language, JavaScript, ActiveX, VBScript, or Perl. Examples of computer-readable media include, but are not limited to: magnetic media such as hard disks and magnetic tape; optical media such as flash memory, compact disk (CD) or digital versatile disk (DVD); magneto-optical media; and other hardware devices such as read-only memory (“ROM”) devices and random-access memory (“RAM”) devices. A computer-readable medium may be any combination of such storage devices.
In the foregoing specification, various techniques and mechanisms may have been described in singular form for clarity. However, it should be noted that some embodiments include multiple iterations of a technique or multiple instantiations of a mechanism unless otherwise noted. For example, a system uses a processor in a variety of contexts but can use multiple processors while remaining within the scope of the present disclosure unless otherwise noted. Similarly, various techniques and mechanisms may have been described as including a connection between two entities. However, a connection does not necessarily mean a direct, unimpeded connection, as a variety of other entities (e.g., bridges, controllers, gateways, etc.) may reside between the two entities.
In the foregoing specification, reference was made in detail to specific embodiments including one or more of the best modes contemplated by the inventors. While various implementations have been described herein, it should be understood that they have been presented by way of example only, and not limitation. For example, some techniques and mechanisms are described herein in the context of on-demand computing environments that include MTSs. However, the techniques of the present invention apply to a wide variety of computing environments. Particular embodiments may be implemented without some or all of the specific details described herein. In other instances, well known process operations have not been described in detail in order not to unnecessarily obscure the present invention. Accordingly, the breadth and scope of the present application should not be limited by any of the implementations described herein, but should be defined only in accordance with the claims and their equivalents.