In a conventional networked environment, networks may be computer networks, telecommunication networks, broadcast communication networks, switched communication networks or fully connected networks. There are typically two types of communications, which may be considered client-server communications or peer-to-peer communications. In any networked environment, at least one networked device is a supplier of resources and at least one is a consumer of resources. The supplier of resources may send the resources to the consumer of the resources, which may or may not be in response to the consumer of the resources sending a request for resources. However, there is a need for a system to alter these resources in certain circumstances after the resources have been sent by the supplier of the resources.
A configurable content injection service system and method of injecting a new content into data of a data traffic between a data source and a user device uses configuration information set by one or more content injection service users. The configuration information includes at least one condition related to the data traffic between the data source and the user device to inject the new content if the at least one condition is satisfied.
A content injection service system in accordance with an embodiment of the invention comprises a configuration module configured to enable content injection service users to set configuration information, the configuration information including at least one condition related to data traffic between a data source and a user device, a management module configured to monitor data of the data traffic, the management module further configured to determine if the at least one condition is satisfied, and a content injector operatively connected to the management module, the content injector configured to inject a new content into the data in response to the at least one condition being satisfied such that the data and the new content are transmitted to the user device if the at least one condition is satisfied.
A content injection service system in accordance with another embodiment of the invention comprises a configuration module configured to enable content injection service users to set configuration information, the configuration information including at least one condition related to data files being transmitted between a data source and a user device, a management module configured to monitor the data files being transmitted between the data source and the user device, the management module further configured to determine if the at least one condition is satisfied, and a content injector operatively connected to the management module, the content injector configured to inject a script into at least some of the data files in response to the at least one condition being satisfied such that the at least some of the data files with the script are transmitted to the user device if the at least one condition is satisfied.
A method of injecting a new content into data of a data traffic between a data source and a user device in accordance with an embodiment of the invention comprises receiving configuration information configured by a content injection service user, said configuration information including at least one condition related to said data traffic between said data source and said user device, receiving said data being transmitted from said data source to said user device, determining if said at least one condition is satisfied, injecting said new content into said data if said at least one condition is satisfied, and sending said data including said new content to said user device if said at least one condition is satisfied.
Other aspects and advantages of embodiments of the present invention will become apparent from the following detailed description, taken in conjunction with the accompanying drawings, illustrated by way of example of the principles of the invention.
Throughout the description, similar reference numbers may be used to identify similar elements.
It will be readily understood that the components of the embodiments as generally described herein and illustrated in the appended figures could be arranged and designed in a wide variety of different configurations. Thus, the following more detailed description of various embodiments, as represented in the figures, is not intended to limit the scope of the present disclosure, but is merely representative of various embodiments. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by this detailed description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.
Reference throughout this specification to features, advantages, or similar language does not imply that all of the features and advantages that may be realized with the present invention should be or are in any single embodiment of the invention. Rather, language referring to the features and advantages is understood to mean that a specific feature, advantage, or characteristic described in connection with an embodiment is included in at least one embodiment of the present invention. Thus, discussions of the features and advantages, and similar language, throughout this specification may, but do not necessarily, refer to the same embodiment.
Furthermore, the described features, advantages, and characteristics of the invention may be combined in any suitable manner in one or more embodiments. One skilled in the relevant art will recognize, in light of the description herein, that the invention can be practiced without one or more of the specific features or advantages of a particular embodiment. In other instances, additional features and advantages may be recognized in certain embodiments that may not be present in all embodiments of the invention.
Reference throughout this specification to “one embodiment,” “an embodiment,” or similar language means that a particular feature, structure, or characteristic described in connection with the indicated embodiment is included in at least one embodiment of the present invention. Thus, the phrases “in one embodiment,” “in an embodiment,” and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment.
With reference to
In the example of
The content injection service system 108 may be a stand-alone hardware device, a hardware and/or software component of a stand-alone device, part of a proxy, or may be anywhere within at least one communication path between a user device and a data source. The content injection service users 106 can configure the content injection service system and set conditions for data traffic passing through the content injection service system. The content injection service users may register with the content injection service system and create configuration information. In one embodiment, the configuration information may include actions and conditions, whereby the actions will be carried out by the content injection service system on data in the data traffic if certain, or in some cases all conditions are met. In some embodiments, the content injection service system is configured such that the content injection service users may introduce, alter or modify the configuration information at any time after deployment of the content injection service system or after the content injection service system begins operation.
The content injection service system 108 injects content into data in a data path between a data source and a user device. The injection is based on the conditions set by the content injection service users 106 during configuration of the content injection system, and/or based on parameters deduced by the content injection service system from the conditions. The content injection service users may choose the type of content to be injected, the place the content is injected within data in the data traffic, and/or when the injection is to be carried out.
In the example of
Turning now to
In the example of
In one embodiment, a service instance may include configuration information. The configuration information enables the management module 218 to determine what content to inject and under what circumstances to inject the content. The management module is configured to monitor data traffic to determine if conditions given by the configuration information are met. The content injector is configured to inject content, as determined by the configuration information, if the management module determines that one or more conditions given by the configuration information are met. In some cases, all conditions have to be met for the content injector service to inject content into data, whereas in other cases only some of the conditions have to be met.
In one embodiment, the content injection service 216 intercepts both the communication path 210 and the communication path 212 to determine whether the conditions are met and to inject the content if the conditions are met. In another embodiment, the content injection service monitors only the communication path 212.
In one embodiment, the configuration information includes information such as the Universal Resource Locator (URL) of the data source 204, the Internet Protocol (IP) address of the user device 202 and/or the data source, subscription information related to the user device, a class of service (subscription plan) of the user device, or times when a particular content injection should be applied.
In one embodiment, the data source 204 may send data in response to a data request from the user device 202. The management module 218 intercepts the data and determines whether conditions of one or more service instances are met. If conditions of a particular service instance are met or satisfied, the content injector 220 injects a new content into the data, whereby the new content is given by or can be deduced from the configuration information of the particular service instance. It is also possible that conditions of more than one service instance are met at the same time, in which case the content injection service may give priority to one service instance over the other, or apply content injection for both service instances simultaneously.
In an exemplary embodiment, the original content of the content response may be any data suitable to be transferred in a networked environment, such as markup language files, scripting language files, video files, music files, image files or other data files. In a non-limiting example, the original content may be an HTML file. The new content may be injected into the original file, or may be sent along with the original file. The new content may, for example, be a scripting language characters such as JavaScript, markup language characters such as HTML characters or segments, video file, music file, image file, or any combination thereof.
In one embodiment, the content injection service user 206 may choose one or more of the following exemplary parameters to set conditions: target user device (e.g. handheld, laptop, desktop); time and/or date; subscription status of user of the user device (could be determined via IP address of user device, or via authentication); URL of the content request.
In an illustrative, non-limiting example, a content injection service user 206 may choose to enable content injection only if the user device 202 is a handheld device, and only at weekends. In another non-limiting example the conditions may be chosen to inject content if the data source, to which the data request is directed to, has a particular URL. The type of new content to be injected can depend on the conditions that are satisfied, whereby if one set of conditions are satisfied, the content injection service injects a first new content into the original content, whereas if another set of conditions are satisfied, the content injection system injects a different new content. For example, the content injection service user may wish to inject a script into the original content that opens a popup window upon execution if the user device is a desktop, but the content injection user may wish to inject a script inserting a banner into the executed original content if the user device is a handheld device.
In another illustrative, non-limiting example, the injected content is a script or snippet of a markup language, which is inserted into the text of a markup language file at a particular position in the text. The particular position is given by or can be deduced from the configuration information of the service instance that applies. In one embodiment, if the conditions are not met or satisfied, the original data from the data source 204 is forwarded to the user device 202. In the case where only some conditions are met, but where the service instance requires that all conditions have to be met to inject a new content, the data is also not modified.
In the example of
The content injection user 206 may be any user that is allowed to use the content injection service 216 and may be the operator of the data source 204, a third party that does not own the data source or uses the user device 202, or a user of the user device. In a non-limiting example, the content injection service user may be the owner of a website to which the user device requests access. The content injection service user may be required to register with the content injection service prior to the content injection service user being able to configure service instances.
Turning now to
In the example of
In the content injection service environment 300, a user device may send a content request to an origin server. This content request may or may not go through the content injection service 322. A content request may be any network request, such as HTTP or SMTP, and may request specific data such as HTML files. In response to the content request, the origin server may send a content response. Similar to the content injection service described with reference to
In the example of
A method for injecting a new content into data of a data traffic between a data source and a user device in accordance with an embodiment of the invention is now described with reference to a flow diagram of
A method for injecting a new content into an original content based on user configurable conditions in accordance with an embodiment of the invention is now described with reference to a flow diagram of
A method for allowing a content injection service user to control content injection in accordance with an embodiment of the invention is now described with reference to a flow diagram of
Although the operations of the method(s) herein are shown and described in a particular order, the order of the operations of each method may be altered so that certain operations may be performed in an inverse order or so that certain operations may be performed, at least in part, concurrently with other operations. In another embodiment, instructions or sub-operations of distinct operations may be implemented in an intermittent and/or alternating manner.
It should also be noted that at least some of the operations for the methods may be implemented using software instructions stored on a computer useable storage medium for execution by a computer. As an example, an embodiment of a computer program product includes a computer useable storage medium to store a computer readable program that, when executed on a computer, causes the computer to perform operations, as described herein.
Furthermore, embodiments of at least portions of the invention can take the form of a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this description, a computer-usable or computer readable medium can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
The computer-useable or computer-readable medium can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device), or a propagation medium. Examples of a computer-readable medium include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk, and an optical disk. Current examples of optical disks include a compact disk with read only memory (CD-ROM), a compact disk with read/write (CD-R/W), and a digital video disk (DVD).
In the above description, specific details of various embodiments are provided. However, some embodiments may be practiced with less than all of these specific details. In other instances, certain methods, procedures, components, structures, and/or functions are described in no more detail than to enable the various embodiments of the invention, for the sake of brevity and clarity.
Although specific embodiments of the invention have been described and illustrated, the invention is not to be limited to the specific forms or arrangements of parts so described and illustrated. The scope of the invention is to be defined by the claims appended hereto and their equivalents.
This application is entitled to the benefit of provisional U.S. Patent Application Ser. No. 61/304,790, filed Feb. 15, 2010, which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
61304790 | Feb 2010 | US |