US20180285329A1 - Web asset modification based on a user context - Google Patents

Web asset modification based on a user context Download PDF

Info

Publication number
US20180285329A1
US20180285329A1 US15/927,898 US201815927898A US2018285329A1 US 20180285329 A1 US20180285329 A1 US 20180285329A1 US 201815927898 A US201815927898 A US 201815927898A US 2018285329 A1 US2018285329 A1 US 2018285329A1
Authority
US
United States
Prior art keywords
user
web asset
web
group
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US15/927,898
Inventor
Meyyappan Alagappan
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Trilibis Inc
Original Assignee
Trilibis Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Trilibis Inc filed Critical Trilibis Inc
Priority to US15/927,898 priority Critical patent/US20180285329A1/en
Publication of US20180285329A1 publication Critical patent/US20180285329A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • G06F40/143Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
    • G06F17/2247
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • G06F17/212
    • G06F17/30905
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • H05K999/99

Definitions

  • Web assets are requested by a variety of devices with different characteristics and with different configurations—for example, these characteristics include the screen size and/or resolution, the browser, the player software, etc.
  • these characteristics include the screen size and/or resolution, the browser, the player software, etc.
  • different users have different browsing priorities and preferences.
  • a customized web asset can be delivered for each different device, configuration, and user type. However, this is difficult to maintain because of the ever evolving number of different assets that must be kept up to date.
  • FIG. 1 is a diagram illustrating an embodiment of a system for web asset modification.
  • FIG. 2A is a block diagram illustrating an embodiment of a system for web asset modification.
  • FIG. 2B is a block diagram illustrating an embodiment of a system for web asset modification.
  • FIG. 3 is a block diagram illustrating an embodiment of a system for web asset modification.
  • FIG. 4 is a block diagram illustrating an embodiment of a system for web asset modification.
  • FIG. 5 is a flow diagram illustrating an embodiment of a process for modifying a web asset.
  • FIG. 6 is a flow diagram illustrating an embodiment of a process for web asset modification.
  • FIG. 7A is a table illustrating an embodiment of groups.
  • FIG. 7B is a table illustrating an embodiment of user contexts.
  • FIG. 8 is a table illustrating embodiments of operators.
  • FIG. 9 is a table illustrating an embodiment of a table of keywords.
  • FIG. 10A is a diagram illustrating an embodiment of a web asset emulator.
  • FIG. 10B is a diagram illustrating an embodiment of a web asset emulator.
  • FIG. 10C is a diagram illustrating an embodiment of a web asset emulator.
  • FIG. 10D is a diagram illustrating an embodiment of a web asset emulator.
  • FIG. 10E is a diagram illustrating an embodiment of a web asset emulator.
  • FIG. 10F is a diagram illustrating an embodiment of a web asset emulator.
  • FIG. 10G is a diagram illustrating an embodiment of a web asset emulator.
  • FIG. 11 is a diagram illustrating an embodiment of a user context category creator.
  • FIG. 12 is a diagram illustrating an embodiment of a HTML processing flow.
  • FIG. 13 is a flow diagram illustrating an embodiment of a process for accessing a user context.
  • the invention can be implemented in numerous ways, including as a process; an apparatus; a system; a composition of matter; a computer program product embodied on a computer readable storage medium; and/or a processor, such as a processor configured to execute instructions stored on and/or provided by a memory coupled to the processor.
  • these implementations, or any other form that the invention may take, may be referred to as techniques.
  • the order of the steps of disclosed processes may be altered within the scope of the invention.
  • a component such as a processor or a memory described as being configured to perform a task may be implemented as a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task.
  • the term ‘processor’ refers to one or more devices, circuits, and/or processing cores configured to process data, such as computer program instructions.
  • a system for web asset modification based on a user context comprises a processor and a memory.
  • the processor is configured to: receive a request for a web asset for display on a device; receive an indication of one or more user contexts; determine one or more groups for the web asset, wherein each of the one or more groups comprises a group for adapting display of the web asset on the device; and modify the web asset based at least in part on one user context of the one or more user contexts and one group of the one or more groups.
  • the memory is coupled to the processor and is configured to provide the processor with instructions.
  • a system for providing web assets includes determining a grouping associated with the request for the web asset.
  • the system for providing web assets additionally receives a user context associated with the request for a web asset.
  • the context comprises a persona, personal preference indicator, a user associated information used to indicate an interface preference, or any other appropriate context.
  • the web asset is modified according to custom instructions embedded in the web asset (e.g., an Hyper Text Markup Language (HTML) element that enables customization, a JavaScriptTM element that enables customization, a cascading style sheet (CSS) element that enables customization, etc.).
  • HTML Hyper Text Markup Language
  • JavaScriptTM JavaScriptTM
  • CSS cascading style sheet
  • the modification of the web asset include the adding of group-specific and user context-specific steps, the hiding or removing of group-specific and user context-specific steps, and the changing of group-specific and user context-specific steps that are executed by the device to display the web asset.
  • the web asset includes custom instructions to display a full table of information for a laptop screen with a blue background and only an abbreviated table for a portable phone screen with a white background, and to display a list of products sorted by price for a user known to be price conscious, and a list of products sorted by review scores for a user known to be review conscious.
  • the web asset includes custom instructions based on a combination of group information and user context information.
  • the custom instructions are used to modify the web asset so that a user of a laptop screen and a different user of a laptop screen receive a different web asset (e.g., HTML instructions, JavaScript instructions, CSS instructions, etc.) file that enables the customizations.
  • the custom instructions are used to modify the web asset so that a user of a mobile device and a different user of a mobile device receive a different web asset (e.g., HTML instructions, JavaScript instructions, CSS instructions, etc.) file that enables the customizations.
  • the web asset custom instructions preserve web asset functionality (e.g., do not break the web asset code, can run or be executed or interpreted with the custom instructions embedded, etc.).
  • FIG. 1 is a diagram illustrating an embodiment of a system for web asset modification.
  • a user of a device e.g., phone 100 , phone 118 , tablet 102 , tablet 116 , mini tablet 120 , desktop 112 , laptop 114 , etc.
  • requests a web asset via network 106 e.g., a wireless network, a wired network, a cellular network, etc.
  • network 106 communicates with phone 100 and tablet 102 via cellular infrastructure (e.g., cell tower 104 ) or via a wireless infrastructure (e.g., wireless router 110 ).
  • the web asset request is serviced by server 108 .
  • server 108 determines the software and hardware environment associated with the request. For example, a specific device identifier enables classification of the device, and its screen resolution and its size (e.g., iPhone 3GS with it associated 3.5 inch screen with 320 ⁇ 480 pixels). And for example, a browser identifier enables classification of a software environment (e.g., chrome browser). Server 108 additionally determines a user context associated with the request.
  • a specific device identifier enables classification of the device, and its screen resolution and its size (e.g., iPhone 3GS with it associated 3.5 inch screen with 320 ⁇ 480 pixels).
  • a browser identifier enables classification of a software environment (e.g., chrome browser).
  • Server 108 additionally determines a user context associated with the request.
  • the user context is determined by querying the user for a desired user context, by looking up user identifying information (e.g., IP address, software identifying information, usernames, etc.) in a user context table, by querying a user context identification service with user identifying information, or in any other appropriate way.
  • user identifying information e.g., IP address, software identifying information, usernames, etc.
  • a pre-processor indicates a customization (e.g., a customization grouping, a customization identifier, etc.).
  • one or more user context cookies e.g., SN1024Context1, SN1024Context2 are set appropriately based on the information retrieved from the database or user context table.
  • the request is forwarded to a backend server, which provides the web asset in its generalized form (e.g., an HTML page).
  • the generalized form of the web asset is then post-processed at the web server based on the device type and user context type determined earlier.
  • the post-processing of the generalized form of the web asset interprets customized, but native language acceptable, codes (e.g., attributes, tags, etc.) to modify, remove, or add to the web asset.
  • FIG. 2A is a block diagram illustrating an embodiment of a system for web asset modification.
  • client 200 comprises processor 202 , display 204 , and data storage 206 .
  • a user of client 200 requests a web asset—for example, a user indicates by clicking in a browser (e.g., running using processor 202 of client 200 ) on a link displayed on display 204 .
  • the indication causes a request to be sent to web server 220 via network 210 to retrieve a web asset associated with the link associated with the request.
  • Network 210 represents a set of wireless and/or wired communication networks (e.g., including routers, servers, data storage units, processors, connectivity infrastructure, etc.) that enable the request and the subsequent response to the request to be conveyed between client 200 and web server 220 that responds to the request.
  • the indication comprises one or more of the following: a typed in web address, a request for retrieval of a web asset initiated by code running on the browser (e.g., an ad retrieval), a clicking of a link, a search for a web site, an application running on a device requesting a web asset, or any other appropriate indication.
  • Web server 220 comprises processor 224 and data storage 222 .
  • Processor 224 includes software or hardware modules performing pre-processor 226 functionality, backend processor 228 functionality, and post-processor 230 functionality.
  • Pre-processor 226 functionality includes receiving a request for a web asset and determining one or more associated groups and one or more associated user contexts that have similar web asset requirements (e.g., get the same web page portrayal).
  • pre-processor 226 functionality includes determining a user context based on the received web asset.
  • Backend processor 228 functionality comprises exiting web asset retrieval based on a received request (e.g., current technology solution for web page request fulfillment).
  • Post-processor 230 functionality includes receiving the retrieved web asset from backend processor 228 and processing the web asset based at least in part on the determined group(s) and user context(s).
  • Post-processor 230 adds to, modifies, or removes web asset elements based on embedded instructions that are compatible with the regular web asset elements.
  • the web asset is stored on data storage 222 of web server 220 both prior to post processing (e.g., as retrieved using backend processor 228 ), during post-processing, and just prior to providing to the requestor.
  • Web asset as modified by post-processor 230 is then provided to client 200 via network 210 and stored on data storage 206 .
  • Web asset as stored in data storage 206 is displayed for the user using display 204 and processor 202 .
  • FIG. 2B is a block diagram illustrating an embodiment of a system for web asset modification.
  • client 240 comprises processor 242 , display 244 , and data storage 246 .
  • a user of client 240 requests a web asset—for example, a user indicates by clicking in a browser (e.g., running using processor 242 of client 240 ) on a link displayed on display 244 .
  • the indication causes a request to be sent to web server 260 via network 250 to retrieve a web asset associated with the link associated with the request.
  • Network 250 represents a set of wireless and/or wired communication networks (e.g., including routers, servers, data storage units, processors, connectivity infrastructure, etc.) that enable the request and the subsequent response to the request to be conveyed between client 240 and web server 260 that responds to the request.
  • the indication comprises one or more of the following: a typed in web address, a request for retrieval of a web asset initiated by code running on the browser (e.g., an advertisement retrieval), a clicking of a link, a search for a web site, an application running on a device requesting a web asset, or any other appropriate indication.
  • Web server 260 comprises processor 264 and data storage 262 .
  • Processor 264 includes software or hardware modules performing pre-processor 266 functionality, backend processor 268 functionality, and post-processor 270 functionality.
  • Pre-processor 266 functionality includes receiving a request for a web asset and determining one or more associated groups and one or more user context(s) that has/have similar web asset requirements (e.g., all get the same web page portrayal).
  • pre-processor 266 functionality comprises requesting a user context (e.g., from context server 280 ).
  • Backend processor 268 functionality comprises exiting web asset retrieval based on a received request (e.g., current technology solution for web page request fulfillment).
  • Post-processor 270 functionality includes receiving the retrieved web asset from backend processor 268 and processing the web asset based at least in part on the determined group(s) and user context(s).
  • Post-processor 270 adds to, modifies, or removes web asset elements based on embedded instructions that are compatible with the regular web asset elements.
  • the web asset is stored on data storage 262 of web server 260 both prior to post processing (e.g., as retrieved using backend processor 268 ), during post-processing, and just prior to providing to the requestor.
  • Web asset as modified by post-processor 270 is then provided to client 240 via network 250 and stored on data storage 246 .
  • Web asset as stored in data storage 246 is displayed for the user using display 244 and processor 242 .
  • Context server 280 comprises processor 284 and data storage 282 .
  • Context server 280 comprises a context server for determining a context associated with a user making a web asset request (e.g., the user of client 240 ).
  • context server 280 determines a user context based on information stored in the web asset request, determines a user context by looking up information stored in the web asset request in a table of stored user context information, determines the user context based on previous user action(s), determines the user context based on a previously indicated user context, or determines the user context in any other appropriate way.
  • context server 280 receives data describing user actions from one or more web servers (e.g., web servers as in web server 260 ) and determines a user context based on the received user data.
  • FIG. 3 is a block diagram illustrating an embodiment of a system for web asset modification.
  • client 300 comprises processor 302 , display 304 , and data storage 306 .
  • data storage 306 comprises one or more of the following: a solid state memory (e.g., a random access memory, a chip memory, etc.), a magnetic memory (e.g., a hard disk, a magnetic disk, a tape, a magnetic random access memory, etc.), or any other appropriate memory.
  • a user of client 300 requests a web asset—for example, a user indicates by clicking in a browser (e.g., running using processor 302 of client 300 ) on a link displayed on display 304 .
  • the indication causes a request to be sent to web server 320 via network 370 and via proxy server 350 to retrieve a web asset associated with the link associated with the request.
  • Network 370 represents a set of wireless and/or wired communication networks (e.g., including routers, servers, data storage units, processors, connectivity infrastructure, etc.) that enable the request and the subsequent response to the request to be conveyed between client 300 and web server 320 and proxy server 350 that both respond to the request.
  • the indication comprises one or more of the following: a typed in web address, a request for retrieval of a web asset initiated by code running on the browser (e.g., an ad retrieval), a clicking of a link, a search for a web site, an application running on a device requesting a web asset, or any other appropriate indication.
  • Web server 320 comprises processor 324 and data storage 322 .
  • Processor 324 includes software or hardware modules performing backend processor 328 functionality.
  • Proxy server 350 comprises processor 354 and data storage 352 .
  • data storage 352 comprises one or more of the following: a solid state memory (e.g., a random access memory, a chip memory, etc.), a magnetic memory (e.g., a hard disk, a magnetic disk, a tape, a magnetic random access memory, etc.), or any other appropriate memory.
  • Processor 354 includes software or hardware modules performing pre-processor 356 functionality and post-processor 358 functionality.
  • Pre-processor 356 functionality includes receiving a request for a web asset and determining one or more associated groups and one or more associated user contexts that have similar web asset requirements (e.g., get the same web page portrayal).
  • Backend processor 328 functionality comprises exiting web asset retrieval based on a received request (e.g., current technology solution for web page request fulfillment).
  • Post-processor 358 functionality includes receiving the retrieved web asset from backend processor 328 and processing the web asset based at least in part on the determined group(s) and user context(s).
  • Post-processor 358 adds to, modifies, or removes web asset elements based on embedded instructions that are compatible with the regular web asset elements.
  • the web asset is stored on data storage 322 of web server 320 prior to post-processing (e.g., as retrieved using backend processor 328 ).
  • the web asset is stored on data storage 352 during post-processing and just prior to providing to the requestor.
  • Web asset as modified by post-processor 354 is then provided to client 300 via network 370 and stored on data storage 306 .
  • data storage 306 comprises a temporary memory used for temporary storage of data.
  • Web asset as stored in data storage 306 is displayed for the user using display 304 and processor 302 .
  • FIG. 4 is a block diagram illustrating an embodiment of a system for web asset modification.
  • client 430 requests a web asset from web server 400 via an edge router (e.g., edge router 402 , edge router 404 , edge router 406 , edge router 408 , edge router 410 , edge router 412 , edge router 414 , and edge router 416 ).
  • Web server 400 includes backend processing that stores and retrieves the web asset so that it can be provided to the user in response to the request.
  • Pre-processing is performed in an edge router to determine a grouping and a user context for modification and post-processing based at least in part on the grouping and user context.
  • FIG. 5 is a flow diagram illustrating an embodiment of a process for modifying a web asset.
  • a request is received for a web asset.
  • a pre-processor module receives a request from a device requesting a web asset (e.g., a web page).
  • a web asset e.g., a web page.
  • one or more groups for the web asset is/are determined. For example, based on associated information in the web asset request one or more groups is/are determined (e.g., a grouping that will receive the same web asset information to display and that is adapted for display on the device as appropriate for its hardware and software environment).
  • the request is analyzed to see if information in the request can identify a user context for the user (e.g., using browser, cookie, or IP address information or information in the request itself to point to an associated user context such as select a user context from a set of user contexts or to point to a database to determine a user context).
  • a user context is determined for the web asset and control passes to 506 .
  • one or more user contexts are determined for the web asset.
  • a user context is determined from the request, from stored user data, from a previously indicated user context, by querying a user context server, or in any other appropriate way.
  • an appropriate specific web asset is selected. For example, based on the grouping and/or user context, a web asset is selected to be retrieved from a server (e.g., a backend server). In some embodiments, a grouping and/or user context determines whether a web asset that includes flash or does not include flash is selected.
  • a request for the appropriate specific web asset is sent. For example, a pre-processing module sends a request for a web asset to a backend server.
  • the appropriate specific web asset is received.
  • the appropriate specific web asset is modified.
  • the appropriate specific web asset is modified based on the group, based on the user context, based on the user context and the group, or based on any combination of group(s) and/or user context(s).
  • the syntax of the web asset is analyzed to locate embedded customization instructions. These instructions then are used to add to, to modify, or to remove web asset elements.
  • the modified appropriate specific web asset is sent. For example, once the web asset has been customized, it is sent to the requestor.
  • FIG. 6 is a flow diagram illustrating an embodiment of a process for web asset modification.
  • a request is received for a web asset.
  • a user using a device hits the server for a web page.
  • pre-processing includes finding one or more groups and/or one or more user contexts, storing the one or more groups value(s) and/or the one or more user context value(s) in a memory, and requesting/receiving the appropriate web asset.
  • backend processing includes receiving a request to provide an appropriate web asset and providing the web asset (e.g., a request for a web page and providing the web page).
  • post-processing includes modifying web assets according to rules provided in the web asset as interpreted by the post-processor.
  • a customized web asset is provided. For example, a web asset that has been modified is provided to the requestor of the web asset (e.g., an optimized web page for a mobile device).
  • Web asset modification provides an efficient way to address the complexity presented by the diverse means of internet access today.
  • the system engine integrates with any Java server and allows content creators to efficiently manipulate content without having to delve into the complexity of the mobile landscape.
  • Web asset modification instructions are embedded into a web asset (e.g., HyperText Markup Language (HTML), Cascading Style Sheets (CSS), etc.), which is parsed by the system engine and rendered according to the device requesting the page.
  • HTML HyperText Markup Language
  • CSS Cascading Style Sheets
  • At the core of the system engine are the concepts of groups and user contexts. A group is used to target a set of devices, and a user context is used to target a set of users.
  • ⁇ олователи are either selected from a pre-defined list (e.g., a predefined device group or a predefined user context) or is defined according to the needs of a developer (e.g., as defined using a syntax), using a broad range of device attributes.
  • Logical operators further extend flexibility in defining groups and contexts enabling customization of web assets.
  • the set of groups is broken into subsets of group categories—for example browser, device type, operating system (OS), screen, etc.
  • Each group category comprises a set of groups—for example, the OS group category comprises iOSTM, AndroidTM, BlackberryTM, WindowsTM, Bada, webOS®, Symbian, etc.
  • the groups reflect characteristics of devices (e.g., hardware or software characteristics).
  • the device characteristics can be determined from a web asset request (e.g., based on associated information in the web asset request, e.g., via a HyperText Transfer Protocol (HTTP) request user agent string).
  • HTTP HyperText Transfer Protocol
  • a user context of a set of user contexts reflects characteristics of the user operating the device.
  • a user self-identifies with a particular user context (e.g., the user is presented with a list of options for viewing the website and selects the one he or she identifies with the best).
  • user activity on a website is monitored and used to determine an appropriate user context.
  • user activity at various websites is monitored (e.g., by a third party user context server) and used to determine an appropriate user context.
  • a web asset creator can create any appropriate set of user contexts appropriate for the web asset (e.g., a news website could have a set of user contexts describing the favorite news section of the user; a shopping website could have a set of user contexts describing the preferred shopping behavior of the user).
  • a user context is determined based at least in part on the same information used to determine a group (e.g., information in the web asset request).
  • a user context is determined based at least in part on a determined group or groups.
  • a usercontext is determined independently from groups.
  • web asset modification for HTML type assets includes attribute overwriting.
  • multiple groups and user contexts can be separated by comma(s) without any restrictions—for example, a combination of custom group(s), pre-defined group(s), custom user context(s), and/or pre-defined user context(s).
  • web asset modification for JavaScript type assets includes overwriting, showing and hiding.
  • web asset modification for CSS type assets includes attribute overwriting.
  • rules within the CSS code result in the CSS being selectively rendered according to the device requesting the page.
  • CSS rules are similar to HTML rules.
  • the CSS syntax has the form: tg-groupname-attribute:value or tg-contextname-attribute:value.
  • the float left property is overridden for user context of price-conscious users:
  • big.CSS is used for iPhone devices
  • a link is hidden for BlackBerry devices
  • small.css is used for all other devices.
  • CSS rules are used to hide and show style tags. This is useful for limiting the CSS that is sent to a certain category of devices or user contexts. For example,
  • web asset modifications use groups to target experiences and functionality to defined sets of users (e.g., iPhone users, Tablet users, price-conscious users, social users, etc.).
  • the framework allows users to use:
  • FIG. 7A is a table illustrating an embodiment of groups.
  • groups are used to target experiences and functionality to defined sets of devices.
  • the framework allows users to use pre-defined groups or define custom groups by picking attributes of the devices that would fall into that category.
  • Categories 700 include browser, devicetype, os, screenwidth, dpi, format, and feature.
  • Pre-defined groups 702 are as follows:
  • FIG. 7B is a table illustrating an embodiment of user contexts.
  • user contexts are used to target experiences and functionality to defined sets of users.
  • the framework allows users to use pre-defined user contexts, custom user contexts by picking attributes of the user contexts that would fall into that category, or create new categories of user contexts based on their needs.
  • Context category names 750 include shoppingstyle, newsview, infodepth, and sharingdepth.
  • context category value 752 are as follows:
  • user contexts are defined for a group of users for whom it is desired that they experience the system in a particular way or manner.
  • a user context of the one or more user contexts comprises one of the following: a user behavior, a user location, a user category, a user access channel, a user social network, a user shopping style, a user info depth, or any other appropriate user context.
  • a user behavior comprises one of the following: a politics interest, a sports interest, a price interest, a brand interest, or any other appropriate user behavior.
  • a user behavior comprises one of the following: a politics interest, a sports interest, a price interest, a brand interest, or any other appropriate user behavior.
  • user category comprises one of the following: a premium user, a female user, a senior user, an A/B testing user, or any other appropriate user category.
  • a user access channel comprises one of the following: a low speed network, a 3G network, a Wi-Fi network, or any other appropriate user access channel.
  • a user social network comprises one of the following: Facebook, Myspace, Instagram, Twitter, or any other appropriate social network.
  • a user shopping style comprises one of the following: social, review, price, brand, or any other appropriate style.
  • a user info depth comprises one of the following: more info, normal info, less info, or any other appropriate information depth.
  • a group comprises one of the following: a phone group, a tablet group, a smart TV group, a Firefox browser group, an IOS group, a 7 inch screen group, or any other appropriate group.
  • custom groups or custom user contexts are defined in a file and are common for all accessing the server. In some embodiments, custom groups or custom user contexts are defined in a file that is accessible or associated with a specific set of requestors or IP addresses.
  • a custom entity definition is of the form:
  • a custom user context definition is of the form:
  • a custom entity and custom user context definition is of the form:
  • Custom groups or custom contexts also offer the power of combining AND and OR operations.
  • group myAndroid2 below targets android OS AND has either (html5 OR (both css3 AND offlinestorage)) features:
  • custom groups are able to use any category name and/or category value (e.g., in a list of pre-defined groups) in any combination as part of their definition.
  • templates are used to invoke packaged modules within the system framework, which offer compatibility across a range of devices and easy integration of complex features that otherwise might require multiple compatibility and rendering checks. Templates are invoked using the syntax (starts with ⁇ tg-):
  • the attributes & inner HTML of the template element depend on the template design.
  • a template myphonenumber.
  • the template filename should start with “tg-” followed by the templatename and ends with “.template”—for example, tg-myphonenumber.template.
  • the template can be created just like an HTML page—HTML elements and styles should be specified with device specific display rules if needed.
  • Usage of a template within HTML is as follows:
  • FIG. 8 is a table illustrating embodiments of operators.
  • operators supported within group or user context definitions are shown.
  • An operator is the last set of characters except in the event that there is range information provided with an operator that operate on both group and user context definitions and on the attribute level.
  • Operators 800 are shown with corresponding symbol 802 and example 804 .
  • operator ‘equal’ (exact value) has no corresponding symbol, and an example of usage as ‘ios4’.
  • operator ‘greater than’ has symbol ‘_gt’, and an example of usage as ‘ios4_gt’.
  • Operator ‘less than’ has symbol ‘_lt’, and an example of usage as ‘ios4_lt’.
  • Operator ‘greater than or equal to’ has symbol ‘_ge’, and examples of usage as ‘ios4_ge’ or ‘ios5.2_ge’.
  • Operator ‘less than or equal to’ has symbol ‘_le’, and an example of usage as ‘ios4_le’.
  • Operator ‘not’ has symbol ‘_not’, and an example of usage as ‘ios4_not’.
  • Operator ‘range’ has symbol ‘to’, and an example of usage as ‘ios4.1to4.8’.
  • Operator ‘series’ (can be combined with other operators) has symbol ‘x’, and examples of usage as ‘ios4x’ or ‘ios4xto5x’ or ‘io4x_not’.
  • Operator ‘or’ has symbol ‘,’, and an example of usage as ‘brand,sports,lessinfo’.
  • Operator ‘and’ has symbol ‘+’ and an example of usage as ‘safari+touchphone+ios4x’.
  • Operators 800 are usable for group and user context definitions and on the attribute level.
  • the comparison operands e.g., greater than, less than, greater than or equal to, less than or equal to, and not
  • the comparison operands e.g., greater than, less than, greater than or equal to, less than or equal to, and not
  • screen width e.g., where greater corresponds to a larger screen size, and lesser corresponds to a smaller screen size
  • the operator ‘not’ is applicable to all categories (e.g., browser, os, format, dpi, screen, etc.)—for example, safari_not, android_not, ios3x_not, ios4.0_not, width 320 _not.
  • greater pixeldensity comprises a higher density and lesser pixeldensity comprises a lower density.
  • a group or user context file containing the group or user context definition for a given site is maintained at $TOMCATHOME/webapps/ROOT/WEB-INF/corekules/groups.xml, at $TOMCATHOME/webapps/ROOT/WEB-INF/corekules/context.xml, or which is configurable via web.xml.
  • a sample group file is as follows:
  • two groups are defined: mySafariIOS which targets devices running iOS with safari browser, and myChromeAndroid which targets devices running android with chrome browser.
  • the file defines one or more user contexts.
  • the redirection URL specified is an absolute link (http:// or www.) or a relative link (/).
  • the file containing the device detection updates by user-agent for a given site is maintained at $TOMCATHOME/webapps/ROOT/WEB-INF/core/rules/devicepatch.xml (configurable via web.xml).
  • This file allows users to modify the characteristics of certain User Agents at a server level in order to provide enhanced flexibility within the framework.
  • a sample patch file is as follows:
  • embedded instructions in a web asset are interpreted using a post-processor.
  • the post-processor analyzes the web asset and determines if there are instructions to add to, to modify, or to remove elements of the web asset.
  • the web asset includes embedded instruction embedded in HTML, in CSS, in Javascript, or any other appropriate web asset instructions.
  • an HTML embedded instruction includes the ability to overwrite an attribute or instruction, to show or hide instructions, to overwrite j avascipt, or any other appropriate instruction.
  • groups or user contexts can be used separated by comma without any restrictions (e.g., groups can be custom groups, pre-defined groups, or a combination of custom and pre-defined groups, user contexts can be custom user contexts, pre-defined user contexts, or a combination of custom and pre-defined user contexts).
  • a CSS embedded instruction includes the ability to overwrite an attribute or instruction, to restrict to certain groups, to manipulate tags, to hide or show tags, or any other appropriate instruction.
  • rules within the CSS code result in the CSS being selectively rendered according to the device requesting the page; CSS rules are similar to HTML rules and have a format of: tg-groupname1,groupname2-attribute:value. In the example below, the ‘float: left’ property will be overridden for devices from group g3.
  • CSS rules are used to hide and show style tags. This is useful for limiting the CSS that is sent to a certain category of devices. For example, where the instructions below indicate that when the group is g1, then the instructions that font color is blue and font-size is 12px are hidden:
  • tags are used to invoke available packaged modules, which offer compatibility across a range of devices and easy plug-in of complex features that otherwise might require multiple compatibility and rendering checks.
  • Tags are invoked using the following syntax (e.g., starting with ‘ ⁇ tg-’):
  • the image gallery tag adds a custom image gallery that degrades the user experience based on the device accessing the page:
  • FIG. 9 is a table illustrating an embodiment of a table of keywords.
  • keywords 900 include ‘$’, ‘tg-’, and ‘-’ (hyphen as separator).
  • Example 902 show example usages for keywords 900 .
  • ‘-’ for a CSS attribute ‘-’ is used as a separator:
  • FIG. 10A is a diagram illustrating an embodiment of a web asset emulator.
  • the web asset emulator of FIG. 10A emulates the display of a web asset.
  • the web asset emulator of FIG. 10A modifies a web asset based at least in part on one or more user contexts and on one or more groups.
  • web asset display 1000 comprises a display emulating an iPhone 5TM being used by a user with a price-conscious user context.
  • web asset display 1000 shows entries for laptops mart including a first entry of $529 Pavillion 17-e020us HP, a second entry $449 Satellite C55-A5245 Toshiba, a third entry $385 Aspire E1-531-2686 Acer, a fourth entry $372 Inspiron i15-RV-6190BLK, and a fifth entry $299 C710-2833 Chromebook Acer.
  • Context selector 1002 allows a web asset developer to select a user context to use for modifying the web asset.
  • the available choices for context comprise social context, price-conscious context, brand-conscious context, and reviews context.
  • Device selection 1004 allows a web asset developer to select a device to use while modifying the web asset.
  • a device selection comprises one of the following: iPhone5TM, iPhone4TM, iPadTM, iPadTM mini, Galaxy S3, Droid RazrTM, HTC One, a WindowsTM phone, blackberry, or any other appropriate device.
  • selection of a device indicates selection of one or more groups (e.g., selection of iPhone5 comprises selection of ios operating system, mobile device, small touch display, etc.).
  • FIG. 10B is a diagram illustrating an embodiment of a web asset emulator.
  • the web asset emulator of FIG. 10B emulates the display of a web asset.
  • the web asset emulator of FIG. 10B modifies a web asset based at least in part on one or more contexts and on one or more groups.
  • web asset display 1010 comprises a display emulating an iPhone 5TM being used by a user with a default context.
  • web asset display 1010 shows entries for laptops mart including a first entry of $372 Inspiron i15-RV-6190BLK, a second entry $449 Satellite C55-A5245 Toshiba, a third entry $299 C710-2833 Chromebook Acer, a fourth entry $529 Pavillion 17-e020us HP, and a fifth entry $385 Aspire E1-531-2686 Acer.
  • Context selector 1012 allows a web asset developer to select a context to use for modifying the web asset.
  • the available choices for context comprise a default context, a loyal user context, and a social context.
  • Device selection 1014 allows a web asset developer to select a device to use while modifying the web asset.
  • a device selection comprises one of the following: iPhone5TM, iPhone4TM, iPadTM, iPadTM mini, Galaxy S3, Droid RazrTM, HTC One, a WindowsTM phone, blackberry, or any other appropriate device.
  • the iPhone 5 device comprises a device with a 16:9 aspect ratio (e.g., the ratio of the screen height to the screen width comprises 16:9).
  • the display shows a laptop sales website comprising a set of links to laptop computers for sale along with associated prices.
  • FIG. 10C is a diagram illustrating an embodiment of a web asset emulator.
  • the web asset emulator of FIG. 10C emulates the display of a web asset.
  • the web asset emulator of FIG. 10C modifies a web asset based at least in part on one or more contexts and on one or more groups.
  • web asset display 1020 comprises a display emulating an iPhone 5TM being used by a user with a loyal user context.
  • Context selector 1022 allows a web asset developer to select a context to use for modifying the web asset.
  • web asset display 1020 shows entries for laptops mart including a first entry of $372 Inspiron i15-RV-6190BLK, a second entry $449 Satellite C55-A5245 Toshiba 5% off marker 1026 , a third entry $299 C710-2833 Chromebook Acer 10% off, a fourth entry $529 Pavillion 17-e020us HP 5% off, and a fifth entry $385 Aspire E1-531-2686 Acer 10% off.
  • Device selection 1024 allows a web asset developer to select a device to use while modifying the web asset.
  • a device selection comprises one of the following: iPhone5TM, iPhone4TM, iPadTM, iPadTM mini, Galaxy S3, Droid RazrTM, HTC One, a WindowsTM phone, blackberry, or any other appropriate device.
  • the display shows a laptop sales website, customized for a loyal user context, comprising a set of links to laptop computers for sale along with associated prices.
  • the laptop sales website additionally comprises a set of discount markers (e.g., discount marker 1026 ) indicating discounts available to a user. Discount markers are shown in a loyal user context.
  • FIG. 10D is a diagram illustrating an embodiment of a web asset emulator.
  • the web asset emulator of FIG. 10D emulates the display of a web asset.
  • the web asset emulator of FIG. 10D modifies a web asset based at least in part on one or more contexts and on one or more groups.
  • web asset display 1030 comprises a display emulating an iPhone 5TM being used by a user with a social user context.
  • web asset display 1030 shows entries for laptops mart including a first entry of $372 Inspiron i15-RV-6190BLK, a second entry $449 Satellite C55-A5245 Toshiba off marker 1026 , a third entry $299 C710-2833 Chromebook Acer, a fourth entry $529 Pavillion 17-e020us HP, and a fifth entry $385 Aspire E1-531-2686 Acer.
  • Context selector 1032 allows a web asset developer to select a context to use for modifying the web asset.
  • Device selection 1034 allows a web asset developer to select a device to use while modifying the web asset.
  • a device selection comprises one of the following: iPhone5TM, iPhone4TM, iPadTM, iPadTM mini, Galaxy S3, Droid RazrTM, HTC One, a WindowsTM phone, blackberry, or any other appropriate device.
  • the display shows a laptop sales website, customized for a social user context, comprising a set of links to laptop computers for sale along with associated prices.
  • the laptop sales website additionally comprises a set of social links (e.g., social link 1036 ‘t’ and social link 1038 ‘f’) facilitating a user posting a link to the computer for sale to a social media website.
  • Social links are shown in a social user context.
  • FIG. 10E is a diagram illustrating an embodiment of a web asset emulator.
  • the web asset emulator of FIG. 10E emulates the display of a web asset.
  • the web asset emulator of FIG. 10E modifies a web asset based at least in part on one or more contexts and on one or more groups.
  • web asset display 1040 comprises a display emulating an iPad MiniTM being used by a user with a default context.
  • web asset display 1040 shows entries for laptops mart include Pavillion 17-e020us HP $529, Blade RZO9 Razer $1799, Envy 15-j185nr HP $779, IdeaPad 5210 lenovo $449, Aspire E1-531-2686 $385, Satellite C55-A5245 Toshiba $449, C710-2833 Chromebook Acer $299, and Inspiron i15-RV-6190BLK Dell $372.
  • Context selector 1042 allows a web asset developer to select a context to use for modifying the web asset.
  • the available choices for context comprise a default context, a loyal user context, and a social context.
  • Device selection 1044 allows a web asset developer to select a device to use while modifying the web asset.
  • the iPad Mini device comprises a device with a 4:3 aspect ratio (e.g., the ratio of the screen height to the screen width comprises 4:3).
  • the display shows a laptop sales website comprising a set of links to laptop computers for sale along with associated prices.
  • the wider screen e.g., compared with an iPhone 5
  • a device selection comprises one of the following: iPhone5TM, iPhone4TM, iPadTM, iPadTM mini, Galaxy S3, Droid RazrTM, HTC One, a WindowsTM phone, blackberry, or any other appropriate device.
  • FIG. 10F is a diagram illustrating an embodiment of a web asset emulator.
  • the web asset emulator of FIG. 10F emulates the display of a web asset.
  • the web asset emulator of FIG. 10F modifies a web asset based at least in part on one or more contexts and on one or more groups.
  • web asset display 1050 comprises a display emulating an iPad MiniTM being used by a user with a loyal user context.
  • web asset display 1050 shows entries for laptops mart include Pavillion 17-e020us HP $529 5% Off!, Blade RZO9 Razer $1799 5% Off!, Envy 15-j185nr HP $779, IdeaPad 5210 lenovo $449, Aspire E1-531-2686 $385 10% Off!, Satellite C55-A5245 Toshiba $449 5% Off!, C710-2833 Chromebook Acer $299 10% Off!, and Inspiron i15-RV-6190BLK Dell $372.
  • Context selector 1052 allows a web asset developer to select a context to use for modifying the web asset.
  • Device selection 1054 allows a web asset developer to select a device to use while modifying the web asset.
  • the display shows a laptop sales website, customized for a loyal user context, comprising a set of links to laptop computers for sale along with associated prices.
  • the laptop sales website additionally comprises a set of discount markers (e.g., discount marker 1056 ) indicating discounts available to a user. Discount markers are shown in a loyal user context.
  • a device selection comprises one of the following: iPhone5TM, iPhone4TM, iPadTM, iPadTM mini, Galaxy S3, Droid RazrTM HTC One, a WindowsTM phone, blackberry, or any other appropriate device.
  • FIG. 10G is a diagram illustrating an embodiment of a web asset emulator.
  • the web asset emulator of FIG. 10G emulates the display of a web asset.
  • the web asset emulator of FIG. 10G modifies a web asset based at least in part on one or more contexts and on one or more groups.
  • web asset display 1060 comprises a display emulating an iPad Mini 5TM being used by a user with a social user context.
  • web asset display 1060 shows entries for laptops mart include Pavillion 17-e020us HP $529, Blade RZO9 Razer $1799, Envy 15-j185nr HP $779, IdeaPad S210 lenovo $449, Aspire E1-531-2686 $385, Satellite C55-A5245 Toshiba $449, C710-2833 Chromebook Acer $299, and Inspiron i15-RV-6190BLK Dell $372.
  • Context selector 1062 allows a web asset developer to select a context to use for modifying the web asset.
  • Device selection 1064 allows a web asset developer to select a device to use while modifying the web asset.
  • the display shows a laptop sales website, customized for a social user context, comprising a set of links to laptop computers for sale along with associated prices.
  • the laptop sales website additionally comprises a set of social links (e.g., social link 1066 and social link 1068 ) facilitating a user posting a link to the computer for sale to a social media website.
  • Social links are shown in a social user context.
  • a device selection comprises one of the following: iPhone5TM, iPhone4TM, iPadTM, iPadTM mini, Galaxy S3, Droid RazrTM, HTC One, a WindowsTM phone, blackberry, or any other appropriate device.
  • FIG. 11 is a diagram illustrating an embodiment of a user context category creator.
  • a web asset creator uses a user context category creator for creating user context categories and user contexts.
  • a web asset creator creates a custom user context category and associated set of user contexts tailored to a particular web asset.
  • user context category creator 1100 comprises a user interface for creating a new user context category (e.g., via +button 1102 ) and deleting a user context category (e.g., via ⁇ button 1104 ).
  • Each user context category (e.g., news view contexts 1106 ) comprises a user interface for creating a new user context (e.g., via +button 1108 ) and deleting a user context (e.g., via ⁇ button 1110 ).
  • news view contexts 1106 comprises a set of user contexts describing a user's preference for news viewing (e.g., politics, sports, national, local, arts, etc.).
  • the user's view of the content is tailored for a user that has a preference or focus on a particular topic area (e.g., the politics user is shown news and events that impact focus).
  • Social network contexts comprise a set of user contexts describing a user's preference for social networks (e.g., Facebook, Myspace, Instagram, Twitter, etc.).
  • Shopping style contexts comprise a set of user contexts describing a user's preference for information while shopping (e.g., social network sourced information, reviews, price comparison information, brand information, price ranking, brand ranking, etc.).
  • sharing depth contexts comprise a set of user contexts indicating a user's preference for social network sharing of information (e.g., more, normal, or less sharing of personal information or viewing of other's information, etc.).
  • info depth user contexts comprise a set of contexts describing a user's preference for the amount of information provided (e.g., more, normal, or less information that is shown to the user regarding an item).
  • FIG. 12 is a diagram illustrating an embodiment of a HTML processing flow.
  • the diagram of FIG. 12 shows web assets modified based on a user context.
  • HTML code 1200 comprises a default view HTML code for a website.
  • the default view HTML code is modified to include tags for groups and user contexts in 1202 (e.g., tablet and social view, tablet and brand view, etc.).
  • the modified code is processed by SNOW (e.g., software enabling one web) system 1204 .
  • SNOW system 1204 determines a group and a user context and processes the tagged code.
  • SNOW system 1204 produces HTML code appropriate to the determined combination of group and user context.
  • SNOW system 1204 produces social view code 1206 for devices determined to be tablets using a social view and brand view code 1208 for devices determined to be tables using brand view.
  • FIG. 13 is a flow diagram illustrating an embodiment of a process for accessing a user context.
  • the process of FIG. 13 is performed by SNOW system 1204 of FIG. 12 .
  • a user context is requested.
  • a user context is requested from a user context server.
  • requesting a user context comprises providing user associated information (e.g., a user identifier, a browser identifier, etc.)
  • a user context is determined.
  • the user context is determined by a user context server.
  • the user context server is comprised by the SNOW system.
  • a user context is determined by accessing a user context database and determining the user context associated with a user.
  • a user context is provided.
  • a user context is received.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A system for web asset modification comprises a processor and a memory. The processor is configured to: receive a request for a web asset for display on a device; receive an indication of one or more user contexts; determine one or more groups for the web asset, wherein each of the one or more groups comprises a group for adapting display of the web asset on the device; and modify the web asset based at least in part on one user context of the one or more user contexts and one group of the one or more groups. The memory is coupled to the processor and is configured to provide the processor with instructions.

Description

    CROSS REFERENCE TO OTHER APPLICATIONS
  • This application is a continuation of co-pending U.S. patent application Ser. No. 14/273,257 entitled WEB ASSET MODIFICATION BASED ON A USER CONTEXT filed May 8, 2014 which is incorporated herein by reference for all purposes.
  • BACKGROUND OF THE INVENTION
  • Web assets are requested by a variety of devices with different characteristics and with different configurations—for example, these characteristics include the screen size and/or resolution, the browser, the player software, etc. In addition, different users have different browsing priorities and preferences. A customized web asset can be delivered for each different device, configuration, and user type. However, this is difficult to maintain because of the ever evolving number of different assets that must be kept up to date.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.
  • FIG. 1 is a diagram illustrating an embodiment of a system for web asset modification.
  • FIG. 2A is a block diagram illustrating an embodiment of a system for web asset modification.
  • FIG. 2B is a block diagram illustrating an embodiment of a system for web asset modification.
  • FIG. 3 is a block diagram illustrating an embodiment of a system for web asset modification.
  • FIG. 4 is a block diagram illustrating an embodiment of a system for web asset modification.
  • FIG. 5 is a flow diagram illustrating an embodiment of a process for modifying a web asset.
  • FIG. 6 is a flow diagram illustrating an embodiment of a process for web asset modification.
  • FIG. 7A is a table illustrating an embodiment of groups.
  • FIG. 7B is a table illustrating an embodiment of user contexts.
  • FIG. 8 is a table illustrating embodiments of operators.
  • FIG. 9 is a table illustrating an embodiment of a table of keywords.
  • FIG. 10A is a diagram illustrating an embodiment of a web asset emulator.
  • FIG. 10B is a diagram illustrating an embodiment of a web asset emulator.
  • FIG. 10C is a diagram illustrating an embodiment of a web asset emulator.
  • FIG. 10D is a diagram illustrating an embodiment of a web asset emulator.
  • FIG. 10E is a diagram illustrating an embodiment of a web asset emulator.
  • FIG. 10F is a diagram illustrating an embodiment of a web asset emulator.
  • FIG. 10G is a diagram illustrating an embodiment of a web asset emulator.
  • FIG. 11 is a diagram illustrating an embodiment of a user context category creator.
  • FIG. 12 is a diagram illustrating an embodiment of a HTML processing flow.
  • FIG. 13 is a flow diagram illustrating an embodiment of a process for accessing a user context.
  • DETAILED DESCRIPTION
  • The invention can be implemented in numerous ways, including as a process; an apparatus; a system; a composition of matter; a computer program product embodied on a computer readable storage medium; and/or a processor, such as a processor configured to execute instructions stored on and/or provided by a memory coupled to the processor. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. Unless stated otherwise, a component such as a processor or a memory described as being configured to perform a task may be implemented as a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. As used herein, the term ‘processor’ refers to one or more devices, circuits, and/or processing cores configured to process data, such as computer program instructions.
  • A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
  • A system for web asset modification based on a user context is disclosed. The system comprises a processor and a memory. The processor is configured to: receive a request for a web asset for display on a device; receive an indication of one or more user contexts; determine one or more groups for the web asset, wherein each of the one or more groups comprises a group for adapting display of the web asset on the device; and modify the web asset based at least in part on one user context of the one or more user contexts and one group of the one or more groups. The memory is coupled to the processor and is configured to provide the processor with instructions.
  • In some embodiments, a system for providing web assets (e.g., a web page) to a device with a specific configuration includes determining a grouping associated with the request for the web asset. The system for providing web assets additionally receives a user context associated with the request for a web asset. In various embodiments, the context comprises a persona, personal preference indicator, a user associated information used to indicate an interface preference, or any other appropriate context. Based on the grouping and the user context, the web asset is modified according to custom instructions embedded in the web asset (e.g., an Hyper Text Markup Language (HTML) element that enables customization, a JavaScript™ element that enables customization, a cascading style sheet (CSS) element that enables customization, etc.). The modification of the web asset include the adding of group-specific and user context-specific steps, the hiding or removing of group-specific and user context-specific steps, and the changing of group-specific and user context-specific steps that are executed by the device to display the web asset. For example, the web asset includes custom instructions to display a full table of information for a laptop screen with a blue background and only an abbreviated table for a portable phone screen with a white background, and to display a list of products sorted by price for a user known to be price conscious, and a list of products sorted by review scores for a user known to be review conscious. In some embodiments, the web asset includes custom instructions based on a combination of group information and user context information. The custom instructions are used to modify the web asset so that a user of a laptop screen and a different user of a laptop screen receive a different web asset (e.g., HTML instructions, JavaScript instructions, CSS instructions, etc.) file that enables the customizations. In addition, the custom instructions are used to modify the web asset so that a user of a mobile device and a different user of a mobile device receive a different web asset (e.g., HTML instructions, JavaScript instructions, CSS instructions, etc.) file that enables the customizations. In some embodiments, the web asset custom instructions preserve web asset functionality (e.g., do not break the web asset code, can run or be executed or interpreted with the custom instructions embedded, etc.).
  • FIG. 1 is a diagram illustrating an embodiment of a system for web asset modification. In the example shown, a user of a device (e.g., phone 100, phone 118, tablet 102, tablet 116, mini tablet 120, desktop 112, laptop 114, etc.) requests a web asset via network 106 (e.g., a wireless network, a wired network, a cellular network, etc.). For example, network 106 communicates with phone 100 and tablet 102 via cellular infrastructure (e.g., cell tower 104) or via a wireless infrastructure (e.g., wireless router 110). The web asset request is serviced by server 108. In order to adapt the requested web asset to the device with its software and hardware environment, server 108 determines the software and hardware environment associated with the request. For example, a specific device identifier enables classification of the device, and its screen resolution and its size (e.g., iPhone 3GS with it associated 3.5 inch screen with 320×480 pixels). And for example, a browser identifier enables classification of a software environment (e.g., chrome browser). Server 108 additionally determines a user context associated with the request. In various embodiments, the user context is determined by querying the user for a desired user context, by looking up user identifying information (e.g., IP address, software identifying information, usernames, etc.) in a user context table, by querying a user context identification service with user identifying information, or in any other appropriate way. Once the hardware and software environment and user context are determined, a pre-processor indicates a customization (e.g., a customization grouping, a customization identifier, etc.). In some embodiments, one or more user context cookies (e.g., SN1024Context1, SN1024Context2) are set appropriately based on the information retrieved from the database or user context table. The request is forwarded to a backend server, which provides the web asset in its generalized form (e.g., an HTML page). The generalized form of the web asset is then post-processed at the web server based on the device type and user context type determined earlier. The post-processing of the generalized form of the web asset interprets customized, but native language acceptable, codes (e.g., attributes, tags, etc.) to modify, remove, or add to the web asset.
  • FIG. 2A is a block diagram illustrating an embodiment of a system for web asset modification. In the example shown, client 200 comprises processor 202, display 204, and data storage 206. A user of client 200 requests a web asset—for example, a user indicates by clicking in a browser (e.g., running using processor 202 of client 200) on a link displayed on display 204. The indication causes a request to be sent to web server 220 via network 210 to retrieve a web asset associated with the link associated with the request. Network 210 represents a set of wireless and/or wired communication networks (e.g., including routers, servers, data storage units, processors, connectivity infrastructure, etc.) that enable the request and the subsequent response to the request to be conveyed between client 200 and web server 220 that responds to the request. In various embodiments, the indication comprises one or more of the following: a typed in web address, a request for retrieval of a web asset initiated by code running on the browser (e.g., an ad retrieval), a clicking of a link, a search for a web site, an application running on a device requesting a web asset, or any other appropriate indication. Web server 220 comprises processor 224 and data storage 222. Processor 224 includes software or hardware modules performing pre-processor 226 functionality, backend processor 228 functionality, and post-processor 230 functionality. Pre-processor 226 functionality includes receiving a request for a web asset and determining one or more associated groups and one or more associated user contexts that have similar web asset requirements (e.g., get the same web page portrayal). In some embodiments, pre-processor 226 functionality includes determining a user context based on the received web asset. Backend processor 228 functionality comprises exiting web asset retrieval based on a received request (e.g., current technology solution for web page request fulfillment). Post-processor 230 functionality includes receiving the retrieved web asset from backend processor 228 and processing the web asset based at least in part on the determined group(s) and user context(s). Post-processor 230 adds to, modifies, or removes web asset elements based on embedded instructions that are compatible with the regular web asset elements. The web asset is stored on data storage 222 of web server 220 both prior to post processing (e.g., as retrieved using backend processor 228), during post-processing, and just prior to providing to the requestor. Web asset as modified by post-processor 230 is then provided to client 200 via network 210 and stored on data storage 206. Web asset as stored in data storage 206 is displayed for the user using display 204 and processor 202.
  • FIG. 2B is a block diagram illustrating an embodiment of a system for web asset modification. In the example shown, client 240 comprises processor 242, display 244, and data storage 246. A user of client 240 requests a web asset—for example, a user indicates by clicking in a browser (e.g., running using processor 242 of client 240) on a link displayed on display 244. The indication causes a request to be sent to web server 260 via network 250 to retrieve a web asset associated with the link associated with the request. Network 250 represents a set of wireless and/or wired communication networks (e.g., including routers, servers, data storage units, processors, connectivity infrastructure, etc.) that enable the request and the subsequent response to the request to be conveyed between client 240 and web server 260 that responds to the request. In various embodiments, the indication comprises one or more of the following: a typed in web address, a request for retrieval of a web asset initiated by code running on the browser (e.g., an advertisement retrieval), a clicking of a link, a search for a web site, an application running on a device requesting a web asset, or any other appropriate indication. Web server 260 comprises processor 264 and data storage 262. Processor 264 includes software or hardware modules performing pre-processor 266 functionality, backend processor 268 functionality, and post-processor 270 functionality. Pre-processor 266 functionality includes receiving a request for a web asset and determining one or more associated groups and one or more user context(s) that has/have similar web asset requirements (e.g., all get the same web page portrayal). In some embodiments, pre-processor 266 functionality comprises requesting a user context (e.g., from context server 280). Backend processor 268 functionality comprises exiting web asset retrieval based on a received request (e.g., current technology solution for web page request fulfillment). Post-processor 270 functionality includes receiving the retrieved web asset from backend processor 268 and processing the web asset based at least in part on the determined group(s) and user context(s). Post-processor 270 adds to, modifies, or removes web asset elements based on embedded instructions that are compatible with the regular web asset elements. The web asset is stored on data storage 262 of web server 260 both prior to post processing (e.g., as retrieved using backend processor 268), during post-processing, and just prior to providing to the requestor. Web asset as modified by post-processor 270 is then provided to client 240 via network 250 and stored on data storage 246. Web asset as stored in data storage 246 is displayed for the user using display 244 and processor 242. Context server 280 comprises processor 284 and data storage 282. Context server 280 comprises a context server for determining a context associated with a user making a web asset request (e.g., the user of client 240). In various embodiments, context server 280 determines a user context based on information stored in the web asset request, determines a user context by looking up information stored in the web asset request in a table of stored user context information, determines the user context based on previous user action(s), determines the user context based on a previously indicated user context, or determines the user context in any other appropriate way. In some embodiments, context server 280 receives data describing user actions from one or more web servers (e.g., web servers as in web server 260) and determines a user context based on the received user data.
  • FIG. 3 is a block diagram illustrating an embodiment of a system for web asset modification. In the example shown, client 300 comprises processor 302, display 304, and data storage 306. In various embodiments, data storage 306 comprises one or more of the following: a solid state memory (e.g., a random access memory, a chip memory, etc.), a magnetic memory (e.g., a hard disk, a magnetic disk, a tape, a magnetic random access memory, etc.), or any other appropriate memory. A user of client 300 requests a web asset—for example, a user indicates by clicking in a browser (e.g., running using processor 302 of client 300) on a link displayed on display 304. The indication causes a request to be sent to web server 320 via network 370 and via proxy server 350 to retrieve a web asset associated with the link associated with the request. Network 370 represents a set of wireless and/or wired communication networks (e.g., including routers, servers, data storage units, processors, connectivity infrastructure, etc.) that enable the request and the subsequent response to the request to be conveyed between client 300 and web server 320 and proxy server 350 that both respond to the request. In various embodiments, the indication comprises one or more of the following: a typed in web address, a request for retrieval of a web asset initiated by code running on the browser (e.g., an ad retrieval), a clicking of a link, a search for a web site, an application running on a device requesting a web asset, or any other appropriate indication. Web server 320 comprises processor 324 and data storage 322. Processor 324 includes software or hardware modules performing backend processor 328 functionality. Proxy server 350 comprises processor 354 and data storage 352. In various embodiments, data storage 352 comprises one or more of the following: a solid state memory (e.g., a random access memory, a chip memory, etc.), a magnetic memory (e.g., a hard disk, a magnetic disk, a tape, a magnetic random access memory, etc.), or any other appropriate memory. Processor 354 includes software or hardware modules performing pre-processor 356 functionality and post-processor 358 functionality. Pre-processor 356 functionality includes receiving a request for a web asset and determining one or more associated groups and one or more associated user contexts that have similar web asset requirements (e.g., get the same web page portrayal). Backend processor 328 functionality comprises exiting web asset retrieval based on a received request (e.g., current technology solution for web page request fulfillment). Post-processor 358 functionality includes receiving the retrieved web asset from backend processor 328 and processing the web asset based at least in part on the determined group(s) and user context(s). Post-processor 358 adds to, modifies, or removes web asset elements based on embedded instructions that are compatible with the regular web asset elements. The web asset is stored on data storage 322 of web server 320 prior to post-processing (e.g., as retrieved using backend processor 328). The web asset is stored on data storage 352 during post-processing and just prior to providing to the requestor. Web asset as modified by post-processor 354 is then provided to client 300 via network 370 and stored on data storage 306. In some embodiments, data storage 306 comprises a temporary memory used for temporary storage of data. Web asset as stored in data storage 306 is displayed for the user using display 304 and processor 302.
  • FIG. 4 is a block diagram illustrating an embodiment of a system for web asset modification. In the example shown, client 430 requests a web asset from web server 400 via an edge router (e.g., edge router 402, edge router 404, edge router 406, edge router 408, edge router 410, edge router 412, edge router 414, and edge router 416). Web server 400 includes backend processing that stores and retrieves the web asset so that it can be provided to the user in response to the request. Pre-processing is performed in an edge router to determine a grouping and a user context for modification and post-processing based at least in part on the grouping and user context.
  • FIG. 5 is a flow diagram illustrating an embodiment of a process for modifying a web asset. In the example shown, in 500 a request is received for a web asset. For example, a pre-processor module receives a request from a device requesting a web asset (e.g., a web page). In 502, one or more groups for the web asset is/are determined. For example, based on associated information in the web asset request one or more groups is/are determined (e.g., a grouping that will receive the same web asset information to display and that is adapted for display on the device as appropriate for its hardware and software environment). In 504, it is determined whether there is a user context for the web asset. For example, the request is analyzed to see if information in the request can identify a user context for the user (e.g., using browser, cookie, or IP address information or information in the request itself to point to an associated user context such as select a user context from a set of user contexts or to point to a database to determine a user context). In the event that it is determined that there is a user context, in 504, a user context is determined for the web asset and control passes to 506. In some embodiments, one or more user contexts are determined for the web asset. In various embodiments, a user context is determined from the request, from stored user data, from a previously indicated user context, by querying a user context server, or in any other appropriate way. In the event that it is determined that there is not a user context, control passes to 506. In 506, an appropriate specific web asset is selected. For example, based on the grouping and/or user context, a web asset is selected to be retrieved from a server (e.g., a backend server). In some embodiments, a grouping and/or user context determines whether a web asset that includes flash or does not include flash is selected. In 508, a request for the appropriate specific web asset is sent. For example, a pre-processing module sends a request for a web asset to a backend server. In 510, the appropriate specific web asset is received. In 512, the appropriate specific web asset is modified. In various embodiments, the appropriate specific web asset is modified based on the group, based on the user context, based on the user context and the group, or based on any combination of group(s) and/or user context(s). For example, the syntax of the web asset is analyzed to locate embedded customization instructions. These instructions then are used to add to, to modify, or to remove web asset elements. In 514, the modified appropriate specific web asset is sent. For example, once the web asset has been customized, it is sent to the requestor.
  • FIG. 6 is a flow diagram illustrating an embodiment of a process for web asset modification. In the example shown, in 600 a request is received for a web asset. For example, a user using a device (e.g., a mobile device) hits the server for a web page. In 602, it is determined whether to use a custom pre-processor. In the event that a custom pre-processor is to be used, then in 604 pre-processing using a custom pre-processor is performed, and control passes to 608. In the event that a custom pre-processor is not to be used, then in 606 pre-processing using a standard pre-processor is performed, and control passes to 608. In some embodiments, pre-processing includes finding one or more groups and/or one or more user contexts, storing the one or more groups value(s) and/or the one or more user context value(s) in a memory, and requesting/receiving the appropriate web asset. In 608, backend processing is performed. For example, backend processing includes receiving a request to provide an appropriate web asset and providing the web asset (e.g., a request for a web page and providing the web page). In 610, it is determined whether a custom post-process is to be used. In the event that a custom post-process is to be used, then in 612 post-processing using a custom post-processor is performed, and control passes to 616. In the event that a custom process is not to be used, then in 614 a standard post-processing using a post-processor is performed, and control passes to 616. In some embodiments, post-processing includes modifying web assets according to rules provided in the web asset as interpreted by the post-processor. In 616, a customized web asset is provided. For example, a web asset that has been modified is provided to the requestor of the web asset (e.g., an optimized web page for a mobile device).
  • A system for web asset modification is disclosed. Web asset modification provides an efficient way to address the complexity presented by the diverse means of internet access today. The system engine integrates with any Java server and allows content creators to efficiently manipulate content without having to delve into the complexity of the mobile landscape. Web asset modification instructions are embedded into a web asset (e.g., HyperText Markup Language (HTML), Cascading Style Sheets (CSS), etc.), which is parsed by the system engine and rendered according to the device requesting the page. At the core of the system engine are the concepts of groups and user contexts. A group is used to target a set of devices, and a user context is used to target a set of users. They are either selected from a pre-defined list (e.g., a predefined device group or a predefined user context) or is defined according to the needs of a developer (e.g., as defined using a syntax), using a broad range of device attributes. Logical operators further extend flexibility in defining groups and contexts enabling customization of web assets.
  • In some embodiments, the set of groups is broken into subsets of group categories—for example browser, device type, operating system (OS), screen, etc. Each group category comprises a set of groups—for example, the OS group category comprises iOS™, Android™, Blackberry™, Windows™, Bada, webOS®, Symbian, etc. The groups reflect characteristics of devices (e.g., hardware or software characteristics). In some embodiments, the device characteristics can be determined from a web asset request (e.g., based on associated information in the web asset request, e.g., via a HyperText Transfer Protocol (HTTP) request user agent string).
  • In some embodiments, a user context of a set of user contexts reflects characteristics of the user operating the device. In some embodiments, a user self-identifies with a particular user context (e.g., the user is presented with a list of options for viewing the website and selects the one he or she identifies with the best). In some embodiments, user activity on a website is monitored and used to determine an appropriate user context. In some embodiments, user activity at various websites is monitored (e.g., by a third party user context server) and used to determine an appropriate user context. A web asset creator can create any appropriate set of user contexts appropriate for the web asset (e.g., a news website could have a set of user contexts describing the favorite news section of the user; a shopping website could have a set of user contexts describing the preferred shopping behavior of the user). In some embodiments, a user context is determined based at least in part on the same information used to determine a group (e.g., information in the web asset request). In some embodiments, a user context is determined based at least in part on a determined group or groups. In some embodiments, a usercontext is determined independently from groups.
  • In some embodiments, web asset modification for HTML type assets includes attribute overwriting. For example, rules to overwrite HTML attributes have the syntax form of tg-groupname-attribute=value or tg-contextname-attribute=value. A sample rule which overwrites a green background color to blue for safari browser or price-conscious users is as follows: <div style=“background-color: green” tg-safari,price-style=“background-color: blue; margin:-2px”; />. Note that multiple groups and user contexts can be separated by comma(s) without any restrictions—for example, a combination of custom group(s), pre-defined group(s), custom user context(s), and/or pre-defined user context(s). As another example, rules to show and hide HTML attributes have the form of: tg-groupname=value or tg-contextname=value, where the value is “hide” or “show”. In another example, a div which is only to be shown to devices that fall into mygroup1 or price-conscious users is represented as <div tg-mygroup1, price=“show”/>.
  • In some embodiments, web asset modification for JavaScript type assets includes overwriting, showing and hiding. For example, rules to show and hide JavaScript snippets within the code have the form of <script tg-groupname=value/> or <script tg-contextname=value/>, where value is “hide” or “show”. For another example, the snippet below will only be displayed on iPhone devices (devicetype=phone AND os=iOS). Note the use of ‘+’ for an AND operation.
  • <script tg-ioslowbandwidth=“show”>
    alert(“This is an iPhone!”);
    </script>
    <script tg-lowbandwidth=”show”>
    alert(“This device is on a lowbandwidh!”);
    </script>
  • In some embodiments, web asset modification for CSS type assets includes attribute overwriting. For example, rules within the CSS code result in the CSS being selectively rendered according to the device requesting the page. CSS rules are similar to HTML rules. The CSS syntax has the form: tg-groupname-attribute:value or tg-contextname-attribute:value. In the example below, the float: left property is overridden for user context of price-conscious users:
  • #mydivId
    {
     float: left;
     tg-price-float:right;
    }
  • In some embodiments, rules are used to manipulate link tags: <link rel=“stylesheet” href=“small.css” tg-iphone-href=“big.css” tg-price=“hide”/>. In the example, big.CSS is used for iPhone devices, a link is hidden for BlackBerry devices, and small.css is used for all other devices. In another example, CSS rules are used to hide and show style tags. This is useful for limiting the CSS that is sent to a certain category of devices or user contexts. For example,
  • <style tg-price =“hide” type=“text/css”>
    #id1
    {
     color: blue;
     font-size: 12px;
     }
    </style>

    In some embodiments, web asset modifications use groups to target experiences and functionality to defined sets of users (e.g., iPhone users, Tablet users, price-conscious users, social users, etc.). The framework allows users to use:
      • Pre-defined groups and user contexts: These are provided by the framework to quickly target commonly used device categories. Pre-defined groups and user contexts are directly used within the HTML or CSS as follows: <div style=“background-color: green” tg-iphone-style=“background-color: blue; margin:-2px”; /> or <div style=“background-color: red” tg-social-style=“background-color: white; margin:-2px”; />. Here, tg is a unique prefix to identify web asset modification specific syntax and iphone is a pre-defined group constant and social is a pre-defined user context constant.
      • Custom groups and user contexts: These are user-defined entities which are a combination of predefined group and user context constants. For example, a user can target firefox browsers with social users by combining multiple categories:
  • <CustomEntity name=”socialfirefox”>
       <Category name=”browser” value=”firefox” />
       <Category name=”shoppingstyle” value=”social” />
    </CustomEntity>
      • This CustomEntity is used in HTML as follows: <div style=“background-color: green” tg-socialfirefox-style=“background-color: blue; margin:-2px”; />
  • FIG. 7A is a table illustrating an embodiment of groups. In the example shown, groups are used to target experiences and functionality to defined sets of devices. The framework allows users to use pre-defined groups or define custom groups by picking attributes of the devices that would fall into that category. Categories 700 include browser, devicetype, os, screenwidth, dpi, format, and feature. Pre-defined groups 702 are as follows:
      • 1) for browser: safari, chrome, native, firefox, skyfire—e.g., operamini, operamobile, bolt, openwave, obigo, telca, netfront, blazer, polaris, dolphin, ucweb, and silk;
      • 2) for devicetype: phone{nontouchphone, touchphone}, iphone, ipod, desktop, tablet, ipad, ipadmini, fire, and surface;
      • 3) for os: ios, android, blackberry, windows, bada, webos, and symbian;
      • 4) for screenwidth: width[number] (e.g., width320);
      • 5) for pixeldensity or dpi, dpiretina (e.g., 261 and above), dpimedium (e.g., 131-260), and dpilow (e.g., 130 and below);
      • 6) for format: mp3, mp4, m4a, wmv, ogg, way, mpeg, mov, fly, webm, h264, png, gif, jpg, jpeg, and svg;
      • 7) for feature: css3, nocss3, offlinestorage, noofflinestorage, gps, nogps, fileupload, nofileupload, flash, noflash, cookies, nocookies, camera, nocamera, multilingual, nomultilingual, webkit, nowebkit, jssupport {advancejssuport, basicjssupport}, nojssupport, html5, nohtml5, touch, and notouch.
  • FIG. 7B is a table illustrating an embodiment of user contexts. In the example shown, user contexts are used to target experiences and functionality to defined sets of users. The framework allows users to use pre-defined user contexts, custom user contexts by picking attributes of the user contexts that would fall into that category, or create new categories of user contexts based on their needs. Context category names 750 include shoppingstyle, newsview, infodepth, and sharingdepth. context category value 752 are as follows:
      • 1) for shoppingstyle: price, brand, reviews, and social;
      • 2) for newsview: politics, sports, national, local, and arts;
      • 3) for infodepth: moreinfo, normalinfo, and lessinfo;
      • 4) for sharingdepth: moresharing, normalsharing, and lesssharing.
  • In some embodiments, user contexts are defined for a group of users for whom it is desired that they experience the system in a particular way or manner.
  • In various embodiments, a user context of the one or more user contexts comprises one of the following: a user behavior, a user location, a user category, a user access channel, a user social network, a user shopping style, a user info depth, or any other appropriate user context. In various embodiments, a user behavior comprises one of the following: a politics interest, a sports interest, a price interest, a brand interest, or any other appropriate user behavior. In various embodiments, a user behavior comprises one of the following: a politics interest, a sports interest, a price interest, a brand interest, or any other appropriate user behavior. In various embodiments, user category comprises one of the following: a premium user, a female user, a senior user, an A/B testing user, or any other appropriate user category. In various embodiments, a user access channel comprises one of the following: a low speed network, a 3G network, a Wi-Fi network, or any other appropriate user access channel. In various embodiments, a user social network comprises one of the following: Facebook, Myspace, Instagram, Twitter, or any other appropriate social network. In various embodiments, a user shopping style comprises one of the following: social, review, price, brand, or any other appropriate style. In various embodiments, a user info depth comprises one of the following: more info, normal info, less info, or any other appropriate information depth. In various embodiments, a group comprises one of the following: a phone group, a tablet group, a smart TV group, a Firefox browser group, an IOS group, a 7 inch screen group, or any other appropriate group.
  • In some embodiments, custom groups or custom user contexts are defined in a file and are common for all accessing the server. In some embodiments, custom groups or custom user contexts are defined in a file that is accessible or associated with a specific set of requestors or IP addresses.
  • In some embodiments, a custom entity definition is of the form:
  • <Group name=”groupName”>
      <Category name=”browser” value=”safari, firefox” />
      <Category name=”os” value=”android2.2_ge” />
      <Category name=”devicetype” value=”tablet” />
      <Category name=”screen” value=”width320, width450_gt” />
      <Category name=”pixeldensity” value=”dpiretina” />
      <Category name=”feature” value=”gps, html5, camera” />
      <Category name=”format” value=”mp3,mp4,jpg” />
    </Group>
  • In some embodiments, a custom user context definition is of the form:
  • <Group name=”contextName”>
      <Category name=”shoppingstyle” value=”reviews, social” />
      <Category name=”infodepth” value=”moreinfo” />
      <Category name=”sharingdepth” value=”moresharing” />
    </Group>
  • In some embodiments, a custom entity and custom user context definition is of the form:
  • < Group name=”ContextandDeviceName”>
      <Category name=”Context” value=”lowbandwidth” />
      <Category name=”devicetype” value=”phone” />
    </Group>

    Note that values within each category separated by comma ‘,’ are OR'ed, while the categories themselves are AND'ed to create the group or the user context. For example, the group chromeOnPhones below targets chrome browser AND the OS is either (ios or android) AND devicetype is phone:
  • <Group name=”chromeOnPhones”>
      <Category name=”browser” value=”chrome” />
      <Category name=”os” value=”ios,android” />
      <Category name=”devicetype” value=”phone” />
    </Group>

    Values within each category separated by plus sign ‘+’ are AND'ed. For example, the user context SocialLearner below targets a user that desires more knowledge AND wants social sharing:
  • <Context name=”SocialLearner”>
      <Category name=”sharingdepth” value=”moresharing” />
      <Category name=”infodepth” value=”moreinfo” />
    </Context>

    Custom groups or custom contexts also offer the power of combining AND and OR operations. For example, the group myAndroid2 below targets android OS AND has either (html5 OR (both css3 AND offlinestorage)) features:
  • <Group name=”myAndroid2”>
      <Category name=”os” value=”android” />
      <Category name=”feature” value=”html5,css3+offlinestorage” />
    </Group>

    In some embodiments, custom groups are able to use any category name and/or category value (e.g., in a list of pre-defined groups) in any combination as part of their definition.
  • In some embodiments, templates are used to invoke packaged modules within the system framework, which offer compatibility across a range of devices and easy integration of complex features that otherwise might require multiple compatibility and rendering checks. Templates are invoked using the syntax (starts with <tg-):
      • <tg-templatename attribute1=“v1” attribute2=“v2”>
  • The attributes & inner HTML of the template element depend on the template design. Consider a template—myphonenumber. The template filename should start with “tg-” followed by the templatename and ends with “.template”—for example, tg-myphonenumber.template. The template can be created just like an HTML page—HTML elements and styles should be specified with device specific display rules if needed.
  • <html>
     <body>
     <div tg-iphone =”show”>
       <a href=”tel:${XPATH=tg-myphonenumber}” style=”color:blue;”
       >Click Me</a>
     </div>
     <div tg-iphone =”hide”>
      <span style=”color:green;” > Please call
      ${XPATH=tg-myphonenumber} </span>
     </div>
     </body>
    </html>

    In this example, the click to call link is to be shown for iPhones, while other devices see the phone number in plain text. XPATH expressions are used to obtain the content from the template invocation in the user's HTML code. XPATH syntax in template definitions starts with “${XPATH=” and ends with “}”. The value should be the exact xpath expression from where the data is to be extracted. Note: The root node is tg-myphonenumber so the/html/body path ({XPATH=/html/body/tg-myphonenumber}) doesn't have to be specified. Usage of a template within HTML is as follows:
  • <html>
      <body><tg-myphonenumber>1234567890</tg-myphonenumber>
      </body>
    </html>

    In this example, the inner HTML (e.g., 1234567890) of the tg-myphonenumber element is grabbed by the xpath expression specified on the template file. The final rendered html page when accessed from an iPhone device is as follows:
  • <html>
      <body><div>
        <a href=”tel:1234567890” style=”color:blue”>Click Me</a>
      </div></body>
    </html>

    The output for non-iPhone devices is as follows:
  • <html>
      <body><div>
        <span style=”color:green”>Please call 1234567890</span>
      </div></body>
    </html>
  • FIG. 8 is a table illustrating embodiments of operators. In the example shown in FIG. 8, operators supported within group or user context definitions are shown. An operator is the last set of characters except in the event that there is range information provided with an operator that operate on both group and user context definitions and on the attribute level. Operators 800 are shown with corresponding symbol 802 and example 804. For example, operator ‘equal’ (exact value) has no corresponding symbol, and an example of usage as ‘ios4’. Also, operator ‘greater than’ has symbol ‘_gt’, and an example of usage as ‘ios4_gt’. Operator ‘less than’ has symbol ‘_lt’, and an example of usage as ‘ios4_lt’. Operator ‘greater than or equal to’ has symbol ‘_ge’, and examples of usage as ‘ios4_ge’ or ‘ios5.2_ge’. Operator ‘less than or equal to’ has symbol ‘_le’, and an example of usage as ‘ios4_le’. Operator ‘not’ has symbol ‘_not’, and an example of usage as ‘ios4_not’. Operator ‘range’ has symbol ‘to’, and an example of usage as ‘ios4.1to4.8’. Operator ‘series’ (can be combined with other operators) has symbol ‘x’, and examples of usage as ‘ios4x’ or ‘ios4xto5x’ or ‘io4x_not’. Operator ‘or’ has symbol ‘,’, and an example of usage as ‘brand,sports,lessinfo’. Operator ‘and’ has symbol ‘+’ and an example of usage as ‘safari+touchphone+ios4x’.
  • Operators 800 are usable for group and user context definitions and on the attribute level. In some embodiments, the comparison operands (e.g., greater than, less than, greater than or equal to, less than or equal to, and not) where appropriate—for example, with regard to OS versions (e.g., where greater corresponds to a later version, where lesser corresponds to an earlier version) and with regard to screen width (e.g., where greater corresponds to a larger screen size, and lesser corresponds to a smaller screen size)—for example, <img tg-ios4.1_gt=“hide”/>, which indicates an operating system version of iOS greater than 4.1; or, <img tg- width320_le=“hide”/>, which indicates that a screen width is less than or equal to 320; but not, <img tg-safari_gt=“hide”/>, because there is no such thing as greater than safari). In some embodiments, the operator ‘not’ is applicable to all categories (e.g., browser, os, format, dpi, screen, etc.)—for example, safari_not, android_not, ios3x_not, ios4.0_not, width320_not. In some embodiments, greater pixeldensity comprises a higher density and lesser pixeldensity comprises a lower density.
  • In some embodiments, a group or user context file containing the group or user context definition for a given site is maintained at $TOMCATHOME/webapps/ROOT/WEB-INF/corekules/groups.xml, at $TOMCATHOME/webapps/ROOT/WEB-INF/corekules/context.xml, or which is configurable via web.xml. A sample group file is as follows:
  • <GroupList>
      <Group name=”mySafariIOS”>
        <Category name=”browser” value=”safari” />
        <Category name=”os” value=”ios” />
      </Group>
      <Group name=”myChromeAndroid”>
        <Category name=”browser” value=”chrome” />
        <Category name=”os” value=”android” />
      </Group>
    </GroupList>

    In this example, two groups are defined: mySafariIOS which targets devices running iOS with safari browser, and myChromeAndroid which targets devices running android with chrome browser. In some embodiments, the file defines one or more user contexts.
  • In some embodiments, server-side page redirection is done using the “tg-redirect” meta tag—for example, <meta name=“tg-redirect” content=“iphone=‘URL1’; android=‘URL2’”/>. Note the usage of single and double quotes inside the content field. In various embodiments, the redirection URL specified is an absolute link (http:// or www.) or a relative link (/). For example, <meta name=“tg-redirect” content=“iphone=‘www.domain.com/iphone’; android=‘www.domain.com/android’”/>.
  • In some embodiments, the file containing the device detection updates by user-agent for a given site is maintained at $TOMCATHOME/webapps/ROOT/WEB-INF/core/rules/devicepatch.xml (configurable via web.xml). This file allows users to modify the characteristics of certain User Agents at a server level in order to provide enhanced flexibility within the framework. A sample patch file is as follows:
  • <DevicePatchList>
      <Device Useragent=“ZTE-C88/1.0 SMIT-Browser/2.0.0”
      Screen=“240”
      Format=“jpg,jpeg,png,mp3”
      Feature=“nocamera,noflash,nohtml5,notouch”
      Devicetype=“phone”/>
    </DevicePatchList >
  • In some embodiments, embedded instructions in a web asset are interpreted using a post-processor. The post-processor analyzes the web asset and determines if there are instructions to add to, to modify, or to remove elements of the web asset. In various embodiments, the web asset includes embedded instruction embedded in HTML, in CSS, in Javascript, or any other appropriate web asset instructions.
  • In some embodiments, an HTML embedded instruction includes the ability to overwrite an attribute or instruction, to show or hide instructions, to overwrite j avascipt, or any other appropriate instruction. For example, rules to overwrite attributes or instructions are of the form: tg-groupname1,groupname2-attribute=value or tg-contextname1,contextname2-attribute=value. Note that it is customary for an HTML attribute that starts with ‘tg-’. In some embodiments, a rule which overwrites a green background color to blue for safari browser or touch-enabled devices is as follows: <div style=“background-color: green” tg-safari,touch-style=“background-color: blue; margin:-2px”; />. Note that multiple groups or user contexts can be used separated by comma without any restrictions (e.g., groups can be custom groups, pre-defined groups, or a combination of custom and pre-defined groups, user contexts can be custom user contexts, pre-defined user contexts, or a combination of custom and pre-defined user contexts). For example, rules to overwrite attributes are of the form: tg-contextname1,contextname2=value, where the value is either ‘hide’ or ‘show’. Note that it is customary for an HTML attribute that starts with ‘tg-’. In some embodiments, a rule which overwrites a green background color to blue for safari browser or touch-enabled devices is as follows: <div style=“background-color: green” tg-safari,touch-style=“background-color: blue; margin:-2px”; In some embodiments, rules to show and hide JavaScript snippets within the code are of the form: <script tg-groupname1,groupname2,contextname1,contextnam2=value/>, where value can be ‘hide’ or ‘show’. For example, the snippet below will only be displayed on iPhone devices (e.g., devicetype=phone AND os=iOS):
  • <script tg-ios,phone =“show”>
     alert(“This is an iPhone!”);
    </script>
  • In some embodiments, a CSS embedded instruction includes the ability to overwrite an attribute or instruction, to restrict to certain groups, to manipulate tags, to hide or show tags, or any other appropriate instruction. For example, rules within the CSS code result in the CSS being selectively rendered according to the device requesting the page; CSS rules are similar to HTML rules and have a format of: tg-groupname1,groupname2-attribute:value. In the example below, the ‘float: left’ property will be overridden for devices from group g3.
  • #mydivId
    {
      float: left;
     tg-g3-float:right;
    }
  • In some embodiments, CSS rules are used to hide and show style tags. This is useful for limiting the CSS that is sent to a certain category of devices. For example, where the instructions below indicate that when the group is g1, then the instructions that font color is blue and font-size is 12px are hidden:
  • <style tg-g1 =“hide” type=“text/css”>
     #id1
     {
       color: blue;
       font-size: 12px;
     }
    </style>
  • In some embodiments, tags are used to invoke available packaged modules, which offer compatibility across a range of devices and easy plug-in of complex features that otherwise might require multiple compatibility and rendering checks. Tags are invoked using the following syntax (e.g., starting with ‘<tg-’):
  • <tg-tagname attribute1=“v1” attribute2=“v2” . . . >
  • For example, a tag which adds appropriate click to call links on devices is as follows:
  • <tg-phonenumber>40877777</tg-phonenumber>
  • In another example, the image gallery tag adds a custom image gallery that degrades the user experience based on the device accessing the page:
  • <tg-imagegallery>
     <tg-option value=”Url1”>
     <tg-option value=”Url2”>
    </tg-imagegallery>
  • FIG. 9 is a table illustrating an embodiment of a table of keywords. In the example shown, keywords 900 include ‘$’, ‘tg-’, and ‘-’ (hyphen as separator). Example 902 show example usages for keywords 900. For example, for ‘tg-’ examples include: ‘<img tg-iphone=“hide”/> or ‘<tg-phonenumber>12345678</tg-phonenumber>’. For example, for ‘-’ for a CSS attribute ‘-’ is used as a separator:
  • Span{
       Float:left
       tg-g1-float:right
    }

    or as an element attribute:
      • <img src=“url” tg-g1-src=“url2”>
  • FIG. 10A is a diagram illustrating an embodiment of a web asset emulator. In some embodiments, the web asset emulator of FIG. 10A emulates the display of a web asset. In some embodiments, the web asset emulator of FIG. 10A modifies a web asset based at least in part on one or more user contexts and on one or more groups. In the example shown, web asset display 1000 comprises a display emulating an iPhone 5™ being used by a user with a price-conscious user context. For example, web asset display 1000 shows entries for laptops mart including a first entry of $529 Pavillion 17-e020us HP, a second entry $449 Satellite C55-A5245 Toshiba, a third entry $385 Aspire E1-531-2686 Acer, a fourth entry $372 Inspiron i15-RV-6190BLK, and a fifth entry $299 C710-2833 Chromebook Acer. Context selector 1002 allows a web asset developer to select a user context to use for modifying the web asset. In the example shown, the available choices for context comprise social context, price-conscious context, brand-conscious context, and reviews context. Device selection 1004 allows a web asset developer to select a device to use while modifying the web asset. In various embodiments, a device selection comprises one of the following: iPhone5™, iPhone4™, iPad™, iPad™ mini, Galaxy S3, Droid Razr™, HTC One, a Windows™ phone, blackberry, or any other appropriate device. In some embodiments, selection of a device indicates selection of one or more groups (e.g., selection of iPhone5 comprises selection of ios operating system, mobile device, small touch display, etc.).
  • FIG. 10B is a diagram illustrating an embodiment of a web asset emulator. In some embodiments, the web asset emulator of FIG. 10B emulates the display of a web asset. In some embodiments, the web asset emulator of FIG. 10B modifies a web asset based at least in part on one or more contexts and on one or more groups. In the example shown, web asset display 1010 comprises a display emulating an iPhone 5™ being used by a user with a default context. For example, web asset display 1010 shows entries for laptops mart including a first entry of $372 Inspiron i15-RV-6190BLK, a second entry $449 Satellite C55-A5245 Toshiba, a third entry $299 C710-2833 Chromebook Acer, a fourth entry $529 Pavillion 17-e020us HP, and a fifth entry $385 Aspire E1-531-2686 Acer. Context selector 1012 allows a web asset developer to select a context to use for modifying the web asset. In the example shown, the available choices for context comprise a default context, a loyal user context, and a social context. Device selection 1014 allows a web asset developer to select a device to use while modifying the web asset. In various embodiments, a device selection comprises one of the following: iPhone5™, iPhone4™, iPad™, iPad™ mini, Galaxy S3, Droid Razr™, HTC One, a Windows™ phone, blackberry, or any other appropriate device. In the example shown, the iPhone 5 device comprises a device with a 16:9 aspect ratio (e.g., the ratio of the screen height to the screen width comprises 16:9). In the example shown, the display shows a laptop sales website comprising a set of links to laptop computers for sale along with associated prices.
  • FIG. 10C is a diagram illustrating an embodiment of a web asset emulator. In some embodiments, the web asset emulator of FIG. 10C emulates the display of a web asset. In some embodiments, the web asset emulator of FIG. 10C modifies a web asset based at least in part on one or more contexts and on one or more groups. In the example shown, web asset display 1020 comprises a display emulating an iPhone 5™ being used by a user with a loyal user context. Context selector 1022 allows a web asset developer to select a context to use for modifying the web asset. For example, web asset display 1020 shows entries for laptops mart including a first entry of $372 Inspiron i15-RV-6190BLK, a second entry $449 Satellite C55-A5245 Toshiba 5% off marker 1026, a third entry $299 C710-2833 Chromebook Acer 10% off, a fourth entry $529 Pavillion 17-e020us HP 5% off, and a fifth entry $385 Aspire E1-531-2686 Acer 10% off. Device selection 1024 allows a web asset developer to select a device to use while modifying the web asset. In various embodiments, a device selection comprises one of the following: iPhone5™, iPhone4™, iPad™, iPad™ mini, Galaxy S3, Droid Razr™, HTC One, a Windows™ phone, blackberry, or any other appropriate device. In the example shown, the display shows a laptop sales website, customized for a loyal user context, comprising a set of links to laptop computers for sale along with associated prices. The laptop sales website additionally comprises a set of discount markers (e.g., discount marker 1026) indicating discounts available to a user. Discount markers are shown in a loyal user context.
  • FIG. 10D is a diagram illustrating an embodiment of a web asset emulator. In some embodiments, the web asset emulator of FIG. 10D emulates the display of a web asset. In some embodiments, the web asset emulator of FIG. 10D modifies a web asset based at least in part on one or more contexts and on one or more groups. In the example shown, web asset display 1030 comprises a display emulating an iPhone 5™ being used by a user with a social user context. For example, web asset display 1030 shows entries for laptops mart including a first entry of $372 Inspiron i15-RV-6190BLK, a second entry $449 Satellite C55-A5245 Toshiba off marker 1026, a third entry $299 C710-2833 Chromebook Acer, a fourth entry $529 Pavillion 17-e020us HP, and a fifth entry $385 Aspire E1-531-2686 Acer. Context selector 1032 allows a web asset developer to select a context to use for modifying the web asset. Device selection 1034 allows a web asset developer to select a device to use while modifying the web asset. In various embodiments, a device selection comprises one of the following: iPhone5™, iPhone4™, iPad™, iPad™ mini, Galaxy S3, Droid Razr™, HTC One, a Windows™ phone, blackberry, or any other appropriate device. In the example shown, the display shows a laptop sales website, customized for a social user context, comprising a set of links to laptop computers for sale along with associated prices. The laptop sales website additionally comprises a set of social links (e.g., social link 1036 ‘t’ and social link 1038 ‘f’) facilitating a user posting a link to the computer for sale to a social media website. Social links are shown in a social user context.
  • FIG. 10E is a diagram illustrating an embodiment of a web asset emulator. In some embodiments, the web asset emulator of FIG. 10E emulates the display of a web asset. In some embodiments, the web asset emulator of FIG. 10E modifies a web asset based at least in part on one or more contexts and on one or more groups. In the example shown, web asset display 1040 comprises a display emulating an iPad Mini™ being used by a user with a default context. For example, web asset display 1040 shows entries for laptops mart include Pavillion 17-e020us HP $529, Blade RZO9 Razer $1799, Envy 15-j185nr HP $779, IdeaPad 5210 lenovo $449, Aspire E1-531-2686 $385, Satellite C55-A5245 Toshiba $449, C710-2833 Chromebook Acer $299, and Inspiron i15-RV-6190BLK Dell $372. Context selector 1042 allows a web asset developer to select a context to use for modifying the web asset. In the example shown, the available choices for context comprise a default context, a loyal user context, and a social context. Device selection 1044 allows a web asset developer to select a device to use while modifying the web asset. In the example shown, the iPad Mini device comprises a device with a 4:3 aspect ratio (e.g., the ratio of the screen height to the screen width comprises 4:3). In the example shown, the display shows a laptop sales website comprising a set of links to laptop computers for sale along with associated prices. In the example shown, the wider screen (e.g., compared with an iPhone 5) allows information to be displayed in a wider format (e.g., in a two-column format as opposed to a one-column format). In various embodiments, a device selection comprises one of the following: iPhone5™, iPhone4™, iPad™, iPad™ mini, Galaxy S3, Droid Razr™, HTC One, a Windows™ phone, blackberry, or any other appropriate device.
  • FIG. 10F is a diagram illustrating an embodiment of a web asset emulator. In some embodiments, the web asset emulator of FIG. 10F emulates the display of a web asset. In some embodiments, the web asset emulator of FIG. 10F modifies a web asset based at least in part on one or more contexts and on one or more groups. In the example shown, web asset display 1050 comprises a display emulating an iPad Mini™ being used by a user with a loyal user context. For example, web asset display 1050 shows entries for laptops mart include Pavillion 17-e020us HP $529 5% Off!, Blade RZO9 Razer $1799 5% Off!, Envy 15-j185nr HP $779, IdeaPad 5210 lenovo $449, Aspire E1-531-2686 $385 10% Off!, Satellite C55-A5245 Toshiba $449 5% Off!, C710-2833 Chromebook Acer $299 10% Off!, and Inspiron i15-RV-6190BLK Dell $372. Context selector 1052 allows a web asset developer to select a context to use for modifying the web asset. Device selection 1054 allows a web asset developer to select a device to use while modifying the web asset. In the example shown, the display shows a laptop sales website, customized for a loyal user context, comprising a set of links to laptop computers for sale along with associated prices. The laptop sales website additionally comprises a set of discount markers (e.g., discount marker 1056) indicating discounts available to a user. Discount markers are shown in a loyal user context. In various embodiments, a device selection comprises one of the following: iPhone5™, iPhone4™, iPad™, iPad™ mini, Galaxy S3, Droid Razr™ HTC One, a Windows™ phone, blackberry, or any other appropriate device.
  • FIG. 10G is a diagram illustrating an embodiment of a web asset emulator. In some embodiments, the web asset emulator of FIG. 10G emulates the display of a web asset. In some embodiments, the web asset emulator of FIG. 10G modifies a web asset based at least in part on one or more contexts and on one or more groups. In the example shown, web asset display 1060 comprises a display emulating an iPad Mini 5™ being used by a user with a social user context. For example, web asset display 1060 shows entries for laptops mart include Pavillion 17-e020us HP $529, Blade RZO9 Razer $1799, Envy 15-j185nr HP $779, IdeaPad S210 lenovo $449, Aspire E1-531-2686 $385, Satellite C55-A5245 Toshiba $449, C710-2833 Chromebook Acer $299, and Inspiron i15-RV-6190BLK Dell $372. Context selector 1062 allows a web asset developer to select a context to use for modifying the web asset. Device selection 1064 allows a web asset developer to select a device to use while modifying the web asset. In the example shown, the display shows a laptop sales website, customized for a social user context, comprising a set of links to laptop computers for sale along with associated prices. The laptop sales website additionally comprises a set of social links (e.g., social link 1066 and social link 1068) facilitating a user posting a link to the computer for sale to a social media website. Social links are shown in a social user context. In various embodiments, a device selection comprises one of the following: iPhone5™, iPhone4™, iPad™, iPad™ mini, Galaxy S3, Droid Razr™, HTC One, a Windows™ phone, blackberry, or any other appropriate device.
  • FIG. 11 is a diagram illustrating an embodiment of a user context category creator. In some embodiments, a web asset creator uses a user context category creator for creating user context categories and user contexts. In some embodiments, a web asset creator creates a custom user context category and associated set of user contexts tailored to a particular web asset. In the example shown, user context category creator 1100 comprises a user interface for creating a new user context category (e.g., via +button 1102) and deleting a user context category (e.g., via −button 1104). Each user context category (e.g., news view contexts 1106) comprises a user interface for creating a new user context (e.g., via +button 1108) and deleting a user context (e.g., via −button 1110). In the example shown, news view contexts 1106 comprises a set of user contexts describing a user's preference for news viewing (e.g., politics, sports, national, local, arts, etc.). For example, the user's view of the content is tailored for a user that has a preference or focus on a particular topic area (e.g., the politics user is shown news and events that impact focus). Social network contexts comprise a set of user contexts describing a user's preference for social networks (e.g., Facebook, Myspace, Instagram, Twitter, etc.). Shopping style contexts comprise a set of user contexts describing a user's preference for information while shopping (e.g., social network sourced information, reviews, price comparison information, brand information, price ranking, brand ranking, etc.). In some embodiments, sharing depth contexts comprise a set of user contexts indicating a user's preference for social network sharing of information (e.g., more, normal, or less sharing of personal information or viewing of other's information, etc.). In some embodiments, info depth user contexts comprise a set of contexts describing a user's preference for the amount of information provided (e.g., more, normal, or less information that is shown to the user regarding an item).
  • FIG. 12 is a diagram illustrating an embodiment of a HTML processing flow. In some embodiments, the diagram of FIG. 12 shows web assets modified based on a user context. In the example shown, HTML code 1200 comprises a default view HTML code for a website. The default view HTML code is modified to include tags for groups and user contexts in 1202 (e.g., tablet and social view, tablet and brand view, etc.). The modified code is processed by SNOW (e.g., software enabling one web) system 1204. SNOW system 1204 determines a group and a user context and processes the tagged code. SNOW system 1204 produces HTML code appropriate to the determined combination of group and user context. In the example shown, SNOW system 1204 produces social view code 1206 for devices determined to be tablets using a social view and brand view code 1208 for devices determined to be tables using brand view.
  • FIG. 13 is a flow diagram illustrating an embodiment of a process for accessing a user context. In some embodiments, the process of FIG. 13 is performed by SNOW system 1204 of FIG. 12. In the example shown, in 1300, a user context is requested. In some embodiments, a user context is requested from a user context server. In some embodiments, requesting a user context comprises providing user associated information (e.g., a user identifier, a browser identifier, etc.) In 1302, a user context is determined. In some embodiments, the user context is determined by a user context server. In some embodiments, the user context server is comprised by the SNOW system. In some embodiments, a user context is determined by accessing a user context database and determining the user context associated with a user. In 1304, a user context is provided. In 1306, a user context is received.
  • Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.

Claims (23)

What is claimed is:
1. (canceled)
2. A system for web asset modification, comprising:
a processor; and
a memory coupled with the processor, wherein the memory is configured to provide the processor with instructions which when executed cause the processor to:
receive a request for a web asset for display on a device;
receive an indication of one or more user contexts;
determine one or more groups, wherein each of the one or more groups comprises a group for adapting display of the web asset on the device; and
modify the web asset based at least in part on one user context of the one or more user contexts and one group of the one or more groups, wherein the modifying of the web asset includes adding or hiding a web asset element of the web asset.
3. A system as in claim 2, wherein the device comprise an electronic gadget with a web browser connected to the internet.
4. A system as in claim 2, wherein the web asset comprises a web page.
5. A system as in claim 2, wherein the web asset comprises one or more of the following: HTML instructions, CSS instructions, or JavaScript instructions.
6. A system as in claim 2, wherein a user context of the one or more user contexts comprises one of the following: a user behavior, a user location, a user category, a user access channel, a user social network, a user shopping style, or a user info depth.
7. A system as in claim 6, wherein the user behavior comprises one of the following: a politics interest, a sports interest, a price interest, or a brand interest.
8. A system as in claim 6, wherein the user location comprises one or more of, a latitude, a longitude, a zip code, a city, a metropolitan area, a state, a country, or a continent.
9. A system as in claim 6, wherein the user category comprises one of the following: a premium user, a female user, a senior user, or an AB testing user.
10. A system as in claim 6, wherein the user access channel comprises one of the following: a low speed network, a 3G network, or a Wi-Fi network.
11. A system as in claim 6, wherein the user social network comprises one of the following: Facebook, Myspace, Instagram, or Twitter.
12. A system as in claim 6, wherein the user shopping style comprises one of the following: social, review, price, or brand.
13. A system as in claim 6, wherein the user info depth comprises one of the following: moreinfo, normalinfo, or lessinfo.
14. A system as in claim 2, wherein the group comprises one of the following: a phone group, a tablet group, a smart TV group, a Firefox browser group, an IOS group, or a 7 inch screen group.
15. A system as in claim 2, wherein the web asset is modified based on the one or more groups on the one or more contexts and an overwriting instruction provided in the web asset.
16. A system as in claim 15, wherein the overwriting instruction includes overwriting a HTML attribute or a CSS attribute.
17. A system as in claim 15, wherein the overwriting instruction includes showing or hiding one or more instructions based at least in part on the one or more groups or the one or more contexts.
18. A system as in claim 15, wherein the overwriting instruction includes picking a web assets based at least in part on the one or more groups or the one or more contexts.
19. A system as in claim 15, wherein the overwriting instruction preserves web asset functionality.
20. A system as in claim 2, wherein the web asset is received from a backend processor.
21. A system as in claim 2, wherein the processor comprises one of the following: a proxy server processor, a web server processor, or an edge router processor.
22. A method of web asset modification, comprising:
receiving a request for a web asset for display on a device;
receiving an indication of one or more user context;
determining one or more groups, wherein each of the one or more groups comprises a group for adapting display of the web asset on the device; and
modifying, using a processor, the web asset based at least in part on one user context of the one or more user contexts and one group of the one or more groups, wherein the modifying of the web asset includes adding or hiding a web asset element of the web asset.
23. A computer program product for web asset modification, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
receiving a request for a web asset for display on a device;
receiving an indication of one or more user context;
determining one or more groups, wherein each of the one or more groups comprises a group for adapting display of the web asset on the device; and
modifying the web asset based at least in part on one user context of the one or more user contexts and one group of the one or more groups, wherein the modifying of the web asset includes adding or hiding a web asset element of the web asset.
US15/927,898 2014-05-08 2018-03-21 Web asset modification based on a user context Abandoned US20180285329A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/927,898 US20180285329A1 (en) 2014-05-08 2018-03-21 Web asset modification based on a user context

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US14/273,257 US9959256B1 (en) 2014-05-08 2014-05-08 Web asset modification based on a user context
US15/927,898 US20180285329A1 (en) 2014-05-08 2018-03-21 Web asset modification based on a user context

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US14/273,257 Continuation US9959256B1 (en) 2014-05-08 2014-05-08 Web asset modification based on a user context

Publications (1)

Publication Number Publication Date
US20180285329A1 true US20180285329A1 (en) 2018-10-04

Family

ID=62013875

Family Applications (2)

Application Number Title Priority Date Filing Date
US14/273,257 Active - Reinstated 2034-07-01 US9959256B1 (en) 2014-05-08 2014-05-08 Web asset modification based on a user context
US15/927,898 Abandoned US20180285329A1 (en) 2014-05-08 2018-03-21 Web asset modification based on a user context

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US14/273,257 Active - Reinstated 2034-07-01 US9959256B1 (en) 2014-05-08 2014-05-08 Web asset modification based on a user context

Country Status (1)

Country Link
US (2) US9959256B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2509774A (en) * 2013-01-15 2014-07-16 Ibm Client-side personalisation of websites using a description language infrastructure
KR102311326B1 (en) * 2015-01-02 2021-10-13 에스케이플래닛 주식회사 Apparatus and method to display web content

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030069881A1 (en) * 2001-10-03 2003-04-10 Nokia Corporation Apparatus and method for dynamic partitioning of structured documents
US20100094878A1 (en) * 2005-09-14 2010-04-15 Adam Soroca Contextual Targeting of Content Using a Monetization Platform
US20110282964A1 (en) * 2010-05-13 2011-11-17 Qualcomm Incorporated Delivery of targeted content related to a learned and predicted future behavior based on spatial, temporal, and user attributes and behavioral constraints
US20120236201A1 (en) * 2011-01-27 2012-09-20 In The Telling, Inc. Digital asset management, authoring, and presentation techniques
US20140019634A1 (en) * 2012-07-13 2014-01-16 Infosys Limited Systems and methods for adapting mobile multimedia content delivery service
US20140187269A1 (en) * 2013-01-03 2014-07-03 Cinarra Systems Pte. Ltd. Location and time-aware systems and methods for mobile user context detection

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7698636B2 (en) * 2002-06-13 2010-04-13 Microsoft Corporation System and method for in-context editing of components
US20080109306A1 (en) * 2005-06-15 2008-05-08 Maigret Robert J Media marketplaces
US7877460B1 (en) * 2005-09-16 2011-01-25 Sequoia International Limited Methods and systems for facilitating the distribution, sharing, and commentary of electronically published materials
US20080005679A1 (en) * 2006-06-28 2008-01-03 Microsoft Corporation Context specific user interface
JP4296213B2 (en) * 2007-12-21 2009-07-15 株式会社東芝 Information processing device
US20090204677A1 (en) * 2008-02-11 2009-08-13 Avaya Technology Llc Context based filter method and apparatus
US8578426B2 (en) * 2008-09-10 2013-11-05 Qualcomm Incorporated Method and system for selecting media content for broadcast based on viewer preference indications
US20100138437A1 (en) * 2008-12-03 2010-06-03 Deepak Seetharam Nadig User tracking for browser activities
US20100223341A1 (en) * 2009-02-27 2010-09-02 Microsoft Corporation Electronic messaging tailored to user interest
US8560561B2 (en) * 2010-01-07 2013-10-15 Microsoft Corporation Location aware search page elements
US20110282700A1 (en) * 2010-05-14 2011-11-17 Oliver Cockcroft Web application for a mobile computing device to provide location-based upcoming event information
US9483175B2 (en) * 2010-07-26 2016-11-01 Apple Inc. Device, method, and graphical user interface for navigating through a hierarchy
US20120239428A1 (en) * 2011-02-21 2012-09-20 Alan Ferris James Architecture for a content driven clinical information system
US9037897B2 (en) * 2012-02-17 2015-05-19 International Business Machines Corporation Elastic cloud-driven task execution
US9348932B2 (en) * 2012-04-30 2016-05-24 Penske Truck Leasing Co., L.P. Method and apparatus for redirecting webpage requests to appropriate equivalents

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030069881A1 (en) * 2001-10-03 2003-04-10 Nokia Corporation Apparatus and method for dynamic partitioning of structured documents
US20100094878A1 (en) * 2005-09-14 2010-04-15 Adam Soroca Contextual Targeting of Content Using a Monetization Platform
US20110282964A1 (en) * 2010-05-13 2011-11-17 Qualcomm Incorporated Delivery of targeted content related to a learned and predicted future behavior based on spatial, temporal, and user attributes and behavioral constraints
US20120236201A1 (en) * 2011-01-27 2012-09-20 In The Telling, Inc. Digital asset management, authoring, and presentation techniques
US20140019634A1 (en) * 2012-07-13 2014-01-16 Infosys Limited Systems and methods for adapting mobile multimedia content delivery service
US20140187269A1 (en) * 2013-01-03 2014-07-03 Cinarra Systems Pte. Ltd. Location and time-aware systems and methods for mobile user context detection

Also Published As

Publication number Publication date
US9959256B1 (en) 2018-05-01

Similar Documents

Publication Publication Date Title
CN109863527B (en) Method and system for server-side rendering of rendered local content
US9135311B2 (en) Gathering and contributing content across diverse sources
AU2012216321B2 (en) Share box for endorsements
US9798531B2 (en) Dependency-aware transformation of multi-function applications for on-demand execution
CN101782911B (en) A kind of prompting network resource content method and system
US20140164365A1 (en) Selection and presentation of news stories identifying external content to social networking system users
WO2014043259A1 (en) Generating a user-defined section of a digital magazine from a search request
US20130159074A1 (en) Inserting a search box into a mobile terminal dialog messaging protocol
US9830304B1 (en) Systems and methods for integrating dynamic content into electronic media
AU2006326623A1 (en) Remote module incorporation into a container document
US20120144291A1 (en) Apparatus and method for controlling web browser display
US10191971B2 (en) Computer-automated display adaptation of search results according to layout file
US11625448B2 (en) System for superimposed communication by object oriented resource manipulation on a data network
US10146559B2 (en) In-application recommendation of deep states of native applications
KR102499733B1 (en) Conditional resolution of a single style-defining identifier for a resource
JP2010044585A (en) Advertisement distribution device, advertisement distribution method and advertisement distribution control program
US20180285329A1 (en) Web asset modification based on a user context
US9979774B2 (en) Debugging and formatting feeds for presentation based on elements and content items
US10366150B2 (en) Generating a section of a digital magazine including content from one or more users
RU2640635C2 (en) Method, system and server for transmitting personalized message to user electronic device
CN113228003A (en) Providing different content pages based on varying user interactions with a single content item
US20210263988A1 (en) Embedded Mobile Browser
KR20150048831A (en) Social context for offsite advertisements
US10423701B1 (en) Web asset modification
JP6262926B1 (en) Information processing apparatus, information processing method, program, and storage medium

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION