Many computer systems are designed so that a user can view pages of content. For instance, a user may open a browser and navigate to a webpage. The computer displays content for the webpage.
Some webpages are generated on-the-fly. That is, a page contains a search mechanism that automatically issues a query, when a visitor browses to that page. The page is then displayed, with the returned search results. In many cases, users are unaware that search technology is being used to display the content they're viewing.
However, conducting a search can be a somewhat expensive operation, in terms of computing overhead and memory usage. Thus, systems that trigger a search for every page load put a relatively high computing load on the system. This can result in longer page load times and a reduced number of concurrent page loads per second.
Some systems currently cache the entire page. However, if different users have different access rights, then even when they access the same page they will see different results. Thus, caching the entire page for a given user does not alleviate the search load. Some systems also attempt to cache parts of a query, which are later used in query processing. This can make the search operation somewhat less expensive, but the remaining search operations are still relatively costly.
The discussion above is merely provided for general background information and is not intended to be used as an aid in determining the scope of the claimed subject matter.
A set of users is defined, and the set is assigned a common set of content access rights. A query executed by one member of the set of users is executed with the access rights assigned to the set of users. Results are cached so that if another member of the set of users executes the same query, the cached results can be returned.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter. The claimed subject matter is not limited to implementations that solve any or all disadvantages noted in the background.
It should be noted that the present discussion proceeds by using the term “group” of users. However, the term “group” is not to be limited to a conventional user-group membership. Instead, it is meant to refer to a set of users. The set can be identified by any type of membership, such as by all having the same content access right or security claim. That right or security claim can be a wide variety of different things, such as membership in a conventional group, geographical presence at a given location, being present within a certain time frame (such as having given working hours), or a variety of other things, some of which are mentioned below.
Before describing the overall operation of architecture 100 in more detail, a brief overview will be provided. An administrator illustratively access administrative component 116 to identify a set of individual users that commonly access the same content 134 (e.g., the same dynamic webpage). The administrator configures a group that has the set of users as members. The administrator then configures system 102 so that, when a member of the group attempts to access a dynamic webpage (such as on page load), query execution component 132 can execute the query for the entire group, and not just that individual user. Caching component 120 then stores the results 124 of the query, along with the query itself, and the group information identifying the group for which the query was executed. Then, when another user 106, that is part of the same group, accesses the dynamic webpage, cache search component 118 will determine that the query for content on that page, for this given group, has already been executed and is cached in dynamic query cache 122. Therefore, the cached results can be returned to browser 108, instead of requiring query execution component 132 to execute a new query against data store 104. The operation of architecture 100 in allowing an administrator to configure groups is described in greater detail below with respect to
An administrator first accesses administrative component 116 in system 102. This can be done, for example, by providing authentication information or other information to gain access to system 102, as an administrator. Administrative component 116 then generates a user interface display for the administrator so that the administrator can input a group definition. This is indicated by block 140 in
It can be seen that, in one embodiment, user interface display 142 illustratively includes a query configuration portion 144 that allows the administrator to set various parameters or settings, that control how queries are executed for loading a dynamic webpage. In one embodiment, portion 144 illustratively includes a caching configuration portion 146. Caching configuration portion 146 illustratively includes a user input mechanism 148 (such as a text field) that allows the user to input, or select, a group for which search results will be cached.
Referring again to the flow diagram of
Once the administrator has defined a group or selected an existing group, the administrator illustratively provides inputs through a suitable user interface display to identify the various individual members of that group. This is indicated by block 164 in the flow diagram of
Once the group has been configured and the members of the group have been identified and the group has been permitted to access certain content, the administrator configures system 102 to run queries for the group. This is indicated by block 168 in
Claims processing component 128 (in
In processing the claims (or content access rights) for the newly defined or existing group, claims processing component 128 illustratively identifies a set of claims that can be applied to the entire group. Identifying which claims should be associated with the newly defined or existing group is indicated by block 170 in the flow diagram of
Having configured the group, its members and permissions, having configured system 102 to run queries for members of the group, on behalf of the group instead of the individual members and having identified a set of claims for the group, system 102 is now ready to perform dynamic page searching for that group.
Browser 108 first generates a user interface display that allows user 106 to request access to data in data store 104. This is indicated by block 176 in
The query illustratively includes an identifier, that identifies the specific user 106 that is requesting access to the dynamic webpage. System 102 thus first determines whether the given user is in a group that has been configured by the administrator. This is indicated by block 184 in
If, at block 184, it is determined that the user is a member of a group that has been configured within system 102, then cache search component 118 determines whether the same query has recently been run for another member of the group, and has been stored in dynamic query cache 122. This is indicated by block 194 in
Continuing with the example, in which user 106 is a member of the human resources group that has been configured within system 102, then if another member of the human resources group has recently accessed the dynamic webpage that user 106 is currently attempting to access, then the search results for that webpage (i.e., for that query) and for the human resources group will have recently been returned to a different member of the group. In that case, caching component 120 will have stored them as results 124, along with the query and group information that identifies the particular query and group for which the results were returned, in cache 122. Thus, at block 194, cache search component 118 will determine that the search results that user 106 is currently requesting are indeed already stored in dynamic query cache 122. Cache search component 118 will thus retrieve the results from dynamic query cache 122 and return them to user 106, through browser 108. This is indicated by block 196 in
When the results are returned to user 106, in one embodiment, the user interface display that returns the query results from cache 122 indicates that the results are from cache 122. Identifying whether the query results are from cache, or from a new search, is indicated by block 198.
Returning again to block 194 in
In doing so, component 132 illustratively takes into account the access control list information 136. For example, in one embodiment, each item of content 134 has access control list information 136 associated with it. This information identifies the various claims (e.g., groups) or individuals that have access to this item of content, and it may also include the identity of users or groups that are denied access to the corresponding item of content. Thus, when component 132 obtains search results 188, it obtains only the content 134 that corresponds to the claims that are associated with the query being executed (e.g., the claims associated with the group to which user 106 belongs). In addition, ACL processing component 130 illustratively removes from search results 188 any items of content (e.g., documents) that have any ACL deny information. That is, if any item of content in results 188 has an ACL entry that indicate that the item of content is denied to any users, that item of content is illustratively removed from results 188 before they are provided to user 106. This insures that no user 106 is obtaining any information by virtue of belonging to a group, in system 102, that they shouldn't be obtaining. Having ACL processing system 130 process results 188 to deal with documents that have ACL deny entries is indicated by block 208 in
Caching component 120 then caches the results 188 (after the items of content with ACL deny entries have been dealt with) in dynamic query cache 122, along with the particular query and group information that identifies the query and the group for which the query was executed. Caching the results is indicated by block 214 in
The present discussion has mentioned processors and servers. In one embodiment, the processors and servers include computer processors with associated memory and timing circuitry, not separately shown. They are functional parts of the systems or devices to which they belong and are activated by, and facilitate the functionality of the other components or items in those systems.
Also, a number of user interface displays have been discussed. They can take a wide variety of different forms and can have a wide variety of different user actuatable input mechanisms disposed thereon. For instance, the user actuatable input mechanisms can be text boxes, check boxes, icons, links, drop-down menus, search boxes, etc. They can also be actuated in a wide variety of different ways. For instance, they can be actuated using a point and click device (such as a track ball or mouse). They can be actuated using hardware buttons, switches, a joystick or keyboard, thumb switches or thumb pads, etc. They can also be actuated using a virtual keyboard or other virtual actuators. In addition, where the screen on which they are displayed is a touch sensitive screen, they can be actuated using touch gestures. Also, where the device that displays them has speech recognition components, they can be actuated using speech commands.
A number of data stores have also been discussed. It will be noted they can each be broken into multiple data stores. All can be local to the systems accessing them, all can be remote, or some can be local while others are remote. All of these configurations are contemplated herein.
Also, the figures show a number of blocks with functionality ascribed to each block. It will be noted that fewer blocks can be used so the functionality is performed by fewer components. Also, more blocks can be used with the functionality distributed among more components.
The description is intended to include both public cloud computing and private cloud computing. Cloud computing (both public and private) provides substantially seamless pooling of resources, as well as a reduced need to manage and configure underlying hardware infrastructure.
A public cloud is managed by a vendor and typically supports multiple consumers using the same infrastructure. Also, a public cloud, as opposed to a private cloud, can free up the end users from managing the hardware. A private cloud may be managed by the organization itself and the infrastructure is typically not shared with other organizations. The organization still maintains the hardware to some extent, such as installations and repairs, etc.
In the embodiment shown in
It will also be noted that architecture 100, or portions of it, can be disposed on a wide variety of different devices. Some of those devices include servers, desktop computers, laptop computers, tablet computers, or other mobile devices, such as palm top computers, cell phones, smart phones, multimedia players, personal digital assistants, etc.
Under other embodiments, applications or systems are received on a removable Secure Digital (SD) card that is connected to a SD card interface 15. SD card interface 15 and communication links 13 communicate with a processor 17 (which can also embody processors 114 from
I/O components 23, in one embodiment, are provided to facilitate input and output operations. I/O components 23 for various embodiments of the device 16 can include input components such as buttons, touch sensors, multi-touch sensors, optical or video sensors, voice sensors, touch screens, proximity sensors, microphones, tilt sensors, and gravity switches and output components such as a display device, a speaker, and or a printer port. Other I/O components 23 can be used as well.
Clock 25 illustratively comprises a real time clock component that outputs a time and date. It can also, illustratively, provide timing functions for processor 17.
Location system 27 illustratively includes a component that outputs a current geographical location of device 16. This can include, for instance, a global positioning system (GPS) receiver, a LORAN system, a dead reckoning system, a cellular triangulation system, or other positioning system. It can also include, for example, mapping software or navigation software that generates desired maps, navigation routes and other geographic functions.
Memory 21 stores operating system 29, network settings 31, applications 33, application configuration settings 35, data store 37, communication drivers 39, and communication configuration settings 41. Memory 21 can include all types of tangible volatile and non-volatile computer-readable memory devices. It can also include computer storage media (described below). Memory 21 stores computer readable instructions that, when executed by processor 17, cause the processor to perform computer-implemented steps or functions according to the instructions. Processor 17 can be activated by other components to facilitate their functionality as well.
Examples of the network settings 31 include things such as proxy information, Internet connection information, and mappings. Application configuration settings 35 include settings that tailor the application for a specific enterprise or user. Communication configuration settings 41 provide parameters for communicating with other computers and include items such as GPRS parameters, SMS parameters, connection user names and passwords.
Applications 33 can be applications that have previously been stored on the device 16 or applications that are installed during use, although these can be part of operating system 29, or hosted external to device 16, as well.
The mobile device of
Note that other forms of the devices 16 are possible.
Computer 810 typically includes a variety of computer readable media. Computer readable media can be any available media that can be accessed by computer 810 and includes both volatile and nonvolatile media, removable and non-removable media. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer storage media is different from, and does not include, a modulated data signal or carrier wave. It includes hardware storage media including both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by computer 810. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of any of the above should also be included within the scope of computer readable media.
The system memory 830 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 831 and random access memory (RAM) 832. A basic input/output system 833 (BIOS), containing the basic routines that help to transfer information between elements within computer 810, such as during start-up, is typically stored in ROM 831. RAM 832 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 820. By way of example, and not limitation,
The computer 810 may also include other removable/non-removable volatile/nonvolatile computer storage media. By way of example only,
Alternatively, or in addition, the functionality described herein can be performed, at least in part, by one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Program-specific Integrated Circuits (ASICs), Program-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.
The drives and their associated computer storage media discussed above and illustrated in
A user may enter commands and information into the computer 810 through input devices such as a keyboard 862, a microphone 863, and a pointing device 861, such as a mouse, trackball or touch pad. Other input devices (not shown) may include a joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to the processing unit 820 through a user input interface 860 that is coupled to the system bus, but may be connected by other interface and bus structures, such as a parallel port, game port or a universal serial bus (USB). A visual display 891 or other type of display device is also connected to the system bus 821 via an interface, such as a video interface 890. In addition to the monitor, computers may also include other peripheral output devices such as speakers 897 and printer 896, which may be connected through an output peripheral interface 895.
The computer 810 is operated in a networked environment using logical connections to one or more remote computers, such as a remote computer 880. The remote computer 880 may be a personal computer, a hand-held device, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 810. The logical connections depicted in
When used in a LAN networking environment, the computer 810 is connected to the LAN 871 through a network interface or adapter 870. When used in a WAN networking environment, the computer 810 typically includes a modem 872 or other means for establishing communications over the WAN 873, such as the Internet. The modem 872, which may be internal or external, may be connected to the system bus 821 via the user input interface 860, or other appropriate mechanism. In a networked environment, program modules depicted relative to the computer 810, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation,
It should also be noted that the different embodiments described herein can be combined in different ways. That is, parts of one or more embodiments can be combined with parts of one or more other embodiments. All of this is contemplated herein.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.