Dynamic Code Management

Dynamic code management systems address the inefficiencies in deploying device-specific applications by using user device attributes and content to select and execute appropriate code segments, enhancing customization and efficiency in application deployment.

JP7566977B2Active Publication Date: 2024-10-15LIVEPERSON INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023085332
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2014-09-09
Filing Date
2023-05-24
Publication Date
2024-10-15
Estimated Expiration
2035-09-09

AI Technical Summary

Technical Problem

Existing technologies struggle to efficiently deploy device-specific and factor-specific applications on user devices, requiring manual republishing or code modification to adapt to different device attributes and content, leading to inefficiencies in application customization.

Method used

Implementing dynamic code management systems that utilize user device-specific attributes and content to determine and execute appropriate code segments, allowing for customized application deployment without modifying underlying code, using static and dynamic tags to manage JavaScript and native application code.

Benefits of technology

Enables efficient, customizable application deployment across various devices by dynamically selecting and executing code segments based on device attributes and content, reducing the need for manual updates and ensuring optimal user experiences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007566977000001
    Figure 0007566977000001
  • Figure 0007566977000002
    Figure 0007566977000002
  • Figure 0007566977000003
    Figure 0007566977000003
Patent Text Reader

Abstract

To perform dynamic code management of a web code or a native application code executed by a user device.SOLUTION: A method includes a step S802 of loading a web page on a device, a step S804 of accessing a factor including a device unique attribute or a content of the web page when loading the web page, a step S808 of determining a rule, and a step S810 of executing a web code selected using the factor and the rule.SELECTED DRAWING: Figure 8
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims the benefit of U.S. Provisional Patent Application No. 62 / 048,022, filed September 9, 2014, entitled "DYNAMIC JAVASCRIPT® TAG MANAGEMENT," which is incorporated by reference in its entirety herein.

[0002] The present disclosure relates generally to Internet-enabled applications, and more particularly to device-specific and / or other factor-specific application deployment.

[0003]

[0003] This specification refers to the following accompanying drawings, in which the use of like reference numbers in different drawings is intended to represent the same or similar components. [Brief description of the drawings]

[0004] [Figure 1] FIG. 1 illustrates a block diagram of one embodiment of a network interaction system. [Diagram 2] FIG. 2 shows a block diagram of another embodiment of a network interaction system. [Figure 3A] 1 shows a block diagram of another embodiment of a network interaction system including a connection management system. [Figure 3B] 1 shows a block diagram of another embodiment of a network interaction system including a connection management system. [Figure 3C] 1 shows a block diagram of another embodiment of a network interaction system including a connection management system. [Figure 4] 1 shows a representation of a protocol stack mapping of the operation of a connection component. [Diagram 5] 1 illustrates a multi-device communication exchange system according to one embodiment. [Figure 6] FIG. 1 illustrates a block diagram of one embodiment of a connection management system. [Figure 7] FIG. 1 is a schematic diagram illustrating a web page access environment in which a user device can access a web page. [Figure 8] 4 is a flow diagram illustrating a method for loading a web page that includes available code, according to certain implementations of the present disclosure. [Figure 9] 4 is a flow diagram illustrating a method for loading a web page that includes static tags, according to certain implementations of the present disclosure. [Figure 10] 4 is a flow diagram illustrating a method for loading a web page with code management at a code server according to certain implementations of the present disclosure. [Figure 11] 1 is a depiction of a smartphone displaying a web page, according to certain implementations of the present disclosure. [Figure 12] 12 is a depiction of the smartphone of FIG. 11 displaying a web application in accordance with certain embodiments of the present disclosure. [Figure 13] 12 is a depiction of a tablet displaying the web page from FIG. 11 in accordance with certain embodiments of the present disclosure. [Figure 14] 14 is a depiction of the tablet of FIG. 13 displaying a web application in accordance with certain embodiments of the present disclosure. [Figure 15] 12 is a depiction of a desktop web browser displaying the web page from FIG. 11 in accordance with certain embodiments of the present disclosure. [Figure 16] 1 is a flow diagram illustrating a process for presenting an interaction window according to certain implementations of the present disclosure. [Figure 17] FIG. 1 is a schematic diagram illustrating a smartphone accessing a web page at a first zoom level, according to certain embodiments of the present disclosure. [Figure 18] FIG. 18 is a schematic diagram illustrating the smartphone of FIG. 17 accessing a web page at a second zoom level in accordance with certain embodiments of the present disclosure. [Figure 19]18 is a schematic diagram illustrating the smartphone of FIG. 17 presenting an interaction window according to certain embodiments of the present disclosure. [Figure 20] 1 is a schematic diagram illustrating a dynamic native application environment in which a user device can access and execute native applications in accordance with certain implementations of the present disclosure. [Figure 21] 21 is a flow diagram illustrating a method 2100 of dynamic code management for native applications, in accordance with certain embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0005]

[0025] In the accompanying drawings, similar components and / or features may have the same reference numbers. Furthermore, to distinguish between various components of the same type, the reference numbers may be followed by a prime symbol and a second number that distinguishes between the similar components. In this specification, when only a first reference number is used, the description is applicable to any one of the similar components having the same first reference number, regardless of the second reference number.

[0006]

[0026] Certain embodiments and features of the present disclosure relate to systems and methods for dynamic code management, such as dynamic management of JavaScript tags in a web page or code segments in a native application. In some embodiments, an electronic device (e.g., a user device) that loads a web page or native application accesses factors such as user device specific attributes, the content of the web page being loaded, or the content of the native application being loaded (e.g., a customer identifier embedded in the native application). Rules can be determined (e.g., by the user device or a server accessing and / or executing). The factors can be applied to determine one or more desired segments of web code (e.g., JavaScript tags) or native application code for the user device to execute. In some cases, the factors can be sent to a remote server, which determines the rules and applies the rules to the factors. The remote server can return instructions or code that, if received by the device, can be executed to perform a specific function, present a specific version of the application (e.g., web application or native application), or select a specific code segment of the web code or native application to execute next. Using these implementations and features, applications running on websites and native applications can be customized based on factors (e.g., available capabilities) of the user device. The rules (e.g., stored on a remote server) can be updated on demand by a client (e.g., a publisher of a website or native application) or a service provider (e.g., a provider of a web application or native application extension, such as a provider of a chat application embedded in a website or native application), resulting in customization without modifying or republishing the underlying website code or native application code.

[0007]

[0027] Web code may include any code that a user device can execute. Web code can be any script that a user device can execute. Web code can be any JavaScript tag that a user device can execute. Web code can also refer to a portion or an entire web application that can be embedded (e.g., statically or dynamically) in a website. Web code can refer to any code that can be embedded (e.g., statically or dynamically) in a website and that can be executed on a client computer. As used herein, web code does not refer to HyperText Markup Language (HTML).

[0008]

[0028] In some embodiments, a supplier of web code, such as a supplier of web applications, can develop multiple web codes targeted to different environments and / or situations. For example, a first web code can be designed for and present a first web application usable on a first style mobile device, a second web code can be designed for and present a second web application usable on a second style mobile device, and a third web code can be designed for and present a third web application usable on a desktop device. Each web application can take advantage of the specific hardware and software features of the device for which it was designed. In these embodiments, user device specific attributes can be accessed when loading a web page and used when evaluating rules to determine which web code to execute and thereby which web application to present to the user. Examples of user device specific attributes can include information indicative of any attribute specific to the user device accessing the web page, such as the type of device (e.g., phone, tablet, desktop, laptop, etc.), the model of the device, the browser used by the device, supported versions of software (e.g., supported versions of HTML and / or JavaScript), supported screen size of the device, user specific attributes (e.g., user settings of the user's device, such as a desire to present a particular web application rather than another web application, if available), or other attributes or indicators of attributes specific to the user device. User device specific attributes can be used as described herein to determine which web code to execute on the user device (e.g., which web application to present to the user).

[0009]

[0029] In some embodiments, user device specific attributes can be obtained by parsing or otherwise accessing the user agent string. For example, the user agent string can contain information about the browser used by the user device, and this information can be used to infer the type or other attributes of the user device (e.g., by comparing the browser and version to a database of possible browsers and versions).

[0010]

[0030] In some embodiments, the factors may be based on the content of the web page. The content of the web page may include visible and non-visible information contained in the web page, such as the business name, customer identification information (e.g., customer identification number or "customer ID"), words, images, and other web page elements. Examples of the content of the web page may include the size of a screen element, features enabled or disabled by a developer (e.g., web page developer) (e.g., disabling pinch to zoom functionality, such as through a viewport element), visible or non-visible elements including a customer ID, text elements (e.g., title or header) or other tags or elements of the web page. The content of the web page may be accessed by the user device when loading the web page and used to determine which web code to execute on the user device (e.g., which web application to present to the user) as described herein.

[0011]

[0031] For example, if pinch-to-zoom is disabled, a particular version of the web application may be presented, whereas if pinch-to-zoom is enabled, a different version of the web application may be presented. In another example, if a specific customer ID is presented on the web page, a full version of the web application may be presented (e.g., the customer ID may be compared against a database on the code server to determine whether the customer is authorized to access the full version of the web application, as described in further detail herein), whereas if a specific customer ID is not presented on the web page, a partial version of the web application or different web code may be presented. In such an example, the web application supplier may dynamically change which versions of the web application are available and can be injected into the customer's website simply by updating the permissions on the code server or by updating dynamic code on the code server. In some embodiments, the different versions of the web application may include a stable release and a beta release. In a further example, factors including the presence or absence of a particular element on the web page (e.g., an attribute statement for the web application supplier) may be used to determine whether to present the full web application to the user. In such an example, the full web application may be provided only if the customer properly includes the required attribute statements on the customer's website. In such an example, if a customer attempts to use the web application without properly including an attribute statement, the web application will not be presented. Other usage methods are possible. Different versions of a web application can include different visual elements (e.g., graphics and windows), different input options (e.g., buttons and fields), as well as entirely different functionality and other differences.

[0012]

[0032] In some embodiments, the loaded web page may include all possible web code that may be executed ("available code") as well as all web code necessary to access factors and determine the desired web code to execute based on factors and rules. As used herein, the term available code includes possible web code that may be executed, and each web code may be its own web application or a portion or element of a web application.

[0013]

[0033] In some embodiments, a single JavaScript tag may include code including available code (e.g., multiple web applications, such as multiple versions of a single web application or multiple separate applications) and an enabling code. The enabling code allows the user device to access a factor that is a user device specific attribute that indicates the type of device (e.g., a mobile device or a non-mobile desktop device). The enabling code may also include one or more rules that may be evaluated based on the factor to determine which available code (e.g., a desired web code) to execute. By evaluating the one or more rules, the desired web code may be selected, and the desired web code may then be executed on the user device. For example, if a user device that is a smartphone loads a particular web page that includes a single JavaScript tag, as described above, the user device may be led to execute a desired web code that presents a mobile version of a chat room web application. If a desktop computer loads the same web page that includes the same single JavaScript tag, the user device may be led to execute a different desired web code that presents a desktop version of a chat room web application. In some embodiments, both available code and enabling code may be embedded in multiple JavaScript tags on a single web page.

[0014]

[0034] In some embodiments, a web page may include a static tag that causes dynamic code to be injected into a website from a code server. As used herein, the term "injection" includes downloading or otherwise accessing code from a code server and executing at least a portion of the code when the web page is loaded. In some embodiments, the dynamic code may include available code and activation code. In some embodiments, the static tag includes activation code that includes code for accessing a factor and includes one or more rules. In some embodiments, the dynamic code that is injected when the web page is loaded includes available code, including unwanted code that may not have been selected when evaluating the rules and therefore may not have been executed on the user device.

[0015]

[0035] In some embodiments, the static tag includes sufficient code to access the factors and send the factors to a code server. In such embodiments, the code server can evaluate the rules based on the factors to determine the desired code to execute. The code server can then provide the dynamic code to the user device, including only the desired web code. In other words, in such embodiments, only the code that actually executes on the user device is injected when the web page loads.

[0016]

[0036] In some embodiments, the rules can be based on factors and can indicate which web code of all available codes should be executed on the user device. For example, a rule can be set such that if a factor is presented indicating that the user device is a desktop computer, a first web code can be selected to execute on the user device. The same rule or a different rule can be set such that if a factor presented indicates that the user device is a tablet, a second web code can be selected to execute on the user device. In some embodiments, a rule can include multiple sub-rules and / or can include an evaluation of multiple factors. Other types of rules can also be used.

[0017]

[0037] Using the systems and methods described herein, web application suppliers can easily update web applications by updating code stored in a single location (e.g., a code server). Additionally, web application suppliers can quickly update a specific version of a web application used for a particular device (e.g., for a mobile phone) or used in a particular environment (e.g., for use with web pages where pinch-to-zoom is disabled) from a single location (e.g., a code server) quickly and easily. The systems and methods disclosed herein allow web developers to include multiple versions of a web application on a single web page without having to redirect a user's web browser to another page and without requiring the user to interact with the web page beyond simply loading the web page.

[0018]

[0038] In some cases, dynamic code management can occur in a native application (e.g., as opposed to a web application running via a web browser). When running in a native application, the segment of code has access to factors such as user device specific attributes or the content of the application being executed. Rules can be determined (e.g., by accessing and / or executing from a remote server). The factors can be applied to determine one or more desired segments of code (e.g., segments of code of the native application) for the user device to execute. In some cases, the factors can be sent to a remote server for the server to determine and apply the rules. The remote server can send instructions or code back to the native application running on the user device that, when executed, cause the native application to execute one or more desired segments of code (e.g., existing code of the native application).

[0019]

[0039] Certain embodiments and features of the present disclosure also relate to methods, systems and computer program products for optimizing Internet applications, such as Internet chat applications, for use on devices with various screen sizes. In particular, the present disclosure can provide chat or other functionality on a website loaded on a device, such as a mobile device, where the interaction window (e.g., chat window) is optimized according to the screen of the mobile device, not the dimensions of the underlying website. The present disclosure can include modifying the viewport tag to identify the site or webpage as non-zoomable whenever the interaction window is displayed, and then returning the viewport tag to its original or default setting when the interaction window is not displayed.

[0020]

[0040] The following description provides only examples of the preferred embodiment(s) and is not intended to limit the scope, applicability, or configuration of the present disclosure. Rather, the following description of the example preferred embodiment(s) provides those skilled in the art with an enabling description for implementing the example preferred embodiment(s). It should be understood that various changes can be made in the function and arrangement of elements without departing from the spirit and scope as set forth in the appended claims.

[0021]

[0041] A block diagram of one embodiment of a network interaction system 100 implementing and supporting certain embodiments and features described herein is shown in Figure 1. Certain embodiments relate to establishing a connection channel between a network device 105 (operable by a user 110) and a terminal device 115 (operable by an agent 120). In certain embodiments, the network interaction system 100 may include a client device 130 associated with a client 125.

[0022]

[0042] In certain embodiments, the user 110 may be an individual browsing a website or accessing an online service provided by the remote server 140. The client 125 may be an entity that provides, operates, or runs a website or online service, or an individual employed or appointed by such an entity, to perform tasks available to the client 125 as described herein. The agent 120 may be an individual, such as a support agent or salesperson, tasked with providing support or information about the website or online service to the user 110 (e.g., information about products available at an online store). Among multiple agents, it may be a portion of the agent that is suited to provide support or information for a particular client 125. The agent 120 may or may not be affiliated with the client 125. Each agent may be affiliated with one or more clients 125. In some non-limiting examples, the user 110 may be an individual shopping at an online store from a personal computing device, the client 125 may be a business that sells products online, and the agent 120 may be a salesperson employed by the business. In various embodiments, the users 110, clients 125 and agents 120 may be other individuals or entities.

[0023]

[0043] Although FIG. 1 shows only a single network device 105, terminal device 115, and client device 130, the interaction system 100 may include multiple or large numbers (e.g., tens, hundreds, or thousands) of one or more of each of these types of devices. Similarly, while FIG. 1 shows only a single user 110, agent 120, and client 125, the interaction system 100 may include multiple or large numbers of one or more of each of these entities. Thus, it may be necessary to determine which terminal device to select to communicate with a given network device. To further complicate matters, a remote server 140 may also be configured to receive and respond to select network device communications.

[0024]

[0044] The connection management system 150 may facilitate strategic routing of communications. A communication may include a message with content (e.g., defined based on input from the entity, such as typed or spoken input). A communication may also include additional data, such as the sending device (e.g., IP address, account identifier, device type and / or operating system), the destination address, the client's identifier, a web page or web page element identifier (e.g., the web page or web page element visited when generating the communication or otherwise related to the communication), or data regarding online history data, time (e.g., time and / or date), and / or the destination address. Other information may also be included in the communication. In some cases, the connection management system 150 routes the entire communication to another device. In some cases, the connection management system 150 modifies the communication (e.g., based on the initial communication) or generates a new communication. The new or revised communication may include the message (or a processed version of the message), at least some (or all) of the additional data (e.g., the sending device, web page or online history and / or time), and / or other data identified by connection management system 150 (e.g., a particular account identifier or account data associated with the device). The new or revised communication may include other information as well.

[0025]

[0045] Part of the strategic routing facilitation may include establishing, updating, and using one or more connection channels between the network device 105 and one or more terminal devices 115. For example, upon receiving a communication from the network device 105, the connection management system 150 may first predict which client (if any) the communication corresponds to. Upon identifying the client, the connection management system 150 may identify the terminal device 115 associated with the client for communication with the network device 105. In some cases, the identification may include evaluating a profile of each of a plurality of agents (or experts or representatives), where each agent (e.g., agent 120) in the plurality of agents may be associated with a terminal device (e.g., terminal device 115). The evaluation may relate to the content of the message of the network device. The identification of the terminal device 115 may include, for example, techniques described in U.S. Patent Application Serial No. 12 / 725,799, filed March 17, 2010, the entirety of which is incorporated herein by reference for all purposes.

[0026]

[0046] In some cases, the connection management system 150 can determine whether any connection channel is established between the network device 105 and a terminal device associated with the client (or remote server 140) and, if so, whether to use such channel to exchange a series of communications including this communication. This determination can depend, at least in part, on the topic associated with the communication, the sentiment score associated with the communication or past related communications, the expected (e.g., relative or absolute) response delay of the terminal device 115 and / or the type of communication channel associated with the communication (e.g., instant message, message, email, phone). Selecting an established communication channel can promote consistency and reduce the need to repeatedly relay information from the network device 105. Meanwhile, determining that a new communication channel is to be established can promote a quicker response from a more specialized agent.

[0027]

[0047] The decision as to whether to select (or continue to use) an established communication channel and / or select a new terminal device may include determining the extent to which each of one or more terminal devices (e.g., associated with a client) is responsive to communication and / or associated users. Such responsiveness may relate, for example, to the extent to which an agent's knowledge base is responsive to a communication topic, availability of an agent at a given time and / or channel type, language match between a user and an agent, and / or personality analysis.

[0028]

[0048] The connection management system 150 can use communication analytics to influence routing decisions (e.g., determining whether to route a communication to a terminal device that previously received a communication from a network device that sent the communication, or selecting a terminal device for receiving or sending a communication). One communication analytics can include determining and evaluating one or more categories or tags of a current or past communication or series of communications. For example, a communication can be assigned a category for each of (for example) topic, channel type (e.g., email, SMS message, real-time chat, phone or asynchronous message), language, complexity, sentiment, and / or whether / what file type is attached, and terminal device selection can be biased toward terminal devices associated with similar, the same, or complementary knowledge bases, channel type availability, language, skill level, sentiment, and / or file type capabilities.

[0029]

[0049] In some cases, communication analysis, as described herein, may include determining factors of the client device 130 to determine the capabilities of the client device 130 (e.g., whether the device is connected to a high-speed Internet connection, whether the device has the necessary central processing unit (CPU) or graphics processing unit (GPU) speed to handle video calls, whether the device has a camera to handle video calls, etc.). Communication analysis may include determining and applying rules based on the factors to affect routing decisions.

[0030]

[0050] Upon selecting a terminal device 115 for communicating with the network device 105, the connection management system 150 can establish a connection channel between the network device 105 and the terminal device 115. In some cases, the connection management system 150 can send a message to the selected terminal device 115. The message may request acceptance of a proposed assignment to communicate with the network device 105 or may identify that such an assignment has been made. The message may include information about the network device 105 (e.g., IP address, device type and / or operating system), information about the associated user 110 (e.g., language spoken, duration of interaction with the client, skill level, emotions and / or topic preferences), the received communication, code for generating and sending a communication to the network device 105 (e.g., a clickable hyperlink) and / or instructions for generating and sending a communication to the network device 105.

[0031]

[0051] In one case, communications between the network device 105 and the terminal device 115 may be routed through the connection management system 150. Such a configuration may enable the connection management system 150 to monitor the communication exchange and detect problems (e.g., as defined by rules), such as extended non-responsiveness or latency of either device. Additionally, such a configuration may facilitate selective or complete storage of communications, which may be used, for example, to evaluate the quality of the communication exchange and / or aid in learning to update or generate routing rules to raise the level of a particular post-communication target. Such storage may also facilitate the generation of a message history between the network device and the first terminal device, which may be sent to the second terminal device (for example) if it is determined that the second terminal device is joining an existing set of communications with the network device or is joining a new set of communications.

[0032]

[0052] In some embodiments, the connection management system 150 can monitor communication exchanges in real time and take automatic actions (e.g., rule-based actions) based on the live communications. For example, if the connection management system 150 determines that a communication pertains to a particular product, the connection management system 150 can automatically send an additional message to the terminal device 115 that includes additional information about the product (e.g., the quality of the product in stock, links to supporting documentation related to the product, or other information about the product or similar products).

[0033]

[0053] In one case, a specified terminal device 115 can communicate with the network device 105 without relaying the communications through the connection management system 150. One or both devices 105, 115 may (or may not) report certain communication indicators or content to the connection management system 150 to facilitate monitoring of communications and / or storage of data. The communication indicators or content reported to the connection management system 150 may be factored into the client device 130, as described further herein.

[0034]

[0054] As previously mentioned, the connection management system 150 may route selected communications to the remote server 140. The remote server 140 may be configured to provide information in a predefined manner. For example, the remote server 140 may access one or more passages of predefined strings, audio recordings, and / or files to transmit in response to the communication. The remote server 140 may select a particular passage of string, recording, or file based on, for example, an analysis of the received communication (e.g., a semantic or mapping analysis).

[0035]

[0055] Routing and / or other decisions or processing performed by the connection management system 150 may be based on rules and / or data defined or provided at least in part by one or more client devices 130. For example, the client device 130 may send a communication identifying agent prioritization, terminal device type and / or topic / skill matching. As another example, the client device 130 may identify one or more weights to apply to various variables potentially affecting the routing decision (e.g., language compatibility, expected response time, device type and capabilities, and / or terminal device load balancing). It will be appreciated that which terminal devices and / or agents are associated with a client may be dynamic. A communication from the client device 130 and / or terminal device 115 may provide information indicating that a given terminal device and / or agent is added or removed as associated with the client. For example, the client device 130 may send a communication with an IP address and an indication as to whether to add or remove a terminal device having the address from a list identifying client-associated terminal devices.

[0036]

[0056] In one case, the connection management system 150 facilitates initial matching and routing between the network device 105 and the first terminal device 115. For example, a message received in a communication from the network device 105 can be routed to the first terminal device. As another example, the connection management system 150 can send a communication to the first terminal device that includes or indicates a request or instruction to send a communication to the network device 105 (e.g., initiating a series of communications).

[0037]

[0057] The connection management system 150 can monitor and / or analyze a corresponding series of communications between the network device 105 and the first terminal device to determine characteristics. For example, the connection management system 150 can analyze message content in one or more communications (e.g., to determine whether and / or how much of a particular word, symbol, or type of character is used, such as “frustrat*”, “very”, “thank” or “irritat*”, “!”, or uppercase). As another example, the connection management system 150 can determine one or more statistics associated with one or more messages and / or each of a series of communications. Examples of statistics can include, for example, message length (e.g., in words or characters), delay between receiving a communication and sending a response communication, delay between sending subsequent messages, or typing speed when typing a message. As yet another example, the connection management system 150 can receive and process one or more inputs that are initially detected at the network device 105 or the first terminal device and then identified by the connection management system 150. Such inputs may identify, for example, sentiment, rerouting requests, or resolution steps.

[0038]

[0058] In some cases, the connection management system 150 can receive factors of the client device 130 that indicate, for example, sentiment, a rerouting request, or a resolution stage. For example, factors including accelerometer data indicating strong vibrations of the client device 130 can be indicative of dissatisfaction. As another example, factors including location information of the client device 130 indicating proximity to a cash register at a store can be indicative of a particular resolution stage (e.g., a desire to purchase a product under consideration). The factors can be applied to rules, if received by the connection management system 150, to determine whether to send to the client device 130 certain instructions, if received or executed by the client device 130, that can customize a web or native application running on the client device 130. For example, if the connection management system 150 detects dissatisfaction, the connection management system 150 can send instructions to the application running on the client device 130 that cause additional resolution stage options or opportunities for feedback to be presented. In another example, when the connection management system 150 detects a particular solution stage (e.g., indicating a desire to purchase the product under consideration), the connection management system 150 can send instructions to an application running on the client device 130 to present coupon or rebate information or an opportunity to share the purchase on a social media network.

[0039]

[0059] The connection management system 150 can evaluate characteristics (e.g., characterizing message content, including statistics, or characterizing inputs) to determine whether to bias subsequent routing in a particular manner. For example, a continuous channel rule can include a condition related to the characteristic that specifies when to bias the routing of a network device message toward a first terminal device (that previously participated in a communication exchange with the network device). The rule can be configured such that, upon satisfaction of the condition, a continuous channel is established between the network device and the first terminal device. The continuous channel can cause subsequent messages from the network device to be automatically routed to the first terminal device and / or preferentially routed to the first terminal device. The continuous channel can be configured to persist through multiple series of communications. For example, a first series of messages can be exchanged between the network device and the first terminal device on a first day, and the channel can bias the routing of another message from the network device sent on a subsequent day to be routed to the same first terminal device. The magnitude of such bias may depend, for example, on the time since the last interaction between the network device and the first terminal device (e.g., a stronger bias if the previous interaction was recent), the total duration and / or number of communications in the last message exchange between the network device and the first terminal device, and / or the number of last message exchanges between the network device and the first terminal device (and / or the cumulative interaction time or number of exchanged messages).

[0040]

[0060] Upon establishing the continuous channel, the connection management system 150 may further facilitate presenting a presentation (e.g., a notification) at the network device 105 to inform the user 110 that the continuous channel has been established, identifying the first terminal device or the associated user, and / or indicating that subsequent messages should be routed or biased toward the first terminal device (e.g., sent in association with an identifier of the channel, associated with a particular client, etc.).

[0041]

[0061] Conversely, the connection management system 150 may determine that the characteristic indicates that a subsequent message (e.g., for a client) from the network device 105 is not routed and / or is rerouted to the same first terminal device. For example, it may determine that a condition of a continuous channel rule is not satisfied. Upon such a determination, the connection management system 150 may identify a new terminal device to route communications (e.g., for a client) with the network device.

[0042]

[0062] In one case, the continuous channel rule is configured such that a continuous channel is established between a network device and an end device following an initial routing of a communication between the two devices. Thus, the continuous channel may help to facilitate consistent message routing within a single message exchange. In the alternative or same case, the continuous channel rule may (also or alternatively) be configured such that a continuous channel is established, maintained, or used to facilitate consistent message routing between different series of messages (e.g., series of messages separated in time). Depending on the embodiment, the continuous channel rule may limit the number of continuous channels that may be provided for a given network device and / or client. For example, the rule may indicate that for a given network device and client, the network device may only be connected to one (or three, or another specified number) end device via a continuous channel.

[0043]

[0063] In some cases, the connection management system 150 can determine to initiate a rerouting process (e.g., based on a condition being met in a rerouting rule). The determination can be based on characteristics (e.g., characterizing message content, including statistics, or characterizing input). For example, the rerouting rules can be configured to initiate rerouting upon detecting characteristics indicative of user dissatisfaction or unsatisfaction, upon detecting characteristics indicative of a lack of acceptable progress toward resolving a problem, upon detecting unacceptable end device communication statistics (e.g., long response delays), or upon detecting that messages are beginning to converge on a new topic.

[0044]

[0064] The re-routing process may include identifying a different terminal device to participate in a communication exchange with the network device 105. Such identification may be based, for example, on a topic associated with the communication, a sentiment score associated with the communication or past related communications, a predicted (e.g., relative or absolute) response delay of the terminal device 115, a type of communication channel associated with the communication (e.g., instant message, messaging, email, phone), a language match, a match of the agent's skills with the respective types of one or more other terminal devices, the capabilities of the one or more other terminal devices, and / or a network device communication complexity. The selection of a different terminal device may be made in the same, similar, or different manner as compared to the selection of the first terminal device. For example, determining that a condition of a re-routing rule is satisfied may bias a subsequent terminal device selection toward a device associated with a more advanced and broader knowledge base and / or better language capabilities.

[0045]

[0065] The rerouting process may include sending a notification identifying the proposed reroute to one or more devices, such as the network device 105, the first terminal device, or a different terminal device. The notification may include options to accept and / or reject the proposed reroute. The notification may include information regarding the network device 105, the first terminal device, and / or the different terminal device, and / or related parties.

[0046]

[0066] To suppress abrupt transitions between terminal devices, the connection management system 150 can adjust an overlap period during which each of the first terminal device and the different terminal device can receive one or more communications (or processed versions thereof) from the network device 105. For example, new communications from the network device 105 can be duplicated and then routed to each of the first terminal device and the different terminal device.

[0047]

[0067] In some cases, the connection management system 150 can generate a dynamic message record that includes multiple messages from the network device 105 and / or from the first terminal device. The record can include, for example, all messages in a communication exchange, all messages routed within a specified time period (e.g., 3 minutes), or all messages related to one or more specified tags or categories. For example, messages related to a particular topic, emotion (e.g., corresponding to dissatisfaction) or content type (e.g., including questions) can be selected. The connection management system 150 can send the dynamic message record to a different terminal device. New messages from the network device 105 and / or the first terminal device can be further sent to the different terminal device so that the dynamic message record can be added to such new messages. Whether to provide message selection and / or dynamic message record for dynamic message record can also depend on whether to perform rerouting between a series of temporally clustered messages or between series of messages.

[0048]

[0068] In some cases, the connection management system 150 can determine whether and / or when to stop routing communications to the first terminal device. For example, such termination of routing may occur upon detecting a response communication from a different terminal device, after a prescribed period of time following transmission of a message record, after detecting input received at the first terminal device indicating an intent to exit the communication exchange, after detecting input received at a different terminal device indicating an intent to handle the communication exchange, after detecting input received at the network device 105 requesting activation of a proposed re-routing to a different terminal device, etc.

[0049]

[0069] Depending on the rule or reason for initiating the rerouting transfer, the rerouting may include releasing the connection channel between the network device 105 and the first terminal device (e.g., if the rerouting process is initiated in response to low user sentiment) and / or establishing a new connection channel between the network device 105 and a different terminal device.

[0050]

[0070] Each communication (e.g., between devices, between devices and the connection management system 150, between the remote server 140 and the connection management system 150, or between the remote server 140 and a device) may occur over one or more networks 170. The one or more networks 170 may include any combination of open or closed networks. Examples of suitable networks may include the Internet, a personal area network, a local area network (LAN), a wide area network (WAN), or a wireless local area network (WLAN). Other networks may also be suitable. The one or more networks 170 may be fully integrated into or include an intranet, an extranet, or a combination thereof. In some cases, a network in the one or more networks 170 includes a short-range communication channel, such as a Bluetooth® or Bluetooth® Low Energy channel. In an embodiment, communication between two or more systems and / or devices may be achieved by a secure communication protocol, such as Secure Sockets Layer (SSL) or Transport Layer Security (TLS). In addition, data and / or transaction details may be encrypted using encryption protocols such as, but not limited to, Data Encryption Standard (DES), Triple DES, Rivest-Shamir-Adelman Encryption (RSA), Blowfish Encryption, Advanced Encryption Standard (AES), CAST-128, CAST-256, Decorrelation Fast Cipher (DFC), Tiny Encryption Algorithm (TEA), eXtended The encryption may be based on any convenient known or yet to be developed scheme, such as TEA (XTEA), Corrected Block TEA (XXTEA), and / or RC5.

[0051]

[0071] The network devices 105, the terminal devices 115 and / or the client devices 130 may include, for example, portable electronic devices (e.g., smartphones, tablets, laptop computers or smart wearable devices) or non-portable electronic devices (e.g., one or more desktop computers, smart appliances, servers and / or processors). The connection management system 150 may be housed separately from the network, terminals and client devices or may be part of one or more such devices (e.g., by installing an application on the device). The remote server 140 may be housed separately from each device and the connection management system 150 or may be part of another device or system. Although each device, server and system in FIG. 1 is shown as a single device, it should be understood that multiple devices may instead be used. For example, a set of network devices may be used to transmit various communications from a single user or the remote server 140 may include a server stack.

[0052]

[0072] Software agents or applications may be installed and / or run on the illustrated devices, systems, or servers. In one case, the software agents or applications are configured to enable the various illustrated elements to operate in a complementary manner. For example, a software agent on a device may be configured to collect and send data regarding device usage to a separate connection management system, and a software application on the separate connection management system may be configured to receive and process the data.

[0053]

[0073] Figure 2 illustrates a block diagram of another embodiment of a network interaction system 200. In general, Figure 2 illustrates various components that are configured and arranged to enable a network device 205 to communicate with one or more terminal devices 215. In the illustrated case, nine terminal devices 215 are included in three local area networks 235.

[0054]

[0074] In some cases, communications from network devices 205 include destination data (e.g., a destination IP address) that at least partially or completely indicates which end device is to receive the communication. Network interaction system 200 may include one or more inter-network connectivity components 245 and / or one or more intra-network connectivity components 255 that can process the destination data and facilitate appropriate routing.

[0055]

[0075] Each network interconnection component 245 may be connected to multiple networks 235 and may have multiple network cards installed (e.g., each card connected to a different network). For example, a network interconnection component 245 may be connected to a wide area network 270 (e.g., the Internet) and one or more local area networks 235. In the illustrated case, to send a communication from a network device 205 to any terminal device, the illustrated system requires that multiple network interconnection components 245 handle the communication.

[0056]

[0076] When the network interconnection component 245 receives a communication (or a set of packets corresponding to a communication), the network interconnection component 245 can determine at least a portion of a path to send the communication to a network associated with a destination. The path can be determined, for example, using a routing table (e.g., stored in a router), which may include one or more routes that are predefined, generated, or learned based on messages arriving (e.g., from another router or from another device).

[0057]

[0077] Examples of network interconnection components 245 include routers 260 and gateways 265. Network interconnection components 245 (e.g., gateways 265) may be configured to translate between network systems or protocols. For example, gateways 265 may facilitate communication between Transmission Control Protocol / Internet Protocol (TCP / IP) devices and Internetwork Packet Switched / Sequenced Packet Switched (IPX / SPX) devices.

[0058]

[0078] Upon receiving a communication at the local area network 235, further routing may still need to occur. Such intra-network routing may occur via an intra-network connectivity component 255, such as a switch 280 or a hub 285. Each intra-network connectivity component 255 may be connected (e.g., wirelessly or wired via an Ethernet cable, etc.) to multiple terminal devices 215. The hub 285 may be configured to repeat all received communications for each device to which the hub is connected. Each terminal device may then evaluate each communication to determine whether the terminal device is a destination device or whether to ignore the communication. The switch 280 may be configured to selectively direct communications only to the destination terminal device.

[0059]

[0079] In some cases, the local area network 235 can be divided into multiple segments, each of which can be associated with independent firewalls, security rules, and network protocols. An intra-network connectivity component 255 can be provided in each of one or more or all of the segments to facilitate intra-segment routing. A bridge 290 can be configured to route communications between the segments 275.

[0060]

[0080] To properly route communications between or within networks, various components analyze destination data within the communications. For example, such data may indicate which network to route the communications to, which device within a network to route the communications to, or which communications an end device should process (rather than ignore). However, in some cases, it is not immediately clear which end devices (or even which networks) participate in a communication from a network device.

[0061]

[0081] As an example, a set of terminal devices may be configured to provide similar types of response communications. This allows the expectation that queries in communications from the network devices may be answered in a similar manner regardless of which network device the communication is routed to. While this assumption is true at a high level, various details related to the terminal devices may give rise to certain routings being advantageous over others. For example, the terminal devices in the set may differ from each other with respect to (for example) which communication channels are supported, their geographic and / or network proximity to the network devices, and / or the characteristics of the associated agents (e.g., knowledge base, experience, language spoken, availability, general personality or sentiment, etc.). Thus, the routing selection may facilitate faster responses that respond more accurately and / or completely to the network device communications. A complication is that static routing that maps network devices to terminal devices may fail to take into account variations in communication topics, channel types, agent availability, etc.

[0062]

[0082] 3A-3C show block diagrams of other embodiments of network interaction systems 300a-300c including a connection management system. Each of the illustrated systems 300a-300c shows only two local area networks 235 for simplicity, but it will be understood that each embodiment can be expanded to include a larger number of local area networks. Each of the systems 300a-300c includes a connection management system 350 that can identify which end devices communicate with the network devices 205, establish and manage (e.g., maintain or release) connection channels, determine whether and when to reroute communications in an exchange, and the like. In this manner, the connection management system 350 can be configured to dynamically and in real time evaluate communications, agent availability, end device or agent capabilities, and the like to affect routing decisions.

[0063]

[0083] In FIG. 3A , the connection management system 350 cooperates with each of the network device 205 and the remote server 340 (e.g., the connection management system 350a cooperates with the network device 205, and the connection management system 350b cooperates with the remote server 340). For example, the connection management system 350a and / or the connection management system 350b may be installed or stored as an application on each of the network device 205 and the remote server 340, respectively. Execution of the application(s) may, for example, facilitate communication between the network device 205 and the remote server 340 to identify the terminal device 215 selected to participate in a communication exchange with the network device 205. The identification may be made based on one or more factors disclosed herein (e.g., availability, matching between the topic / detail of the communication with the agent or terminal device's knowledge base, expected delay, channel type availability, etc.).

[0064]

[0084] The client device 330 can provide client data that indicates how to make routing decisions. For example, such data can include instructions on how to weight or match particular characteristics, or constraints or biases (e.g., regarding load balancing or expected response delays). The client data can also include specifications related to when to establish (or release) a communication channel or when to reroute a communication to a different network device. The client data can be used to define various client-specific rules, such as rules for routing communications, establishing, managing or releasing channels, rerouting communications, categorizing communications, etc.

[0065]

[0085] The connection management system 350b running on the remote server 340 can monitor various metrics related to the terminal device (e.g., for a given client), such as which communication channels it supports, geographic and / or network proximity to the network device, communication latency and / or stability with the terminal device, the type of terminal device, the capabilities of the terminal device, whether the terminal device (or agent) has previously communicated with a given network device (or user), and / or characteristics of the associated agent (e.g., knowledge base, experience, language spoken, availability, general personality or mood, etc.). Thus, the connection management system 350b can be enabled to select routing to facilitate faster responses that respond more accurately and / or completely to network device communications based on the metrics.

[0066]

[0086] In the example shown in FIG. 3A, a communication exchange between the network device 205 and the remote server 340 may facilitate early identification of a destination address. The network device 205 may then use the destination address to direct subsequent communications. For example, the network device 205 may send an initial communication (e.g., via one or more inter-network connections and a wide area network) to the remote server 340, which may identify one or more corresponding clients. The remote server 340 may then identify a set of terminal devices associated with the one or more corresponding clients and collect indicators for these terminal devices. The indicators may be evaluated (e.g., by the remote server 340) and information about the terminal devices (e.g., IP addresses) may be sent to the network device 205 so that the terminal devices are selected for inclusion in the communication exchange. In some embodiments, the remote server 340 may continuously or periodically collect and evaluate indicators for various terminal devices and store the evaluation results in a data store. In such an embodiment, upon identifying a set of terminal devices associated with one or more corresponding clients, the remote server 340 may access the stored evaluation results from the data store and select the terminal devices based on the stored evaluation results to be included in the communication exchange.

[0067]

[0087] In FIG. 3B, the connection management system 350 may be configured to act as a relay and / or destination address. Thus, for example, a set of network devices 205 may send communications, each identifying the connection management system 350 as a destination. The connection management system 350 may receive each communication and simultaneously monitor a set of terminal devices (e.g., to generate indicators for each terminal device). Based on the monitoring and rules, the connection management system 350 may identify terminal devices 215 to which the connection management system 350 may relay each communication. Depending on the embodiment, the terminal device communications may be similarly directed to a certain destination (e.g., in the connection management system 350) for further relaying, or the terminal devices may begin communicating directly with the corresponding network devices. These embodiments may facilitate efficient routing and thorough monitoring of communications.

[0068]

[0088] The embodiment shown in Figure 3C is similar to Figure 3B, however, in some embodiments, the connection management system 350 is directly connected to in-network components (e.g., terminal devices, in-network connections, etc.).

[0069]

[0089] It will be appreciated that many variations of Figures 3A-3C are contemplated. For example, the connection management system 350 may cooperate with a connectivity component (e.g., the inter-network connectivity component 245 or the intra-network connectivity component 255) such that an application corresponding to the connection management system 350 (or a portion thereof) is installed on the component. The application may, for example, operate independently or by communicating with one or more similar or complementary applications (e.g., running on one or more other components, network devices, or remote servers).

[0070]

[0090] Figure 4 shows a representation of a protocol stack mapping 400 of the operation of the connectivity components. More specifically, Figure 4 identifies the operational layers in the Open Systems Interaction (OSI) model that correspond to the various connectivity components.

[0071]

[0091] The OSI model may include multiple logical layers 402-414. The layers are arranged in an ordered stack such that layers 402-412 each respond to a service request of a higher level, and layers 404-414 each make a service request to a lower layer. The OSI model includes a physical layer 402. The physical layer 402 may define parameters of physical (e.g., electrical, optical, or electromagnetic) communications. The physical layer 402 also defines connection management protocols, such as protocols for establishing and releasing connections. The physical layer 402 may further define flow control protocols and transmission modes.

[0072]

[0092] The link layer 404 can manage inter-node communication. The link layer 404 can detect and correct errors (e.g., transmission errors in the physical layer 402) and manage access permissions. The link layer 404 can include a media access control (MAC) layer and a logical link control (LLC) layer.

[0073]

[0093] The network layer 406 can coordinate the transfer of (eg, variable length) data (eg, as datagrams) between nodes within the same network. The network layer 406 can translate logical network addresses into physical machine addresses.

[0074]

[0094] The transport layer 408 can manage the quality of transmission and reception. The transport layer 408 can provide a protocol for transferring data, such as the Transmission Control Protocol (TCP). The transport layer 408 can segment / reassemble segments of data packets for transmission, and can detect and account for transmission errors that occur in layers 402-406. The session layer 410 can initiate, maintain, and terminate connections between local and remote applications. Sessions may be used as part of remote procedure interactions. The presentation layer 412 can encrypt, decrypt, and format data based on the data types known to be accepted by the application or network layers.

[0075]

[0095] The application layer 414 may interact with software applications that control or manage communications. Through such applications, the application layer 414 may identify (for example) the destination, local resource status or availability, and / or communication content or format. The various layers 402-414 may perform other functions as available and applicable.

[0076]

[0096] The network connectivity components 422, 424 are shown as operating at the physical layer 402 and the link layer 404. More specifically, a hub may operate at the physical layer to allow it to control operations related to receiving and transmitting communications. A hub has little to no ability to operate at the higher level that a hub does, since it lacks the ability to handle communications or filter data. A switch, on the other hand, may operate at the link layer 404, since a switch can filter communication frames based on addresses (e.g., MAC addresses).

[0077]

[0097] In contrast, the interworking components 426, 428 are shown as operating at a higher level (e.g., layers 406-414). For example, a router can filter communication data packets based on address (e.g., IP address). Based on the address, a router can forward packets to a particular port to direct the packet to the appropriate network. Gateways operate at the network layer or above and perform similar filtering and steering, and can further transform the data (e.g., across protocols or architectures).

[0078]

[0098] The connection management system 450, in various embodiments, can interact with and / or operate at one or more, all, or any of the various layers. For example, the connection management system 450 can interact with a hub to dynamically adjust which end devices the hub communicates with. As another example, the connection management system 450 can communicate with a bridge, switch, router, or gateway to affect which end device a component selects as a destination (e.g., MAC, logical, or physical) address. As a further example, the connection management system 450 can monitor, control, or direct the segmentation of data packets at the transport layer 408, the session duration at the session layer 410, and / or the encryption and / or compression at the presentation layer 412. In some embodiments, the connection management system 450 can interact with various layers by exchanging communications (e.g., sending commands) with equipment operating on a particular layer (e.g., a switch operating on the link layer 404), by routing or modifying existing communications (e.g., between a network device and an end device) in a particular manner, and / or by generating new communications containing particular information (e.g., a new destination address) based on existing communications. In this manner, the connection management system 450 can affect communication routing and channel establishment (or maintenance or termination) through its interactions with various devices and / or through its affecting operation at various protocol stack layers.

[0079]

[0099] 5 illustrates a multi-device communication switching system 500 according to one embodiment. The system 500 includes a network device 505 configured to communicate with various types of terminal devices over various types of communication channels.

[0080]

[0100] In the illustrated case, the network device 505 may transmit a communication over a cellular network (e.g., via a base station 510). The communication may be routed to an operational network 515. The operational network 515 may include a connection management system 520 that receives the communication and identifies which terminal device responds to the communication. Such a determination may depend on identifying a client to which the communication pertains (e.g., based on content analysis or user input indicative of the client) and determining one or more indicators for each of the one or more terminal devices associated with the client. For example, in FIG. 5, each cluster of terminal devices 530a-530c may correspond to a different client. The terminal devices may be geographically co-located or distributed. The indicators may be determined based on stored or learned data and / or real-time monitoring (e.g., based on availability).

[0081]

[0101] The connection management system 520 can communicate with various terminal devices via one or more routers 525 or other inter- or intra-network connection components. The connection management system 520 may collect, analyze, and / or store data from or about the communications, terminal device operations, client rules, and / or user-related actions (e.g., online activity, account data, purchase history, etc.) in one or more data stores. Such data can affect the routing of the communications.

[0082]

[0102] In particular, various other devices may further be used to affect the routing and / or processing of communications. For example, in the illustrated case, the connection management system 520 is also connected to a web server 540. In this manner, the connection management system 520 may retrieve data of interest, such as technical details of products, news, current product offerings, current or forecast weather, and the like.

[0083]

[0103] The network device 505 may also be connected to web servers, including, for example, streaming web servers 545. In some cases, communications with such servers may be provided with an initial option to initiate a communications exchange with the connection management system 520. For example, the network device 505 may detect that a communications opportunity is available upon visiting a particular web page and may present such an option.

[0084]

[0104] One or more elements of the communication system 500 may also be connected to a social networking server 550. The social networking server 550 may aggregate data received from various user devices. Thus, for example, the connection management system 520 may predict a general (or user-specific) sentiment on a given topic, or for a given user or class of users.

[0085]

[0105] FIG. 6 illustrates a block diagram of one embodiment of the connection management system 600. A message receiving interface 605 can receive a message. In some cases, the message can be received as part of a communication sent by a source device, such as, for example, a network device or a terminal device (e.g., housed separately from the connection management system 600 or housed in the same housing). In some cases, the communication can be part of a series of communications or communication exchanges, which can include a series of messages or message exchanges routed between two devices (e.g., a network device and a terminal device). The messages or communication exchanges can be part of and / or define an interaction between the devices. The communication channel or active channel can include one or more protocols (e.g., a routing protocol, a task assignment protocol, and / or an addressing protocol) used to facilitate the routing and communication exchanges between the devices.

[0086]

[0106] In some cases, the message may include a message generated based on input received at a local or remote user interface. For example, the message may include a message generated based on a button or key press or a recorded audio signal. In one case, the message includes an automatically generated message, such as a message generated upon detecting that a network device has presented a particular app page or web page or provided a particular input command (e.g., a key sequence). The message may include an instruction or request, such as one that initiates a communication exchange.

[0087]

[0107] In some cases, the message may include or be associated with an identifier of the client. For example, the message may explicitly identify the client (or a device associated with the client), the message may include or be associated with a web page or app page associated with the client, the message may include or be associated with a destination address associated with the client, or the message may include or be associated with an identification of an item (e.g., a product) or service (e.g., a service that the client is offering for sale, that the client is selling, or that the client provides a service) associated with the client. As an example, the network device may present an app page for a particular client, which may provide an option to send the communication to an agent. Upon receiving user input corresponding to the message, a communication may be generated to include the message and an identifier of the particular client.

[0088]

[0108] The processing engine 610 may process received communications and / or messages. Processing may include, for example, extraction of one or more particular data elements (e.g., a message, a client identifier, a network device identifier, an account identifier, etc.). Processing may include conversion of a format or communication type (e.g., to be compatible with a particular device type, operating system, communication channel type, protocol, and / or network).

[0089]

[0109] The message rating engine 615 may rate a message (e.g., extracted or received). The rating may include, for example, identifying one or more categories or tags for the message. Examples of category or tag types may include (for example) topic, sentiment, complexity, and urgency. The difference between categorizing and tagging a message is that a category may be restricted (e.g., according to a predefined set of category options), while a tag may be open. Topics may include, for example, products, services, technical issues, usage questions, complaints, refund requests, or purchase requests. The category or tag may be determined based on, for example, semantic analysis of the message (e.g., by identifying keywords, sentence structure, repeated words, punctuation characters, and / or non-article words), user input (e.g., selecting one or more categories), and / or message-related statistics (e.g., typing speed and / or response delay).

[0090]

[0110] In some cases, the message rating engine 615 can determine metrics for the message. The metrics may include, for example, the number of characters, words, capital letters, all capital letters, or instances of particular characters or punctuation marks (e.g., exclamation marks, question marks, and / or full stops). The metrics may include ratios such as the percentage of sentences that end with an exclamation mark (or question mark), the percentage of words that are capitalized, etc.

[0091]

[0111] The message rating engine 615 can store the messages, message metrics, and / or message statistics in the message data store 620. Each message can also be stored in association with other data (e.g., metadata, such as data identifying the corresponding source device, destination device, network device, terminal device, client, one or more categories, one or more stages, and / or message-related statistics). Various components of the connection management system 600 (e.g., the message rating engine 615 and / or the interaction management engine 625) can query the message data store 620 to retrieve query response messages, message metrics, and / or message statistics.

[0092]

[0112] The interaction management engine 625 can determine which device to route a communication to and how to communicate between the receiving device and the transmitting device. Each of these decisions can depend, for example, on whether a particular network device (or any network device associated with a particular user) has previously communicated with a terminal device in the set of terminal devices (e.g., any terminal device associated with the connection management system 600 or any terminal device associated with one or more particular clients).

[0093]

[0113] In some cases, if a network device (or other network devices associated with a valid user or account) has previously communicated with a given terminal device (e.g., regarding client-related matters), communication routing may generally be biased toward the same terminal device. Other factors that may affect routing may include, for example, estimated or identified user or agent sentiment regarding the previous communication, the topic of the current communication (e.g., to the extent to which the topic of the current communication is related to the topic of the previous communication and / or to a knowledge base associated with one or more terminal devices or agents), whether the terminal device (or corresponding agent) is available, and / or the predicted response delay of the terminal device. Such factors may be considered as similar indicators corresponding to other terminal devices, either in absolute or relative terms. Rerouting rules (e.g., client-specific or general rules) may indicate how to evaluate and weight such factors to determine whether to precede the consistency of the agent.

[0094]

[0114] If the network device (or other network devices associated with the same user or account) has not previously communicated with a given terminal device (e.g., regarding matters related to the client), terminal device selection may be based on factors such as, for example, the extent to which the knowledge bases of various agents correspond to the communication topic, the availability of various agents at a given time and / or channel type, the type and / or capabilities of the terminal device (e.g., associated with the client), the language match between the user and the agent, and / or personality analysis. In one case, the rules may identify how to determine sub-scores for one or more factors such as these and the weights to assign to each score. The weighted sub-scores may be combined (e.g., added together) to determine a score for each agent. Terminal device selection may then be made by comparing the scores of the terminal devices (e.g., to select the high or highest score).

[0095]

[0115] With regard to determining how the devices communicate, the interaction management engine 625 can determine whether the terminal device responds to the communication via (for example) email, online chat, SMS message, voice call, video chat, etc. The communication type can be selected based, for example, on a communication type priority list (e.g., defined at least in part by the client or user), the type of communication previously received from the network device (e.g., to promote consistency), the complexity of the received message, the capabilities of the network device, and / or the availability of one or more terminal devices. Clearly, some communication types will be real-time communications (e.g., where a quick message response is expected), while others will be asynchronous communications (e.g., where a delay between messages (e.g., minutes or hours) is acceptable).

[0096]

[0116] Additionally, the interaction management engine 625 can determine whether to establish, use, or terminate a continuous channel between two devices. A continuous channel can be configured to facilitate routing of future communications from a network device to a specified terminal device. This bias can persist over a series of messages (e.g., days, weeks, or months). In some cases, a representation of the continuous channel (e.g., identifying the agent) can be included in a presentation presented on the network device. In this way, a user can understand that communications are being consistently routed to increase efficiency.

[0097]

[0117] In one case, a score can be generated using one or more factors and rules (e.g., including respective weights of the one or more factors) described herein to determine a connection score corresponding to a given network device and terminal device. The score can relate to a given communication or set of communications overall or to a unique match. Thus, for example, the score can reflect the degree to which a given terminal device is predicted to be suitable to respond to a network device communication. In some cases, score analysis can be used to identify each of the terminal devices for routing a given communication and whether to establish, use, or terminate a connection channel. When score analysis is used to address both routing and channel decisions, the scores associated with each decision can be determined in the same, similar, or different manners.

[0098]

[0118] Thus, it will be appreciated that, for example, different factors may be considered depending on whether the score is predictive of some long-term match or responsive to a particular message query. For example, in the former case, overall schedule and time zone considerations may be important, whereas in the latter case, immediate availability may be weighted more heavily. A score may be determined for a single network device / terminal device combination, or multiple scores may be determined, each of which characterizes a match between a given network device and a different terminal device.

[0099]

[0119] As an example, a set of three terminal devices associated with a client can be evaluated for potential communication routing. A score can be generated for each associated with a match for a particular communication. Each of the first two terminal devices can have previously communicated with the network device that sent the communication. Input from the network device can indicate satisfaction with the interaction with the communication(s) with the first device. Thus, the past interaction subscores (calculated according to the rules) for the first, second and third devices can be 10, 5 and 0, respectively. (A negative satisfaction input can result in a negative subscore.) It can be determined that only the third terminal device is immediately available. The second terminal device may be expected to be available for response within 15 minutes, while the first terminal device may not be available for response until the next day. Thus, the fast response subscores for the first, second and third devices can be 1, 3 and 10. Finally, the extent to which an agent (associated with the terminal device) knows about the topic in the communication can be predicted. The agent associated with the third terminal device may be determined to be more knowledgeable than the agents associated with the other two devices, resulting in sub-scores of 3, 4, and 9. In this example, the rules do not include weighting or normalization parameters (although in other cases they may), resulting in scores of 14, 11, and 19. Thus, the rules may indicate that the message is to be routed to the device with the highest score, i.e., the third terminal device. If routing to a particular terminal device is unsuccessful, the message may be routed to the device with the next highest score, and so on.

[0100]

[0120] The score may be compared to one or more absolute or relative thresholds. For example, the scores for a set of terminal devices may be compared to one another to identify high scores to select terminal devices to which the communication may be routed. As another example, the score (e.g., high score) may be compared to one or more absolute thresholds to determine whether to establish a continuous channel with a terminal device. The overall threshold for establishing a continuous channel may be (but is not required to be) higher than the threshold for consistently routing a communication in a given series of messages. This difference between the overall threshold and the threshold for determining whether to consistently route a communication is due to the importance of a strong match in the context of a continuous channel where channel utilization is expanding. In some embodiments, the overall threshold for using a continuous channel may be (but is not required to be) lower than the threshold for establishing a continuous channel and / or the threshold for consistently routing a communication in a given series of messages.

[0101]

[0121] The interaction management engine 625 can interact with the account engine 630 in various situations. For example, the account engine 630 may look up a network device or terminal device identifier in the account data store 635 to identify an account corresponding to the device. Additionally, the account engine 630 can maintain data regarding previous communication exchanges (e.g., time, other device(s) involved, channel type, resolution stage, topic(s), and / or associated client identifiers), connection channels (e.g., indicating, for each of one or more clients, whether any channels exist, the terminal device associated with each channel, the establishment time, frequency of use, date of last use, any channel constraints and / or types of communication supported), user or agent preferences or constraints (e.g., relating to terminal device selection, response delay, terminal device consistency, agent expertise and / or communication type preferences or constraints), and / or user or agent characteristics (e.g., age, spoken or preferred language(s), geographic location, interests, etc.).

[0102]

[0122] Additionally, the interaction management engine 625 may notify the account engine 630 of various connection channel actions so that the account data store 635 can be updated to reflect current channel data. For example, upon establishing a channel, the interaction management engine 625 may notify the account engine 630 of the establishment and identify one or more of a network device, a terminal device, an account, and a client. The account engine 630 may then (in some cases) notify the user of the existence of the channel so that the user can be aware that agent consistency has been achieved.

[0103]

[0123] The interaction management engine 625 can further interact with a client mapping engine 640, which can map the communication to one or more clients (and / or associated brands). In some cases, the communication received from the network device itself includes an identifier corresponding to the client (e.g., an identifier for the client, product, service, web page, or app page). The identifier can be included as part of the message (e.g., which the client mapping engine 640 can detect) or can be included as other data in the communication that includes the message. The client mapping engine 640 can then look up the identifier in a client data store 645 to retrieve additional data regarding the client and / or the client's identifier.

[0104]

[0124] In some cases, the message may not specifically address any client. For example, the message may include a general query. The client mapping engine 640 may, for example, perform semantic analysis on the message to identify one or more keywords and identify one or more clients associated with the keyword(s). In some cases, a single client is identified. In some cases, multiple clients are identified. The identification of each client is then presented via the network device to allow a user (e.g., via an associated terminal device) to select a client with which to communicate.

[0105]

[0125] The client data store 645 may include identification information of one or more terminal devices (and / or agents) associated with the clients. The terminal routing engine 650 may retrieve or collect data regarding each of one or more or all such terminal devices (and / or agents) to affect routing decisions. For example, the terminal routing engine 650 may maintain a terminal data store 655, which may store information such as the device type, operating system, communication type capabilities, installed application accessories, geographic location and / or identifiers (e.g., IP addresses) of the terminal devices. The information may also include agent information such as experience level, position, skill level, knowledge base (e.g., the topics the agent knows and / or level of knowledge about various topics), personality indicators, working hours, language(s) spoken and / or demographic information. Some information may be dynamically updated. For example, information indicating whether a terminal device is available may be dynamically updated based on (for example) communications from the terminal device (e.g., identifying whether the device is asleep, powered on or off, idle or active, or identifying whether input has been received within a certain period of time), communications routing (e.g., indicating whether the terminal device is included in or assigned to be part of a communications exchange), or communications from a network device or the terminal device indicating that a communications exchange has finished or started.

[0106]

[0126] It will be appreciated that in various circumstances, involvement in one or more communication exchanges does not necessarily indicate that a terminal device is unavailable for involvement in another communication exchange. Various factors, such as communication type (e.g., message, email, chat, phone), client-specified or user-specified target response times, and / or system load (e.g., general or user-related), may affect how many exchanges a terminal device may be involved in.

[0107]

[0127] If interaction management engine 625 identifies a terminal device as being included in a communication exchange or connection channel, interaction management engine 625 can notify terminal routing engine 650, which can retrieve any relevant data about the terminal device from terminal data store 655, such as destination (e.g., IP) address, device type, protocol, etc. Processing engine 610 can then (in some cases) modify the communication, including the message, or generate a new communication (including the message) to have a particular format, conform to a particular protocol, etc. In some cases, the new or modified message can include additional data, such as account data, message records, and / or client data corresponding to the network device.

[0108]

[0128] The message transmission interface 660 can then transmit the communication to a terminal device. The transmission may include, for example, a wired or wireless transmission to a device contained in a separate housing. The terminal device may include a terminal device of the same or a different network (e.g., a local area network) as the connection management system 600. Thus, transmitting the communication to a terminal device may include transmitting the communication to an inter-network or intra-network connection component.

[0109]

[0129] 7 is a schematic diagram illustrating a web page accessing environment 700 in which user devices 702, 704, 706 can access a web page 720. In some embodiments, the systems and methods disclosed herein can be used on a web page accessing environment 700 housed on a single computing device (e.g., a computer accessing a website hosted on the computer itself). More generally, the web page accessing environment 700 can include multiple computing devices and will be described in this context below.

[0110]

[0130] The user devices 702, 704, 706 may include a first type mobile phone 702, a second type mobile phone 704, and a desktop computer 706. Other user devices that can access a web page, such as a home game console, a laptop, a tablet computer, and any other device that can access and / or load a web page, may also be used. The user devices 702, 704, 706 may access the web page 720 through the cloud 708 (e.g., by entering a uniform resource locator (URL) or Internet Protocol (IP) address). The cloud 708 may be any network of computers, including a local area network (LAN) or a wide area network (WAN). In some embodiments, the cloud 708 is the Internet.

[0111]

[0131] The web page 720 can be stored on the web server 710. The web page 720 can include HTML elements as well as web code (e.g., JavaScript tags). In some embodiments, the web page 720 can include static tags 726. The static tags 726 can include instructions that, when executed by the user device 702, 704, 706 while loading the web page 720, cause the user device 702, 704, 706 to inject dynamic code 722 from the code server 712 into the web page 720 and execute at least a portion of the dynamic code 722. The code server 712 can be a separate computer accessible via the cloud 708, or the code server 712 can be the same computer as the web server 710. The dynamic code 722 can include available code 750, which can include several web codes 736, 738, 740. The first web code 736 can include the programming necessary to present a first web application 742, the second web code 738 can include the programming necessary to present a second web application 744, and the third web code 740 can include the programming necessary to present a third web application 746. Other numbers of web codes 736, 738, 740 can also be used. Each web application 742, 744, 746 can represent a different version of a single web application, such as a version made specifically for the first mobile device 702, a version made specifically for the second mobile device 704, and a version made specifically for the third mobile device 706.

[0112]

[0132] In some embodiments, the static tag 726 may include code that, when executed by the user device 702, 704, 706, causes the user device 702, 704, 706 to access factors. As described above, the factors may be based on user device specific attributes 714, 716, 718 or content from a web page 720. The static tag 726 may also include one or more rules that, when executed by the user device 702, 704, 706, causes the user device to select a desired web code 736, 738, 740 from the available codes 750.

[0113]

[0133] In some embodiments, the dynamic code 722 includes code that, when executed by the user device 702, 704, 706, causes the user device 702, 704, 706 to access the factors. The dynamic code 722 may also optionally include one or more rules that, when executed by the user device 702, 704, 706, causes the user device to select a desired web code 736, 738, 740 from the available codes 750.

[0114]

[0134] In some embodiments, the static tag 726 may include code that, when executed by the user device 702, 704, 706, causes the user device 702, 704, 706 to access the factor and transmit the factor to the code server 712. In such embodiments, the code server 712 can evaluate one or more rules 724 based on the factor to determine which available code 750 should be executed by a user device accessing a web page. Based on the evaluation of the one or more rules 724, the code server 712 can transmit (e.g., inject) the dynamic code 722 that includes only the desired web code.

[0115]

[0135] In each embodiment, the user device 702, 704, 706 executes only the desired web code and does not execute any other available code 750 that is not evaluated as desirable. For example, when the first type mobile phone 702 accesses and loads the web page 720, the first type mobile phone 702 can execute code (e.g., in the static tag 726 or in the dynamic code 722) that gives the first type mobile phone 702 access to the user device specific attributes 714 that are specific to the first type mobile phone 702. In accordance with any of the methods disclosed herein, the rules (e.g., rules 724 or rules 752) can be evaluated (e.g., by the first type mobile phone 702 or the code server 712) to determine that the web code 738 should be executed on the first type mobile phone 702 to present a first web application 742 that is specifically designed for the first type mobile phone 702. The first type mobile phone 702 can execute the desired web code 738 and present the first web application 742 to the user.

[0116]

[0136] When a second type mobile phone 704 accesses and loads the same web page 720, the second type mobile phone 704 executes code (e.g., in static tags 726 or in dynamic code 722) that gives the second type mobile phone 704 access to user device specific attributes 716 that are specific to the second type mobile phone 704. The rules can be evaluated to determine that web code 740 should be executed on the second type mobile phone 704 to present a second web application 744 that is specifically designed for the second type mobile phone 704. The second type mobile phone 704 can execute the desired web code 740 and present the second web application 744 to the user.

[0117]

[0137] When the desktop computer 706 accesses and loads the same web page 720, the desktop computer executes code (e.g., in static tags 726 or in dynamic code 722) that gives the desktop computer 706 access to user device specific attributes 718 that are unique to the desktop computer 706. The rules can be evaluated to determine that web code 740 should be executed on the desktop computer 706 to present a third web application 746 that is specifically designed for the desktop computer 706. The desktop computer 706 can execute the desired web code 740 and present the third web application 746 to the user.

[0118]

[0138] In an alternative embodiment, the web page 720 may optionally include available code 748 consisting of web code 728, 730, 732, and rules 734. In such an embodiment, neither the code server 712 nor code injection may be required. The web code 728, 730, 732 may be associated with first, second and third web applications 742, 744, 746, respectively. As described above, the user devices 702, 704, 706 may execute code embedded within the web page 720 to evaluate 734 the rules and determine which web code 728, 730, 732 of the available code 748 is desirable for each particular user device 702, 704, 706.

[0119]

[0139] As discussed above, the factor evaluated by a rule (e.g., rule 734, rule 752, or rule 724) may be based on the content of the web page 720. In one example, the second type mobile phone 704 may access the web page 720 via a web server 710, which includes a static tag 726 that causes the dynamic code 722 to be injected. The accessed factor may also be the content of the web page 720, which, when used in the evaluation of the rule (e.g., rule 752 or rule 724), causes the second type mobile phone 704 to execute the desired web code 738 associated with the second web application 744. For example, the web page 720 may include content that disables pinch-to-zoom functionality, and the second web application 744 may be specifically designed for websites that disable pinch-to-zoom functionality. In the same example, the second type mobile phone 704 may instead access an alternative web page 754, which may be located on the web server 710 or another web server. The alternative web page 754 may include the same static tags 726 used on the web page 720. However, the alternative web page 754 may not have pinch-to-zoom disabled content or may include pinch-to-zoom enabled content. When a rule (e.g., rule 752 or rule 724) is evaluated based on the same factors, the rule may instead determine that different web code associated with a different web application is desired for the web page 754. In such a case, the second type mobile phone 704 presents the different web application rather than the web application 744. In other words, web page 754 and web page 720 can be identical except for a single piece of content (e.g., a tag that disables pinch-to-zoom functionality), and the same user device 702, 704, 706 accessing each web page 754, 720 can execute different web code 736, 738, 740, resulting in the user being presented with different web applications 742, 744, 746 depending on which web page 754, 720 is accessed.

[0120]

[0140] 8 is a flow diagram illustrating a method 800 of loading a web page including available code, according to certain embodiments of the present disclosure. At block 802, a user device accesses a web page. The user device may begin loading the web page. At block 804, the user device may access factors such as user device specific attributes or elements of the content of the web page. At block 806, the user device may select a desired web code to execute from the available code, which may include evaluating rules at block 808. Evaluating the rules at block 808 may be based on the factors accessed at block 804. At block 810, the user device executes the desired web code.

[0121]

[0141] FIG. 9 is a flow diagram illustrating a method 900 of loading a web page including static tags, according to certain implementations of the present disclosure. At block 902, a user device accesses a web page. The user device may begin loading the web page. At block 904, the user device may execute a static tag, which causes dynamic code to be injected at block 906. At block 908, the user device may access factors, such as user device specific attributes or elements of the content of the web page. In some embodiments, accessing the factors at block 908 may occur prior to injecting the dynamic code at block 906. At block 910, the user device may select a desired web code to execute, which may include evaluating a rule at block 912. Evaluating the rule at block 912 may be based on the factors accessed at block 908. At block 914, the user device executes the desired web code.

[0122]

[0142] FIG. 10 is a flow diagram illustrating a method 1000 of loading a web page with code management at a code server according to certain embodiments of the present disclosure. At block 1002, a user device accesses a web page. The user device can begin to load the web page. At block 1004, the user device can execute a static tag that causes the user device to access factors at block 1006 and transmit the factors to the code server at block 1008. In some embodiments, accessing the factors at block 1006 can occur before executing the static tag at block 1004. At block 1010, the code server can select desired web code to execute, which can include evaluating rules at block 1012. Evaluating the rules at block 1012 can be based on the factors accessed at block 1006 and transmitted at block 1008. At block 1014, dynamic code from the code server is injected into the loaded web page. The dynamic code can include only desired web code (e.g., no undesired web code). At block 1016, the user device executes the desired web code by executing the injected dynamic code.

[0123]

[0143] 11 is a depiction of a smartphone 1102 displaying a web page 1106, according to certain implementations of the present disclosure. In loading the web page 1106, the smartphone 1102 is executing web code that encodes a web application 1104 that is present as part of the web page 1106. As discussed above, the web application 1104 may be selected based on certain factors, such as factors that indicate that the smartphone 1102 is a smartphone mobile device.

[0124]

[0144] FIG. 12 is a depiction of the smartphone 1102 of FIG. 11 displaying a web application 1104 in accordance with certain embodiments of the present disclosure.

[0125]

[0145] Figure 13 is a depiction of a tablet 1302 displaying the web page 1106 from Figure 11 in accordance with certain embodiments of the present disclosure. In loading the web page 1106, the tablet 1302 is executing web code that encodes a web application 1304 that is present as part of the web page 1106. The web page 1106 is the same web page 1106 from Figure 11, but the web code executed by the tablet 1302 is different than the web code executed by the smartphone 1102. As discussed above, the web application 1304 may be selected based on certain factors, such as factors that indicate that the tablet 1302 is a tablet mobile device.

[0126]

[0146] FIG. 14 is a depiction of the tablet 1302 of FIG. 13 displaying a web application 1304 in accordance with certain embodiments of the present disclosure.

[0127]

[0147] Figure 15 is a depiction of a desktop web browser 1502 displaying the web page 1106 from Figure 11, in accordance with certain embodiments of the present disclosure. In loading the web page 1106, the desktop web browser 1502 is executing web code that encodes a web application 1504 that is present as part of the web page 1106. The web page 1106 is the same web page 1106 from Figure 11, but the web code executed by the desktop web browser 1502 is different than the web code executed by the smartphone 1102. As discussed above, the web application 1504 may be selected based on certain factors, such as factors that indicate that the desktop web browser 1502 is a browser running on a desktop computing device.

[0128]

[0148] 16 is a flow diagram illustrating a process 1600 for presenting an interaction window according to certain implementations of the present disclosure. The process 1600 may be performed in part or in whole by a network device (e.g., a computer, a smartphone, a tablet, etc.), such as, for example, the client device 130, the user device 702, 704, 706, or other suitable device described herein.

[0129]

[0149] At block 1605, a web page may be accessed. Accessing the web page may include requesting the web page from a remote server (e.g., remote server 140 of FIG. 1). Accessing the web page may include receiving code for the web page. The web page may include executable code to load and run an application on a network device and may include code for presenting an interaction window. In some cases, the web page may include code that, when executed, downloads code to load and run the application. The interaction window may be any interface through which a user interacts with an application. For example, for some communication applications, the interaction window may include or be a chat interface having a chat history element (e.g., a collection of one or more past messages between a user and an agent) and a chat input element (e.g., a text box for receiving input from a user that can be used to send a message to an agent). In some cases, the interaction window is not presented initially (e.g., upon loading of the website and / or application), but only after receiving certain input (e.g., after a user presses an engagement button).

[0130]

[0150] At block 1610, original display settings (e.g., website factors) of the webpage are determined. The original display settings may include various information about how the webpage is presented on the network device. For example, the original display settings may include the size, shape, and location of various elements of the webpage, whether the webpage can be zoomed (e.g., "pinch to zoom" interactions), the colors used on the webpage, or other configurable display preferences. The original display settings may be determined by detecting the presence or absence of specific code in the webpage itself or any linked content (e.g., style sheets). For example, the original display settings may include information that the webpage is displayed with "pinch to zoom" interactions available, which may be determined by reading the viewport tag of the webpage.

[0131]

[0151] At block 1615, the original display configuration is saved. The original display configuration may be saved in memory of the network device. At block 1620, the web page may be presented using the original display configuration. For example, for a website that has enabled "pinch to zoom" interaction with a particular viewport tag, the website may be presented on the network device such that the user can perform "pinch to zoom" interaction.

[0132]

[0152] At block 1625, the display capabilities of the network device (e.g., factors of the network device) may be determined. The display capabilities may include the physical size and / or resolution of the display of the network device. The display capabilities may include any suitable capabilities for the network device to display content, such as other display devices connected to the network device, the ability of the display of the network device to display color, or other capabilities. In one example, a tablet device may have a certain resolution and a smartphone device may have a lower resolution. As determined at block 1625, the display capabilities of the tablet device may include the certain resolution, while the display capabilities of the smartphone device may include the certain lower resolution.

[0133]

[0153] In some embodiments, determining the display capabilities of the device may include querying the device for its display capabilities. In some embodiments, determining the display capabilities of the device may include determining the make or type of the device and accessing an internally or remotely accessible database that contains display capability information searchable by device make or type. For example, process 1600 may determine that the device on which process 1600 is running is a particular model of smartphone. Process 1600 may then access a database (e.g., available via the Internet) that contains capability information for many models of smartphones, including the particular model of interest.

[0134]

[0154] At block 1630, a new display setting is determined using the display capabilities of the network device. The new display setting is the display setting used to present the application's interaction windows (e.g., chat windows). The new display setting may be based on the display capabilities, such as the resolution of the display, of the network device. The new display setting may include code to disable "pinch to zoom" interactions or otherwise place the website in a non-zoomable state. For example, the new display setting may include code to set a viewport tag to place the website in a non-zoomable state.

[0135]

[0155] At block 1635, the interaction window is presented with the new display settings. The interaction window may be presented, such as by loading and / or displaying the interaction window as part of an HTML tag, such as a Canvas tag, although the interaction window may be loaded and / or displayed in other manners. When the interaction window is presented, the current display settings may be replaced or changed by the new display settings. For example, when the interaction window is presented at block 1635, the new display settings may be used to inhibit zooming on the loaded website, thereby preventing zooming of the interaction window itself. In other words, at block 1635, the viewport of the website is dynamically changed to inhibit zooming when the interaction window is presented.

[0136]

[0156] Using the new display settings and / or resolution information from the determined display capabilities, elements of the interaction window can be dimensioned (e.g., sized). In particular, elements of the interaction window can be sized such that zooming is not required. Additionally, any text or images in the interaction window can be appropriately sized to eliminate the need for zooming.

[0137]

[0157] In block 1640, the interaction window can be hidden or closed. If hidden, the same interaction window can be presented again. If closed, the interaction window is unloaded from memory or the data presented in the interaction window is cleared from memory.

[0138]

[0158] In block 1645, the current display settings of the web page are restored to the original display settings saved in block 1615. In some embodiments, the original display settings are not saved in block 1615, and instead the current display settings are restored to the default display settings. In some embodiments, block 1645 is performed if the interaction window is hidden or closed in block 1640.

[0139]

[0159] As a result of the process 1600, a web page with an application having an interaction window (e.g., a chat window) loaded on several different network devices (e.g., a tablet, a smartphone, and a desktop computer) may first be presented as a normal web page that may be zoomable on some devices, but zooming may be prohibited while the interaction window is open. For example, when accessing the same web page, a desktop user may not need to zoom the website while viewing the website or the interaction window, a tablet user may need to zoom the website occasionally, but while the interaction window is open, the user is prohibited from zooming the interaction window so that the interaction window can be displayed at an appropriate size for the tablet's display, and a smartphone user may need to zoom the website often, but while the interaction window is open, the smartphone user is prohibited from zooming the interaction window so that the interaction window can be displayed at an appropriate size for the smartphone's display.

[0140]

[0160] In some embodiments, instructions for performing or enabling the performance of any combination of one or more of blocks 1610, 1615, 1620, 1625, 1630, 1635, 1640, and 1645 may be included in code of a web page, such as in code of an application. In some embodiments, instructions for performing or enabling the performance of any combination of one or more of blocks 1610, 1615, 1620, 1625, 1630, 1635, 1640, and 1645 may be included in code linked by a web page, such as linked by code of an application. In some embodiments, instructions for performing any combination of one or more blocks of process 1600 may be included in code stored on a network device (e.g., in a web browser, in a separate application, or in an add-on to a web browser or a separate application).

[0141]

[0161] 17 is a schematic diagram illustrating a smartphone 1702 accessing a web page 1708 at a first zoom level, according to a particular implementation of the present embodiment. The smartphone 1702 may include a display 1704 that may be used to display the web page 1708. The web page 1708 is shown as having content 1710, such as text. The web page 1708 may include an application for presenting a chat window. Once the web page 1708 is loaded, the web page may present a clickable button 1706 that may be used to open a chat window on demand and initiate communication with the terminal device.

[0142]

[0162] FIG. 18 is a schematic diagram illustrating the smartphone 1702 of FIG. 17 accessing a web page 1708 at a second zoom level, according to a particular implementation of the present embodiment. The second zoom level may be achieved by performing a zoom interaction (e.g., a "pinch to zoom" interaction, a scroll wheel, or other suitable interaction for zooming in or out). At the second zoom level, the content 1710 of the web page 1708 increases in size, which may allow a user to read or interpret the content 1710 more easily. The web page 1708 may have display settings that specifically allow zoom interaction, or the display settings of the web page 1708 may not specifically prohibit zoom interaction, and the web browser installed on the smartphone 1702 may enable zoom interaction by default.

[0143]

[0163] 19 is a schematic diagram illustrating the smartphone 1702 of FIG. 17 presenting an interaction window 1902 according to a particular implementation of the present embodiment. The interaction window 1902 is a chat window of FIG. 19, but may otherwise be any other type of interaction window. The interaction window 1902 may include several elements, including a chat history element 1906, a chat input element 1908, and a send button 1910. The interaction window 1902 may also include a button 1904 for closing and / or hiding the chat window and returning to the underlying web page 1708. The interaction window 1902 may be displayed as an opaque or transparent window on the web page 1708.

[0144]

[0164] The elements of the interaction window 1902 can be sized to completely or nearly occupy the available space of the display 1704 (e.g., the space typically used by a web page 1708, which may include all of the display 1704 or a portion of the display 1704). The sizing and location of the elements of the interaction window 1902 is sometimes known as the interaction window layout. The interaction window layout can be determined based on the capabilities of the display 1704 (e.g., the display capabilities determined in block 1625 of FIG. 16). The interaction window layout can be implemented based on the size and / or resolution of the display 1704 to allow access to all elements of the interaction window without zooming. The interaction window layout can include text size, font selection, and other factors that can enhance the readability of the content in the interaction window 1902 without zooming.

[0145]

[0165] While the interaction window 1902 is displayed, all zoom interactions may be disabled, preventing the user from zooming in or out on elements of the chat window. Zoom interactions can be disabled using the process 1600 of FIG. 16, such as by temporarily modifying the display settings (e.g., viewport settings) of the web page to not allow zoom interactions while the interaction window 1902 is displayed. Closing or hiding the interaction window 1902, such as by touching button 1904, can revert the current display settings to the original or default display settings and re-enable zoom interactions.

[0146]

[0166] The systems, methods and computer program products described herein for presenting a non-zoomable interaction window as part of a zoomable website can be used with any of the other implementations disclosed herein, such as providing communication between a user and an agent as described herein. The interaction window can be presented on a network device, a terminal device or a client device. In some embodiments, the display capabilities determined in process 1600 can be used by a connection management system or a terminal device to provide enhanced communication between the terminal device and the network device.

[0147]

[0167] 20 is a schematic diagram illustrating a dynamic native application environment 2000 in which user devices 2002, 2004, 2006 can access and execute native applications 2020, in accordance with certain implementations of the present disclosure. The native applications 2020 can be common (e.g., device independent) across all user devices 2002, 2004, 2006, but different versions of the native applications 2020 can be deployed depending on the type of device (e.g., depending on the operating system of the device). However, different native applications 2020 based on the type of device (e.g., based on the operating system) can include substantially the same methods, subroutines, processes, or other components, with only differences to effectuate execution of the same methods, subroutines, processes, or other components on different types of devices.

[0148]

[0168] The user devices 2002, 2004, 2006 may include a first type mobile phone 2002, a second type mobile phone 2004, and a desktop computer 2006. Other user devices capable of running native applications may also be used, such as game consoles, laptops, tablet computers, and wearable devices (e.g., smart watches). The user devices 2002, 2004, 2006 may run the native application 2020 directly from the memory of that particular user device 2002, 2004, 2006. In some cases, the native application 2020 may be accessed through the cloud 2008.

[0149]

[0169] The cloud 2008 can be any network of computers, including a local area network (LAN) or a wide area network (WAN). In some embodiments, the cloud 2008 is the Internet.

[0150]

[0170] The native application 2020 may include static tags 2026. The static tags 2026 may be any segment of code that, when executed, causes the user device 2002, 2004, 2006 to access factors. The factors may be device specific attributes 2014, 2016, 2018 or content from the native application 2020. For example, the device specific attributes 2014, 2016, 2018 may relate to the screen size of the device, whether the device has a high speed Internet connection, whether the device has a camera, the CPU speed of the device, the model number of the device, or other suitable factors. An example of a portion of the content from the native application 2020 may be the title of the native application 2020, an identifier for the company that issues the native application 2020, a client identifier associated with the native application 2020, a particular portion of the native application 2020 that the user accessed (e.g., if the user opened a particular page or accessed a particular function of the native application 2020), or other such information.

[0151]

[0171] In some cases, the native application 2020 may include available code 2048 consisting of code segments 2028, 2030, 2032. As described herein, in response to instructions received from the dynamic code server 2012, the native application 2020 may be directed to execute one or more of the code segments 2028, 2030, 2032 of the available code 2048. However, without instructions from the dynamic code server 2012, the native application 2020 may not execute one or more of the code segments 2028, 2030, 2032 of the available code 2048.

[0152]

[0172] In some cases, the native application 2020 may include rules 2034. In some cases, the native application 2020 can apply the rules 2034 to factors to determine one or more of the code segments 2028, 2030, 2032 of the available code 2048 to execute without receiving instructions from the dynamic code server 2012. In some cases, the native application 2020 can apply the rules 2034 to instructions from the dynamic code server 2012 to determine one or more of the code segments 2028, 2030, 2032 of the available code 2048 to execute. In some cases, the native application 2020 does not have rules 2034 related to determining the execution of any of the available code 2048.

[0153]

[0173] The native application 2020 can send the factors (e.g., via static tags 2026) via the cloud 2008 to the dynamic code server 2012 (e.g., a remote server). Upon receiving the factors, the dynamic code server 2012 can access the rules 2024 and apply the rules 2024 to the factors to evaluate how the native application 2020 should operate. In some cases, the dynamic code server 2012 generates instructions based on the application of the rules 2024 and sends the instructions to the user devices 2002, 2004, 2006 which, when received, are executed by the native application 2020 to cause one or more of the code segments 2028, 2030, 2032 of the available code 2048 to be executed. In this manner, the dynamic code server 2012 provides the user devices 2002, 2004, 2006 with a decision as to which segment of code to execute.

[0154]

[0174] In some cases, the dynamic code server 2012 can provide the user device 2002, 2004, 2006 with actual code (e.g., code injection), rather than simply a decision as to which code to execute. For example, after applying the rules 2024 to the factors, the dynamic code server may access the code bank 2022 to select one or more of the code segments 2036, 2038, 2040 of the available code 2050 in the code bank 2022. The dynamic code server can then send one or more of the code segments 2036, 2038, 2040, as instructions, to the user device 2002, 2004, 2006, which can be executed by the native application 2020. In such an example, the native application 2020 may or may not include the available code 2048.

[0155]

[0175] In some cases, the instructions (e.g., decisions or code to execute) from the dynamic code server 2012 may include instructions to modify data stored (e.g., stored in memory of the user device 2002, 2004, 2006) regarding the native application 2020. For example, if an application publisher desires that a feature of the application be available only after a particular event (e.g., after the feature is published), the publisher may code the feature into the application, but may deny or otherwise disallow access to the feature whenever the application is executed by instructions from the dynamic code server 2012 and / or rules 2034 in the application itself (e.g., a "never allow access" rule). In some cases, the publisher may not know the exact date of publication when coding the rules 2034 into the application itself. As described herein, the publisher may update the rules 2024 of the dynamic code server 2012 once a particular event has occurred or once the date on which a particular event will occur (e.g., November 7, 2016) is known. As a result, the next time the dynamic code server 2012 sends instructions to the user devices 2002, 2004, 2006, the instructions may include updates to the rules 2034 (e.g., a rule that reads "allow access after November 7, 2016"). Thus, even if the native application 2020 cannot access the dynamic code server 2012 on December 8, 2016 (e.g., due to lack of Internet connectivity), the updated rules 2034 in the native application 2020 may apply the updated rules 2034 to allow access to the functionality. Similarly, the dynamic code server 2012 may be used to update the available code 2048 in the native application 2020. Any updates to the native application 2020 may be made by updating the native application itself or by updating data files associated with or accessible to the native application 2020 (e.g., data files stored in other memory accessible to the device).

[0156]

[0176] As mentioned above, different code segments 2036, 2038, 2040 of available code 2050 and code segments 2028, 2030, 2032 of available code 2048 may relate to the presentation of different versions of application interfaces 2042, 2044, 2046, respectively (e.g., similar to different versions of a single web application associated with FIG. 7). The different code segments may also relate to different functionality of the native application 2020 outside of its interface.

[0157]

[0177] FIG. 21 is a flow diagram illustrating a method 2100 of dynamic code management for a native application according to certain embodiments of the present disclosure. In some cases, the method 2100 can be used with dynamic code management for web applications as well. At block 2102, a factor is received at a dynamic code server. The factor may be generated and transmitted by a user device running the native application. The factor may relate to or indicate device-specific attributes or content of the native application. Receiving the factor may include receiving the factor at a network interface of the dynamic code server (e.g., receiving the factor over a network such as the cloud or the Internet).

[0158]

[0178] At block 2104, the rules can be accessed by the dynamic code server. The rules can be stored on or accessible to the dynamic code server (e.g., over a network). At block 2106, the dynamic code server can evaluate the rules based on the factors. By applying the rules to the factors, the dynamic code server can determine which code segment(s) from all available code to be executed by the native application. The available code can include available code in a code bank accessible to the dynamic code server, available code embedded in or accessible to the native application, or any combination thereof.

[0159]

[0179] In block 2108, the dynamic code server can generate instructions. The instructions may include a determination of which code to execute (e.g., if the code segment to execute is embedded or accessible to the native application), the code itself to execute (e.g., if the code segment is stored in a code bank accessible to the dynamic code server), or any combination thereof. For example, block 2108 may include an optional block 2110 for embedding the code segment within the instructions while generating the instructions.

[0160]

[0180] At block 2112, the dynamic code server can transmit instructions to the user device such that, upon receipt of the instructions, a native application running on the user device executes the desired code segment. For example, upon receipt of the instructions, the native application can execute a code segment from available code stored or accessible to the native application. In another example, upon receipt of the instructions, the native application can execute a code segment embedded in the instructions.

[0161]

[0181] In block 2114, the dynamic code server may receive rule update information (e.g., from a terminal device). The rule update information may be used to update rules accessible to the dynamic code server. After the rule update information is processed by the dynamic code server, whenever the dynamic code server accesses a rule in block 2104, the accessed rule becomes an updated version of the rule.

[0162]

[0182] In optional block 2116, the dynamic code server can embed rule update information in the instructions. The update information can include updates to rules or available code embedded in or associated with the native application. When received by the user device, the instructions with the embedded update information cause the user device to make updates to the rules or available code embedded in or associated with the native application based on the update information.

[0163]

[0183] In optional block 2118, the dynamic code server can generate a device estimation based on the factors. The device estimation can be the device's identity (e.g., device type, manufacturer, or version) or the device's capabilities (e.g., having a camera or fast CPU speed). The estimation can be based on the factors. In some cases, the estimation can be based on an expected correlation between the factors and the device estimation (e.g., an operating system that typically runs on a mobile phone can be a factor used to estimate that the device has a relatively slow CPU speed). In some cases, the estimation can be based on an actual correlation or mapping between the factors and the device estimation (e.g., a screen size of 1440 pixels by 1440 pixels can be a factor used to estimate that the device is a Blackberry Passport). As part of evaluating the rules in block 2106, the device estimation can be used to determine which code segment to execute and thus how to generate the instructions in block 2108. Additional features and implementations of device estimation are disclosed in more detail below.

[0164]

[0184] In optional block 2120, the dynamic code server can receive additional considerations. The additional considerations can be any information from a source other than the factors received in block 2102. In some cases, the additional considerations received in block 2120 can be provided to update the rules accessed in block 2104. In some cases, the additional considerations received in block 2120 can be used in the evaluation of the rules in block 2106. In one example, the dynamic code server can evaluate the rules to determine which devices should execute code segments for a video conferencing interface and which devices should execute code segments for a text-based chat interface. In this example, the factors received in block 2102 can relate to network speed and screen size (e.g., because video conferencing may not be desirable with a network speed that is too slow or a screen size that is too small). In this example, the additional considerations received in block 2120 can be the number of agents available for video conferencing. The dynamic code server can then use this additional consideration to help determine which devices to execute the videoconferencing interface code segment on (e.g., if only a few agents are available, offer the videoconferencing only to devices with fast connection speeds and large screens, but if many agents are available, offer the videoconferencing to all devices that meet the minimum requirements). In this manner, the dynamic code server can use the additional consideration to determine which code segments to execute and thus how to generate the instructions in block 2108. Additional features and embodiments of the use of the additional considerations are disclosed in more detail below.

[0165]

[0185] The following case scenarios represent examples of how dynamic code management can be used. The following case scenarios can be used for web or native applications, where appropriate.

[0166]

[0186] In some cases, factors that can be used for dynamic code management may include browser type and version, operating system type and version, screen size, whether the device is a mobile device, whether the device has a camera, whether the device has an inside camera, whether the device has a speaker, whether the device has an accelerometer, the amount of battery life remaining on the device, whether the device is connected to a high speed network, whether the device has a strong network connection (e.g., high speed, low latency or low jitter), whether the device operates on cellular data, whether the device can initiate or receive calls, the type and speed of the CPU, the type and speed of the device's GPU, whether the device has GPS capabilities, or any other hardware, software, or other features of the device. In some cases, factors may include data that represent environmental conditions or stimuli, such as temperature data that represents the device is in a warm climate, altitude data that represents the device is near sea level, or ambient light data that represents the device is outdoors.

[0167]

[0187] In some cases, evaluating the rules (e.g., evaluating the rules at block 808 of FIG. 8, evaluating the rules at block 912 of FIG. 9, evaluating the rules at block 1012 of FIG. 10, or evaluating the rules at block 2106 of FIG. 21) may include making an estimation. For example, applying the rules to factors representing a high level of ambient light from a light sensor on the user device may be used to estimate that the user device is outdoors. As another example, applying the rules to factors representing a small screen size and a browser version typically running on a mobile device may be used to estimate that the CPU speed of the user device is relatively slow (e.g., the CPU speed of an average mobile device as opposed to the CPU speed of an average desktop computer). Any number of estimations may be made based on the rules. The estimation may then be used to determine a segment of code to execute. For example, if the CPU speed of the device is estimated to be relatively slow, a less CPU intensive version of the application may be executed by selecting the required code segment(s). Alternatively, if the CPU speed of the device is estimated to be relatively fast, a more CPU intensive version of the application may be executed by selecting the required code segment(s).

[0168]

[0188] In some cases, making an inference (e.g., an inference of a feature of a device's capabilities) may include comparing a factor against a set of known values ​​(e.g., in a database). For example, a rule can be constructed that, when applied to a factor that is screen size, looks for a match between screen size and device type. For example, upon receiving a factor that represents a device's screen size of 750 pixels by 1334 pixels, the server can apply the rule to the factor looking in a database of screen sizes to determine that the device is or may be an Apple iPhone® 6. In addition, the rule can make further inferences. For example, if the rule already infers that the device is an Apple iPhone® 6, the rule can further infer that the device has a rear camera and an inside camera, can sense multiple touches (e.g., a multi-touch touchscreen), has a dual-core 1.4GHz Cyclone CPU, has a PowerVR GX6450 GPU, has a microphone and speaker, can make voice calls, is Bluetooth® enabled, has an accelerometer, has GPS capabilities, etc. The rule can then determine which code segment(s) to execute based on these inferences.

[0169]

[0189] In some cases, historical data can be collected and used to improve inferences. For example, historical data can include passive or active feedback. For example, a code segment may be executed that makes an inference that a device has a camera, thereby presenting a videoconferencing button on an application interface, but the device may not actually have a camera. If the user never presses the button (e.g., passive feedback) or if the user specifically reports that the device does not have a camera (e.g., active feedback), this data can be stored as historical data and used to improve future inferences. In another example, an inference may be made that the device is a particular type of device, but when later prompted for device information (e.g., during a chat session), the user may indicate that the device is a different type of device. This information can be stored as active feedback to improve future inferences. In some cases, passive feedback may be weighted less than active feedback.

[0170]

[0190] In some cases, different code segments of the available code may relate to different versions of an application or different functions of the application. For example, determining that a device has an internal camera, microphone, and speaker may enable video conferencing functionality and cause the application interface to include a button to start a video conference. In another example, determining that a device has multi-touch capabilities may present a version of the application that utilizes multi-touch input, while the same application running on a device that does not have multi-touch capabilities may be presented with a different version of the application built specifically for single-touch, mouse, or keyboard input.

[0171]

[0191] In some cases, the factors may relate to the quality of the network connection (e.g., speed, latency, or jitter). The factors may be actual measurements, such as speed measurements, or may be sources of estimation (e.g., factors indicating that the device is connected to a wireless network may be used to estimate that the network speed is fast, while factors indicating that the device is connected to a cellular network may be used to estimate that the network speed is slow). Different code segments may be selected for execution based on the quality of the network connection. In some cases, an application (e.g., a web application or a native application) may dynamically change as factors change. For example, if a user is using an application while heading home, the user may operate on a slow cellular data network connection for a period of time before entering range of his or her home wireless network, where the network connection speed may increase dramatically. In this example, the application may repeatedly or periodically access factors related to the quality of the network connection. When operating on a slow cellular data network connection, the user may be presented with a version of the application designed for slower network speeds (e.g., a text-only chat interface). However, when connected to a faster home wireless network, the application may be dynamically updated (e.g., by receiving code segments or instructions from a remote server) to present a different version (e.g., a chat interface with text and agent video).

[0172]

[0192] In some cases, enhanced customizability is available to website or application publishers and service providers that use a remote server (e.g., in the cloud) to access and evaluate rules to determine which code segments (e.g., accessible by the remote server, accessible by the device, or embedded or accessible in a native application on the device) to execute. The rules used by the remote server can be updated on demand, at any time, and on any schedule. In the above example where a user returning home is first presented with a text-based chat interface, and then, after connecting to a faster network, a text and video chat interface, the rules accessed by the remote server can contribute to determining when to present the agent's video. The application may function as described at several times, but if the client or service provider decides that they want to disable the video functionality at any point (e.g., due to customer feedback, tracking of successful or unsuccessful interactions, or bandwidth constraints due to budgets, etc.), the client or service provider can update the rules. Thus, the next time a user initiates a chat using text-based chat and then later connects to his or her faster network, the application will not be dynamically updated to present a video of the agent because the rules evaluated by the remote server have been updated (e.g., to deny video interfaces, such that code segments related to video interfaces are not executed). The same functionality can be applied to a variety of other examples.

[0173]

[0193] In some cases, the rules may be dynamically updated (e.g., the rules are updated) or evaluated (e.g., the additional considerations are evaluated along with the factors received from the device) based on the additional considerations. For example, if a service provider has a limited number of agents who can participate in a video conference, but a larger number of agents can participate by voice or text communication, the service provider may want to provide video conferencing capabilities to only a limited number of devices, such as devices that provide the best video conferencing experience (e.g., devices with faster CPUs, faster network speeds, larger screen sizes, or other factors). Thus, the number of available video conferencing agents may be an additional consideration. Other additional considerations, such as the number of other devices that load a chat application or use a website or native application associated with the chat application, may also be used. Thus, each time a device attempts to load a chat application (e.g., a web application or a native application), the device sends one or more factors to a remote server, which accesses and evaluates the rules based on the factors and the additional considerations to determine whether to present a video conferencing interface. For example, if a remote server has 100 available videoconferencing agents, the remote server may determine that the videoconferencing interface should be presented to any device that meets at least the minimum requirements (e.g., a minimum CPU speed, a minimum network connection, and a minimum screen size). However, if the remote server has only three available videoconferencing agents, the remote server may determine that the videoconferencing interface should be presented only to devices that meet the expanded threshold requirements (e.g., a relatively fast CPU speed, a fast network connection, and a large screen size). The additional considerations (e.g., the number of available videoconferencing agents) may be used to update the rules themselves or may be used as input to the rules (e.g., the rules evaluate the factors and the additional considerations).

[0174]

[0194] Specific details are provided in the above description to provide a thorough understanding of the embodiments. However, it should be understood that the embodiments may be practiced without these specific details. For example, circuits may be shown as block diagrams in order to avoid obscuring the embodiments in unnecessary detail. In other instances, well-known circuits, processes, algorithms, structures and techniques may be shown without unnecessary detail in order to avoid obscuring the embodiments.

[0175]

[0195] The implementation of the techniques, blocks, steps, and means described above may be done in various ways. For example, these techniques, blocks, steps, and means may be implemented in hardware, software, or a combination thereof. In a hardware implementation, the processing device may be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processors (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, other electronic units designed to perform the functions described above, and / or combinations thereof.

[0176]

[0196] It should also be noted that portions of the embodiments may be described as a process that is depicted in a flowchart, flow diagram, data flow diagram, structure diagram, or block diagram. Although a flow diagram may describe operations as a sequential process, many of the operations may occur in parallel or simultaneously. Additionally, the order of operations may be rearranged. A process ends when its operations are completed, but may have additional steps not included in the diagram. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, its termination corresponds to a return of the function to the calling function or to the main function.

[0177]

[0197] Further, each embodiment may be implemented by hardware, software, scripting languages, firmware, middleware, microcode, hardware description languages, and / or any combination thereof. When implemented in software, firmware, middleware, scripting languages, and / or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine-readable medium such as a storage medium. A code segment or machine-executable instructions may represent a procedure, a function, a subprogram, a program, a routine, a subroutine, a module, a software package, a script, a class, or any combination of instructions, data structures, and / or program statements. A code segment may be coupled to another code segment or a hardware circuit by passing and / or receiving information, data, arguments, parameters, and / or memory contents. Information, arguments, parameters, data, etc. may be passed, forwarded, or transmitted via any suitable means including memory sharing, message passing, ticket passing, network transmission, etc.

[0178]

[0198] For a firmware and / or software implementation, the methodologies may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. Any machine-readable medium that tangibly embodies instructions may be used in implementing the methodologies described herein. For example, software code may be stored in a memory. The memory may be implemented within the processor or external to the processor. As used herein, the term "memory" refers to any type of long-term, short-term, volatile, non-volatile, or other storage medium and is not limited to any particular type or number of memories or the type of media on which the memory is stored.

[0179]

[0199] Additionally, as disclosed herein, the terms "storage medium," "storage device," or "memory" may refer to one or more memories for storing data, including read-only memory (ROM), random access memory (RAM), magnetic RAM, core memory, magnetic disk storage media, optical storage media, flash memory devices, and / or other machine-readable media for storing information. The term "machine-readable medium" includes, but is not limited to, portable or fixed storage devices, optical storage devices, wireless channels, and / or various other storage media capable of storing, containing or carrying instruction(s) and / or data.

[0180]

[0200] While the principles of the present disclosure have been described above in connection with specific apparatus and methods, it is to be clearly understood that this description is made only by way of example and not as a limitation on the scope of the disclosure.

[0181]

[0201] As used below, any reference to a series of examples should be understood as a separate reference to each of those examples (e.g. "Examples 1-4" should be understood as "Examples 1, 2, 3 or 4").

[0182]

[0202] Example 1 is a computer-implemented method that includes the steps of loading a web page on a device, accessing factors when loading the web page, where the factors include device-specific attributes or content of the web page, determining rules, and executing selected web code using the factors and rules.

[0183]

[0203] Example 2 is the method of example 1, further comprising the step of injecting dynamic code during loading of a web page, where the dynamic code comprises desired web code.

[0184]

[0204] Example 3 is the method of example 2, further comprising: sending the factors to a server, where the dynamic code comprises a desired web code selected based on the sent factors and the rules.

[0185]

[0205] Example 4 is the method of example 2 or 3, wherein the factor comprises customer identification information and the dynamic code comprises a desired web code selected based on the customer identification information.

[0186]

[0206] Example 5 is a method according to any one of Examples 2 to 4, wherein the dynamic code includes rules and a plurality of available codes, and the desired web code is selected from the plurality of available codes based on factors and evaluation of the rules on the device.

[0187]

[0207] Example 6 is the method according to any one of Examples 1 to 5, wherein the factor is a user agent string, and the desired web code is selected based on the user agent string and a rule.

[0188]

[0208] Example 7 is a method according to any one of Examples 1 to 6, wherein the factor is based on a content of a web page, the content of the web page includes a plurality of web page elements, and the desired web code is selected based on at least one of the plurality of web page elements.

[0189]

[0209] Example 8 is the method of any one of Examples 1-7, wherein the desired web code is a JavaScript tag.

[0190]

[0210] Example 9 is a system comprising one or more data processors and a non-transitory computer-readable storage medium comprising instructions that, when executed on the one or more data processors, cause the one or more data processors to perform operations including: loading a web page on a device; accessing factors when loading the web page, the factors including device-specific attributes or content of the web page; determining rules; and executing selected web code using the factors and rules.

[0191]

[0211] Example 10 is the system described in Example 9, wherein the instructions further cause the one or more data processors to perform additional operations including a step of injecting dynamic code during loading of a web page, the dynamic code including desired web code.

[0192]

[0212] Example 11 is the system described in Example 10, wherein the instructions further cause the one or more data processors to perform additional operations, including a step of transmitting the factors to a server, and the dynamic code includes the desired web code selected based on the transmitted factors and the rules.

[0193]

[0213] Example 12 is the system of example 10 or 11, wherein the factor comprises customer identification information and the dynamic code comprises a desired web code selected based on the customer identification information.

[0194]

[0214] Example 13 is a system described in any one of Examples 10 to 12, wherein the dynamic code includes rules and a plurality of available codes, and the desired web code is selected from the plurality of available codes based on factors and evaluation of the rules on the device.

[0195]

[0215] Example 14 is the system of any one of examples 9-13, wherein the factor is a user agent string, and the desired web code is selected based on the user agent string and the rule.

[0196]

[0216] Example 15 is a system described in any one of Examples 9 to 14, wherein the factor is based on the content of a web page, the content of the web page includes a plurality of web page elements, and the desired web code is selected based on at least one of the plurality of web page elements.

[0197]

[0217] Example 16 is the system of any one of examples 9-15, wherein the desired web code is a JavaScript tag.

[0198]

[0218] Example 17 is a computer program product tangibly embodied in a non-transitory machine-readable storage medium, comprising instructions configured to cause a data processing device to load a web page on a user device, access factors upon loading the web page, where the factors include user device specific attributes or content of the web page, determine rules, and execute web code selected using the factors and rules.

[0199]

[0219] Example 18 is a computer program product as described in Example 17, wherein the instructions are further configured to cause the data processing device to inject dynamic code during loading of a web page, the dynamic code preferably including web code.

[0200]

[0220] Example 19 is the computer program product described in Example 18, wherein the instructions are further configured to cause the data processing device to transmit the factors to the server, and the dynamic code includes a desired web code selected based on the transmitted factors and the rules.

[0201]

[0221] Example 20 is the computer program product of example 18 or 19, wherein the factors include customer identification information and the dynamic code includes a desired web code selected based on the customer identification information.

[0202]

[0222] Example 21 is a computer program product described in any one of Examples 18 to 20, wherein the dynamic code includes rules and a plurality of available codes, and the desired web code is selected from the plurality of available codes based on the factors and evaluation of the rules on the user device.

[0203]

[0223] Example 22 is the computer program product of any one of Examples 17-21, wherein the factor is a user agent string, and the desired web code is selected based on the user agent string and the rule.

[0204]

[0224] Example 23 is a computer program product described in any one of Examples 17 to 22, wherein the factor is based on the content of a web page, the content of the web page includes a plurality of web page elements, and the desired web code is selected based on at least one of the plurality of web page elements.

[0205]

[0225] Example 24 is the computer program product of any one of Examples 17-23, wherein the desired web code is a JavaScript tag.

[0206]

[0226] Example 25 is a system comprising one or more data processors and a non-transitory computer-readable storage medium comprising instructions that, when executed on the one or more data processors, cause the one or more data processors to perform operations including: accessing a web page, the web page including code for presenting an interaction window of an application; determining original display setting information of the web page, the original display setting information including display settings for the web page; presenting the web page using the original display settings; determining display capabilities of a network device presenting the web page; determining new display settings using the display capabilities of the network device, the new display settings disallowing zoom interaction; and presenting the application's interaction window using the new display settings.

[0207]

[0227] Example 26 is a system described in Example 25, wherein the operation further includes a step of saving original display setting information of the web page and a step of restoring the original display setting if the interaction window is hidden or closed.

[0208]

[0228] Example 27 is the system described in example 25 or 26, wherein the original display settings include a viewport setting.

[0209]

[0229] Example 28 is the system according to any one of Examples 25 to 27, wherein the application is a chat application, and the interaction window is a chat window having a chat history element and a chat input element.

[0210]

[0230] Example 29 is a system described in any one of examples 25 to 28, wherein determining the new display settings further includes using code for presenting an interaction window of the application.

[0211]

[0231] Example 30 is a system described in any one of Examples 25 to 29, wherein the operations further include determining an interaction window layout using the display capabilities of the network device, the interaction window layout allowing access to all elements of the interaction window without zooming. The following is a summary of the claims as originally filed: [C1] loading a web page on the device; accessing factors when loading the web page, the factors including device specific attributes or content of the web page; determining a rule; executing web code selected using said factors and said rules; 4. A computer-implemented method comprising: [C2] The method of C1, further comprising the step of injecting dynamic code while loading the web page, the dynamic code comprising desired web code. [C3] The method of C2, further comprising: transmitting the factors to a server, wherein the dynamic code comprises the desired web code selected based on the transmitted factors and the rules. [C4] The method of C3, wherein the factors include customer identification information, and the dynamic code includes the desired web code selected based on the customer identification information. [C5] The method of claim 2, wherein the dynamic code comprises the rules and a plurality of available codes, and the desired web code is selected from the plurality of available codes based on the factors and an evaluation of the rules on the device. [C6] The method of C1, wherein the factor is a user agent string, and the desired web code is selected based on the user agent string and the rules. [C7] The method of claim 1, wherein the factor is based on the content of the web page, the content of the web page including a plurality of web page elements, and the desired web code is selected based on at least one of the plurality of web page elements. [C8] The method of C1, wherein the desired web code is a JavaScript tag. [C9] one or more data processors; When executed on said one or more data processors, said one or more data processors loading a web page on the device; accessing factors when loading the web page, the factors including device specific attributes or content of the web page; determining a rule; executing web code selected using said factors and said rules; A non-transitory computer-readable storage medium including instructions to perform operations including: A system comprising: [C10] The system of C9, wherein the instructions further cause the one or more data processors to perform additional operations including injecting dynamic code during loading of the web page, the dynamic code including desired web code. [C11] The system of C10, wherein the instructions further cause the one or more data processors to perform the additional operations, including a step of transmitting the factors to a server, and the dynamic code includes the desired web code selected based on the transmitted factors and the rules. [C12] The system of claim 11, wherein the factors include customer identification information, and the dynamic code includes the desired web code selected based on the customer identification information. [C13] The system of claim 10, wherein the dynamic code includes the rules and a plurality of available codes, and the desired web code is selected from the plurality of available codes based on the factors and an evaluation of the rules on the device. [C14] The system of C9, wherein the factor is a user agent string, and the desired web code is selected based on the user agent string and the rules. [C15] The system of claim 9, wherein the factor is based on the content of the web page, the content of the web page including a plurality of web page elements, and the desired web code is selected based on at least one of the plurality of web page elements. [C16] The system of C9, wherein the desired web code is a JavaScript tag. [C17] A data processing device, Loading a web page on a user device; accessing a factor when loading the web page, the factor including a user device specific attribute or content of the web page; Determining the rule; executing web code selected using said factors and said rules; A computer program product tangibly embodied in a non-transitory machine-readable storage medium comprising instructions configured to cause a [C18] 18. The computer program product of claim 17, wherein the instructions are further configured to cause the data processing apparatus to inject dynamic code during loading of the web page, the dynamic code comprising desirable web code. [C19] The computer program product of claim 18, wherein the instructions are further configured to cause the data processing device to transmit the factors to a server, and the dynamic code includes the desired web code selected based on the transmitted factors and the rules. [C20] The computer program product of C19, wherein the factors include customer identification information, and the dynamic code includes the desired web code selected based on the customer identification information. [C21] The computer program product of C18, wherein the dynamic code includes the rules and a plurality of available codes, and the desired web code is selected from the plurality of available codes based on the factors and an evaluation of the rules on the user device. [C22] The computer program product of C17, wherein the factor is a user agent string, and the desired web code is selected based on the user agent string and the rules. [C23] 18. The computer program product of claim 17, wherein the factor is based on the content of the web page, the content of the web page including a plurality of web page elements, and the desired web code is selected based on at least one of the plurality of web page elements. [C24] The computer program product of C17, wherein the desired web code is a JavaScript tag.

Claims

1. A computer-implemented method comprising: Receiving an indication of content associated with a native application executing on the user device; identifying a set of available code segments based on the content and rules, where the set of available code segments corresponds to different versions of an application interface associated with the native application, and the rules indicate which code segments from the set of available code segments are executable according to different content; identifying one or more code segments from the set of available code segments to be executed using the native application, wherein the one or more code segments are identified based on the content and the rules; generating data corresponding to the one or more code segments; transmitting the data, wherein upon receipt of the data, the one or more code segments are executed to customize the native application by providing a particular version of the application interface. A computer-implemented method comprising:

2. The computer-implemented method of claim 1, further comprising embedding update information within the data, the update information including updates to the set of available code segments, and wherein when the update information is received, the native application makes the updates. generating a device estimation based on the content, wherein the device estimation is indicative of one or more capabilities associated with the user device. applying the device estimation to the rules to identify the one or more code segments from the set of available code segments; The computer-implemented method of claim 1 , further comprising: receiving rule update information corresponding to the rule, wherein the rule update information specifies an updated version of the rule. processing the rule update information to implement the updated version of the rule, wherein when an indication of new content is received, a code segment is identified from the set of available code segments based on the updated version of the rule.

10. The computer-implemented method of claim 1.

5. The computer-implemented method of claim 1, wherein the set of available code segments is embedded within the native application.

6. The computer-implemented method of claim 1, wherein the instructions are received as a result of execution of a static tag included in the native application, the static tag causing the native application to provide the instructions.

7. The computer-implemented method of claim 1, wherein the content associated with the native application includes a title corresponding to the native application, a client identifier associated with the native application, or a portion of the native application accessed through the user device.

8. A system comprising: one or more processors; A memory for storing instructions; the instructions, when executed by the one or more processors, Receiving an indication of content associated with a native application executing on the user device; identifying a set of available code segments based on the content and rules, where the set of available code segments corresponds to different versions of an application interface associated with the native application, and the rules indicate which code segments from the set of available code segments are executable according to different content; identifying one or more code segments from the set of available code segments to be executed using the native application, wherein the one or more code segments are identified based on the content and the rules; generating data corresponding to the one or more code segments; transmitting the data, wherein upon receipt of the data, the one or more code segments are executed to customize the native application by providing a particular version of the application interface. The system is configured to:

9. The instruction is:

10. The system of claim 8, further comprising: embedding update information within the data, the update information including updates to the set of available code segments, and wherein upon receipt of the update information, the native application performs the updates.

10. The instruction comprises: generating a device estimation based on the content, wherein the device estimation is indicative of one or more capabilities associated with the user device. applying the device estimation to the rules to identify the one or more code segments from the set of available code segments; The system of claim 8 , further comprising:

11. The instruction comprises: receiving rule update information corresponding to the rule, wherein the rule update information defines an updated version of the rule; processing the rule update information to implement the updated version of the rule, wherein when an indication of new content is received, a code segment is identified from the set of available code segments based on the updated version of the rule. The system of claim 8 , further comprising:

12. The system of claim 8, wherein the set of available code segments is embedded within the native application.

13. The system of claim 8, wherein the instructions are received as a result of execution of a static tag included in the native application, the static tag causing the native application to provide the instructions.

14. The system of claim 8, wherein the content associated with the native application includes a title corresponding to the native application, a client identifier associated with the native application, or a portion of the native application accessed through the user device.

15. A non-transitory computer-readable storage medium having executable instructions stored thereon, the executable instructions, as a result of being executed by one or more processors of a computer system, Receiving an indication of content associated with a native application executing on the user device; identifying a set of available code segments based on the content and rules, where the set of available code segments corresponds to different versions of an application interface associated with the native application, and the rules indicate which code segments from the set of available code segments are executable according to different content; identifying one or more code segments from the set of available code segments to be executed using the native application, wherein the one or more code segments are identified based on the content and the rules; generating data corresponding to the one or more code segments; transmitting the data, wherein upon receipt of the data, the one or more code segments are executed to customize the native application by providing a particular version of the application interface. A non-transitory computer-readable storage medium that causes the computer system to perform the steps of:

16. The non-transitory computer-readable storage medium of claim 15, wherein the executable instructions further cause the computer system to embed update information within the data, the update information including updates to the set of available code segments, and wherein upon receipt of the update information, the native application performs the updates.

17. The executable instructions: generating a device estimation based on the content, wherein the device estimation is indicative of one or more capabilities associated with the user device. applying the device estimation to the rules to identify the one or more code segments from the set of available code segments; 20. The non-transitory computer-readable storage medium of claim 15, further causing the computer system to:

18. The executable instructions: receiving rule update information corresponding to the rule, wherein the rule update information defines an updated version of the rule; processing the rule update information to implement the updated version of the rule, wherein when an indication of new content is received, a code segment is identified from the set of available code segments based on the updated version of the rule.

20. The non-transitory computer-readable storage medium of claim 15, further causing the computer system to:

19. The non-transitory computer-readable storage medium of claim 15, wherein the set of available code segments is embedded within the native application.

20. The non-transitory computer-readable storage medium of claim 15, wherein the instructions are received as a result of execution of a static tag included in the native application, the static tag causing the native application to provide the instructions.

21. The non-transitory computer-readable storage medium of claim 15, wherein the content associated with the native application includes a title corresponding to the native application, a client identifier associated with the native application, or a portion of the native application accessed through the user device.

Citation Information

Patent Citations

  • Application providing system, server, client and application providing method

    JP2006236323A

  • Web site accelerator

    JP2010250830A

  • Program for causing computer to generate user interface

    JP2012084165A

  • Dynamically configuring a presentation layer associated with a webpage delivered to a client device

    US20100180192A1

  • Web page control program, method and server

    WO2007015302A1